diff --git a/.next/BUILD_ID b/.next/BUILD_ID index 98daae575d1a721b1432b361c58bdc5a7caa5de2..b737cceb5725d66de36ab517820b0fa72a6017af 100644 --- a/.next/BUILD_ID +++ b/.next/BUILD_ID @@ -1 +1 @@ -jxLirYAMgdjIXymrVZyQd \ No newline at end of file +WjFJhVBcz-sTdlqJMNSLk \ No newline at end of file diff --git a/.next/app-build-manifest.json b/.next/app-build-manifest.json index 0ec807db14f9184dcf6e35f442a14f4a413b9978..3b9b2ae8ede1a9bd9e5aacdcc9cca4042019baf1 100644 --- a/.next/app-build-manifest.json +++ b/.next/app-build-manifest.json @@ -1,14 +1,14 @@ { "pages": { "/_not-found/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/_not-found/page-ba71488e719cbee5.js" ], "/layout": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -17,330 +17,337 @@ "static/chunks/2138-18d4ca002a920f5d.js", "static/chunks/app/layout-19d4da7b6d1a11dd.js" ], - "/api/admin/dashboard/route": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/dashboard/route-d894f4b2072788ef.js" - ], - "/api/admin/run-migrations/route": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/run-migrations/route-1bc18e9108dbedea.js" - ], "/api/admin/sites/[id]/database/logs/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/database/logs/route-b53bec83cddd5834.js" ], "/api/admin/sites/[id]/database/query/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/database/query/route-7a3c4a3489190adb.js" ], - "/api/admin/sites/[id]/database/schema/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/admin/dashboard/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/database/schema/route-ce9a4cc5bab7dc5e.js" + "static/chunks/app/api/admin/dashboard/route-d894f4b2072788ef.js" ], - "/api/admin/sites/[id]/functions/[functionId]/logs/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/admin/run-migrations/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/logs/route-471cf6077297c3c7.js" + "static/chunks/app/api/admin/run-migrations/route-1bc18e9108dbedea.js" ], "/api/admin/sites/[id]/functions/[functionId]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/route-fc3cab2826043ee9.js" ], - "/api/admin/sites/[id]/functions/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/admin/sites/[id]/database/schema/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/functions/route-074d351718dca9b0.js" + "static/chunks/app/api/admin/sites/[id]/database/schema/route-ce9a4cc5bab7dc5e.js" ], "/api/admin/sites/[id]/secrets/[secretId]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/secrets/[secretId]/route-5e36b42c034aa527.js" ], - "/api/admin/sites/[id]/secrets/route": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/secrets/route-97d8aae28bf19b50.js" - ], "/api/admin/sites/[id]/server-context/mutate/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/server-context/mutate/route-9a2401905de55ba9.js" ], "/api/admin/sites/[id]/server-context/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/server-context/route-74b38e092ae27d59.js" ], + "/api/admin/sites/[id]/functions/route": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/api/admin/sites/[id]/functions/route-074d351718dca9b0.js" + ], "/api/admin/sites/[id]/server-functions/[functionId]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/server-functions/[functionId]/route-6c9a78fc7cd40a02.js" ], "/api/admin/sites/[id]/server-functions/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/admin/sites/[id]/server-functions/route-5147ead7b2b36b83.js" ], - "/api/analytics/[siteId]/clear/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/admin/sites/[id]/secrets/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/clear/route-a6183abf4779e6d0.js" + "static/chunks/app/api/admin/sites/[id]/secrets/route-97d8aae28bf19b50.js" ], "/api/analytics/[siteId]/engagement/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/analytics/[siteId]/engagement/route-f762acb421252af4.js" ], - "/api/analytics/[siteId]/heatmap/route": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/heatmap/route-05635d98165f3c90.js" - ], - "/api/analytics/[siteId]/export/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/admin/sites/[id]/functions/[functionId]/logs/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/export/route-6df1fd6ad6834460.js" + "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/logs/route-471cf6077297c3c7.js" ], "/api/analytics/[siteId]/overview/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/analytics/[siteId]/overview/route-1d49192c02d7f235.js" ], "/api/analytics/[siteId]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/analytics/[siteId]/route-114cb3df434a7f1e.js" ], + "/api/analytics/[siteId]/storage/route": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/api/analytics/[siteId]/storage/route-fc66454127dfec24.js" + ], "/api/analytics/[siteId]/sessions/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/analytics/[siteId]/sessions/route-dd6ab0084cfd7b76.js" ], - "/api/analytics/[siteId]/storage/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/analytics/[siteId]/export/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/storage/route-fc66454127dfec24.js" + "static/chunks/app/api/analytics/[siteId]/export/route-6df1fd6ad6834460.js" ], "/api/analytics/track/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/analytics/track/route-8fab59333a4758ad.js" ], + "/api/auth/check/route": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/api/auth/check/route-9eeea6cc9c03b0b6.js" + ], "/api/analytics/interaction/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/analytics/interaction/route-b0fab897b1477628.js" ], - "/api/auth/check/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/docs/[...path]/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/auth/check/route-9eeea6cc9c03b0b6.js" + "static/chunks/app/api/docs/[...path]/route-59431f4cf77f8e37.js" ], - "/api/auth/logout/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/generate/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/auth/logout/route-ba37986b91e8b9a6.js" + "static/chunks/app/api/generate/route-c649c0e861475b2f.js" ], "/api/auth/login/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/auth/login/route-4cb1aa77728006d2.js" ], "/api/auth/me/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/auth/me/route-0377783b3cb4885e.js" ], - "/api/docs/[...path]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/docs/[...path]/route-59431f4cf77f8e37.js" - ], - "/api/models/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/auth/logout/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/models/route-e60760f856e0477e.js" + "static/chunks/app/api/auth/logout/route-ba37986b91e8b9a6.js" ], - "/api/generate/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/analytics/[siteId]/clear/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/generate/route-c649c0e861475b2f.js" + "static/chunks/app/api/analytics/[siteId]/clear/route-a6183abf4779e6d0.js" ], "/api/projects/[id]/sites/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/projects/[id]/sites/route-168f0a40b450d912.js" ], "/api/projects/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/projects/route-3ddf8628d4a7b8b0.js" ], - "/api/shell/execute/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/sites/[id]/publish/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/shell/execute/route-4264eb632035a884.js" + "static/chunks/app/api/sites/[id]/publish/route-b983cb182cc74d57.js" ], - "/api/sites/[id]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/models/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/route-3bd2c24d6a57fe33.js" + "static/chunks/app/api/models/route-e60760f856e0477e.js" ], - "/api/sites/[id]/publish/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/sites/[id]/thumbnail/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/publish/route-b983cb182cc74d57.js" + "static/chunks/app/api/sites/[id]/thumbnail/route-de20a4d18fc9ba7d.js" ], - "/api/sites/[id]/thumbnail/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/sites/[id]/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/thumbnail/route-de20a4d18fc9ba7d.js" + "static/chunks/app/api/sites/[id]/route-3bd2c24d6a57fe33.js" ], "/api/sites/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/sites/route-1e438feb7316cf41.js" ], + "/api/analytics/[siteId]/heatmap/route": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/api/analytics/[siteId]/heatmap/route-05635d98165f3c90.js" + ], "/api/sites/[id]/settings/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/sites/[id]/settings/route-36bb43d6003f678e.js" ], + "/api/sync/projects/route": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/api/sync/projects/route-09abc620dd82b2fa.js" + ], "/api/sync/files/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/sync/files/route-f96358d0bf540171.js" ], - "/api/sync/projects/[id]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/sync/status/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/projects/[id]/route-71139eac4d6952f2.js" + "static/chunks/app/api/sync/status/route-298916eb51420077.js" ], - "/api/sync/projects/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/shell/execute/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/projects/route-09abc620dd82b2fa.js" + "static/chunks/app/api/shell/execute/route-4264eb632035a884.js" ], - "/sites/[id]/[...path]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/api/sync/projects/[id]/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/sites/[id]/[...path]/route-5c3105f824838f9e.js" + "static/chunks/app/api/sync/projects/[id]/route-71139eac4d6952f2.js" ], - "/sites/[id]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/sites/[id]/[...path]/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/sites/[id]/route-f4b8520d214c31c0.js" + "static/chunks/app/sites/[id]/[...path]/route-5c3105f824838f9e.js" ], "/api/validate-key/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/app/api/validate-key/route-15c5905336f3ad2b.js" ], - "/api/sync/status/route": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/sites/[id]/route": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/status/route-298916eb51420077.js" + "static/chunks/app/sites/[id]/route-f4b8520d214c31c0.js" + ], + "/api/sites/[id]/functions/[...path]/route": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/api/sites/[id]/functions/[...path]/route-cc18e84eb0a9f121.js" ], "/admin/dashboard/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -349,12 +356,19 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", "static/chunks/app/admin/dashboard/page-bb709d2d3e37ddad.js" ], + "/admin/login/page": [ + "static/chunks/webpack-e008b83f48726389.js", + "static/chunks/4bd1b696-2683f5a71cc09935.js", + "static/chunks/1684-94ae6109893bd411.js", + "static/chunks/main-app-eac23abd81400eeb.js", + "static/chunks/app/admin/login/page-5470d9718e2ee0e3.js" + ], "/admin/docs/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -363,26 +377,33 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", "static/chunks/app/admin/docs/page-f8eb5b0b6e3e3e0d.js" ], - "/admin/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/admin/settings/model/page": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/admin/page-5cb4c6738c3fceab.js" + "static/chunks/06bf0ff1-2f6b5dbae626a171.js", + "static/chunks/ad2866b8-a4659a388c5e0680.js", + "static/chunks/6671-78ed01c4e5154d89.js", + "static/chunks/4792-f97f5e70e2ff5861.js", + "static/chunks/4182-7b2861e5f12faf9c.js", + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", + "static/chunks/app/admin/settings/model/page-a6a0e1eccbcae968.js" ], - "/admin/login/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/admin/page": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/admin/login/page-5470d9718e2ee0e3.js" + "static/chunks/app/admin/page-efaf489f2b413d62.js" ], "/admin/projects/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -391,12 +412,12 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", "static/chunks/app/admin/projects/page-67cc6f57da2a8a49.js" ], - "/admin/settings/application/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/admin/skills/page": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -405,12 +426,12 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", - "static/chunks/app/admin/settings/application/page-df0594df24d27c5e.js" + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", + "static/chunks/app/admin/skills/page-ebb0e931ecd3ca1e.js" ], - "/admin/settings/model/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/admin/templates/page": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -419,12 +440,12 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", - "static/chunks/app/admin/settings/model/page-a6a0e1eccbcae968.js" + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", + "static/chunks/app/admin/templates/page-938ad4d010cf31b2.js" ], "/admin/sites/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -433,26 +454,12 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", "static/chunks/app/admin/sites/page-1d51857963c5029a.js" ], - "/admin/templates/page": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", - "static/chunks/app/admin/templates/page-938ad4d010cf31b2.js" - ], - "/admin/skills/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "/admin/settings/application/page": [ + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -461,12 +468,12 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", - "static/chunks/app/admin/skills/page-ebb0e931ecd3ca1e.js" + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", + "static/chunks/app/admin/settings/application/page-df0594df24d27c5e.js" ], "/admin/settings/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -475,12 +482,12 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", "static/chunks/app/admin/settings/page-4184b0b4ac64404f.js" ], "/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", @@ -489,27 +496,20 @@ "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", "static/chunks/4182-7b2861e5f12faf9c.js", - "static/chunks/4750-e5b75f599644cb6f.js", - "static/chunks/707-f66d3efed1835b57.js", - "static/chunks/app/page-222f16c9f71b60ee.js" + "static/chunks/4750-9bf07235c095a27e.js", + "static/chunks/707-a9d4e4fbbb156d69.js", + "static/chunks/app/page-9ac6f0548a05682b.js" ], "/test-generation/page": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js", "static/chunks/06bf0ff1-2f6b5dbae626a171.js", "static/chunks/6671-78ed01c4e5154d89.js", "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/4750-e5b75f599644cb6f.js", + "static/chunks/4750-9bf07235c095a27e.js", "static/chunks/app/test-generation/page-c0fb010ce78373b4.js" - ], - "/api/sites/[id]/functions/[...path]/route": [ - "static/chunks/webpack-0985c26455cd969f.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-94ae6109893bd411.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/functions/[...path]/route-cc18e84eb0a9f121.js" ] } } \ No newline at end of file diff --git a/.next/app-path-routes-manifest.json b/.next/app-path-routes-manifest.json index e32f037bce152bac946c9e16c8a528eebca6a691..567152a10a2cd78ffbe6e5c4dc2050c436b73d85 100644 --- a/.next/app-path-routes-manifest.json +++ b/.next/app-path-routes-manifest.json @@ -1,63 +1,63 @@ { "/_not-found/page": "/_not-found", - "/api/admin/dashboard/route": "/api/admin/dashboard", - "/api/admin/run-migrations/route": "/api/admin/run-migrations", "/api/admin/sites/[id]/database/logs/route": "/api/admin/sites/[id]/database/logs", "/api/admin/sites/[id]/database/query/route": "/api/admin/sites/[id]/database/query", - "/api/admin/sites/[id]/database/schema/route": "/api/admin/sites/[id]/database/schema", - "/api/admin/sites/[id]/functions/[functionId]/logs/route": "/api/admin/sites/[id]/functions/[functionId]/logs", + "/api/admin/dashboard/route": "/api/admin/dashboard", + "/api/admin/run-migrations/route": "/api/admin/run-migrations", "/api/admin/sites/[id]/functions/[functionId]/route": "/api/admin/sites/[id]/functions/[functionId]", - "/api/admin/sites/[id]/functions/route": "/api/admin/sites/[id]/functions", + "/api/admin/sites/[id]/database/schema/route": "/api/admin/sites/[id]/database/schema", "/api/admin/sites/[id]/secrets/[secretId]/route": "/api/admin/sites/[id]/secrets/[secretId]", - "/api/admin/sites/[id]/secrets/route": "/api/admin/sites/[id]/secrets", "/api/admin/sites/[id]/server-context/mutate/route": "/api/admin/sites/[id]/server-context/mutate", "/api/admin/sites/[id]/server-context/route": "/api/admin/sites/[id]/server-context", + "/api/admin/sites/[id]/functions/route": "/api/admin/sites/[id]/functions", "/api/admin/sites/[id]/server-functions/[functionId]/route": "/api/admin/sites/[id]/server-functions/[functionId]", "/api/admin/sites/[id]/server-functions/route": "/api/admin/sites/[id]/server-functions", - "/api/analytics/[siteId]/clear/route": "/api/analytics/[siteId]/clear", + "/api/admin/sites/[id]/secrets/route": "/api/admin/sites/[id]/secrets", "/api/analytics/[siteId]/engagement/route": "/api/analytics/[siteId]/engagement", - "/api/analytics/[siteId]/heatmap/route": "/api/analytics/[siteId]/heatmap", - "/api/analytics/[siteId]/export/route": "/api/analytics/[siteId]/export", + "/api/admin/sites/[id]/functions/[functionId]/logs/route": "/api/admin/sites/[id]/functions/[functionId]/logs", "/api/analytics/[siteId]/overview/route": "/api/analytics/[siteId]/overview", "/api/analytics/[siteId]/route": "/api/analytics/[siteId]", - "/api/analytics/[siteId]/sessions/route": "/api/analytics/[siteId]/sessions", "/api/analytics/[siteId]/storage/route": "/api/analytics/[siteId]/storage", + "/api/analytics/[siteId]/sessions/route": "/api/analytics/[siteId]/sessions", + "/api/analytics/[siteId]/export/route": "/api/analytics/[siteId]/export", "/api/analytics/track/route": "/api/analytics/track", - "/api/analytics/interaction/route": "/api/analytics/interaction", "/api/auth/check/route": "/api/auth/check", - "/api/auth/logout/route": "/api/auth/logout", - "/api/auth/login/route": "/api/auth/login", - "/api/auth/me/route": "/api/auth/me", + "/api/analytics/interaction/route": "/api/analytics/interaction", "/api/docs/[...path]/route": "/api/docs/[...path]", - "/api/models/route": "/api/models", "/api/generate/route": "/api/generate", + "/api/auth/login/route": "/api/auth/login", + "/api/auth/me/route": "/api/auth/me", + "/api/auth/logout/route": "/api/auth/logout", + "/api/analytics/[siteId]/clear/route": "/api/analytics/[siteId]/clear", "/api/projects/[id]/sites/route": "/api/projects/[id]/sites", "/api/projects/route": "/api/projects", - "/api/shell/execute/route": "/api/shell/execute", - "/api/sites/[id]/route": "/api/sites/[id]", "/api/sites/[id]/publish/route": "/api/sites/[id]/publish", + "/api/models/route": "/api/models", "/api/sites/[id]/thumbnail/route": "/api/sites/[id]/thumbnail", + "/api/sites/[id]/route": "/api/sites/[id]", "/api/sites/route": "/api/sites", + "/api/analytics/[siteId]/heatmap/route": "/api/analytics/[siteId]/heatmap", "/api/sites/[id]/settings/route": "/api/sites/[id]/settings", + "/api/sync/projects/route": "/api/sync/projects", "/api/sync/files/route": "/api/sync/files", + "/api/sync/status/route": "/api/sync/status", + "/api/shell/execute/route": "/api/shell/execute", "/api/sync/projects/[id]/route": "/api/sync/projects/[id]", - "/api/sync/projects/route": "/api/sync/projects", "/sites/[id]/[...path]/route": "/sites/[id]/[...path]", - "/sites/[id]/route": "/sites/[id]", "/api/validate-key/route": "/api/validate-key", - "/api/sync/status/route": "/api/sync/status", + "/sites/[id]/route": "/sites/[id]", + "/api/sites/[id]/functions/[...path]/route": "/api/sites/[id]/functions/[...path]", "/admin/dashboard/page": "/admin/dashboard", + "/admin/login/page": "/admin/login", "/admin/docs/page": "/admin/docs", + "/admin/settings/model/page": "/admin/settings/model", "/admin/page": "/admin", - "/admin/login/page": "/admin/login", "/admin/projects/page": "/admin/projects", - "/admin/settings/application/page": "/admin/settings/application", - "/admin/settings/model/page": "/admin/settings/model", - "/admin/sites/page": "/admin/sites", - "/admin/templates/page": "/admin/templates", "/admin/skills/page": "/admin/skills", + "/admin/templates/page": "/admin/templates", + "/admin/sites/page": "/admin/sites", + "/admin/settings/application/page": "/admin/settings/application", "/admin/settings/page": "/admin/settings", "/page": "/", - "/test-generation/page": "/test-generation", - "/api/sites/[id]/functions/[...path]/route": "/api/sites/[id]/functions/[...path]" + "/test-generation/page": "/test-generation" } \ No newline at end of file diff --git a/.next/build-manifest.json b/.next/build-manifest.json index 33abdfa66c1a7a0ad95680b11967601e490cd72d..6bfcffc9ba2aee1b238b69002a424356b6f07954 100644 --- a/.next/build-manifest.json +++ b/.next/build-manifest.json @@ -5,11 +5,11 @@ "devFiles": [], "ampDevFiles": [], "lowPriorityFiles": [ - "static/jxLirYAMgdjIXymrVZyQd/_buildManifest.js", - "static/jxLirYAMgdjIXymrVZyQd/_ssgManifest.js" + "static/WjFJhVBcz-sTdlqJMNSLk/_buildManifest.js", + "static/WjFJhVBcz-sTdlqJMNSLk/_ssgManifest.js" ], "rootMainFiles": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/4bd1b696-2683f5a71cc09935.js", "static/chunks/1684-94ae6109893bd411.js", "static/chunks/main-app-eac23abd81400eeb.js" @@ -17,13 +17,13 @@ "rootMainFilesTree": {}, "pages": { "/_app": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/framework-744b75979ac08316.js", "static/chunks/main-8e27881341b8ef31.js", "static/chunks/pages/_app-5d1abe03d322390c.js" ], "/_error": [ - "static/chunks/webpack-0985c26455cd969f.js", + "static/chunks/webpack-e008b83f48726389.js", "static/chunks/framework-744b75979ac08316.js", "static/chunks/main-8e27881341b8ef31.js", "static/chunks/pages/_error-3b2a1d523de49635.js" diff --git a/.next/prerender-manifest.json b/.next/prerender-manifest.json index 025e766da8786f31fe73361ecd46024907d82089..7969255b1e84f2d018d502fa9b957478584ba2a4 100644 --- a/.next/prerender-manifest.json +++ b/.next/prerender-manifest.json @@ -49,7 +49,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/dashboard": { + "/admin/sites": { "experimentalBypassFor": [ { "type": "header", @@ -62,8 +62,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/dashboard", - "dataRoute": "/admin/dashboard.rsc", + "srcRoute": "/admin/sites", + "dataRoute": "/admin/sites.rsc", "allowHeader": [ "host", "x-matched-path", @@ -73,7 +73,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/settings/model": { + "/admin/skills": { "experimentalBypassFor": [ { "type": "header", @@ -86,8 +86,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/settings/model", - "dataRoute": "/admin/settings/model.rsc", + "srcRoute": "/admin/skills", + "dataRoute": "/admin/skills.rsc", "allowHeader": [ "host", "x-matched-path", @@ -97,7 +97,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/sites": { + "/admin/settings/model": { "experimentalBypassFor": [ { "type": "header", @@ -110,8 +110,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/sites", - "dataRoute": "/admin/sites.rsc", + "srcRoute": "/admin/settings/model", + "dataRoute": "/admin/settings/model.rsc", "allowHeader": [ "host", "x-matched-path", @@ -145,7 +145,7 @@ "x-next-revalidate-tag-token" ] }, - "/": { + "/admin/templates": { "experimentalBypassFor": [ { "type": "header", @@ -158,8 +158,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/", - "dataRoute": "/index.rsc", + "srcRoute": "/admin/templates", + "dataRoute": "/admin/templates.rsc", "allowHeader": [ "host", "x-matched-path", @@ -169,7 +169,7 @@ "x-next-revalidate-tag-token" ] }, - "/test-generation": { + "/admin/projects": { "experimentalBypassFor": [ { "type": "header", @@ -182,8 +182,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/test-generation", - "dataRoute": "/test-generation.rsc", + "srcRoute": "/admin/projects", + "dataRoute": "/admin/projects.rsc", "allowHeader": [ "host", "x-matched-path", @@ -193,7 +193,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/docs": { + "/test-generation": { "experimentalBypassFor": [ { "type": "header", @@ -206,8 +206,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/docs", - "dataRoute": "/admin/docs.rsc", + "srcRoute": "/test-generation", + "dataRoute": "/test-generation.rsc", "allowHeader": [ "host", "x-matched-path", @@ -217,7 +217,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/settings/application": { + "/": { "experimentalBypassFor": [ { "type": "header", @@ -230,8 +230,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/settings/application", - "dataRoute": "/admin/settings/application.rsc", + "srcRoute": "/", + "dataRoute": "/index.rsc", "allowHeader": [ "host", "x-matched-path", @@ -241,7 +241,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/templates": { + "/admin/settings/application": { "experimentalBypassFor": [ { "type": "header", @@ -254,8 +254,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/templates", - "dataRoute": "/admin/templates.rsc", + "srcRoute": "/admin/settings/application", + "dataRoute": "/admin/settings/application.rsc", "allowHeader": [ "host", "x-matched-path", @@ -265,7 +265,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/skills": { + "/admin/dashboard": { "experimentalBypassFor": [ { "type": "header", @@ -278,8 +278,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/skills", - "dataRoute": "/admin/skills.rsc", + "srcRoute": "/admin/dashboard", + "dataRoute": "/admin/dashboard.rsc", "allowHeader": [ "host", "x-matched-path", @@ -289,7 +289,7 @@ "x-next-revalidate-tag-token" ] }, - "/admin/projects": { + "/admin/docs": { "experimentalBypassFor": [ { "type": "header", @@ -302,8 +302,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/projects", - "dataRoute": "/admin/projects.rsc", + "srcRoute": "/admin/docs", + "dataRoute": "/admin/docs.rsc", "allowHeader": [ "host", "x-matched-path", @@ -317,8 +317,8 @@ "dynamicRoutes": {}, "notFoundRoutes": [], "preview": { - "previewModeId": "2b8f177ad9781c31c5ec548de53012dd", - "previewModeSigningKey": "a218ecf14460efd0161e94dd6a9449e71fc65394feeb328b75dea173316d25c3", - "previewModeEncryptionKey": "40802803100d3fd1a50ff65c1b614bf93770fad09f6d5d04c1ef82ce5dba9119" + "previewModeId": "0abf227cbebe69c02ba0fe81cef4fa81", + "previewModeSigningKey": "b91d8ae2b6f89f4dc432df46a927171a914c7ce31cb971be999c32d64ea5138e", + "previewModeEncryptionKey": "6bb04a0def418bb657fd7556e9c4848aca5293af9f913260e84e525ad01ab902" } } \ No newline at end of file diff --git a/.next/react-loadable-manifest.json b/.next/react-loadable-manifest.json index 7b6b75e54ebbc7746e3e3bc2707e445273261458..2c3af7a9c4c2f0715e968f968115488a762a70fd 100644 --- a/.next/react-loadable-manifest.json +++ b/.next/react-loadable-manifest.json @@ -42,13 +42,13 @@ "lib/vfs/index.ts -> ./auto-sync": { "id": 27709, "files": [ - "static/chunks/7709.2822ccce19d5880e.js" + "static/chunks/7709.a8a5b7a05b05f3e4.js" ] }, "lib/vfs/index.ts -> ./server-context": { "id": 9177, "files": [ - "static/chunks/9177.4566ff4aed0feb5c.js" + "static/chunks/9177.447ca5fc3e015eaf.js" ] } } \ No newline at end of file diff --git a/.next/required-server-files.json b/.next/required-server-files.json index 0486deccc6a1c62f3da6c2259380d9a771381aaf..539068663a2a273b5f40e8d90457ebe039afda61 100644 --- a/.next/required-server-files.json +++ b/.next/required-server-files.json @@ -276,6 +276,11 @@ "htmlLimitedBots": "Mediapartners-Google|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", "bundlePagesRouterDependencies": false, "configFileName": "next.config.ts", + "serverExternalPackages": [ + "quickjs-emscripten", + "quickjs-emscripten-core", + "@jitl/quickjs-wasmfile-release-sync" + ], "turbopack": { "root": "/Users/otto/Desktop/deepstudio/osw-studio-git" }, diff --git a/.next/server/app-paths-manifest.json b/.next/server/app-paths-manifest.json index e0cc67da6428a2c5a516d0b49b973ba36f5d0f71..291aacca29cde59dc0b349615963f924ab8b7f59 100644 --- a/.next/server/app-paths-manifest.json +++ b/.next/server/app-paths-manifest.json @@ -1,63 +1,63 @@ { "/_not-found/page": "app/_not-found/page.js", - "/api/admin/dashboard/route": "app/api/admin/dashboard/route.js", - "/api/admin/run-migrations/route": "app/api/admin/run-migrations/route.js", "/api/admin/sites/[id]/database/logs/route": "app/api/admin/sites/[id]/database/logs/route.js", "/api/admin/sites/[id]/database/query/route": "app/api/admin/sites/[id]/database/query/route.js", - "/api/admin/sites/[id]/database/schema/route": "app/api/admin/sites/[id]/database/schema/route.js", - "/api/admin/sites/[id]/functions/[functionId]/logs/route": "app/api/admin/sites/[id]/functions/[functionId]/logs/route.js", + "/api/admin/dashboard/route": "app/api/admin/dashboard/route.js", + "/api/admin/run-migrations/route": "app/api/admin/run-migrations/route.js", "/api/admin/sites/[id]/functions/[functionId]/route": "app/api/admin/sites/[id]/functions/[functionId]/route.js", - "/api/admin/sites/[id]/functions/route": "app/api/admin/sites/[id]/functions/route.js", + "/api/admin/sites/[id]/database/schema/route": "app/api/admin/sites/[id]/database/schema/route.js", "/api/admin/sites/[id]/secrets/[secretId]/route": "app/api/admin/sites/[id]/secrets/[secretId]/route.js", - "/api/admin/sites/[id]/secrets/route": "app/api/admin/sites/[id]/secrets/route.js", "/api/admin/sites/[id]/server-context/mutate/route": "app/api/admin/sites/[id]/server-context/mutate/route.js", "/api/admin/sites/[id]/server-context/route": "app/api/admin/sites/[id]/server-context/route.js", + "/api/admin/sites/[id]/functions/route": "app/api/admin/sites/[id]/functions/route.js", "/api/admin/sites/[id]/server-functions/[functionId]/route": "app/api/admin/sites/[id]/server-functions/[functionId]/route.js", "/api/admin/sites/[id]/server-functions/route": "app/api/admin/sites/[id]/server-functions/route.js", - "/api/analytics/[siteId]/clear/route": "app/api/analytics/[siteId]/clear/route.js", + "/api/admin/sites/[id]/secrets/route": "app/api/admin/sites/[id]/secrets/route.js", "/api/analytics/[siteId]/engagement/route": "app/api/analytics/[siteId]/engagement/route.js", - "/api/analytics/[siteId]/heatmap/route": "app/api/analytics/[siteId]/heatmap/route.js", - "/api/analytics/[siteId]/export/route": "app/api/analytics/[siteId]/export/route.js", + "/api/admin/sites/[id]/functions/[functionId]/logs/route": "app/api/admin/sites/[id]/functions/[functionId]/logs/route.js", "/api/analytics/[siteId]/overview/route": "app/api/analytics/[siteId]/overview/route.js", "/api/analytics/[siteId]/route": "app/api/analytics/[siteId]/route.js", - "/api/analytics/[siteId]/sessions/route": "app/api/analytics/[siteId]/sessions/route.js", "/api/analytics/[siteId]/storage/route": "app/api/analytics/[siteId]/storage/route.js", + "/api/analytics/[siteId]/sessions/route": "app/api/analytics/[siteId]/sessions/route.js", + "/api/analytics/[siteId]/export/route": "app/api/analytics/[siteId]/export/route.js", "/api/analytics/track/route": "app/api/analytics/track/route.js", - "/api/analytics/interaction/route": "app/api/analytics/interaction/route.js", "/api/auth/check/route": "app/api/auth/check/route.js", - "/api/auth/logout/route": "app/api/auth/logout/route.js", - "/api/auth/login/route": "app/api/auth/login/route.js", - "/api/auth/me/route": "app/api/auth/me/route.js", + "/api/analytics/interaction/route": "app/api/analytics/interaction/route.js", "/api/docs/[...path]/route": "app/api/docs/[...path]/route.js", - "/api/models/route": "app/api/models/route.js", "/api/generate/route": "app/api/generate/route.js", + "/api/auth/login/route": "app/api/auth/login/route.js", + "/api/auth/me/route": "app/api/auth/me/route.js", + "/api/auth/logout/route": "app/api/auth/logout/route.js", + "/api/analytics/[siteId]/clear/route": "app/api/analytics/[siteId]/clear/route.js", "/api/projects/[id]/sites/route": "app/api/projects/[id]/sites/route.js", "/api/projects/route": "app/api/projects/route.js", - "/api/shell/execute/route": "app/api/shell/execute/route.js", - "/api/sites/[id]/route": "app/api/sites/[id]/route.js", "/api/sites/[id]/publish/route": "app/api/sites/[id]/publish/route.js", + "/api/models/route": "app/api/models/route.js", "/api/sites/[id]/thumbnail/route": "app/api/sites/[id]/thumbnail/route.js", + "/api/sites/[id]/route": "app/api/sites/[id]/route.js", "/api/sites/route": "app/api/sites/route.js", + "/api/analytics/[siteId]/heatmap/route": "app/api/analytics/[siteId]/heatmap/route.js", "/api/sites/[id]/settings/route": "app/api/sites/[id]/settings/route.js", + "/api/sync/projects/route": "app/api/sync/projects/route.js", "/api/sync/files/route": "app/api/sync/files/route.js", + "/api/sync/status/route": "app/api/sync/status/route.js", + "/api/shell/execute/route": "app/api/shell/execute/route.js", "/api/sync/projects/[id]/route": "app/api/sync/projects/[id]/route.js", - "/api/sync/projects/route": "app/api/sync/projects/route.js", "/sites/[id]/[...path]/route": "app/sites/[id]/[...path]/route.js", - "/sites/[id]/route": "app/sites/[id]/route.js", "/api/validate-key/route": "app/api/validate-key/route.js", - "/api/sync/status/route": "app/api/sync/status/route.js", + "/sites/[id]/route": "app/sites/[id]/route.js", + "/api/sites/[id]/functions/[...path]/route": "app/api/sites/[id]/functions/[...path]/route.js", "/admin/dashboard/page": "app/admin/dashboard/page.js", + "/admin/login/page": "app/admin/login/page.js", "/admin/docs/page": "app/admin/docs/page.js", + "/admin/settings/model/page": "app/admin/settings/model/page.js", "/admin/page": "app/admin/page.js", - "/admin/login/page": "app/admin/login/page.js", "/admin/projects/page": "app/admin/projects/page.js", - "/admin/settings/application/page": "app/admin/settings/application/page.js", - "/admin/settings/model/page": "app/admin/settings/model/page.js", - "/admin/sites/page": "app/admin/sites/page.js", - "/admin/templates/page": "app/admin/templates/page.js", "/admin/skills/page": "app/admin/skills/page.js", + "/admin/templates/page": "app/admin/templates/page.js", + "/admin/sites/page": "app/admin/sites/page.js", + "/admin/settings/application/page": "app/admin/settings/application/page.js", "/admin/settings/page": "app/admin/settings/page.js", "/page": "app/page.js", - "/test-generation/page": "app/test-generation/page.js", - "/api/sites/[id]/functions/[...path]/route": "app/api/sites/[id]/functions/[...path]/route.js" + "/test-generation/page": "app/test-generation/page.js" } \ No newline at end of file diff --git a/.next/server/app/_not-found.html b/.next/server/app/_not-found.html index 6702c7506e1af4fe39c9327f180400da9393926f..467edb2e7836fcb4920e5bf34fffc7dc5104888b 100644 --- a/.next/server/app/_not-found.html +++ b/.next/server/app/_not-found.html @@ -1 +1 @@ -404: This page could not be found.Open Source Web Studio | Agentic AI Development 🎨

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Open Source Web Studio | Agentic AI Development 🎨

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/app/_not-found.rsc b/.next/server/app/_not-found.rsc index 1357f1e4ec9e0c4601b1a4a8995631c7c70f7b53..dbd463bf5f421aca55ce16a3b1d2d4cb37e49ea1 100644 --- a/.next/server/app/_not-found.rsc +++ b/.next/server/app/_not-found.rsc @@ -13,7 +13,7 @@ e:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],["$","$L7",null,{"children":"$L8"}],null,["$","$L9",null,{"children":["$La","$Lb",["$","$Lc",null,{"promise":"$@d"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$1","ju2XGqIJMveAMZmBmFqsS",{"children":[["$","$Le",null,{"children":"$Lf"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$10","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],["$","$L7",null,{"children":"$L8"}],null,["$","$L9",null,{"children":["$La","$Lb",["$","$Lc",null,{"promise":"$@d"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$1","F9LB8BrkE2O2SMpMSnH4I",{"children":[["$","$Le",null,{"children":"$Lf"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$10","$undefined"],"s":false,"S":true} 11:"$Sreact.suspense" 12:I[74911,[],"AsyncMetadata"] 8:["$","$11",null,{"fallback":null,"children":["$","$L12",null,{"promise":"$@13"}]}] diff --git a/.next/server/app/_not-found/page_client-reference-manifest.js b/.next/server/app/_not-found/page_client-reference-manifest.js index ce2d99abb8cfe8fdc90a96220f14e87d472043fe..6fa6444a5aadf85b5462d3c4aac33bc6b3d9c08d 100644 --- a/.next/server/app/_not-found/page_client-reference-manifest.js +++ b/.next/server/app/_not-found/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/_not-found/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/_not-found/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin.html b/.next/server/app/admin.html index 722a7c8ad4a306ef37de033d5f9ac4f6d61eed67..b5683acf36361f7f4b1b43f2d176658919107d1d 100644 --- a/.next/server/app/admin.html +++ b/.next/server/app/admin.html @@ -1 +1 @@ -Open Source Web Studio | Agentic AI Development 🎨

Redirecting...

\ No newline at end of file +Open Source Web Studio | Agentic AI Development 🎨

Redirecting...

\ No newline at end of file diff --git a/.next/server/app/admin.rsc b/.next/server/app/admin.rsc index 79c0b333a91158fac3b014bc53d9079e4d182114..4ec49093f9ec5879a9d593eae6dddfd890ebc290 100644 --- a/.next/server/app/admin.rsc +++ b/.next/server/app/admin.rsc @@ -5,7 +5,7 @@ 5:I[87555,[],""] 6:I[31295,[],""] 7:I[90894,[],"ClientPageRoot"] -8:I[57161,["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"default"] +8:I[57161,["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"default"] b:I[59665,[],"MetadataBoundary"] d:I[59665,[],"OutletBoundary"] 10:I[74911,[],"AsyncMetadataOutlet"] @@ -15,7 +15,7 @@ d:I[59665,[],"OutletBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin"],"i":false,"f":[[["",{"children":["admin",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","VURzEatjq1S2cfaGpuEte",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin"],"i":false,"f":[[["",{"children":["admin",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","hoeSGeK0DRd8pZXrRqsCm",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 15:"$Sreact.suspense" 16:I[74911,[],"AsyncMetadata"] 9:{} diff --git a/.next/server/app/admin/dashboard.html b/.next/server/app/admin/dashboard.html index f805ab66913208e1534967aa218570bc29e1c419..e8450f9d63b741bdffe9e70dea74827834c34b2a 100644 --- a/.next/server/app/admin/dashboard.html +++ b/.next/server/app/admin/dashboard.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Dashboard

Loading dashboard...

\ No newline at end of file +
Dashboard

Loading dashboard...

\ No newline at end of file diff --git a/.next/server/app/admin/dashboard.rsc b/.next/server/app/admin/dashboard.rsc index 6bcb51f817aec88af62f6721e08b884893b049ab..fa10eff6767c45445110eb6579f07b44b14b03ef 100644 --- a/.next/server/app/admin/dashboard.rsc +++ b/.next/server/app/admin/dashboard.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","5957","static/chunks/app/admin/dashboard/page-bb709d2d3e37ddad.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","5957","static/chunks/app/admin/dashboard/page-bb709d2d3e37ddad.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","dashboard"],"i":false,"f":[[["",{"children":["admin",{"children":["dashboard",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"dashboard"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","_zWPbRjm6kddDC8VbHI8C",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","dashboard"],"i":false,"f":[[["",{"children":["admin",{"children":["dashboard",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"dashboard"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","6nR_yLWX-u9OIp8mg_wKx",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/dashboard/page_client-reference-manifest.js b/.next/server/app/admin/dashboard/page_client-reference-manifest.js index e5a1a6017c09039a9d500daf0240b2e4918eddd8..4988cc99ed0fb18d14a277ec4d4549ad51e28f58 100644 --- a/.next/server/app/admin/dashboard/page_client-reference-manifest.js +++ b/.next/server/app/admin/dashboard/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/dashboard/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","5957","static/chunks/app/admin/dashboard/page-bb709d2d3e37ddad.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/dashboard/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","5957","static/chunks/app/admin/dashboard/page-bb709d2d3e37ddad.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/docs.html b/.next/server/app/admin/docs.html index 5a259285a79ee5f5ad0499ca67dbde33139214ae..0f6c1f9921afa58672251176e1fedd7bfead3989 100644 --- a/.next/server/app/admin/docs.html +++ b/.next/server/app/admin/docs.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Docs
Loading documentation...
\ No newline at end of file +
Docs
Loading documentation...
\ No newline at end of file diff --git a/.next/server/app/admin/docs.rsc b/.next/server/app/admin/docs.rsc index 4c9361cae856f813fdb3c5ff8c708142a56dcc0b..bdc109e89246a95cf77a7d19a715699f0d47cbf4 100644 --- a/.next/server/app/admin/docs.rsc +++ b/.next/server/app/admin/docs.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","4004","static/chunks/app/admin/docs/page-f8eb5b0b6e3e3e0d.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","4004","static/chunks/app/admin/docs/page-f8eb5b0b6e3e3e0d.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","docs"],"i":false,"f":[[["",{"children":["admin",{"children":["docs",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["docs",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"docs"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","MbYORBkVyhklmSfU4Tfhv",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","docs"],"i":false,"f":[[["",{"children":["admin",{"children":["docs",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["docs",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"docs"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Dm78fcYapSKQB1SEgz70o",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/docs/page_client-reference-manifest.js b/.next/server/app/admin/docs/page_client-reference-manifest.js index 8b7920f8a4f5d5303bc66afd31c0761f3d8da6cb..59ae0ab3c70164f295a703739ae1b058f517baea 100644 --- a/.next/server/app/admin/docs/page_client-reference-manifest.js +++ b/.next/server/app/admin/docs/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/docs/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","4004","static/chunks/app/admin/docs/page-f8eb5b0b6e3e3e0d.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/docs/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","4004","static/chunks/app/admin/docs/page-f8eb5b0b6e3e3e0d.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/login.html b/.next/server/app/admin/login.html index 90a03d1b91f8f01515434e951bcc7810b7af09d6..fbd3f8841a588527736df34eea919f8155ec32f7 100644 --- a/.next/server/app/admin/login.html +++ b/.next/server/app/admin/login.html @@ -1 +1 @@ -Open Source Web Studio | Agentic AI Development 🎨

OSW Studio Admin

Enter your password to continue

Powered byOSW Studio
\ No newline at end of file +Open Source Web Studio | Agentic AI Development 🎨

OSW Studio Admin

Enter your password to continue

Powered byOSW Studio
\ No newline at end of file diff --git a/.next/server/app/admin/login.rsc b/.next/server/app/admin/login.rsc index ee260e3ed3927fbbab7cd476013b22377dd32fd9..019a2b0aa36a21b58161ae9712b3b7d2e2f6b88e 100644 --- a/.next/server/app/admin/login.rsc +++ b/.next/server/app/admin/login.rsc @@ -15,7 +15,7 @@ d:I[59665,[],"OutletBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","login"],"i":false,"f":[[["",{"children":["admin",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ypkyGF1n5WTVSiDp3z1Hw",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","login"],"i":false,"f":[[["",{"children":["admin",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","D_LSFDFfvOlV2d7M1k6vJ",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 15:"$Sreact.suspense" 16:I[74911,[],"AsyncMetadata"] 9:{} diff --git a/.next/server/app/admin/login/page_client-reference-manifest.js b/.next/server/app/admin/login/page_client-reference-manifest.js index 22794afeba4d1cc5e6f797c471c2677700053b16..f841528d569bc0cd99818ba717353120660f937c 100644 --- a/.next/server/app/admin/login/page_client-reference-manifest.js +++ b/.next/server/app/admin/login/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/login/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":["2116","static/chunks/app/admin/login/page-5470d9718e2ee0e3.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/login/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":["2116","static/chunks/app/admin/login/page-5470d9718e2ee0e3.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/page.js b/.next/server/app/admin/page.js index 65830ba75204cbe99c951cf351da15867301ed01..3ffb488cdc78337d77d568d8d8fc3baa191e048f 100644 --- a/.next/server/app/admin/page.js +++ b/.next/server/app/admin/page.js @@ -1 +1 @@ -(()=>{var e={};e.id=3698,e.ids=[3698],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8521:(e,t,r)=>{Promise.resolve().then(r.bind(r,20435))},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16189:(e,t,r)=>{"use strict";var s=r(65773);r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},18249:(e,t,r)=>{Promise.resolve().then(r.bind(r,49441))},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20435:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(60687);r(43210);var o=r(16189);function n(){return(0,o.useRouter)(),(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,s.jsx)("p",{className:"text-zinc-400",children:"Redirecting..."})})}r(4950),r(30758)},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30758:e=>{"use strict";e.exports={rE:"1.21.0"}},33873:e=>{"use strict";e.exports=require("path")},49441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx","default")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86925:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>p,routeModule:()=>c,tree:()=>u});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),d={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>a[e]);r.d(t,d);let u={children:["",{children:["admin",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,49441)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,p=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/page",pathname:"/admin",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,9243],()=>r(86925));module.exports=s})(); \ No newline at end of file +(()=>{var e={};e.id=3698,e.ids=[3698],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8521:(e,t,r)=>{Promise.resolve().then(r.bind(r,20435))},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16189:(e,t,r)=>{"use strict";var s=r(65773);r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},18249:(e,t,r)=>{Promise.resolve().then(r.bind(r,49441))},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20435:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(60687);r(43210);var o=r(16189);function n(){return(0,o.useRouter)(),(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,s.jsx)("p",{className:"text-zinc-400",children:"Redirecting..."})})}r(4950),r(30758)},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30758:e=>{"use strict";e.exports={rE:"1.22.0"}},33873:e=>{"use strict";e.exports=require("path")},49441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx","default")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86925:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>p,routeModule:()=>c,tree:()=>u});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),d={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>a[e]);r.d(t,d);let u={children:["",{children:["admin",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,49441)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,p=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/page",pathname:"/admin",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,9243],()=>r(86925));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/admin/page_client-reference-manifest.js b/.next/server/app/admin/page_client-reference-manifest.js index dedd603ccfbf5989134250138b1da794506b927e..d96d8f8b0b40e687708ed1ce0c3abf8b3cb7202f 100644 --- a/.next/server/app/admin/page_client-reference-manifest.js +++ b/.next/server/app/admin/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/projects.html b/.next/server/app/admin/projects.html index d812ba65fd5a5b4245309a6388196281738606d9..1c2cab8e092efe39cac49c27e88ce735e23268de 100644 --- a/.next/server/app/admin/projects.html +++ b/.next/server/app/admin/projects.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Projects

Loading projects...

\ No newline at end of file +
Projects

Loading projects...

\ No newline at end of file diff --git a/.next/server/app/admin/projects.rsc b/.next/server/app/admin/projects.rsc index 13fc16fb46ed53a95e6ce62565f4cb75a3c25210..7bb34940ca6f7ea7705e66bd7a4fd6751921bcd5 100644 --- a/.next/server/app/admin/projects.rsc +++ b/.next/server/app/admin/projects.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","3321","static/chunks/app/admin/projects/page-67cc6f57da2a8a49.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","3321","static/chunks/app/admin/projects/page-67cc6f57da2a8a49.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","projects"],"i":false,"f":[[["",{"children":["admin",{"children":["projects",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["projects",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"projects"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","aA8mPNgNa255yGZI3PzGo",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","projects"],"i":false,"f":[[["",{"children":["admin",{"children":["projects",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["projects",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"projects"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","YqZeF5brhy37lX74rVU8b",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/projects/page_client-reference-manifest.js b/.next/server/app/admin/projects/page_client-reference-manifest.js index 8ad0f37e208c93404b40a199e12ad32054434a4f..2023ea0f04dcaa1364ebd1454dbeed6bf410ed06 100644 --- a/.next/server/app/admin/projects/page_client-reference-manifest.js +++ b/.next/server/app/admin/projects/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/projects/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","3321","static/chunks/app/admin/projects/page-67cc6f57da2a8a49.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/projects/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","3321","static/chunks/app/admin/projects/page-67cc6f57da2a8a49.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/settings.html b/.next/server/app/admin/settings.html index ce3f78f6aa4a3a5cabd3a88469f54275a3c1eec2..9d5510cb21500650df80f0bfc2951b962e661757 100644 --- a/.next/server/app/admin/settings.html +++ b/.next/server/app/admin/settings.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Settings

Loading...

\ No newline at end of file +
Settings

Loading...

\ No newline at end of file diff --git a/.next/server/app/admin/settings.rsc b/.next/server/app/admin/settings.rsc index ef84deb93ca937d10599e850d573251b72212a1b..3ad1bcefd482735de57ed204e072ab72da69b26c 100644 --- a/.next/server/app/admin/settings.rsc +++ b/.next/server/app/admin/settings.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","7122","static/chunks/app/admin/settings/page-4184b0b4ac64404f.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","7122","static/chunks/app/admin/settings/page-4184b0b4ac64404f.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","settings"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","o1N7eEonTmXXocFQ_rn6i",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","settings"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","eO2upbReu3ZOCFS9hCJCZ",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/settings/application.html b/.next/server/app/admin/settings/application.html index c3c087646ea88f3bf2c84c67759511a0d0174c96..f989005082a30847c74c170660735bfb470141be 100644 --- a/.next/server/app/admin/settings/application.html +++ b/.next/server/app/admin/settings/application.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Settings

Loading...

\ No newline at end of file +
Settings

Loading...

\ No newline at end of file diff --git a/.next/server/app/admin/settings/application.rsc b/.next/server/app/admin/settings/application.rsc index 796bf4dbfbad931dc69199e8520d00fbdec38453..6e60e17fedbd6ce1856a11f9bfb40f753698cdc7 100644 --- a/.next/server/app/admin/settings/application.rsc +++ b/.next/server/app/admin/settings/application.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","6047","static/chunks/app/admin/settings/application/page-df0594df24d27c5e.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","6047","static/chunks/app/admin/settings/application/page-df0594df24d27c5e.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","settings","application"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["application",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["application",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"application"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","N8blcvO_FTj9oK-F-Yhu5",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","settings","application"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["application",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["application",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"application"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","HrWlaXyQC51CsSA9LbNWO",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/settings/application/page_client-reference-manifest.js b/.next/server/app/admin/settings/application/page_client-reference-manifest.js index 52574df4b37d61ef1c8f18668a09a5ac765f82a0..98ae698f0cb8e77890d2ae57f432f5701c9ba019 100644 --- a/.next/server/app/admin/settings/application/page_client-reference-manifest.js +++ b/.next/server/app/admin/settings/application/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/application/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","6047","static/chunks/app/admin/settings/application/page-df0594df24d27c5e.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/application/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","6047","static/chunks/app/admin/settings/application/page-df0594df24d27c5e.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/settings/model.html b/.next/server/app/admin/settings/model.html index ac654b7586196e37c5c4fd721339a29c196c7900..49d7c5461e655c59e0261e7cb78cecc475669e2a 100644 --- a/.next/server/app/admin/settings/model.html +++ b/.next/server/app/admin/settings/model.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Settings

Loading...

\ No newline at end of file +
Settings

Loading...

\ No newline at end of file diff --git a/.next/server/app/admin/settings/model.rsc b/.next/server/app/admin/settings/model.rsc index 2bc36777c30587c5c4a5b79924e8e5fb067e5601..863ac572cea8c49cee342e7bda558c47fcb56155 100644 --- a/.next/server/app/admin/settings/model.rsc +++ b/.next/server/app/admin/settings/model.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","3116","static/chunks/app/admin/settings/model/page-a6a0e1eccbcae968.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","3116","static/chunks/app/admin/settings/model/page-a6a0e1eccbcae968.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","settings","model"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["model",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["model",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"model"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","0Tli4uuREaB-B3iOp-vFG",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","settings","model"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["model",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["model",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"model"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","XYWHxdAS5RM16txZBrbO-",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/settings/model/page_client-reference-manifest.js b/.next/server/app/admin/settings/model/page_client-reference-manifest.js index 31e4769a7336cc541ed38ca5bafa05353f590fa2..96bf2341bfa1c7fb3d4ef9e7b003c336c7feac56 100644 --- a/.next/server/app/admin/settings/model/page_client-reference-manifest.js +++ b/.next/server/app/admin/settings/model/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/model/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","3116","static/chunks/app/admin/settings/model/page-a6a0e1eccbcae968.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/model/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","3116","static/chunks/app/admin/settings/model/page-a6a0e1eccbcae968.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/settings/page_client-reference-manifest.js b/.next/server/app/admin/settings/page_client-reference-manifest.js index db0fc34fa94d2409bcb2188b1546d1cbb14ede3e..d698d336264beb84298af8d4f0158f9eacf99012 100644 --- a/.next/server/app/admin/settings/page_client-reference-manifest.js +++ b/.next/server/app/admin/settings/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","7122","static/chunks/app/admin/settings/page-4184b0b4ac64404f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","7122","static/chunks/app/admin/settings/page-4184b0b4ac64404f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/sites.html b/.next/server/app/admin/sites.html index f310d6792d364b4d68c72f11c0ae28bb2e3f699d..6bfbefe609850e1f93a93141eeaf166e79e82cac 100644 --- a/.next/server/app/admin/sites.html +++ b/.next/server/app/admin/sites.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Sites

Loading sites...

\ No newline at end of file +
Sites

Sites feature is only available in Server Mode

\ No newline at end of file diff --git a/.next/server/app/admin/sites.rsc b/.next/server/app/admin/sites.rsc index a79dfc042b68417bfee7c8a7f7d9cd275f1e7fa7..2dff0c8302abfbe8f0df166c2560a017b558c36b 100644 --- a/.next/server/app/admin/sites.rsc +++ b/.next/server/app/admin/sites.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","921","static/chunks/app/admin/sites/page-1d51857963c5029a.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","921","static/chunks/app/admin/sites/page-1d51857963c5029a.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","sites"],"i":false,"f":[[["",{"children":["admin",{"children":["sites",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["sites",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"sites"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","-XXM1BVR1MVOJDWWGu8Zu",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","sites"],"i":false,"f":[[["",{"children":["admin",{"children":["sites",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["sites",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"sites"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","LZ25q-WxClzAnfJ5i2BmR",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/sites/page_client-reference-manifest.js b/.next/server/app/admin/sites/page_client-reference-manifest.js index b94f0869332e63a644ecbec7c167609f225a648b..442dd31e9c98609626d4a55a8908701aaa56d794 100644 --- a/.next/server/app/admin/sites/page_client-reference-manifest.js +++ b/.next/server/app/admin/sites/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/sites/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","921","static/chunks/app/admin/sites/page-1d51857963c5029a.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/sites/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","921","static/chunks/app/admin/sites/page-1d51857963c5029a.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/skills.html b/.next/server/app/admin/skills.html index 41fb2d98daae3cc38008050025279590e799fb63..199e114fa7077a2c5ef74445d1eb7cbc4bb74fba 100644 --- a/.next/server/app/admin/skills.html +++ b/.next/server/app/admin/skills.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Skills

Loading skills...

\ No newline at end of file +
Skills

Loading skills...

\ No newline at end of file diff --git a/.next/server/app/admin/skills.rsc b/.next/server/app/admin/skills.rsc index e574f2fbee13326de72e3f6687ed6e5990bd2d9e..87a76e6644f953cac97294184ee72d662a718b70 100644 --- a/.next/server/app/admin/skills.rsc +++ b/.next/server/app/admin/skills.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","849","static/chunks/app/admin/skills/page-ebb0e931ecd3ca1e.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","849","static/chunks/app/admin/skills/page-ebb0e931ecd3ca1e.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","skills"],"i":false,"f":[[["",{"children":["admin",{"children":["skills",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["skills",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"skills"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","9dol28a2QvGndn9zGMNyd",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","skills"],"i":false,"f":[[["",{"children":["admin",{"children":["skills",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["skills",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"skills"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","evZhKcYsb4Ip94vis4kZk",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/skills/page_client-reference-manifest.js b/.next/server/app/admin/skills/page_client-reference-manifest.js index 30b0126695d743bb536a9fcc136c7cb7a2db40f2..0ef447f632070d4b5a8d073379470848a65161b3 100644 --- a/.next/server/app/admin/skills/page_client-reference-manifest.js +++ b/.next/server/app/admin/skills/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/skills/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","849","static/chunks/app/admin/skills/page-ebb0e931ecd3ca1e.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/skills/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","849","static/chunks/app/admin/skills/page-ebb0e931ecd3ca1e.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/templates.html b/.next/server/app/admin/templates.html index c25bcb83b0a4b6483c10a12a43705038a90ef1ef..4f11189030862064037875b7fec7b7d0f7f3da8d 100644 --- a/.next/server/app/admin/templates.html +++ b/.next/server/app/admin/templates.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Templates

Loading templates...

\ No newline at end of file +
Templates

Loading templates...

\ No newline at end of file diff --git a/.next/server/app/admin/templates.rsc b/.next/server/app/admin/templates.rsc index 3eb546a5ea0d6b48b42034e8fb5d3ac5433555f8..6d91d4c4a41d4cae8a408c69d383dab532bc9f47 100644 --- a/.next/server/app/admin/templates.rsc +++ b/.next/server/app/admin/templates.rsc @@ -4,7 +4,7 @@ 4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] 5:I[87555,[],""] 6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","7698","static/chunks/app/admin/templates/page-938ad4d010cf31b2.js"],"PageWrapper"] +7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","7698","static/chunks/app/admin/templates/page-938ad4d010cf31b2.js"],"PageWrapper"] 8:I[59665,[],"MetadataBoundary"] a:I[59665,[],"OutletBoundary"] d:I[74911,[],"AsyncMetadataOutlet"] @@ -14,7 +14,7 @@ f:I[59665,[],"ViewportBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","admin","templates"],"i":false,"f":[[["",{"children":["admin",{"children":["templates",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["templates",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"templates"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","B4O6VAE7gzfrywgPYEKGm",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","admin","templates"],"i":false,"f":[[["",{"children":["admin",{"children":["templates",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["templates",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"templates"}],["$","$L8",null,{"children":"$L9"}],null,["$","$La",null,{"children":["$Lb","$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","nhJaE-e30MZ5bOQYsp7Ba",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 12:"$Sreact.suspense" 13:I[74911,[],"AsyncMetadata"] 9:["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}] diff --git a/.next/server/app/admin/templates/page_client-reference-manifest.js b/.next/server/app/admin/templates/page_client-reference-manifest.js index 185e44f9b9cda7bc05f3a9f158c0799ad9bfaf5e..278acd81fad63d04a48b372486c5c0e2ae7898dd 100644 --- a/.next/server/app/admin/templates/page_client-reference-manifest.js +++ b/.next/server/app/admin/templates/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/templates/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","7698","static/chunks/app/admin/templates/page-938ad4d010cf31b2.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-5cb4c6738c3fceab.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/templates/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","7698","static/chunks/app/admin/templates/page-938ad4d010cf31b2.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-efaf489f2b413d62.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/dashboard/route.js.nft.json b/.next/server/app/api/admin/dashboard/route.js.nft.json index 3893f100be24fec67912cf865f7a8c8a5f668bb7..0065cbd0bc006ea38fc7bbdaed2d55a72c076c6e 100644 --- a/.next/server/app/api/admin/dashboard/route.js.nft.json +++ b/.next/server/app/api/admin/dashboard/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../docs/WHATS_NEW.md","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../docs/WHATS_NEW.md","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js b/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js index 82a801f8d39ed50cb1e48847886b2623ab84a988..3a7e02bab8603617b9854f8ff9fe6d558851d224 100644 --- a/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/dashboard/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/dashboard/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/dashboard/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/dashboard/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/run-migrations/route.js.nft.json b/.next/server/app/api/admin/run-migrations/route.js.nft.json index 6ca2864aa9ed5b1a2af2d48ce6753f6768d31ed9..91939dd817abae3611836736f6fc7221332eebed 100644 --- a/.next/server/app/api/admin/run-migrations/route.js.nft.json +++ b/.next/server/app/api/admin/run-migrations/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js b/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js index 9850bd7862d8ce148e4edd6dd32c15042afb627d..43073b816e439ade4a08d615cfa75875736604bb 100644 --- a/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/run-migrations/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/run-migrations/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/run-migrations/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/run-migrations/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json index a09ccaf96e328117200956cda395407b4313a627..d5f9823ec30af803d6b12d5c671422d9ab08d968 100644 --- a/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js index 88f06c1002613ea13b68a1896750385677d5dfaa..f18a7fe96ccca1306082aaf24129ab76dfe445e3 100644 --- a/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/logs/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/logs/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json index a09ccaf96e328117200956cda395407b4313a627..d5f9823ec30af803d6b12d5c671422d9ab08d968 100644 --- a/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js index f26272ea9ace7f02e98cd574c78231e9c9531f93..7df0cac8c3209005e45ac680a8393f62ca06b5e6 100644 --- a/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/query/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/query/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/query/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/query/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json index a09ccaf96e328117200956cda395407b4313a627..d5f9823ec30af803d6b12d5c671422d9ab08d968 100644 --- a/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js index 132fa1486dd7d31379765024ebffb64da4c06316..099561bb62abe582f14c2048d2904964566478f3 100644 --- a/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/schema/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/schema/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/schema/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/schema/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json index 04191ba4aad41d5b8b7bfa2f5d56a00724773f70..9b38e651d1637ddacc26bdb7755e17bba394ff79 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../../data/osws.sqlite","../../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../../node_modules/next/package.json","../../../../../../../../../../package.json","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../package.json","../../../../../../../../chunks/4447.js","../../../../../../../../chunks/5155.js","../../../../../../../../chunks/580.js","../../../../../../../../chunks/9709.js","../../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../../data/osws.sqlite","../../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../../node_modules/next/package.json","../../../../../../../../../../package.json","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../../package.json","../../../../../../../../chunks/4447.js","../../../../../../../../chunks/5155.js","../../../../../../../../chunks/580.js","../../../../../../../../chunks/9709.js","../../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js index 7af9645a295a6a3ff167bc95fac6cd9163fa75f7..48b9995295496f5521bf950994a2d22d636dbed7 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/logs/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/logs/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js index b0ca16dd3c661e385c3bb1353a23df6f83353c93..a82f129b337330ab74ab57bbf129c99293c9b8d2 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6560,e.ids=[6560],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},40371:e=>{e.exports=require("vm")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},47769:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>x,serverHooks:()=>w,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>j});var n={};r.r(n),r.d(n,{DELETE:()=>f,GET:()=>p,PUT:()=>l});var s=r(96559),o=r(48088),a=r(37719),i=r(32190),u=r(50613),d=r(30417),c=r(74384);async function p(e,{params:t}){try{await (0,u.oC)();let{id:e,functionId:r}=await t,n=(0,d.q)();await n.init();let s=await n.getSite?.(e);if(!s)return i.NextResponse.json({error:"Site not found"},{status:404});if(!s.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let o=n.getSiteDatabaseForAnalytics(e);if(!o)return i.NextResponse.json({error:"Site database not available"},{status:500});let a=o.getFunction(r);if(!a)return i.NextResponse.json({error:"Function not found"},{status:404});return i.NextResponse.json({function:a})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function l(e,{params:t}){try{await (0,u.oC)();let{id:r,functionId:n}=await t,s=await e.json(),o=(0,d.q)();await o.init();let a=await o.getSite?.(r);if(!a)return i.NextResponse.json({error:"Site not found"},{status:404});if(!a.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let p=o.getSiteDatabaseForAnalytics(r);if(!p)return i.NextResponse.json({error:"Site database not available"},{status:500});let l=p.getFunction(n);if(!l)return i.NextResponse.json({error:"Function not found"},{status:404});let f={};if(void 0!==s.name&&s.name!==l.name){let e=(0,c.QH)(s.name);if(e)return i.NextResponse.json({error:e},{status:400});let t=p.getFunctionByName(s.name);if(t&&t.id!==n)return i.NextResponse.json({error:"A function with this name already exists"},{status:409});f.name=s.name}if(void 0!==s.code){let e=(0,c.c2)(s.code);if(e)return i.NextResponse.json({error:e},{status:400});f.code=s.code}if(void 0!==s.description&&(f.description=s.description),void 0!==s.method){if(!["GET","POST","PUT","DELETE","ANY"].includes(s.method))return i.NextResponse.json({error:"Invalid HTTP method"},{status:400});f.method=s.method}void 0!==s.enabled&&(f.enabled=s.enabled),void 0!==s.timeoutMs&&(f.timeoutMs=Math.min(Math.max(s.timeoutMs,1e3),3e4)),Object.keys(f).length>0&&p.updateFunction(n,f);let x=p.getFunction(n);return i.NextResponse.json({function:x})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function f(e,{params:t}){try{await (0,u.oC)();let{id:e,functionId:r}=await t,n=(0,d.q)();await n.init();let s=await n.getSite?.(e);if(!s)return i.NextResponse.json({error:"Site not found"},{status:404});if(!s.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let o=n.getSiteDatabaseForAnalytics(e);if(!o)return i.NextResponse.json({error:"Site database not available"},{status:500});if(!o.getFunction(r))return i.NextResponse.json({error:"Function not found"},{status:404});return o.deleteFunction(r),i.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let x=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/[functionId]/route",pathname:"/api/admin/sites/[id]/functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/[functionId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:m,workUnitAsyncStorage:j,serverHooks:w}=x;function h(){return(0,a.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:j})}},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,4079],()=>r(47769));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6560,e.ids=[6560],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16801:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),o=r(48088),a=r(37719),i=r(92781),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/[functionId]/route",pathname:"/api/admin/sites/[id]/functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/[functionId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:f}=c;function d(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},92781:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{DELETE:()=>p,GET:()=>d,PUT:()=>c});var s=r(32190),o=r(50613),a=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});let d=u.getFunction(r);if(!d)return s.NextResponse.json({error:"Function not found"},{status:404});return s.NextResponse.json({function:d})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,o.oC)();let{id:r,functionId:n}=await t,u=await e.json(),d=(0,a.q)();await d.init();let c=await d.getSite?.(r);if(!c)return s.NextResponse.json({error:"Site not found"},{status:404});if(!c.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let p=d.getSiteDatabaseForAnalytics(r);if(!p)return s.NextResponse.json({error:"Site database not available"},{status:500});let l=p.getFunction(n);if(!l)return s.NextResponse.json({error:"Function not found"},{status:404});let f={};if(void 0!==u.name&&u.name!==l.name){let e=(0,i.QH)(u.name);if(e)return s.NextResponse.json({error:e},{status:400});let t=p.getFunctionByName(u.name);if(t&&t.id!==n)return s.NextResponse.json({error:"A function with this name already exists"},{status:409});f.name=u.name}if(void 0!==u.code){let e=(0,i.c2)(u.code);if(e)return s.NextResponse.json({error:e},{status:400});f.code=u.code}if(void 0!==u.description&&(f.description=u.description),void 0!==u.method){if(!["GET","POST","PUT","DELETE","ANY"].includes(u.method))return s.NextResponse.json({error:"Invalid HTTP method"},{status:400});f.method=u.method}void 0!==u.enabled&&(f.enabled=u.enabled),void 0!==u.timeoutMs&&(f.timeoutMs=Math.min(Math.max(u.timeoutMs,1e3),3e4)),Object.keys(f).length>0&&p.updateFunction(n,f);let x=p.getFunction(n);return s.NextResponse.json({function:x})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});if(!u.getFunction(r))return s.NextResponse.json({error:"Function not found"},{status:404});return u.deleteFunction(r),s.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(16801));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json index 15bb4cced5783d29d59b15d50398d35a9d5f9b35..a401683e20dbdac02990b4f445beb24b4bf0b0e4 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4079.js","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/8274.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js index 4818c71c6da0f253625ba3122ca5b2a57491e3b0..2f5348aa6ff0d07500f825bce8513d7f7828523b 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/route.js b/.next/server/app/api/admin/sites/[id]/functions/route.js index dfc386693c5e00db8321049c3a1ab867a9bd7b90..be12f3a5b7cb59111a4d754f8ec8c065be0546f8 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/route.js +++ b/.next/server/app/api/admin/sites/[id]/functions/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5646,e.ids=[5646],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},40371:e=>{e.exports=require("vm")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},90370:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>x,serverHooks:()=>w,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>m});var n={};r.r(n),r.d(n,{GET:()=>p,POST:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417),c=r(74384);async function p(e,{params:t}){try{await (0,u.oC)();let{id:e}=await t,r=(0,d.q)();await r.init();let n=await r.getSite?.(e);if(!n)return i.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let s=r.getSiteDatabaseForAnalytics(e);if(!s)return i.NextResponse.json({error:"Site database not available"},{status:500});let a=s.listFunctions();return i.NextResponse.json({functions:a})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function l(e,{params:t}){try{await (0,u.oC)();let{id:r}=await t,n=await e.json();if(!n.name)return i.NextResponse.json({error:"Function name is required"},{status:400});if(!n.code)return i.NextResponse.json({error:"Function code is required"},{status:400});let s=(0,c.QH)(n.name);if(s)return i.NextResponse.json({error:s},{status:400});let a=(0,c.c2)(n.code);if(a)return i.NextResponse.json({error:a},{status:400});let o=n.method||"ANY";if(!["GET","POST","PUT","DELETE","ANY"].includes(o))return i.NextResponse.json({error:"Invalid HTTP method"},{status:400});let p=Math.min(Math.max(n.timeoutMs||5e3,1e3),3e4),l=(0,d.q)();await l.init();let x=await l.getSite?.(r);if(!x)return i.NextResponse.json({error:"Site not found"},{status:404});x.databaseEnabled||(x.databaseEnabled=!0,await l.enableSiteDatabase(r),await l.updateSite?.(x));let f=l.getSiteDatabaseForAnalytics(r);if(!f)return i.NextResponse.json({error:"Site database not available"},{status:500});if(f.getFunctionByName(n.name))return i.NextResponse.json({error:"A function with this name already exists"},{status:409});let m=f.createFunction({name:n.name,description:n.description||void 0,code:n.code,method:o,enabled:!1!==n.enabled,timeoutMs:p}),w=f.getFunction(m);return i.NextResponse.json({function:w},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let x=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/route",pathname:"/api/admin/sites/[id]/functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:f,workUnitAsyncStorage:m,serverHooks:w}=x;function h(){return(0,o.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:m})}}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,4079],()=>r(90370));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5646,e.ids=[5646],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33087:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>x,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(81315),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/route",pathname:"/api/admin/sites/[id]/functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:x}=c;function d(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},81315:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{GET:()=>d,POST:()=>c});var s=r(32190),a=r(50613),o=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,a.oC)();let{id:e}=await t,r=(0,o.q)();await r.init();let n=await r.getSite?.(e);if(!n)return s.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let i=r.getSiteDatabaseForAnalytics(e);if(!i)return s.NextResponse.json({error:"Site database not available"},{status:500});let u=i.listFunctions();return s.NextResponse.json({functions:u})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,a.oC)();let{id:r}=await t,n=await e.json();if(!n.name)return s.NextResponse.json({error:"Function name is required"},{status:400});if(!n.code)return s.NextResponse.json({error:"Function code is required"},{status:400});let u=(0,i.QH)(n.name);if(u)return s.NextResponse.json({error:u},{status:400});let d=(0,i.c2)(n.code);if(d)return s.NextResponse.json({error:d},{status:400});let c=n.method||"ANY";if(!["GET","POST","PUT","DELETE","ANY"].includes(c))return s.NextResponse.json({error:"Invalid HTTP method"},{status:400});let p=Math.min(Math.max(n.timeoutMs||5e3,1e3),3e4),l=(0,o.q)();await l.init();let x=await l.getSite?.(r);if(!x)return s.NextResponse.json({error:"Site not found"},{status:404});x.databaseEnabled||(x.databaseEnabled=!0,await l.enableSiteDatabase(r),await l.updateSite?.(x));let f=l.getSiteDatabaseForAnalytics(r);if(!f)return s.NextResponse.json({error:"Site database not available"},{status:500});if(f.getFunctionByName(n.name))return s.NextResponse.json({error:"A function with this name already exists"},{status:409});let m=f.createFunction({name:n.name,description:n.description||void 0,code:n.code,method:c,enabled:!1!==n.enabled,timeoutMs:p}),w=f.getFunction(m);return s.NextResponse.json({function:w},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(33087));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json index cc9b7af9d69133eff0392171b3cd8aabc2d4c65e..e305cd9fc9367f9aa599450e5556b4b090a84be1 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../package.json","../../../../../../chunks/4079.js","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/8274.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js index 310d674ce09bed4efb9c3618ae7c9a3c19e241f7..05e8599cfdbddc687bdb663a5c4f5a8a55c2778a 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json index a09ccaf96e328117200956cda395407b4313a627..d5f9823ec30af803d6b12d5c671422d9ab08d968 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js index f554dc0f00515b820563956ba70fa9730cd9bbc3..c63db0fd6771dcf4796fbb25d202b2033dc101d4 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/[secretId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/[secretId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/[secretId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/[secretId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json index f21c271a023a824e3b86fb91670c8939d4f1dbaa..b75eb0438f0bb6535753dfe2f80bd157bbbac95d 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js index 8aa6cd5dee38e492a93fa32f0a5cfd5fa1f126d4..21fd20fb47ccd45155c8544bba07aad4e4afe3f3 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js index 300dccbda73e155ee5778de0c585e1ee5c531faf..497d908145996890ea50883d3c89952bb57cfcf5 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7061,e.ids=[7061],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,s)=>{s.d(t,{A:()=>u});var r=s(55511);let n={randomUUID:r.randomUUID},o=new Uint8Array(256),i=o.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let u=function(e,t,s){if(n.randomUUID&&!t&&!e)return n.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>o.length-16&&((0,r.randomFillSync)(o),i=0),o.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((s=s||0)<0||s+16>t.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[s+e]=u[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},54007:(e,t,s)=>{s.r(t),s.d(t,{patchFetch:()=>h,routeModule:()=>l,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>m});var r={};s.r(r),s.d(r,{POST:()=>d});var n=s(96559),o=s(48088),i=s(37719),a=s(32190),u=s(30417),c=s(78508);async function d(e,t){try{let{id:s}=await t.params,{operation:r,path:n,content:o}=await e.json();if(!n)return a.NextResponse.json({success:!1,error:"Path is required"},{status:400});let i=(0,u.q)();if(await i.init(),!await i.getSite(s))return a.NextResponse.json({success:!1,error:"Site not found"},{status:404});let d=i.getSiteDatabaseForAnalytics(s);if(!d)return a.NextResponse.json({success:!1,error:"Site database not available"},{status:500});if("delete"===r)return function(e,t){if(e.startsWith("/.server/secrets/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getSecretByName(s);return r?(t.deleteSecret(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Secret not found: ${s}`},{status:404})}if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getFunctionByName(s);return r?(t.deleteFunction(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Edge function not found: ${s}`},{status:404})}if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getServerFunctionByName(s);return r?(t.deleteServerFunction(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Server function not found: ${s}`},{status:404})}return a.NextResponse.json({success:!1,error:`Cannot delete ${e}`},{status:400})}(n,d);if(!o)return a.NextResponse.json({success:!1,error:"Content is required for create/update"},{status:400});if("/.server/db/schema.sql"===n)return a.NextResponse.json({success:!1,error:`Cannot modify ${n} - read-only file`},{status:400});if(n.startsWith("/.server/secrets/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.xJ)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getSecretByName(i);u?s.updateSecretMetadata(u.id,{name:o.name,description:o.description||""}):s.createSecretPlaceholder(o.name,o.description||"");let d=s.getSecretByName(o.name),l=`/.server/secrets/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.e0)(d),isReadOnly:!1}})}(n,o,d);if(n.startsWith("/.server/edge-functions/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.K3)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getFunctionByName(i);u?s.updateFunction(u.id,{name:o.name,code:o.code,method:o.method,description:o.description,enabled:o.enabled??!0,timeoutMs:o.timeoutMs??5e3}):s.createFunction({name:o.name,code:o.code,method:o.method,description:o.description,enabled:o.enabled??!0,timeoutMs:o.timeoutMs??5e3});let d=s.getFunctionByName(o.name),l=`/.server/edge-functions/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.hS)(d),isReadOnly:!1}})}(n,o,d);if(n.startsWith("/.server/server-functions/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.W8)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getServerFunctionByName(i);u?s.updateServerFunction(u.id,{name:o.name,code:o.code,description:o.description,enabled:o.enabled??!0}):s.createServerFunction({name:o.name,code:o.code,description:o.description,enabled:o.enabled??!0});let d=s.getServerFunctionByName(o.name),l=`/.server/server-functions/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.HI)(d),isReadOnly:!1}})}(n,o,d);return a.NextResponse.json({success:!1,error:`Unrecognized server context path: ${n}`},{status:400})}catch(e){return console.error("[API] Server context mutation failed:",e),a.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Mutation failed"},{status:500})}}let l=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/mutate/route",pathname:"/api/admin/sites/[id]/server-context/mutate",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/mutate/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:p,workUnitAsyncStorage:m,serverHooks:f}=l;function h(){return(0,i.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:m})}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78508:(e,t,s)=>{function r(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function n(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function o(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}s.d(t,{HI:()=>n,K3:()=>a,W8:()=>u,e0:()=>o,hS:()=>r,xJ:()=>c});let i=["db","fetch","console","args","request","Response","server","secrets"];function a(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let s=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?s.includes(e.method)||t.push(`Method must be one of: ${s.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(s){let e=s instanceof Error?s.message:String(s);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function u(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?i.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(s){let e=s instanceof Error?s.message:String(s);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function c(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>s(54007));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7061,e.ids=[7061],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,s)=>{s.d(t,{A:()=>u});var r=s(55511);let n={randomUUID:r.randomUUID},o=new Uint8Array(256),i=o.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let u=function(e,t,s){if(n.randomUUID&&!t&&!e)return n.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>o.length-16&&((0,r.randomFillSync)(o),i=0),o.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((s=s||0)<0||s+16>t.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[s+e]=u[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},54007:(e,t,s)=>{s.r(t),s.d(t,{patchFetch:()=>h,routeModule:()=>l,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>m});var r={};s.r(r),s.d(r,{POST:()=>d});var n=s(96559),o=s(48088),i=s(37719),a=s(32190),u=s(30417),c=s(78508);async function d(e,t){try{let{id:s}=await t.params,{operation:r,path:n,content:o}=await e.json();if(!n)return a.NextResponse.json({success:!1,error:"Path is required"},{status:400});let i=(0,u.q)();if(await i.init(),!await i.getSite(s))return a.NextResponse.json({success:!1,error:"Site not found"},{status:404});let d=i.getSiteDatabaseForAnalytics(s);if(!d)return a.NextResponse.json({success:!1,error:"Site database not available"},{status:500});if("delete"===r)return function(e,t){if(e.startsWith("/.server/secrets/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getSecretByName(s);return r?(t.deleteSecret(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Secret not found: ${s}`},{status:404})}if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getFunctionByName(s);return r?(t.deleteFunction(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Edge function not found: ${s}`},{status:404})}if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getServerFunctionByName(s);return r?(t.deleteServerFunction(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Server function not found: ${s}`},{status:404})}return a.NextResponse.json({success:!1,error:`Cannot delete ${e}`},{status:400})}(n,d);if(!o)return a.NextResponse.json({success:!1,error:"Content is required for create/update"},{status:400});if("/.server/db/schema.sql"===n)return a.NextResponse.json({success:!1,error:`Cannot modify ${n} - read-only file`},{status:400});if(n.startsWith("/.server/secrets/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.xJ)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getSecretByName(i);u?s.updateSecretMetadata(u.id,{name:o.name,description:o.description||""}):s.createSecretPlaceholder(o.name,o.description||"");let d=s.getSecretByName(o.name),l=`/.server/secrets/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.e0)(d),isReadOnly:!1}})}(n,o,d);if(n.startsWith("/.server/edge-functions/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.K3)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getFunctionByName(i);u?s.updateFunction(u.id,{name:o.name,code:o.code,method:o.method,description:o.description,enabled:o.enabled??!0,timeoutMs:o.timeoutMs??5e3}):s.createFunction({name:o.name,code:o.code,method:o.method,description:o.description,enabled:o.enabled??!0,timeoutMs:o.timeoutMs??5e3});let d=s.getFunctionByName(o.name),l=`/.server/edge-functions/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.hS)(d),isReadOnly:!1}})}(n,o,d);if(n.startsWith("/.server/server-functions/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.W8)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getServerFunctionByName(i);u?s.updateServerFunction(u.id,{name:o.name,code:o.code,description:o.description,enabled:o.enabled??!0}):s.createServerFunction({name:o.name,code:o.code,description:o.description,enabled:o.enabled??!0});let d=s.getServerFunctionByName(o.name),l=`/.server/server-functions/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.HI)(d),isReadOnly:!1}})}(n,o,d);return a.NextResponse.json({success:!1,error:`Unrecognized server context path: ${n}`},{status:400})}catch(e){return console.error("[API] Server context mutation failed:",e),a.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Mutation failed"},{status:500})}}let l=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/mutate/route",pathname:"/api/admin/sites/[id]/server-context/mutate",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/mutate/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:p,workUnitAsyncStorage:m,serverHooks:f}=l;function h(){return(0,i.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:m})}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78508:(e,t,s)=>{function r(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function n(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function o(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}s.d(t,{HI:()=>n,K3:()=>a,W8:()=>u,e0:()=>o,hS:()=>r,xJ:()=>c});let i=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function a(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let s=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?s.includes(e.method)||t.push(`Method must be one of: ${s.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(s){let e=s instanceof Error?s.message:String(s);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function u(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?i.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(s){let e=s instanceof Error?s.message:String(s);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function c(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>s(54007));module.exports=r})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json index 53f829a70629641b3a825be69780e6136d8f1eb7..964edcc7438a54b999bda75deab9ab04c68e0330 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js index 447a6a8a9fba597ff636b887999092d61ccf6a15..20117ba9b84814aaa864ea81dda1b3ff9de96dab 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/mutate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/mutate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/route.js b/.next/server/app/api/admin/sites/[id]/server-context/route.js index 1f6a95e735fddf2cff8e478164cbd0dfe2c9b854..c61175a3237afd58c62a1882a0ece3fc8eef2308 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5468,e.ids=[5468],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(55511);let s={randomUUID:r.randomUUID},o=new Uint8Array(256),i=o.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let d=function(e,t,n){if(s.randomUUID&&!t&&!e)return s.randomUUID();let d=(e=e||{}).random??e.rng?.()??(i>o.length-16&&((0,r.randomFillSync)(o),i=0),o.slice(i,i+=16));if(d.length<16)throw Error("Random bytes length must be >= 16");if(d[6]=15&d[6]|64,d[8]=63&d[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=d[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(d)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78508:(e,t,n)=>{function r(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function s(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function o(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}n.d(t,{HI:()=>s,K3:()=>a,W8:()=>d,e0:()=>o,hS:()=>r,xJ:()=>u});let i=["db","fetch","console","args","request","Response","server","secrets"];function a(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let n=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?n.includes(e.method)||t.push(`Method must be one of: ${n.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function d(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?i.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function u(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},87550:e=>{e.exports=require("better-sqlite3")},98681:(e,t,n)=>{n.r(t),n.d(t,{patchFetch:()=>f,routeModule:()=>p,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var r={};n.r(r),n.d(r,{GET:()=>l});var s=n(96559),o=n(48088),i=n(37719),a=n(32190),d=n(30417),u=n(78508);async function l(e,t){try{let{id:e}=await t.params,n=(0,d.q)();await n.init();let r=await n.getSite(e);if(!r)return a.NextResponse.json({error:"Site not found"},{status:404});let s=n.getSiteDatabaseForAnalytics(e);if(!s)return a.NextResponse.json({error:"Site database not available"},{status:500});let o=[];o.push({path:"/.server/db/schema.sql",content:s.getSchemaForExport(),isReadOnly:!0});let i=s.listSecrets();for(let e of i)o.push({path:`/.server/secrets/${e.name}.json`,content:(0,u.e0)(e),isReadOnly:!1});let l=s.listFunctions();for(let e of l)o.push({path:`/.server/edge-functions/${e.name}.json`,content:(0,u.hS)(e),isReadOnly:!1});let p=s.listServerFunctions();for(let e of p)o.push({path:`/.server/server-functions/${e.name}.json`,content:(0,u.HI)(e),isReadOnly:!1});let c={siteName:r.name,siteId:e,hasDatabase:!0,edgeFunctionCount:l.filter(e=>e.enabled).length,serverFunctionCount:p.filter(e=>e.enabled).length,secretCount:i.length};return a.NextResponse.json({files:o,metadata:c})}catch(e){return console.error("[API] Failed to get server context:",e),a.NextResponse.json({error:"Failed to get server context"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/route",pathname:"/api/admin/sites/[id]/server-context",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:h}=p;function f(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>n(98681));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5468,e.ids=[5468],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(55511);let s={randomUUID:r.randomUUID},o=new Uint8Array(256),i=o.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let d=function(e,t,n){if(s.randomUUID&&!t&&!e)return s.randomUUID();let d=(e=e||{}).random??e.rng?.()??(i>o.length-16&&((0,r.randomFillSync)(o),i=0),o.slice(i,i+=16));if(d.length<16)throw Error("Random bytes length must be >= 16");if(d[6]=15&d[6]|64,d[8]=63&d[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=d[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(d)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78508:(e,t,n)=>{function r(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function s(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function o(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}n.d(t,{HI:()=>s,K3:()=>a,W8:()=>d,e0:()=>o,hS:()=>r,xJ:()=>u});let i=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function a(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let n=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?n.includes(e.method)||t.push(`Method must be one of: ${n.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function d(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?i.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function u(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},87550:e=>{e.exports=require("better-sqlite3")},98681:(e,t,n)=>{n.r(t),n.d(t,{patchFetch:()=>f,routeModule:()=>p,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var r={};n.r(r),n.d(r,{GET:()=>l});var s=n(96559),o=n(48088),i=n(37719),a=n(32190),d=n(30417),u=n(78508);async function l(e,t){try{let{id:e}=await t.params,n=(0,d.q)();await n.init();let r=await n.getSite(e);if(!r)return a.NextResponse.json({error:"Site not found"},{status:404});let s=n.getSiteDatabaseForAnalytics(e);if(!s)return a.NextResponse.json({error:"Site database not available"},{status:500});let o=[];o.push({path:"/.server/db/schema.sql",content:s.getSchemaForExport(),isReadOnly:!0});let i=s.listSecrets();for(let e of i)o.push({path:`/.server/secrets/${e.name}.json`,content:(0,u.e0)(e),isReadOnly:!1});let l=s.listFunctions();for(let e of l)o.push({path:`/.server/edge-functions/${e.name}.json`,content:(0,u.hS)(e),isReadOnly:!1});let p=s.listServerFunctions();for(let e of p)o.push({path:`/.server/server-functions/${e.name}.json`,content:(0,u.HI)(e),isReadOnly:!1});let c={siteName:r.name,siteId:e,hasDatabase:!0,edgeFunctionCount:l.filter(e=>e.enabled).length,serverFunctionCount:p.filter(e=>e.enabled).length,secretCount:i.length};return a.NextResponse.json({files:o,metadata:c})}catch(e){return console.error("[API] Failed to get server context:",e),a.NextResponse.json({error:"Failed to get server context"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/route",pathname:"/api/admin/sites/[id]/server-context",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:h}=p;function f(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>n(98681));module.exports=r})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json index acbc292805ec99688006f74fd6be0c5988c4d572..120ae32c966ace92bdddba959d50887c1dd2652a 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js index 72bfe53ecff2a16e8e8c0ba4a2b6962a4e8e8e5c..59dd77ad6f71ccb215732b68791a019c176f9b9b 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js index 9c1ae305b85c2d3a067c185e323958c7b1765faf..0b4d404043e4640e003df58a5c5435f3c155f543 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=820,e.ids=[820],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33809:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>j,routeModule:()=>x,serverHooks:()=>m,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>S});var n={};r.r(n),r.d(n,{DELETE:()=>f,GET:()=>p,PUT:()=>l});var s=r(96559),o=r(48088),a=r(37719),i=r(32190),u=r(50613),d=r(30417),c=r(74384);async function p(e,{params:t}){try{await (0,u.oC)();let{id:e,functionId:r}=await t,n=(0,d.q)();await n.init();let s=await n.getSite?.(e);if(!s)return i.NextResponse.json({error:"Site not found"},{status:404});if(!s.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let o=n.getSiteDatabaseForAnalytics(e);if(!o)return i.NextResponse.json({error:"Site database not available"},{status:500});let a=o.getServerFunction(r);if(!a)return i.NextResponse.json({error:"Server function not found"},{status:404});return i.NextResponse.json({function:a})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function l(e,{params:t}){try{await (0,u.oC)();let{id:r,functionId:n}=await t,s=await e.json(),o=(0,d.q)();await o.init();let a=await o.getSite?.(r);if(!a)return i.NextResponse.json({error:"Site not found"},{status:404});if(!a.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let p=o.getSiteDatabaseForAnalytics(r);if(!p)return i.NextResponse.json({error:"Site database not available"},{status:500});let l=p.getServerFunction(n);if(!l)return i.NextResponse.json({error:"Server function not found"},{status:404});let f={};if(void 0!==s.name&&s.name!==l.name){let e=(0,c.Rv)(s.name);if(e)return i.NextResponse.json({error:e},{status:400});let t=p.getServerFunctionByName(s.name);if(t&&t.id!==n)return i.NextResponse.json({error:"A server function with this name already exists"},{status:409});f.name=s.name}if(void 0!==s.code){let e=(0,c.c2)(s.code);if(e)return i.NextResponse.json({error:e},{status:400});f.code=s.code}void 0!==s.description&&(f.description=s.description),void 0!==s.enabled&&(f.enabled=s.enabled),Object.keys(f).length>0&&p.updateServerFunction(n,f);let x=p.getServerFunction(n);return i.NextResponse.json({function:x})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function f(e,{params:t}){try{await (0,u.oC)();let{id:e,functionId:r}=await t,n=(0,d.q)();await n.init();let s=await n.getSite?.(e);if(!s)return i.NextResponse.json({error:"Site not found"},{status:404});if(!s.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let o=n.getSiteDatabaseForAnalytics(e);if(!o)return i.NextResponse.json({error:"Site database not available"},{status:500});if(!o.getServerFunction(r))return i.NextResponse.json({error:"Server function not found"},{status:404});return o.deleteServerFunction(r),i.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let x=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/[functionId]/route",pathname:"/api/admin/sites/[id]/server-functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/[functionId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:v,workUnitAsyncStorage:S,serverHooks:m}=x;function j(){return(0,a.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:S})}},33873:e=>{e.exports=require("path")},40371:e=>{e.exports=require("vm")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,4079],()=>r(33809));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=820,e.ids=[820],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},8535:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),o=r(48088),a=r(37719),i=r(50057),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/[functionId]/route",pathname:"/api/admin/sites/[id]/server-functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/[functionId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:f}=c;function d(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50057:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{DELETE:()=>p,GET:()=>d,PUT:()=>c});var s=r(32190),o=r(50613),a=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});let d=u.getServerFunction(r);if(!d)return s.NextResponse.json({error:"Server function not found"},{status:404});return s.NextResponse.json({function:d})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,o.oC)();let{id:r,functionId:n}=await t,u=await e.json(),d=(0,a.q)();await d.init();let c=await d.getSite?.(r);if(!c)return s.NextResponse.json({error:"Site not found"},{status:404});if(!c.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let p=d.getSiteDatabaseForAnalytics(r);if(!p)return s.NextResponse.json({error:"Site database not available"},{status:500});let l=p.getServerFunction(n);if(!l)return s.NextResponse.json({error:"Server function not found"},{status:404});let f={};if(void 0!==u.name&&u.name!==l.name){let e=(0,i.Rv)(u.name);if(e)return s.NextResponse.json({error:e},{status:400});let t=p.getServerFunctionByName(u.name);if(t&&t.id!==n)return s.NextResponse.json({error:"A server function with this name already exists"},{status:409});f.name=u.name}if(void 0!==u.code){let e=(0,i.c2)(u.code);if(e)return s.NextResponse.json({error:e},{status:400});f.code=u.code}void 0!==u.description&&(f.description=u.description),void 0!==u.enabled&&(f.enabled=u.enabled),Object.keys(f).length>0&&p.updateServerFunction(n,f);let x=p.getServerFunction(n);return s.NextResponse.json({function:x})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});if(!u.getServerFunction(r))return s.NextResponse.json({error:"Server function not found"},{status:404});return u.deleteServerFunction(r),s.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(8535));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json index 15bb4cced5783d29d59b15d50398d35a9d5f9b35..a401683e20dbdac02990b4f445beb24b4bf0b0e4 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../package.json","../../../../../../../chunks/4079.js","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/8274.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js index be0e15c3e925fa245d2944b1f217178e31d0a3c4..b9cc0382e9b2f3ba9572c50786ce13eb0853a327 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/route.js b/.next/server/app/api/admin/sites/[id]/server-functions/route.js index dd3c3ce13f4129bd79cd5f80a0d13935bcab4a4c..21206ae30dff89cfdc35e4df8c68abf4fa77d6dd 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1618,e.ids=[1618],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},35380:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>w,routeModule:()=>x,serverHooks:()=>m,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>v});var n={};r.r(n),r.d(n,{GET:()=>p,POST:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417),c=r(74384);async function p(e,{params:t}){try{await (0,u.oC)();let{id:e}=await t,r=(0,d.q)();await r.init();let n=await r.getSite?.(e);if(!n)return i.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let s=r.getSiteDatabaseForAnalytics(e);if(!s)return i.NextResponse.json({error:"Site database not available"},{status:500});let a=s.listServerFunctions();return i.NextResponse.json({functions:a})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function l(e,{params:t}){try{await (0,u.oC)();let{id:r}=await t,n=await e.json();if(!n.name)return i.NextResponse.json({error:"Function name is required"},{status:400});if(!n.code)return i.NextResponse.json({error:"Function code is required"},{status:400});let s=(0,c.Rv)(n.name);if(s)return i.NextResponse.json({error:s},{status:400});let a=(0,c.c2)(n.code);if(a)return i.NextResponse.json({error:a},{status:400});let o=(0,d.q)();await o.init();let p=await o.getSite?.(r);if(!p)return i.NextResponse.json({error:"Site not found"},{status:404});p.databaseEnabled||(p.databaseEnabled=!0,await o.enableSiteDatabase(r),await o.updateSite?.(p));let l=o.getSiteDatabaseForAnalytics(r);if(!l)return i.NextResponse.json({error:"Site database not available"},{status:500});if(l.getServerFunctionByName(n.name))return i.NextResponse.json({error:"A server function with this name already exists"},{status:409});let x=l.createServerFunction({name:n.name,description:n.description||void 0,code:n.code,enabled:!1!==n.enabled}),f=l.getServerFunction(x);return i.NextResponse.json({function:f},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let x=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/route",pathname:"/api/admin/sites/[id]/server-functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:f,workUnitAsyncStorage:v,serverHooks:m}=x;function w(){return(0,o.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:v})}},40371:e=>{e.exports=require("vm")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,4079],()=>r(35380));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=1618,e.ids=[1618],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},41921:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>x,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(97695),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/route",pathname:"/api/admin/sites/[id]/server-functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:x}=c;function d(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},97695:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{GET:()=>d,POST:()=>c});var s=r(32190),a=r(50613),o=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,a.oC)();let{id:e}=await t,r=(0,o.q)();await r.init();let n=await r.getSite?.(e);if(!n)return s.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let i=r.getSiteDatabaseForAnalytics(e);if(!i)return s.NextResponse.json({error:"Site database not available"},{status:500});let u=i.listServerFunctions();return s.NextResponse.json({functions:u})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,a.oC)();let{id:r}=await t,n=await e.json();if(!n.name)return s.NextResponse.json({error:"Function name is required"},{status:400});if(!n.code)return s.NextResponse.json({error:"Function code is required"},{status:400});let u=(0,i.Rv)(n.name);if(u)return s.NextResponse.json({error:u},{status:400});let d=(0,i.c2)(n.code);if(d)return s.NextResponse.json({error:d},{status:400});let c=(0,o.q)();await c.init();let p=await c.getSite?.(r);if(!p)return s.NextResponse.json({error:"Site not found"},{status:404});p.databaseEnabled||(p.databaseEnabled=!0,await c.enableSiteDatabase(r),await c.updateSite?.(p));let l=c.getSiteDatabaseForAnalytics(r);if(!l)return s.NextResponse.json({error:"Site database not available"},{status:500});if(l.getServerFunctionByName(n.name))return s.NextResponse.json({error:"A server function with this name already exists"},{status:409});let x=l.createServerFunction({name:n.name,description:n.description||void 0,code:n.code,enabled:!1!==n.enabled}),f=l.getServerFunction(x);return s.NextResponse.json({function:f},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(41921));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json index cc9b7af9d69133eff0392171b3cd8aabc2d4c65e..e305cd9fc9367f9aa599450e5556b4b090a84be1 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../package.json","../../../../../../chunks/4079.js","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/8274.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js index 4a2ccf73a406d527f4a66198a818ab33ca80feab..961ee7e693c5035e522e411903560506971eb7a7 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js index 5a0d8eaf2e396176515a162efe795847afbf1ba2..65bc2dd50fd8b0b9ae0e4779c31fbcb1d8fa7ae6 100644 --- a/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/clear/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/clear/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/clear/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/clear/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js index 66e288ebbd4e31c31508be04f4c08ca268741b16..7dd551c77bfb3877707988603abf295c0b7c4e5d 100644 --- a/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/engagement/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/engagement/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/engagement/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/engagement/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js index 5acc8c67ad7c7d6a3885b147466fef5b5e5dd924..5464abb9c86926458a7e90bb18fad57e7637fe66 100644 --- a/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/export/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/export/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/export/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/export/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js index 407f5d0775ab396728f7524cee4f305bfb0cc716..04622fbec8fb7f8e810832af48b6d3f969a3e487 100644 --- a/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/heatmap/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/heatmap/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/heatmap/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/heatmap/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js index c83cb5bff8900dbf3803a07aa0240e089fb60ad3..afa38c0eb5901333d186edd7519b15aecadc7edb 100644 --- a/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/overview/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/overview/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/overview/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/overview/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/route.js.nft.json index 8ae7bf3a846e769faa57d22a5f0980519f8e3cc5..a01b50e0fa7e94891cf1f96895b8153b96244048 100644 --- a/.next/server/app/api/analytics/[siteId]/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js index 4070b2442d68f6aa8763541fb60b24f8dc200766..78b45c9249e98c2c5895edd520a707f036c1f3dc 100644 --- a/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js index 00ae5dc09422579277dcb3e8326cc456e0e612da..2fe9b33ca3cc6d9448e949f5c8e326b6960f2a17 100644 --- a/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/sessions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/sessions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/sessions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/sessions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json index f178b0d08d748afcd332ab9632740ef8a24fc7a3..1b0c0a8f9121a12bd8b99d20e3a4e1d65b3dee29 100644 --- a/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js index 71986419236da56594c566aa3ea3e18f80942d3d..ddd97d5457be8bab42c811f4d6dd019ec4564bd0 100644 --- a/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/storage/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/storage/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/storage/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/storage/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/interaction/route.js.nft.json b/.next/server/app/api/analytics/interaction/route.js.nft.json index 8ae7bf3a846e769faa57d22a5f0980519f8e3cc5..a01b50e0fa7e94891cf1f96895b8153b96244048 100644 --- a/.next/server/app/api/analytics/interaction/route.js.nft.json +++ b/.next/server/app/api/analytics/interaction/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js b/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js index f8697cc87cfd5a441fbf9d6849161fa0427de7be..ba03bf52069bd9d79e0a26cc3b581eed80584df9 100644 --- a/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/interaction/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/interaction/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/interaction/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/interaction/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/track/route.js.nft.json b/.next/server/app/api/analytics/track/route.js.nft.json index 8ae7bf3a846e769faa57d22a5f0980519f8e3cc5..a01b50e0fa7e94891cf1f96895b8153b96244048 100644 --- a/.next/server/app/api/analytics/track/route.js.nft.json +++ b/.next/server/app/api/analytics/track/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/track/route_client-reference-manifest.js b/.next/server/app/api/analytics/track/route_client-reference-manifest.js index ca744887aa101348073098caaf474a112324d60d..4cfd9948d08058c3a2d65083859ece995c5c25b9 100644 --- a/.next/server/app/api/analytics/track/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/track/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/track/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/track/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/track/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/track/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/check/route_client-reference-manifest.js b/.next/server/app/api/auth/check/route_client-reference-manifest.js index 819feacd2d4363c85c10ef9353e32f2fe4df91fd..64ea75c4225629e2b865120ac834557e10b67d0f 100644 --- a/.next/server/app/api/auth/check/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/check/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/check/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/check/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/check/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/check/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/login/route_client-reference-manifest.js b/.next/server/app/api/auth/login/route_client-reference-manifest.js index a18449c8128e1c16b7411ad7543b7a3f251dd1ca..d59a26e69a4cc7b4cfe261e667af9e5abada920f 100644 --- a/.next/server/app/api/auth/login/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/login/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/login/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/login/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/login/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/login/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/logout/route_client-reference-manifest.js b/.next/server/app/api/auth/logout/route_client-reference-manifest.js index c77bffec26e12b1cd356c898643cd8fc32c9ad33..e388a03a29d8b9089e644aa0cbd92a0b37c831d2 100644 --- a/.next/server/app/api/auth/logout/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/logout/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/logout/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/logout/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/logout/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/logout/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/me/route_client-reference-manifest.js b/.next/server/app/api/auth/me/route_client-reference-manifest.js index b825bc1090f502dff1d48453dba0701f457f7ded..acce3c0562c0caefdd299688ec6e713d971bc001 100644 --- a/.next/server/app/api/auth/me/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/me/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/me/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/me/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/me/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/me/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js b/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js index 0b623363e0d7e887443ef63cb61c7430d1c43015..67b025d81770be6150754fcc1ac2dda9a6ab594a 100644 --- a/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js +++ b/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/docs/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/docs/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/docs/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/docs/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/generate/route_client-reference-manifest.js b/.next/server/app/api/generate/route_client-reference-manifest.js index 360551617e68205b5398dca006e7615ce7df44f2..2548c94cdd4e36ed23505293bcaedfa59a83bc33 100644 --- a/.next/server/app/api/generate/route_client-reference-manifest.js +++ b/.next/server/app/api/generate/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/generate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/generate/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/generate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/generate/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/models/route_client-reference-manifest.js b/.next/server/app/api/models/route_client-reference-manifest.js index fe8cad4217252933b1f9cf92290d7315e324da64..d15361e44c86b36ca623a36c1f18302fa84fec53 100644 --- a/.next/server/app/api/models/route_client-reference-manifest.js +++ b/.next/server/app/api/models/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/models/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/models/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/models/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/models/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/sites/route.js.nft.json b/.next/server/app/api/projects/[id]/sites/route.js.nft.json index 08eaeecf91f4d22b5811e7dccde4d653bf61f7f4..df8724d05ff34b181ca4bb389e100177f0d03d84 100644 --- a/.next/server/app/api/projects/[id]/sites/route.js.nft.json +++ b/.next/server/app/api/projects/[id]/sites/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js b/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js index 69437b1aeb29b3776bc25bfc99ed2ab4270ac00a..1f461c9609d1fcd3cac2d42013a40fe2619a8451 100644 --- a/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js +++ b/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/[id]/sites/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/[id]/sites/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/projects/route.js.nft.json b/.next/server/app/api/projects/route.js.nft.json index 8848a32e97072dc1307b1d2660165f5d1acf7241..bd1e433e997d3222e964e4ff19b6db9194a32079 100644 --- a/.next/server/app/api/projects/route.js.nft.json +++ b/.next/server/app/api/projects/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../package.json","../../../chunks/4447.js","../../../chunks/5155.js","../../../chunks/580.js","../../../chunks/9709.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/4447.js","../../../chunks/5155.js","../../../chunks/580.js","../../../chunks/9709.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/route_client-reference-manifest.js b/.next/server/app/api/projects/route_client-reference-manifest.js index 515a43e898c96f136100d9c44d5f9719fa91e29d..d2a700bcb0cc58b48a58e6efd347f865aa06cec3 100644 --- a/.next/server/app/api/projects/route_client-reference-manifest.js +++ b/.next/server/app/api/projects/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/shell/execute/route.js.nft.json b/.next/server/app/api/shell/execute/route.js.nft.json index 6ca2864aa9ed5b1a2af2d48ce6753f6768d31ed9..91939dd817abae3611836736f6fc7221332eebed 100644 --- a/.next/server/app/api/shell/execute/route.js.nft.json +++ b/.next/server/app/api/shell/execute/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/shell/execute/route_client-reference-manifest.js b/.next/server/app/api/shell/execute/route_client-reference-manifest.js index 7b2418d3fc769b90da33d2216aa5dc54794c3651..45c19cc11d9e5b9334b72445e6a0441af063c7f2 100644 --- a/.next/server/app/api/shell/execute/route_client-reference-manifest.js +++ b/.next/server/app/api/shell/execute/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/shell/execute/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/shell/execute/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/shell/execute/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/shell/execute/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/functions/[...path]/route.js b/.next/server/app/api/sites/[id]/functions/[...path]/route.js index 6df83e2a13d7367a7ec48c2ae453138572d35bcc..a1db13133919d9413c5a81a8aab98f27a23f87cb 100644 --- a/.next/server/app/api/sites/[id]/functions/[...path]/route.js +++ b/.next/server/app/api/sites/[id]/functions/[...path]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4548,e.ids=[4548],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},40371:e=>{e.exports=require("vm")},40942:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>j,routeModule:()=>m,serverHooks:()=>y,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>w});var s={};r.r(s),r.d(s,{DELETE:()=>x,GET:()=>c,PATCH:()=>f,POST:()=>l,PUT:()=>h});var o=r(96559),n=r(48088),a=r(37719),i=r(32190),u=r(30417),p=r(74384);async function d(e,{params:t}){let r=Date.now();try{let s,{id:o,path:n}=await t,a=n[0],d=n.slice(1).join("/");if(!a)return i.NextResponse.json({error:"Function name is required"},{status:400});let c=(0,u.q)();await c.init();let l=await c.getSite?.(o);if(!l)return i.NextResponse.json({error:"Site not found"},{status:404});if(!l.databaseEnabled)return i.NextResponse.json({error:"Edge functions not enabled for this site"},{status:404});let h=c.getSiteDatabaseForAnalytics(o);if(!h)return i.NextResponse.json({error:"Site database not available"},{status:500});let x=h.getFunctionByName(a);if(!x)return i.NextResponse.json({error:`Function "${a}" not found`},{status:404});if(!x.enabled)return i.NextResponse.json({error:`Function "${a}" is disabled`},{status:503});if("ANY"!==x.method&&x.method!==e.method)return i.NextResponse.json({error:`Method ${e.method} not allowed for this function`},{status:405});let f=null;if("GET"!==e.method&&"HEAD"!==e.method){let t=e.headers.get("content-type")||"";if(t.includes("application/json"))try{f=await e.json()}catch{f=null}else t.includes("text/")&&(f=await e.text())}let m=new URL(e.url),g={};m.searchParams.forEach((e,t)=>{g[t]=e});let w={},y=["accept","accept-language","content-type","content-length","origin","referer","user-agent","x-requested-with"];e.headers.forEach((e,t)=>{y.includes(t.toLowerCase())&&(w[t.toLowerCase()]=e)});let j={method:e.method,headers:w,body:f,params:{path:d},query:g,path:`/${a}${d?"/"+d:""}`},b=await (0,p.cv)(x,j,h);try{h.logFunctionExecution(x.id,{method:e.method,path:j.path,statusCode:b.response.status,durationMs:b.durationMs,error:b.error})}catch(e){console.error("[Edge Functions] Failed to log execution:",e)}let v=new Headers;return Object.entries(b.response.headers).forEach(([e,t])=>{v.set(e,t)}),v.set("X-Execution-Time",`${Date.now()-r}ms`),"object"==typeof b.response.body?(s=JSON.stringify(b.response.body),v.has("Content-Type")||v.set("Content-Type","application/json")):s=b.response.body,new i.NextResponse(s,{status:b.response.status,headers:v})}catch(e){return console.error("[Edge Functions] Unexpected error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let c=d,l=d,h=d,x=d,f=d,m=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/sites/[id]/functions/[...path]/route",pathname:"/api/sites/[id]/functions/[...path]",filename:"route",bundlePath:"app/api/sites/[id]/functions/[...path]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:g,workUnitAsyncStorage:w,serverHooks:y}=m;function j(){return(0,a.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:w})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,9709,4079],()=>r(40942));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4548,e.ids=[4548],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},60523:(e,t,r)=>{r.a(e,async(e,s)=>{try{r.r(t),r.d(t,{patchFetch:()=>p,routeModule:()=>d,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>l});var o=r(96559),n=r(48088),a=r(37719),i=r(94305),u=e([i]);i=(u.then?(await u)():u)[0];let d=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/sites/[id]/functions/[...path]/route",pathname:"/api/sites/[id]/functions/[...path]",filename:"route",bundlePath:"app/api/sites/[id]/functions/[...path]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:c,workUnitAsyncStorage:l,serverHooks:h}=d;function p(){return(0,a.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:l})}s()}catch(e){s(e)}})},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},94305:(e,t,r)=>{r.a(e,async(e,s)=>{try{r.r(t),r.d(t,{DELETE:()=>l,GET:()=>p,PATCH:()=>h,POST:()=>d,PUT:()=>c});var o=r(32190),n=r(30417),a=r(3149),i=e([a]);async function u(e,{params:t}){let r=Date.now();try{let s,{id:i,path:u}=await t,p=u[0],d=u.slice(1).join("/");if(!p)return o.NextResponse.json({error:"Function name is required"},{status:400});let c=(0,n.q)();await c.init();let l=await c.getSite?.(i);if(!l)return o.NextResponse.json({error:"Site not found"},{status:404});if(!l.databaseEnabled)return o.NextResponse.json({error:"Edge functions not enabled for this site"},{status:404});let h=c.getSiteDatabaseForAnalytics(i);if(!h)return o.NextResponse.json({error:"Site database not available"},{status:500});let x=h.getFunctionByName(p);if(!x)return o.NextResponse.json({error:`Function "${p}" not found`},{status:404});if(!x.enabled)return o.NextResponse.json({error:`Function "${p}" is disabled`},{status:503});if("ANY"!==x.method&&x.method!==e.method)return o.NextResponse.json({error:`Method ${e.method} not allowed for this function`},{status:405});let f=null;if("GET"!==e.method&&"HEAD"!==e.method){let t=e.headers.get("content-type")||"";if(t.includes("application/json"))try{f=await e.json()}catch{f=null}else t.includes("text/")&&(f=await e.text())}let m=new URL(e.url),y={};m.searchParams.forEach((e,t)=>{y[t]=e});let g={},w=["accept","accept-language","content-type","content-length","origin","referer","user-agent","x-requested-with"];e.headers.forEach((e,t)=>{w.includes(t.toLowerCase())&&(g[t.toLowerCase()]=e)});let j={method:e.method,headers:g,body:f,params:{path:d},query:y,path:`/${p}${d?"/"+d:""}`},b=await (0,a.cv)(x,j,h);try{h.logFunctionExecution(x.id,{method:e.method,path:j.path,statusCode:b.response.status,durationMs:b.durationMs,error:b.error})}catch(e){console.error("[Edge Functions] Failed to log execution:",e)}let q=new Headers;return Object.entries(b.response.headers).forEach(([e,t])=>{q.set(e,t)}),q.set("X-Execution-Time",`${Date.now()-r}ms`),"object"==typeof b.response.body?(s=JSON.stringify(b.response.body),q.has("Content-Type")||q.set("Content-Type","application/json")):s=b.response.body,new o.NextResponse(s,{status:b.response.status,headers:q})}catch(e){return console.error("[Edge Functions] Unexpected error:",e),o.NextResponse.json({error:"Internal server error"},{status:500})}}a=(i.then?(await i)():i)[0];let p=u,d=u,c=u,l=u,h=u;s()}catch(e){s(e)}})}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,9709,8274],()=>r(60523));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json b/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json index 3061367ce5b0a1e71d45ae018025888e0116bf50..f3fbbff12a59c8371248d0634519362330c02e72 100644 --- a/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../package.json","../../../../../../chunks/4079.js","../../../../../../chunks/4447.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/580.js","../../../../../../chunks/8274.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js index c017523d6eae5a459ba919b1718b5f412784df3b..030fdae9cbb1217a6ed6458fd7c008e7d0c1a651 100644 --- a/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/functions/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/functions/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/publish/route.js.nft.json b/.next/server/app/api/sites/[id]/publish/route.js.nft.json index e6e5a511d39684f3734f959e32e9e0634be2b3f0..30027c19605b465edac86ee377a095e9b4a26402 100644 --- a/.next/server/app/api/sites/[id]/publish/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/publish/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/1671.js","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/7035.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1671.js","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/7035.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js index c83e4d7d65c2d95e1dcd8d9b73bfaa249388c4f6..ffac8e19e2d88a2fca704dedece4bcf9a5dc5859 100644 --- a/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/publish/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/publish/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/publish/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/publish/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/route.js.nft.json b/.next/server/app/api/sites/[id]/route.js.nft.json index c78c228c85cee1c9b52540dbcad0c44de8affb7e..ef2ec12c7b449b9990b0d776205576b9a20b60dd 100644 --- a/.next/server/app/api/sites/[id]/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/1671.js","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/7035.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1671.js","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/7035.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/route_client-reference-manifest.js index c09dc1c5f226196f726759a302a28251963b6f8c..1ffb6bc34d2bdc9d0beeefafffe692b3500e2162 100644 --- a/.next/server/app/api/sites/[id]/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/settings/route.js.nft.json b/.next/server/app/api/sites/[id]/settings/route.js.nft.json index 08eaeecf91f4d22b5811e7dccde4d653bf61f7f4..df8724d05ff34b181ca4bb389e100177f0d03d84 100644 --- a/.next/server/app/api/sites/[id]/settings/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/settings/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js index 220b3b5963f73929624a77dc5673271c603d2c64..46ca7c8430e44a325dde359f9459a4a3ac2742d5 100644 --- a/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/settings/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/settings/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/settings/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/settings/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json b/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json index 08eaeecf91f4d22b5811e7dccde4d653bf61f7f4..df8724d05ff34b181ca4bb389e100177f0d03d84 100644 --- a/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js index 71b6c558ee8941ab1b7213d9f98e4671380ef1df..fd679dc5654ce562fe87cf54b9cca87737d36736 100644 --- a/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/thumbnail/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/thumbnail/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/thumbnail/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/thumbnail/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/route.js.nft.json b/.next/server/app/api/sites/route.js.nft.json index 57458a4485a7c347e634c8bb43f638a44c7c6d87..a41e8de0831fe45308f9c1beed8f14e03e18e974 100644 --- a/.next/server/app/api/sites/route.js.nft.json +++ b/.next/server/app/api/sites/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../chunks/9709.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../chunks/9709.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/route_client-reference-manifest.js b/.next/server/app/api/sites/route_client-reference-manifest.js index e2471d226b807a7506acce9d3158d2a2c0575742..7f3d6ba8e8e74d17ba0fcdac6408e87b6b2ae350 100644 --- a/.next/server/app/api/sites/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/files/route.js.nft.json b/.next/server/app/api/sync/files/route.js.nft.json index 6ca2864aa9ed5b1a2af2d48ce6753f6768d31ed9..91939dd817abae3611836736f6fc7221332eebed 100644 --- a/.next/server/app/api/sync/files/route.js.nft.json +++ b/.next/server/app/api/sync/files/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/files/route_client-reference-manifest.js b/.next/server/app/api/sync/files/route_client-reference-manifest.js index 72f6c5b12e2e8bc83cae8a060c232c1580e6463f..3d48fae5a3ee2029a05f9806b8271fd2f8669a9a 100644 --- a/.next/server/app/api/sync/files/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/files/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/files/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/files/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/files/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/files/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/[id]/route.js.nft.json b/.next/server/app/api/sync/projects/[id]/route.js.nft.json index 08eaeecf91f4d22b5811e7dccde4d653bf61f7f4..df8724d05ff34b181ca4bb389e100177f0d03d84 100644 --- a/.next/server/app/api/sync/projects/[id]/route.js.nft.json +++ b/.next/server/app/api/sync/projects/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js b/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js index 502f0e5efdac413fd399a3ae3b013f67fee9e1ff..1ef6abf45d0462f5d4071bf032a3ca60a669531f 100644 --- a/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/route.js.nft.json b/.next/server/app/api/sync/projects/route.js.nft.json index 6ca2864aa9ed5b1a2af2d48ce6753f6768d31ed9..91939dd817abae3611836736f6fc7221332eebed 100644 --- a/.next/server/app/api/sync/projects/route.js.nft.json +++ b/.next/server/app/api/sync/projects/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/route_client-reference-manifest.js b/.next/server/app/api/sync/projects/route_client-reference-manifest.js index cebf6d2cafe3dfeb873d01e521c71d168b57014f..0a6da4dca5198b4ce44472f7cc660415f21ea9b6 100644 --- a/.next/server/app/api/sync/projects/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/projects/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/status/route.js.nft.json b/.next/server/app/api/sync/status/route.js.nft.json index 8ae7bf3a846e769faa57d22a5f0980519f8e3cc5..a01b50e0fa7e94891cf1f96895b8153b96244048 100644 --- a/.next/server/app/api/sync/status/route.js.nft.json +++ b/.next/server/app/api/sync/status/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/status/route_client-reference-manifest.js b/.next/server/app/api/sync/status/route_client-reference-manifest.js index ba087845a62350bcfc2df846d34bf9a9997edcfa..bb6c71fca2e5d9ac4be530bd6316ee5dc09c2b75 100644 --- a/.next/server/app/api/sync/status/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/status/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/status/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/status/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/status/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/status/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/validate-key/route_client-reference-manifest.js b/.next/server/app/api/validate-key/route_client-reference-manifest.js index 7fdc0354b9440252d48f4ca3d93464264aad1b3f..9a1b662085af372d447f978f8b04d92827d5e43c 100644 --- a/.next/server/app/api/validate-key/route_client-reference-manifest.js +++ b/.next/server/app/api/validate-key/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/validate-key/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/validate-key/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/validate-key/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/validate-key/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/index.html b/.next/server/app/index.html index ff2794f1654ac1e151ea479264b622aa91fe3680..f6c1a5f53bfb9580af4dad83c72a04e1bb837310 100644 --- a/.next/server/app/index.html +++ b/.next/server/app/index.html @@ -1 +1 @@ -Open Source Web Studio | Agentic AI Development 🎨

Redirecting to admin...

\ No newline at end of file +Open Source Web Studio | Agentic AI Development 🎨

Loading...

\ No newline at end of file diff --git a/.next/server/app/index.rsc b/.next/server/app/index.rsc index 7c42a14d123211d0d73302d6a6c5073b900fd6de..fab0fc47672852f622b3ec052bac32842acebd18 100644 --- a/.next/server/app/index.rsc +++ b/.next/server/app/index.rsc @@ -5,7 +5,7 @@ 5:I[87555,[],""] 6:I[31295,[],""] 7:I[90894,[],"ClientPageRoot"] -8:I[40796,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"default"] +8:I[40796,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"default"] b:I[59665,[],"MetadataBoundary"] d:I[59665,[],"OutletBoundary"] 10:I[74911,[],"AsyncMetadataOutlet"] @@ -15,7 +15,7 @@ d:I[59665,[],"OutletBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","E-Fi9saFfcszPdRrywyzC",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","VBoCg_1rluroJFml_hs5i",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 15:"$Sreact.suspense" 16:I[74911,[],"AsyncMetadata"] 9:{} diff --git a/.next/server/app/page.js b/.next/server/app/page.js index 75030367fd9b7fff38d28f4885520d1006169ade..8aaf5b36f563cd1910149649ec86b926131b62d7 100644 --- a/.next/server/app/page.js +++ b/.next/server/app/page.js @@ -1 +1 @@ -(()=>{var e={};e.id=8974,e.ids=[8974],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12501:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>p});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),u={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>a[e]);r.d(t,u);let p=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,90597)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}],d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}})},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},43555:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var s=r(60687),o=r(43210),n=r.n(o),i=r(16189),a=r(35157),u=r(2565),p=r(13265),d=r(41109),l=r(45654),c=r(96597);function x(){let e=(0,i.useSearchParams)();e.get("doc");let[t,r]=(0,o.useState)(null),[n,x]=(0,o.useState)("dashboard"),[m,g]=(0,o.useState)(!1),{state:h,setActiveProjectId:f,start:v}=(0,u.C)();e.get("settings"),h.currentStep?.id,h.status;let b=(0,o.useCallback)(e=>{x(e)},[]),j=(0,o.useCallback)(()=>{r(null),x("projects"),v&&v()},[v]),q=(0,o.useMemo)(()=>t?(0,s.jsx)(a.a,{project:t,onBack:()=>r(null)}):(0,s.jsx)(l.f,{view:n,onProjectSelect:r,onNavigate:b,onStartTour:j}),[t,n,b,j]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.M,{currentView:n,onNavigate:e=>x(e),onProjectSelect:r,onStartTour:j,onOpenAbout:()=>g(!0),showSidebar:!t,children:q}),(0,s.jsx)(p.V,{location:"global"}),(0,s.jsx)(c.V,{open:m,onOpenChange:g})]})}function m(){return(0,i.useRouter)(),(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,s.jsx)("p",{className:"text-zinc-400",children:"Redirecting to admin..."})})}},46539:(e,t,r)=>{Promise.resolve().then(r.bind(r,43555))},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},86291:(e,t,r)=>{Promise.resolve().then(r.bind(r,90597))},87550:e=>{"use strict";e.exports=require("better-sqlite3")},90597:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx","default")},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,3348,9243,2437,2292],()=>r(12501));module.exports=s})(); \ No newline at end of file +(()=>{var e={};e.id=8974,e.ids=[8974],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12501:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>p});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),u={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>a[e]);r.d(t,u);let p=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,90597)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}],d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}})},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},43555:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var s=r(60687),o=r(43210),n=r.n(o),i=r(16189),a=r(35157),u=r(2565),p=r(13265),d=r(41109),l=r(45654),c=r(96597);function x(){let e=(0,i.useSearchParams)();e.get("doc");let[t,r]=(0,o.useState)(null),[n,x]=(0,o.useState)("dashboard"),[g,h]=(0,o.useState)(!1),{state:f,setActiveProjectId:m,start:b}=(0,u.C)();e.get("settings"),f.currentStep?.id,f.status;let v=(0,o.useCallback)(e=>{x(e)},[]),j=(0,o.useCallback)(()=>{r(null),x("projects"),b&&b()},[b]),q=(0,o.useMemo)(()=>t?(0,s.jsx)(a.a,{project:t,onBack:()=>r(null)}):(0,s.jsx)(l.f,{view:n,onProjectSelect:r,onNavigate:v,onStartTour:j}),[t,n,v,j]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.M,{currentView:n,onNavigate:e=>x(e),onProjectSelect:r,onStartTour:j,onOpenAbout:()=>h(!0),showSidebar:!t,children:q}),(0,s.jsx)(p.V,{location:"global"}),(0,s.jsx)(c.V,{open:g,onOpenChange:h})]})}function g(){return(0,s.jsx)(u.g,{children:(0,s.jsx)(n().Suspense,{fallback:(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,s.jsx)("p",{className:"text-zinc-400",children:"Loading..."})}),children:(0,s.jsx)(x,{})})})}function h(){return(0,i.useRouter)(),(0,s.jsx)(g,{})}},46539:(e,t,r)=>{Promise.resolve().then(r.bind(r,43555))},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},86291:(e,t,r)=>{Promise.resolve().then(r.bind(r,90597))},87550:e=>{"use strict";e.exports=require("better-sqlite3")},90597:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx","default")},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,3348,9243,2437,2292],()=>r(12501));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/page_client-reference-manifest.js b/.next/server/app/page_client-reference-manifest.js index fb420ca2b6c0201024548e93f17dd3962fb25238..62018dd1f8d21f42da411cde0f1f892139eb69b8 100644 --- a/.next/server/app/page_client-reference-manifest.js +++ b/.next/server/app/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/[...path]/route.js.nft.json b/.next/server/app/sites/[id]/[...path]/route.js.nft.json index 383c8811111de5b8bf05f71eabe7fc0d1b97cbc9..cbcdfb46db83e3463e51be15e5c4a7fbd101b84d 100644 --- a/.next/server/app/sites/[id]/[...path]/route.js.nft.json +++ b/.next/server/app/sites/[id]/[...path]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js b/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js index e43729560c2741484c7864400e06d7adcd53b12d..d26e5e4144fb84e320821594144bc285f0724784 100644 --- a/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js +++ b/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/route.js.nft.json b/.next/server/app/sites/[id]/route.js.nft.json index ec9a594ab70c5774cfda7b256cdddfdc4651661a..a7469b32506935cb8565ba34207816245fe5eb7c 100644 --- a/.next/server/app/sites/[id]/route.js.nft.json +++ b/.next/server/app/sites/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/route_client-reference-manifest.js b/.next/server/app/sites/[id]/route_client-reference-manifest.js index 906714a93f0c33624e5e6ea0f413900838f0ea1b..d71c0bcd291cc576eca02039143f202d13521d29 100644 --- a/.next/server/app/sites/[id]/route_client-reference-manifest.js +++ b/.next/server/app/sites/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/test-generation.html b/.next/server/app/test-generation.html index 2b9797db7bb80fd2cf6ed2b93f71c481c9ee3ec3..0fb16ce1a1ac3303c6a3ecbae2b60ad7b1899ad7 100644 --- a/.next/server/app/test-generation.html +++ b/.next/server/app/test-generation.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨

Model Tester

How to Interpret Test Results

These tests validate basic code generation capabilities across different task types. A passing test means files were created/modified successfully. A failing test indicates the model couldn't complete the task or didn't produce expected outputs.

Tip: Select your preferred provider and model below to test specific configurations. The generation output will show you what the AI is thinking during execution.
💡

Cost Warning

Running these tests can be very expensive and likely isn't necessary. It's cheaper and easier to just use good models and research community feedback about agentic capabilities.

This tester is largely for evaluating how models perform with OSW Studio's implementation and using those results to improve the agentic system.

Total Tests
0
Passed
0
Failed
0
Success Rate
0.0%
Add hamburger menu to navbar(ui)
Add a mobile hamburger menu to the navbar. The hamburger should appear on screens smaller than 768px...
Create modal dialog(ui)
Create a modal dialog that can be opened with a button click. The modal should have a close button a...
Add contact form with validation(ui)
Add a contact form with fields for name, email, and message. Include client-side validation for requ...
Create dropdown menu(ui)
Create a dropdown menu for the navigation. When hovering over "Services" link, show a dropdown with ...
Create image carousel(ui)
Create an image carousel/slider with next and previous buttons. It should display one image at a tim...
Change background to gradient(style)
Change the body background to a linear gradient from #ff8c42 to #e65100...
Add dark mode toggle(style)
Add a dark mode toggle button that switches the entire page between light and dark themes. Store the...
Create responsive grid layout(style)
Create a responsive grid layout with 3 columns on desktop, 2 on tablet, and 1 on mobile. Add 6 card ...
Add API fetch functionality(javascript)
Add a button that fetches data from https://jsonplaceholder.typicode.com/users and displays the user...
Create countdown timer(javascript)
Create a countdown timer that counts down from 60 seconds and displays the remaining time. Include s...
Build a todo list application(complex)
Build a todo list application with the ability to add tasks, mark them as complete, delete tasks, an...
\ No newline at end of file +

Model Tester

How to Interpret Test Results

These tests validate basic code generation capabilities across different task types. A passing test means files were created/modified successfully. A failing test indicates the model couldn't complete the task or didn't produce expected outputs.

Tip: Select your preferred provider and model below to test specific configurations. The generation output will show you what the AI is thinking during execution.
💡

Cost Warning

Running these tests can be very expensive and likely isn't necessary. It's cheaper and easier to just use good models and research community feedback about agentic capabilities.

This tester is largely for evaluating how models perform with OSW Studio's implementation and using those results to improve the agentic system.

Total Tests
0
Passed
0
Failed
0
Success Rate
0.0%
Add hamburger menu to navbar(ui)
Add a mobile hamburger menu to the navbar. The hamburger should appear on screens smaller than 768px...
Create modal dialog(ui)
Create a modal dialog that can be opened with a button click. The modal should have a close button a...
Add contact form with validation(ui)
Add a contact form with fields for name, email, and message. Include client-side validation for requ...
Create dropdown menu(ui)
Create a dropdown menu for the navigation. When hovering over "Services" link, show a dropdown with ...
Create image carousel(ui)
Create an image carousel/slider with next and previous buttons. It should display one image at a tim...
Change background to gradient(style)
Change the body background to a linear gradient from #ff8c42 to #e65100...
Add dark mode toggle(style)
Add a dark mode toggle button that switches the entire page between light and dark themes. Store the...
Create responsive grid layout(style)
Create a responsive grid layout with 3 columns on desktop, 2 on tablet, and 1 on mobile. Add 6 card ...
Add API fetch functionality(javascript)
Add a button that fetches data from https://jsonplaceholder.typicode.com/users and displays the user...
Create countdown timer(javascript)
Create a countdown timer that counts down from 60 seconds and displays the remaining time. Include s...
Build a todo list application(complex)
Build a todo list application with the ability to add tasks, mark them as complete, delete tasks, an...
\ No newline at end of file diff --git a/.next/server/app/test-generation.rsc b/.next/server/app/test-generation.rsc index 81a9d416d9b94fd3ddb7a568dd7a679478505ddc..53064cf2c7f0761a30fdb567bf0fcd3c85a156e6 100644 --- a/.next/server/app/test-generation.rsc +++ b/.next/server/app/test-generation.rsc @@ -5,7 +5,7 @@ 5:I[87555,[],""] 6:I[31295,[],""] 7:I[90894,[],"ClientPageRoot"] -8:I[59054,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4750","static/chunks/4750-e5b75f599644cb6f.js","6932","static/chunks/app/test-generation/page-c0fb010ce78373b4.js"],"default"] +8:I[59054,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4750","static/chunks/4750-9bf07235c095a27e.js","6932","static/chunks/app/test-generation/page-c0fb010ce78373b4.js"],"default"] b:I[59665,[],"MetadataBoundary"] d:I[59665,[],"OutletBoundary"] 10:I[74911,[],"AsyncMetadataOutlet"] @@ -15,7 +15,7 @@ d:I[59665,[],"OutletBoundary"] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/css/83b828df4d95f00c.css","style"] -0:{"P":null,"b":"jxLirYAMgdjIXymrVZyQd","p":"","c":["","test-generation"],"i":false,"f":[[["",{"children":["test-generation",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["test-generation",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","K9hjtoiUZw8Z5zh_ISA8x",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"WjFJhVBcz-sTdlqJMNSLk","p":"","c":["","test-generation"],"i":false,"f":[[["",{"children":["test-generation",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/83b828df4d95f00c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["test-generation",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],["$","$Lb",null,{"children":"$Lc"}],null,["$","$Ld",null,{"children":["$Le","$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","LZdktYNbqtYQ8aPmXElPN",{"children":[["$","$L12",null,{"children":"$L13"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],null]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 15:"$Sreact.suspense" 16:I[74911,[],"AsyncMetadata"] 9:{} diff --git a/.next/server/app/test-generation/page_client-reference-manifest.js b/.next/server/app/test-generation/page_client-reference-manifest.js index e9e0ffd715ccaf9d474ac37397e750ed56fe2df1..c59b3453ff1a8c56456707e486d3cbc2694da29f 100644 --- a/.next/server/app/test-generation/page_client-reference-manifest.js +++ b/.next/server/app/test-generation/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/test-generation/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-e5b75f599644cb6f.js","707","static/chunks/707-f66d3efed1835b57.js","8974","static/chunks/app/page-222f16c9f71b60ee.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4750","static/chunks/4750-e5b75f599644cb6f.js","6932","static/chunks/app/test-generation/page-c0fb010ce78373b4.js"],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/test-generation/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4182","static/chunks/4182-7b2861e5f12faf9c.js","4750","static/chunks/4750-9bf07235c095a27e.js","707","static/chunks/707-a9d4e4fbbb156d69.js","8974","static/chunks/app/page-9ac6f0548a05682b.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","4750","static/chunks/4750-9bf07235c095a27e.js","6932","static/chunks/app/test-generation/page-c0fb010ce78373b4.js"],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/83b828df4d95f00c.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/chunks/1519.js b/.next/server/chunks/1519.js index 472aaee9695df0809834339ce84493380bfbd55b..ff4bd68fa95b746a2d68ae65c8e811087e712f8e 100644 --- a/.next/server/chunks/1519.js +++ b/.next/server/chunks/1519.js @@ -1 +1 @@ -"use strict";exports.id=1519,exports.ids=[1519],exports.modules={1519:(t,e,r)=>{r.d(e,{autoSyncProject:()=>n,jP:()=>i});var o=r(68269),s=r(96241),a=r(52581);async function n(t){try{let e=await o.vfs.getProject(t);if(!e)return void s.v.error(`[AutoSync] Project ${t} not found`);if("syncing"===e.syncStatus)return;let r=await o.vfs.listFiles(t),n=await fetch(`/api/sync/projects/${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:e,files:r})});if(!n.ok)throw Error(`Sync failed: ${n.status}`);let i=(await n.json()).project;e.lastSyncedAt=new Date(i.lastSyncedAt),e.serverUpdatedAt=new Date(i.serverUpdatedAt),e.syncStatus="synced",await o.vfs.updateProject(e,!0),s.v.debug(`[AutoSync] Project ${t} synced successfully`),a.oR.success("Project synced ✓",{duration:2e3,position:"bottom-right"})}catch(e){s.v.error(`[AutoSync] Failed to sync project ${t}:`,e);try{let e=await o.vfs.getProject(t);e&&(e.syncStatus="error",await o.vfs.updateProject(e,!0))}catch(t){s.v.error("[AutoSync] Failed to update project status:",t)}(e instanceof Error?e.message:"").includes("Server mode not enabled")||a.oR.error("Sync failed - will retry",{duration:4e3,position:"bottom-right"})}}async function i(){try{let t=await fetch("/api/sync/status");if(!t.ok)throw Error(`Server error: ${t.status}`);let e=(await t.json()).summary||{projectCount:0,siteCount:0,lastUpdated:null,isUninitialized:!0};await o.vfs.init();let r=(await o.vfs.listProjects()).length,s=0===e.projectCount;return{serverProjectCount:e.projectCount,serverSiteCount:e.siteCount,serverLastUpdated:e.lastUpdated?new Date(e.lastUpdated):null,localProjectCount:r,isUninitialized:s,needsSync:s&&r>0,loading:!1,error:null}}catch(t){return s.v.error("[AutoSync] Failed to get sync overview status:",t),{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!0,needsSync:!1,loading:!1,error:t instanceof Error?t.message:"Failed to fetch sync status"}}}}}; \ No newline at end of file +"use strict";exports.id=1519,exports.ids=[1519],exports.modules={1519:(e,r,t)=>{async function n(e){}async function o(){return{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!1,needsSync:!1,loading:!1,error:"Server mode not enabled"}}t.d(r,{autoSyncProject:()=>n,jP:()=>o}),t(68269),t(96241),t(52581)}}; \ No newline at end of file diff --git a/.next/server/chunks/2292.js b/.next/server/chunks/2292.js index a4caac38f78d3a9cc7a4fda92e80f4d1e3e4e942..0d3d113c4c34ad6408314bddcb67e67a5ffd1f4f 100644 --- a/.next/server/chunks/2292.js +++ b/.next/server/chunks/2292.js @@ -1,4 +1,4 @@ -"use strict";exports.id=2292,exports.ids=[1519,2292],exports.modules={1519:(e,t,s)=>{s.d(t,{autoSyncProject:()=>n,jP:()=>l});var a=s(68269),r=s(96241),i=s(52581);async function n(e){try{let t=await a.vfs.getProject(e);if(!t)return void r.v.error(`[AutoSync] Project ${e} not found`);if("syncing"===t.syncStatus)return;let s=await a.vfs.listFiles(e),n=await fetch(`/api/sync/projects/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:t,files:s})});if(!n.ok)throw Error(`Sync failed: ${n.status}`);let l=(await n.json()).project;t.lastSyncedAt=new Date(l.lastSyncedAt),t.serverUpdatedAt=new Date(l.serverUpdatedAt),t.syncStatus="synced",await a.vfs.updateProject(t,!0),r.v.debug(`[AutoSync] Project ${e} synced successfully`),i.oR.success("Project synced ✓",{duration:2e3,position:"bottom-right"})}catch(t){r.v.error(`[AutoSync] Failed to sync project ${e}:`,t);try{let t=await a.vfs.getProject(e);t&&(t.syncStatus="error",await a.vfs.updateProject(t,!0))}catch(e){r.v.error("[AutoSync] Failed to update project status:",e)}(t instanceof Error?t.message:"").includes("Server mode not enabled")||i.oR.error("Sync failed - will retry",{duration:4e3,position:"bottom-right"})}}async function l(){try{let e=await fetch("/api/sync/status");if(!e.ok)throw Error(`Server error: ${e.status}`);let t=(await e.json()).summary||{projectCount:0,siteCount:0,lastUpdated:null,isUninitialized:!0};await a.vfs.init();let s=(await a.vfs.listProjects()).length,r=0===t.projectCount;return{serverProjectCount:t.projectCount,serverSiteCount:t.siteCount,serverLastUpdated:t.lastUpdated?new Date(t.lastUpdated):null,localProjectCount:s,isUninitialized:r,needsSync:r&&s>0,loading:!1,error:null}}catch(e){return r.v.error("[AutoSync] Failed to get sync overview status:",e),{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!0,needsSync:!1,loading:!1,error:e instanceof Error?e.message:"Failed to fetch sync status"}}}},2565:(e,t,s)=>{s.d(t,{g:()=>m,C:()=>h});var a=s(60687),r=s(43210),i=s(4950),n=s(88712),l=s(25495),o=(s(68269),s(94742)),c=s(32623);let d=(0,r.createContext)(null);function m({children:e}){let[t,l]=(0,r.useState)("idle"),[m,h]=(0,r.useState)(0),[u,p]=(0,r.useState)(0),[x,g]=(0,r.useState)([]),[f,v]=(0,r.useState)(!1),[j,b]=(0,r.useState)([]),[y,w]=(0,r.useState)(null),[N,k]=(0,r.useState)(null),[S,C]=(0,r.useState)({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),A=(0,r.useRef)(S),E=(0,r.useRef)(null),T=(0,r.useRef)(null),P=(0,r.useRef)(null),$=(0,r.useRef)(null),F=(0,r.useRef)(null),I=(0,r.useRef)(null),L=(0,r.useMemo)(()=>(function(e){if(!(e<0)&&!(e>=n.A.length))return n.A[e]})(m),[m]),D=(0,r.useCallback)(()=>{C({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),E.current=null,T.current=null,P.current=null,$.current=null},[]),R=(0,r.useCallback)(async()=>{"running"===t&&(l("idle"),await new Promise(e=>setTimeout(e,100)));try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269)),{createProjectFromTemplate:t}=await Promise.resolve().then(s.bind(s,87929)),{DEMO_PROJECT_TEMPLATE:a}=await Promise.resolve().then(s.bind(s,87929));await e.init();let r=await e.createProject("Example Studios (Tour)","Demo project for guided tour");await t(e,r.id,a,a.assets),k(r.id);let i=await e.listProjects();b(i),await new Promise(e=>setTimeout(e,100)),l("running"),h(0),p(e=>e+1),g([]),D()}catch(e){console.error("[Tour] Failed to create demo project:",e),l("running"),h(0),p(e=>e+1),g([]),D()}},[D,t]),z=(0,r.useCallback)(e=>{I.current=e},[]),M=(0,r.useCallback)(async(e="finish")=>{let t=A.current;if(t.projectId&&t.preCheckpointId&&t.postCheckpointId&&c.$.runWithSuppressedDirty(t.projectId,async()=>{await o.Y.restoreCheckpoint(t.preCheckpointId)}).then(()=>{}).catch(e=>{console.error("[GuidedTour] Failed to restore baseline during cleanup",e)}),N)try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));await e.init(),(await e.listProjects()).filter(e=>e.id!==N).length>0&&await e.deleteProject(N)}catch(e){console.error("[GuidedTour] Failed to cleanup tour demo project",e)}D(),g([]),h(0),p(e=>e+1),l("finish"===e?"completed":"idle"),i.s.setHasSeenTour(!0),F.current?.abort(),I.current=null},[D,N,j]),O=(0,r.useCallback)(()=>{M("skip")},[M]),B=(0,r.useCallback)(()=>{h(e=>{let t=e+1;if(t>=n.A.length)return M(),e;let s=n.A[t];return s?.location==="workspace"&&N&&setTimeout(()=>{w(N)},100),p(e=>e+1),t})},[M,N]),U=(0,r.useCallback)(()=>{h(e=>{let t=Math.max(0,e-1);return t!==e&&p(e=>e+1),t})},[]),W=(0,r.useMemo)(()=>({state:{status:t,stepIndex:m,stepKey:u,currentStep:L,transcript:x,isBusy:f,projectList:j,tourDemoProjectId:N},start:R,skip:O,next:B,previous:U,setProjectList:e=>{b(e)},setActiveProjectId:w,setTranscript:g,setWorkspaceHandler:z,setTourDemoProjectId:k}),[t,m,u,L,x,f,j,N,R,O,B,U,z]);return(0,a.jsx)(d.Provider,{value:W,children:e})}function h(){let e=(0,r.useContext)(d);if(!e)throw Error("useGuidedTour must be used within a GuidedTourProvider");return e}},5643:(e,t,s)=>{s.d(t,{X:()=>k});var a=s(60687),r=s(43210),i=s.n(r),n=s(22106),l=s(68269),o=s(24934),c=s(13861),d=s(11860),m=s(78122),h=s(47033),u=s(14952),p=s(32192),x=s(19352),g=s(17581),f=s(97638),v=s(34318),j=s(63974),b=s(96241),y=s(59784);let w={mobile:{width:"375px",height:"100%",maxHeight:"667px"},tablet:{width:"768px",height:"100%",maxHeight:"1024px"},desktop:{width:"100%",height:"100%",maxHeight:"900px",maxWidth:"1440px"},responsive:{width:"100%",height:"100%"}},N=(0,r.forwardRef)(({projectId:e,refreshTrigger:t,onFocusSelection:s,hasFocusTarget:i=!1,onClose:N,siteId:k},S)=>{let[C,A]=(0,r.useState)(null),[E,T]=(0,r.useState)("/"),[P,$]=(0,r.useState)(!0),[F,I]=(0,r.useState)(null),[L,D]=(0,r.useState)("tablet"),[R,z]=(0,r.useState)(["/"]),[M,O]=(0,r.useState)(0),[B,U]=(0,r.useState)(!1),[W,q]=(0,r.useState)(!1),J=(0,r.useMemo)(()=>W?{backgroundColor:"var(--button-preview-active)",color:"white"}:i?{backgroundColor:"rgba(99, 102, 241, 0.12)",color:"var(--button-preview-active)"}:{},[W,i]),_=(0,r.useRef)(null),V=(0,r.useRef)(null),H=(0,r.useRef)(null),G=(0,r.useRef)("/"),Y=(0,r.useRef)(null),K=(0,r.useRef)(!1);(0,r.useImperativeHandle)(S,()=>({captureScreenshot:async()=>_.current&&B?await (0,y.captureIframeScreenshot)(_.current):(b.v.warn("Cannot capture screenshot: iframe not ready"),null)}),[B]);let X=(0,r.useCallback)(e=>{if(_.current&&_.current.contentWindow)try{_.current.contentWindow.postMessage(e,"*")}catch(e){b.v.warn("Failed to communicate with preview iframe",e)}},[]),Z=(0,r.useRef)(!1),Q=(0,r.useRef)(null),ee=(0,r.useRef)(null),et=(0,r.useRef)(null),es=()=>(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center gap-2",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-preview-active)"}}),N?(0,a.jsxs)("button",{type:"button",onClick:N,"aria-label":"Hide preview",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-preview-active)"}}),(0,a.jsx)(d.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(c.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-preview-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Live Preview"})]});(0,r.useEffect)(()=>{H.current=C},[C]),(0,r.useEffect)(()=>{K.current=W,B&&X({type:"selector-toggle",active:W})},[W,B,X]),(0,r.useEffect)(()=>{let e=_.current;if(!e)return;let t=()=>{X({type:"selector-toggle",active:K.current})};return e.addEventListener("load",t),()=>{e.removeEventListener("load",t)}},[B,X]),(0,r.useEffect)(()=>{G.current=E},[E]),(0,r.useEffect)(()=>{if(B&&Y.current&&H.current){let e=Y.current;Y.current=null,en(e,H.current)}},[B]),(0,r.useEffect)(()=>()=>{ee.current&&window.clearTimeout(ee.current)},[]);let ea=(0,r.useCallback)(async(t=!1,s=!0)=>{s&&$(!0),I(null);try{await l.vfs.init();let s=t?G.current:null;V.current&&V.current.cleanupBlobUrls();let a=new n.B(l.vfs,e,void 0,k||void 0);V.current=a;let r=await a.compileProject();A(r),H.current=r;let i=s;i||(i=r.blobUrls.has("/index.html")?"/":r.entryPoint||(r.routes.length>0?r.routes[0].path:"/")),en(i,r)}catch(e){I(e instanceof Error?e.message:"Failed to compile project"),b.v.error("Compilation error:",e)}finally{s&&$(!1)}},[e]),er=(0,r.useCallback)((e=!1,t=!0)=>{if(Z.current){let s=Q.current;Q.current={preserve:(s?.preserve??!1)||e,showLoading:(s?.showLoading??!1)||t};return}(async(e,t)=>{Z.current=!0;try{await ea(e,t)}finally{Z.current=!1;let e=Q.current;Q.current=null,e&&er(e.preserve,e.showLoading)}})(e,t)},[ea]),ei=(0,r.useCallback)((e=!1,t=!1)=>{let s=et.current;et.current={preserve:(s?.preserve??!1)||e,showLoading:(s?.showLoading??!1)||t},ee.current&&window.clearTimeout(ee.current),ee.current=window.setTimeout(()=>{let e=et.current;et.current=null,ee.current=null,e&&er(e.preserve,e.showLoading)},150)},[er]);(0,r.useEffect)(()=>{er()},[e,t,er]),(0,r.useEffect)(()=>{let t=()=>{ei(!0)},s=t=>{t.detail&&t.detail.projectId!==e||ei(!0)};return window.addEventListener("filesChanged",t),window.addEventListener("fileContentChanged",s),()=>{window.removeEventListener("filesChanged",t),window.removeEventListener("fileContentChanged",s)}},[e,ei]);let en=(e,t)=>{let s,a=t||H.current||C;if(!a)return void b.v.warn("No compiled project available");if(K.current?q(!1):X({type:"selector-toggle",active:!1}),!_.current||!B){Y.current=e;return}let r=e;r.startsWith("/")||(r="/"+r);let i=a.routes.find(e=>e.path===r);s=i?i.file:"/"===r?"/index.html":r.endsWith("/")?r+"index.html":r+".html";let n=a.files.find(e=>e.path===s);if(!n&&!r.endsWith("/")){let e=r+"/index.html";(n=a.files.find(t=>t.path===e))&&(s=e)}if(!n){I(`Page not found: ${e}`),a.files.find(e=>"/index.html"===e.path||"index.html"===e.path)&&"/"!==e&&en("/",t);return}let l="string"==typeof n.content?n.content:new TextDecoder().decode(n.content);l=(l=(l=l.replace(/href="([^"]+)"/g,(e,t)=>{if(!t.endsWith(".css")||t.startsWith("http")||t.startsWith("//"))return e;let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`href="${r}"`:e})).replace(/src="([^"]+)"/g,(e,t)=>{if(!t.endsWith(".js")||t.startsWith("http")||t.startsWith("//"))return e;let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`src="${r}"`:e})).replace(/src="([^"]+\.(png|jpg|jpeg|gif|svg|webp))"/gi,(e,t)=>{let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`src="${r}"`:e});let o=` +"use strict";exports.id=2292,exports.ids=[1519,2292],exports.modules={1519:(e,t,s)=>{async function a(e){}async function r(){return{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!1,needsSync:!1,loading:!1,error:"Server mode not enabled"}}s.d(t,{autoSyncProject:()=>a,jP:()=>r}),s(68269),s(96241),s(52581)},2565:(e,t,s)=>{s.d(t,{g:()=>m,C:()=>u});var a=s(60687),r=s(43210),i=s(4950),n=s(88712),l=s(25495),o=(s(68269),s(94742)),c=s(32623);let d=(0,r.createContext)(null);function m({children:e}){let[t,l]=(0,r.useState)("idle"),[m,u]=(0,r.useState)(0),[h,p]=(0,r.useState)(0),[x,g]=(0,r.useState)([]),[f,v]=(0,r.useState)(!1),[j,b]=(0,r.useState)([]),[y,w]=(0,r.useState)(null),[N,k]=(0,r.useState)(null),[S,C]=(0,r.useState)({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),A=(0,r.useRef)(S),E=(0,r.useRef)(null),T=(0,r.useRef)(null),P=(0,r.useRef)(null),F=(0,r.useRef)(null),$=(0,r.useRef)(null),I=(0,r.useRef)(null),L=(0,r.useMemo)(()=>(function(e){if(!(e<0)&&!(e>=n.A.length))return n.A[e]})(m),[m]),D=(0,r.useCallback)(()=>{C({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),E.current=null,T.current=null,P.current=null,F.current=null},[]),R=(0,r.useCallback)(async()=>{"running"===t&&(l("idle"),await new Promise(e=>setTimeout(e,100)));try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269)),{createProjectFromTemplate:t}=await Promise.resolve().then(s.bind(s,87929)),{DEMO_PROJECT_TEMPLATE:a}=await Promise.resolve().then(s.bind(s,87929));await e.init();let r=await e.createProject("Example Studios (Tour)","Demo project for guided tour");await t(e,r.id,a,a.assets),k(r.id);let i=await e.listProjects();b(i),await new Promise(e=>setTimeout(e,100)),l("running"),u(0),p(e=>e+1),g([]),D()}catch(e){console.error("[Tour] Failed to create demo project:",e),l("running"),u(0),p(e=>e+1),g([]),D()}},[D,t]),z=(0,r.useCallback)(e=>{I.current=e},[]),M=(0,r.useCallback)(async(e="finish")=>{let t=A.current;if(t.projectId&&t.preCheckpointId&&t.postCheckpointId&&c.$.runWithSuppressedDirty(t.projectId,async()=>{await o.Y.restoreCheckpoint(t.preCheckpointId)}).then(()=>{}).catch(e=>{console.error("[GuidedTour] Failed to restore baseline during cleanup",e)}),N)try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));await e.init(),(await e.listProjects()).filter(e=>e.id!==N).length>0&&await e.deleteProject(N)}catch(e){console.error("[GuidedTour] Failed to cleanup tour demo project",e)}D(),g([]),u(0),p(e=>e+1),l("finish"===e?"completed":"idle"),i.s.setHasSeenTour(!0),$.current?.abort(),I.current=null},[D,N,j]),O=(0,r.useCallback)(()=>{M("skip")},[M]),B=(0,r.useCallback)(()=>{u(e=>{let t=e+1;if(t>=n.A.length)return M(),e;let s=n.A[t];return s?.location==="workspace"&&N&&setTimeout(()=>{w(N)},100),p(e=>e+1),t})},[M,N]),U=(0,r.useCallback)(()=>{u(e=>{let t=Math.max(0,e-1);return t!==e&&p(e=>e+1),t})},[]),W=(0,r.useMemo)(()=>({state:{status:t,stepIndex:m,stepKey:h,currentStep:L,transcript:x,isBusy:f,projectList:j,tourDemoProjectId:N},start:R,skip:O,next:B,previous:U,setProjectList:e=>{b(e)},setActiveProjectId:w,setTranscript:g,setWorkspaceHandler:z,setTourDemoProjectId:k}),[t,m,h,L,x,f,j,N,R,O,B,U,z]);return(0,a.jsx)(d.Provider,{value:W,children:e})}function u(){let e=(0,r.useContext)(d);if(!e)throw Error("useGuidedTour must be used within a GuidedTourProvider");return e}},5643:(e,t,s)=>{s.d(t,{X:()=>k});var a=s(60687),r=s(43210),i=s.n(r),n=s(22106),l=s(68269),o=s(24934),c=s(13861),d=s(11860),m=s(78122),u=s(47033),h=s(14952),p=s(32192),x=s(19352),g=s(17581),f=s(97638),v=s(34318),j=s(63974),b=s(96241),y=s(59784);let w={mobile:{width:"375px",height:"100%",maxHeight:"667px"},tablet:{width:"768px",height:"100%",maxHeight:"1024px"},desktop:{width:"100%",height:"100%",maxHeight:"900px",maxWidth:"1440px"},responsive:{width:"100%",height:"100%"}},N=(0,r.forwardRef)(({projectId:e,refreshTrigger:t,onFocusSelection:s,hasFocusTarget:i=!1,onClose:N,siteId:k},S)=>{let[C,A]=(0,r.useState)(null),[E,T]=(0,r.useState)("/"),[P,F]=(0,r.useState)(!0),[$,I]=(0,r.useState)(null),[L,D]=(0,r.useState)("tablet"),[R,z]=(0,r.useState)(["/"]),[M,O]=(0,r.useState)(0),[B,U]=(0,r.useState)(!1),[W,_]=(0,r.useState)(!1),q=(0,r.useMemo)(()=>W?{backgroundColor:"var(--button-preview-active)",color:"white"}:i?{backgroundColor:"rgba(99, 102, 241, 0.12)",color:"var(--button-preview-active)"}:{},[W,i]),J=(0,r.useRef)(null),V=(0,r.useRef)(null),H=(0,r.useRef)(null),G=(0,r.useRef)("/"),Y=(0,r.useRef)(null),K=(0,r.useRef)(!1);(0,r.useImperativeHandle)(S,()=>({captureScreenshot:async()=>J.current&&B?await (0,y.captureIframeScreenshot)(J.current):(b.v.warn("Cannot capture screenshot: iframe not ready"),null)}),[B]);let X=(0,r.useCallback)(e=>{if(J.current&&J.current.contentWindow)try{J.current.contentWindow.postMessage(e,"*")}catch(e){b.v.warn("Failed to communicate with preview iframe",e)}},[]),Z=(0,r.useRef)(!1),Q=(0,r.useRef)(null),ee=(0,r.useRef)(null),et=(0,r.useRef)(null),es=()=>(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center gap-2",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-preview-active)"}}),N?(0,a.jsxs)("button",{type:"button",onClick:N,"aria-label":"Hide preview",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-preview-active)"}}),(0,a.jsx)(d.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(c.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-preview-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Live Preview"})]});(0,r.useEffect)(()=>{H.current=C},[C]),(0,r.useEffect)(()=>{K.current=W,B&&X({type:"selector-toggle",active:W})},[W,B,X]),(0,r.useEffect)(()=>{let e=J.current;if(!e)return;let t=()=>{X({type:"selector-toggle",active:K.current})};return e.addEventListener("load",t),()=>{e.removeEventListener("load",t)}},[B,X]),(0,r.useEffect)(()=>{G.current=E},[E]),(0,r.useEffect)(()=>{if(B&&Y.current&&H.current){let e=Y.current;Y.current=null,en(e,H.current)}},[B]),(0,r.useEffect)(()=>()=>{ee.current&&window.clearTimeout(ee.current)},[]);let ea=(0,r.useCallback)(async(t=!1,s=!0)=>{s&&F(!0),I(null);try{await l.vfs.init();let s=t?G.current:null;V.current&&V.current.cleanupBlobUrls();let a=new n.B(l.vfs,e,void 0,k||void 0);V.current=a;let r=await a.compileProject();A(r),H.current=r;let i=s;i||(i=r.blobUrls.has("/index.html")?"/":r.entryPoint||(r.routes.length>0?r.routes[0].path:"/")),en(i,r)}catch(e){I(e instanceof Error?e.message:"Failed to compile project"),b.v.error("Compilation error:",e)}finally{s&&F(!1)}},[e]),er=(0,r.useCallback)((e=!1,t=!0)=>{if(Z.current){let s=Q.current;Q.current={preserve:(s?.preserve??!1)||e,showLoading:(s?.showLoading??!1)||t};return}(async(e,t)=>{Z.current=!0;try{await ea(e,t)}finally{Z.current=!1;let e=Q.current;Q.current=null,e&&er(e.preserve,e.showLoading)}})(e,t)},[ea]),ei=(0,r.useCallback)((e=!1,t=!1)=>{let s=et.current;et.current={preserve:(s?.preserve??!1)||e,showLoading:(s?.showLoading??!1)||t},ee.current&&window.clearTimeout(ee.current),ee.current=window.setTimeout(()=>{let e=et.current;et.current=null,ee.current=null,e&&er(e.preserve,e.showLoading)},150)},[er]);(0,r.useEffect)(()=>{er()},[e,t,er]),(0,r.useEffect)(()=>{let t=()=>{ei(!0)},s=t=>{t.detail&&t.detail.projectId!==e||ei(!0)};return window.addEventListener("filesChanged",t),window.addEventListener("fileContentChanged",s),()=>{window.removeEventListener("filesChanged",t),window.removeEventListener("fileContentChanged",s)}},[e,ei]);let en=(e,t)=>{let s,a=t||H.current||C;if(!a)return void b.v.warn("No compiled project available");if(K.current?_(!1):X({type:"selector-toggle",active:!1}),!J.current||!B){Y.current=e;return}let r=e;r.startsWith("/")||(r="/"+r);let i=a.routes.find(e=>e.path===r);s=i?i.file:"/"===r?"/index.html":r.endsWith("/")?r+"index.html":r+".html";let n=a.files.find(e=>e.path===s);if(!n&&!r.endsWith("/")){let e=r+"/index.html";(n=a.files.find(t=>t.path===e))&&(s=e)}if(!n){I(`Page not found: ${e}`),a.files.find(e=>"/index.html"===e.path||"index.html"===e.path)&&"/"!==e&&en("/",t);return}let l="string"==typeof n.content?n.content:new TextDecoder().decode(n.content);l=(l=(l=l.replace(/href="([^"]+)"/g,(e,t)=>{if(!t.endsWith(".css")||t.startsWith("http")||t.startsWith("//"))return e;let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`href="${r}"`:e})).replace(/src="([^"]+)"/g,(e,t)=>{if(!t.endsWith(".js")||t.startsWith("http")||t.startsWith("//"))return e;let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`src="${r}"`:e})).replace(/src="([^"]+\.(png|jpg|jpeg|gif|svg|webp))"/gi,(e,t)=>{let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`src="${r}"`:e});let o=` - `;l.includes("")?l=l.replace("",o+""):l+=o,_.current.srcdoc=l,T(r),G.current=r,O(e=>(z(t=>[...t.slice(0,e+1),r]),e+1))},el=(0,r.useCallback)(e=>{en(e)},[C]),eo=()=>{if(M>0){let e=M-1;O(e),en(R[e])}},ec=()=>{if(M{en("/")},em=()=>{er(!0,!1)};return((0,r.useEffect)(()=>{let e=e=>{let t=e.data;if(t&&"object"==typeof t){if("navigate"===t.type&&t.path)return void el(t.path);if("selector-selection"===t.type&&t.payload){q(!1),s?.(t.payload);return}"selector-cancelled"===t.type&&q(!1)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[el,s]),(0,r.useEffect)(()=>()=>{V.current&&V.current.cleanupBlobUrls()},[]),P)?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center space-y-2",children:[(0,a.jsx)(m.A,{className:"w-8 h-8 animate-spin mx-auto text-primary"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:"Compiling project..."})]})})]}):F?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center text-destructive space-y-2",children:[(0,a.jsx)("p",{className:"font-medium",children:"Error"}),(0,a.jsx)("p",{className:"text-sm mt-2",children:F}),(0,a.jsx)(o.$,{onClick:em,className:"mt-4",children:"Try Again"})]})})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsxs)("div",{className:"border-b p-2 flex items-center gap-2 md:hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:eo,disabled:0===M,children:(0,a.jsx)(h.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ec,disabled:M>=R.length-1,children:(0,a.jsx)(u.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ed,children:(0,a.jsx)(p.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:em,children:(0,a.jsx)(m.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>q(e=>!e),disabled:!B,style:J,title:W?"Cancel element selection":i?"Replace focused element":"Select element","data-tour-id":"focus-crosshair-button",children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]}),C&&C.routes.length>1&&(0,a.jsxs)(j.l6,{value:E,onValueChange:el,children:[(0,a.jsx)(j.bq,{className:"flex-1 h-8 min-w-0 max-w-full",children:(0,a.jsx)(j.yv,{className:"truncate"})}),(0,a.jsx)(j.gC,{children:C.routes.map(e=>(0,a.jsx)(j.eb,{value:e.path,children:e.title||e.path},e.path))})]})]}),(0,a.jsxs)("div",{className:"border-b p-2 hidden md:flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:eo,disabled:0===M,children:(0,a.jsx)(h.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ec,disabled:M>=R.length-1,children:(0,a.jsx)(u.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ed,children:(0,a.jsx)(p.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:em,children:(0,a.jsx)(m.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>q(e=>!e),disabled:!B,style:{backgroundColor:W?"var(--button-preview-active)":void 0,color:W?"white":void 0},title:W?"Cancel element focus":"Select element","data-tour-id":"focus-crosshair-button",children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]}),(0,a.jsx)("div",{className:"flex-1 px-3 py-1 bg-muted rounded text-sm",children:E}),C&&C.routes.length>1&&(0,a.jsxs)(j.l6,{value:E,onValueChange:el,children:[(0,a.jsx)(j.bq,{className:"w-[200px] h-8",children:(0,a.jsx)(j.yv,{})}),(0,a.jsx)(j.gC,{children:C.routes.map(e=>(0,a.jsx)(j.eb,{value:e.path,children:e.title||e.path},e.path))})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1 border-l pl-2",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"mobile"===L?"var(--button-preview-active)":void 0,color:"mobile"===L?"white":void 0},onClick:()=>D("mobile"),children:(0,a.jsx)(g.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"tablet"===L?"var(--button-preview-active)":void 0,color:"tablet"===L?"white":void 0},onClick:()=>D("tablet"),children:(0,a.jsx)(f.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"desktop"===L?"var(--button-preview-active)":void 0,color:"desktop"===L?"white":void 0},onClick:()=>D("desktop"),children:(0,a.jsx)(v.A,{className:"h-3 w-3"})})]})]}),(0,a.jsx)("div",{className:"flex-1 bg-muted/20 dark:bg-muted/10 p-4 overflow-auto min-h-0",children:(0,a.jsx)("div",{className:(0,b.cn)("bg-white mx-auto shadow-2xl transition-all duration-300","responsive"!==L&&"rounded-lg"),style:{width:w[L].width||"100%",height:w[L].height||"100%",maxHeight:w[L].maxHeight||"100%",maxWidth:w[L].maxWidth||"100%"},children:(0,a.jsx)("iframe",{ref:e=>{_.current=e,e&&!B?setTimeout(()=>{U(!0)},0):!e&&B&&U(!1)},className:"w-full h-full rounded-lg",sandbox:"allow-scripts allow-same-origin allow-forms",title:"Preview"})})})]})});N.displayName="MultipagePreview";let k=i().memo(N)},13265:(e,t,s)=>{s.d(t,{V:()=>c});var a=s(60687),r=s(43210),i=s(2565),n=s(24934),l=s(41862),o=s(88712);function c({location:e}){let{state:t,next:s,previous:c,skip:d}=(0,i.C)(),{status:m,currentStep:h,stepKey:u,isBusy:p,stepIndex:x}=t,[g,f]=(0,r.useState)(null),v=o.A.length,j=(0,r.useMemo)(()=>!!h&&!!p&&("workspace-edit"===h.id||"workspace-focus"===h.id||"workspace-checkpoint"===h.id),[h,p]);if("running"!==m||!h||h.location!==e)return null;let b=h.primaryLabel??"Next",y=h.secondaryLabel??"Skip";return(0,a.jsxs)("div",{className:"fixed inset-0 z-[2000] pointer-events-auto",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-background/30"}),g&&(0,a.jsx)("div",{className:"pointer-events-none fixed rounded-xl border-2 border-primary ring-4 ring-primary/30 transition-all animate-ring-opacity",style:{top:g.top,left:g.left,width:g.width,height:g.height}}),(0,a.jsx)("div",{className:"absolute bottom-10 left-1/2 flex w-full max-w-xl -translate-x-1/2 flex-col gap-4 px-4",children:(0,a.jsxs)("div",{className:"pointer-events-auto rounded-2xl border bg-background/95 p-6 shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:h.title}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground font-medium",children:[x+1,"/",v]})]}),(0,a.jsx)("div",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:h.body})]}),p&&(0,a.jsx)(l.A,{className:"h-5 w-5 animate-spin text-primary"})]}),(0,a.jsxs)("div",{className:"mt-6 flex items-center justify-between",children:[h.showBack?(0,a.jsx)(n.$,{variant:"ghost",onClick:c,disabled:p,children:"Back"}):(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(n.$,{variant:"ghost",onClick:d,children:y}),(0,a.jsx)(n.$,{onClick:s,disabled:j,children:b})]})]})]})})]})}},15616:(e,t,s)=>{s.d(t,{T:()=>n});var a=s(60687),r=s(43210),i=s(96241);let n=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)("textarea",{className:(0,i.cn)("flex min-h-[84px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...t}));n.displayName="Textarea"},22926:(e,t,s)=>{s.d(t,{O:()=>E});var a=s(60687),r=s(43210),i=s(4950),n=s(24934),l=s(68988),o=s(39390),c=s(63974),d=s(42902),m=s(52581),h=s(10218),u=s(98971),p=s(78272),x=s(23928),g=s(43649),f=s(61611),v=s(31158),j=s(16023),b=s(96882),y=s(86884),w=s(96597),N=s(94084),k=s.n(N),S=s(96241);class C{static{this.BACKUP_VERSION="1.9.0"}static{this.FILE_EXTENSION=".osws"}static{this.MAX_IMPORT_SIZE=0x6400000}static async exportAllData(){try{S.v.info("Starting data export...");let e={version:this.BACKUP_VERSION,exportDate:new Date().toISOString(),databases:{vfs:await this.exportUnifiedData(),conversations:[],checkpoints:[]},metadata:{projectCount:0,totalSize:0,exportedFrom:"oswstudio"}};e.metadata.projectCount=e.databases.vfs.projects.length,e.metadata.totalSize=this.calculateDataSize(e);let t=new(k());t.file("backup.json",JSON.stringify(e,null,2));let s=await t.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}),a=`oswstudio-backup-${new Date().toISOString().split("T")[0]}${this.FILE_EXTENSION}`;this.downloadBlob(s,a),S.v.info(`Export completed: ${e.metadata.projectCount} projects, ${this.formatBytes(e.metadata.totalSize)}`)}catch(e){throw S.v.error("Export failed:",e),Error(`Export failed: ${e instanceof Error?e.message:"Unknown error"}`)}}static async importAllData(e,t={mode:"merge"}){try{if(!e.name.endsWith(this.FILE_EXTENSION))throw Error(`Invalid file type. Expected ${this.FILE_EXTENSION} file.`);if(e.size>this.MAX_IMPORT_SIZE)throw Error(`File too large. Maximum size is ${this.formatBytes(this.MAX_IMPORT_SIZE)}.`);t.onProgress?.(10,"Reading backup file...");let a=new(k()),r=(await a.loadAsync(e)).file("backup.json");if(!r)throw Error("Invalid backup file format.");let i=await r.async("string"),n=JSON.parse(i);if(this.validateBackupData(n),t.onProgress?.(30,"Validating backup data..."),"replace"===t.mode){t.onProgress?.(40,"Clearing existing data...");try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));e.db?.db&&(S.v.info("[Backup] Closing VFS database before deletion"),e.db.db.close())}catch(e){S.v.warn("[Backup] Could not close VFS database",e)}await this.clearAllData(),await new Promise(e=>setTimeout(e,500))}t.onProgress?.(50,"Importing all data...");let l={...n.databases.vfs,conversations:n.databases.vfs.conversations||n.databases.conversations||[],checkpoints:n.databases.vfs.checkpoints||n.databases.checkpoints||[]};await this.importUnifiedData(l),t.onProgress?.(100,"Import completed successfully!"),S.v.info(`Import completed: ${n.metadata.projectCount} projects restored`)}catch(e){throw S.v.error("Import failed:",e),Error(`Import failed: ${e instanceof Error?e.message:"Unknown error"}`)}}static async validateBackupFile(e){try{if(!e.name.endsWith(this.FILE_EXTENSION))return{valid:!1,reason:"Invalid file extension"};if(e.size>this.MAX_IMPORT_SIZE)return{valid:!1,reason:"File too large"};let t=new(k()),s=(await t.loadAsync(e)).file("backup.json");if(!s)return{valid:!1,reason:"Invalid backup file format"};let a=await s.async("string"),r=JSON.parse(a);return this.validateBackupData(r),{valid:!0,metadata:r.metadata}}catch(e){return{valid:!1,reason:e instanceof Error?e.message:"Unknown error"}}}static async exportUnifiedData(){let e={projects:[],files:[],fileTree:[],conversations:[],checkpoints:[]};return new Promise((t,s)=>{let a=indexedDB.open("osw-studio-db",1);a.onsuccess=async()=>{try{let s=a.result,r=s.transaction(["projects"],"readonly"),i=r.objectStore("projects").getAll();i.onsuccess=()=>{e.projects=i.result||[]};let n=s.transaction(["files"],"readonly"),l=n.objectStore("files").getAll();l.onsuccess=()=>{e.files=l.result||[]};let o=s.transaction(["fileTree"],"readonly"),c=o.objectStore("fileTree").getAll();c.onsuccess=()=>{e.fileTree=c.result||[]};let d=s.transaction(["conversations"],"readonly"),m=d.objectStore("conversations").getAll();m.onsuccess=()=>{e.conversations=m.result||[]};let h=s.transaction(["checkpoints"],"readonly"),u=h.objectStore("checkpoints").getAll();u.onsuccess=()=>{e.checkpoints=u.result||[]},await Promise.all([new Promise(e=>r.oncomplete=()=>e(void 0)),new Promise(e=>n.oncomplete=()=>e(void 0)),new Promise(e=>o.oncomplete=()=>e(void 0)),new Promise(e=>d.oncomplete=()=>e(void 0)),new Promise(e=>h.oncomplete=()=>e(void 0))]),t(e)}catch(e){s(e)}},a.onerror=()=>s(a.error)})}static async importLegacyConversations(){return new Promise(e=>{let t=indexedDB.open("DeepStudioConversations",1);t.onsuccess=()=>{let s=t.result.transaction(["conversations"],"readonly").objectStore("conversations").getAll();s.onsuccess=()=>{e(s.result||[])},s.onerror=()=>e([])},t.onerror=()=>e([])})}static async importLegacyCheckpoints(){return new Promise(e=>{let t=indexedDB.open("DeepStudioCheckpoints",1);t.onsuccess=()=>{let s=t.result.transaction(["checkpoints"],"readonly").objectStore("checkpoints").getAll();s.onsuccess=()=>{e(s.result||[])},s.onerror=()=>e([])},t.onerror=()=>e([])})}static async importUnifiedData(e){return new Promise((t,s)=>{S.v.info("[Import] Opening database for import...");let a=setTimeout(()=>{S.v.error("[Import] Database open timeout after 10s"),s(Error("Database open timeout"))},1e4),r=indexedDB.open("osw-studio-db",1);r.onerror=()=>{clearTimeout(a),S.v.error("[Import] Failed to open database for import",r.error),s(r.error)},r.onblocked=()=>{S.v.warn("[Import] Database open is blocked - waiting for connections to close")},r.onupgradeneeded=e=>{S.v.info("[Import] Creating database schema...");let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}},r.onsuccess=async()=>{try{clearTimeout(a);let s=r.result;S.v.info("[Import] Database opened successfully"),S.v.info("[Import] Starting data import...",{projects:e.projects?.length||0,files:e.files?.length||0,fileTree:e.fileTree?.length||0,conversations:e.conversations?.length||0,checkpoints:e.checkpoints?.length||0});let i=s.transaction(["projects"],"readwrite").objectStore("projects");for(let t of e.projects||[])await new Promise((e,s)=>{let a=i.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import project:",t.id,a.error),s(a.error)}});S.v.info("[Import] Projects imported");let n=s.transaction(["files"],"readwrite").objectStore("files");for(let t of e.files||[])await new Promise((e,s)=>{let a=n.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import file:",t.path,a.error),s(a.error)}});S.v.info("[Import] Files imported");let l=s.transaction(["fileTree"],"readwrite").objectStore("fileTree");for(let t of e.fileTree||[])await new Promise((e,s)=>{let a=l.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import tree node:",t.path,a.error),s(a.error)}});S.v.info("[Import] File tree imported");let o=e.conversations||[];if(o.length>0){S.v.info("[Import] Importing conversations:",o.length);let e=s.transaction(["conversations"],"readwrite").objectStore("conversations");for(let t of o)await new Promise((s,a)=>{let r=e.put(t);r.onsuccess=()=>s(),r.onerror=()=>{S.v.error("[Import] Failed to import conversation:",t.id,r.error),a(r.error)}});S.v.info("[Import] Conversations imported")}let c=e.checkpoints||[];if(c.length>0){S.v.info("[Import] Importing checkpoints:",c.length);let e=s.transaction(["checkpoints"],"readwrite").objectStore("checkpoints");for(let t of c)await new Promise((s,a)=>{let r=e.put(t);r.onsuccess=()=>s(),r.onerror=()=>{S.v.error("[Import] Failed to import checkpoint:",t.id,r.error),a(r.error)}});S.v.info("[Import] Checkpoints imported")}S.v.info("[Import] All data imported successfully"),t()}catch(e){s(e)}},r.onerror=()=>s(r.error)})}static async clearAllData(){for(let e of["osw-studio-db","osw-studio-vfs","OSWStudioConversations","OSWStudioCheckpoints","deepstudio-vfs","DeepStudioConversations","DeepStudioCheckpoints"])await new Promise(t=>{let s=setTimeout(()=>{S.v.warn(`[Backup] Database deletion timeout for: ${e}`),t()},2e3),a=indexedDB.deleteDatabase(e);a.onsuccess=()=>{clearTimeout(s),S.v.info(`[Backup] Deleted database: ${e}`),t()},a.onerror=()=>{clearTimeout(s),S.v.warn(`[Backup] Error deleting database: ${e}`,a.error),t()},a.onblocked=()=>{S.v.warn(`[Backup] Database deletion blocked: ${e}`)}});S.v.info("[Backup] All databases cleared")}static validateBackupData(e){if(!e.version||!e.exportDate||!e.databases||!e.metadata)throw Error("Invalid backup file structure");if(!e.databases.vfs||!e.databases.conversations||!e.databases.checkpoints)throw Error("Incomplete backup data");let t=e.version.split(".").map(Number),s=this.BACKUP_VERSION.split(".").map(Number);if(t[0]>s[0])throw Error(`Backup version ${e.version} is not compatible with current version ${this.BACKUP_VERSION}`)}static calculateDataSize(e){return JSON.stringify(e).length}static formatBytes(e){if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB"][t]}static downloadBlob(e,t){let s=URL.createObjectURL(e),a=document.createElement("a");a.href=s,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s)}}var A=s(47696);function E({onClose:e}){let[t,s]=(0,r.useState)({}),[N,k]=(0,r.useState)({}),{theme:S,setTheme:E}=(0,h.D)(),[T,P]=(0,r.useState)(!1),[$,F]=(0,r.useState)(!1),[I,L]=(0,r.useState)(!1),[D,R]=(0,r.useState)(!1),[z,M]=(0,r.useState)(0),[O,B]=(0,r.useState)(""),[U,W]=(0,r.useState)({application:!0,costTracking:!0,dataManagement:!0}),q=(e,t)=>{i.s.setSetting(e,t),s(s=>({...s,[e]:t}))},J=async()=>{try{L(!0),await C.exportAllData(),m.oR.success("Data exported successfully!")}catch(e){m.oR.error(e instanceof Error?e.message:"Export failed")}finally{L(!1)}},_=e=>{W(t=>({...t,[e]:!t[e]}))};return(0,a.jsxs)("div",{className:"max-h-[calc(100vh-4rem)] overflow-y-auto",children:[(0,a.jsxs)("div",{className:"space-y-3 pb-4",children:[(0,a.jsxs)(A.Nt,{open:U.application,onOpenChange:()=>_("application"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(u.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Application Settings"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.application?"rotate-180":""}`})]}),(0,a.jsxs)(A.Ke,{className:"px-3 pt-2 pb-3",children:[(0,a.jsx)("p",{className:"text-muted-foreground text-xs mb-4",children:"Configure your preferences and display options"}),(0,a.jsx)("div",{className:"space-y-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"theme",children:"Theme"}),(0,a.jsxs)(c.l6,{value:T?S:"dark",onValueChange:e=>{E(e),q("theme",e)},children:[(0,a.jsx)(c.bq,{id:"theme",className:"mt-2",children:(0,a.jsx)(c.yv,{})}),(0,a.jsxs)(c.gC,{children:[(0,a.jsx)(c.eb,{value:"light",children:"Light"}),(0,a.jsx)(c.eb,{value:"dark",children:"Dark"}),(0,a.jsx)(c.eb,{value:"system",children:"System"})]})]})]})})]})]}),(0,a.jsxs)(A.Nt,{open:U.costTracking,onOpenChange:()=>_("costTracking"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Cost Tracking"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.costTracking?"rotate-180":""}`})]}),(0,a.jsx)(A.Ke,{className:"px-3 pt-2 pb-3",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"show-costs",children:"Display Costs"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show cost information in messages"})]}),(0,a.jsx)(d.d,{id:"show-costs",checked:!1!==N.showCosts,onCheckedChange:e=>{let t={...N,showCosts:e};i.s.setCostSettings(t),k(t)}})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"daily-limit",children:"Daily Cost Limit (USD)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"daily-limit",type:"number",min:"0",step:"0.01",placeholder:"No limit",value:N.dailyLimit||"",onChange:e=>{let t=e.target.value?parseFloat(e.target.value):void 0,s={...N,dailyLimit:t};i.s.setCostSettings(s),k(s)}}),N.dailyLimit&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:["$",N.dailyLimit.toFixed(2),"/day"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"project-limit",children:"Project Cost Limit (USD)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"project-limit",type:"number",min:"0",step:"0.01",placeholder:"No limit",value:N.projectLimit||"",onChange:e=>{let t=e.target.value?parseFloat(e.target.value):void 0,s={...N,projectLimit:t};i.s.setCostSettings(s),k(s)}}),N.projectLimit&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:["$",N.projectLimit.toFixed(2),"/project"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"warning-threshold",children:"Warning Threshold (%)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"warning-threshold",type:"number",min:"50",max:"100",step:"5",value:N.warningThreshold||80,onChange:e=>{let t=parseInt(e.target.value),s={...N,warningThreshold:t};i.s.setCostSettings(s),k(s)}}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground flex items-center gap-1",children:[(0,a.jsx)(g.A,{className:"h-3 w-3"}),"Warn at ",N.warningThreshold||80,"%"]})]})]}),(0,a.jsx)("div",{className:"border-t pt-3 mt-3",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Lifetime Total"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:y.U.formatCost(i.s.getLifetimeCosts().total)})]}),(0,a.jsx)(n.$,{variant:"outline",size:"sm",onClick:()=>{confirm("Reset lifetime cost tracking? This cannot be undone.")&&(i.s.resetLifetimeCosts(),m.oR.success("Lifetime costs reset"))},children:"Reset Stats"})]})})]})})]}),(0,a.jsxs)(A.Nt,{open:U.dataManagement,onOpenChange:()=>_("dataManagement"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(f.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Data Management"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.dataManagement?"rotate-180":""}`})]}),(0,a.jsxs)(A.Ke,{className:"px-3 pt-2 pb-3",children:[(0,a.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:"Backup and restore your projects, conversations, and settings. Use this to migrate your data to OSWStudio or create backups."}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Export All Data"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"Download a backup file containing all your projects and data"})]}),(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:J,disabled:I,className:"flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"h-4 w-4"}),I?"Exporting...":"Export"]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Import Data"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"Restore from a .osws backup file"})]}),(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:()=>{let e=document.createElement("input");e.type="file",e.accept=".osws",e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{R(!0),M(0),B("Validating file...");let e=await C.validateBackupFile(t);if(!e.valid)return void m.oR.error(`Invalid backup file: ${e.reason}`);let s=confirm(`Import ${e.metadata?.projectCount||0} projects? + `;l.includes("")?l=l.replace("",o+""):l+=o,J.current.srcdoc=l,T(r),G.current=r,O(e=>(z(t=>[...t.slice(0,e+1),r]),e+1))},el=(0,r.useCallback)(e=>{en(e)},[C]),eo=()=>{if(M>0){let e=M-1;O(e),en(R[e])}},ec=()=>{if(M{en("/")},em=()=>{er(!0,!1)};return((0,r.useEffect)(()=>{let e=e=>{let t=e.data;if(t&&"object"==typeof t){if("navigate"===t.type&&t.path)return void el(t.path);if("selector-selection"===t.type&&t.payload){_(!1),s?.(t.payload);return}"selector-cancelled"===t.type&&_(!1)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[el,s]),(0,r.useEffect)(()=>()=>{V.current&&V.current.cleanupBlobUrls()},[]),P)?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center space-y-2",children:[(0,a.jsx)(m.A,{className:"w-8 h-8 animate-spin mx-auto text-primary"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:"Compiling project..."})]})})]}):$?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center text-destructive space-y-2",children:[(0,a.jsx)("p",{className:"font-medium",children:"Error"}),(0,a.jsx)("p",{className:"text-sm mt-2",children:$}),(0,a.jsx)(o.$,{onClick:em,className:"mt-4",children:"Try Again"})]})})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsxs)("div",{className:"border-b p-2 flex items-center gap-2 md:hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:eo,disabled:0===M,children:(0,a.jsx)(u.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ec,disabled:M>=R.length-1,children:(0,a.jsx)(h.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ed,children:(0,a.jsx)(p.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:em,children:(0,a.jsx)(m.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>_(e=>!e),disabled:!B,style:q,title:W?"Cancel element selection":i?"Replace focused element":"Select element","data-tour-id":"focus-crosshair-button",children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]}),C&&C.routes.length>1&&(0,a.jsxs)(j.l6,{value:E,onValueChange:el,children:[(0,a.jsx)(j.bq,{className:"flex-1 h-8 min-w-0 max-w-full",children:(0,a.jsx)(j.yv,{className:"truncate"})}),(0,a.jsx)(j.gC,{children:C.routes.map(e=>(0,a.jsx)(j.eb,{value:e.path,children:e.title||e.path},e.path))})]})]}),(0,a.jsxs)("div",{className:"border-b p-2 hidden md:flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:eo,disabled:0===M,children:(0,a.jsx)(u.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ec,disabled:M>=R.length-1,children:(0,a.jsx)(h.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ed,children:(0,a.jsx)(p.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:em,children:(0,a.jsx)(m.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>_(e=>!e),disabled:!B,style:{backgroundColor:W?"var(--button-preview-active)":void 0,color:W?"white":void 0},title:W?"Cancel element focus":"Select element","data-tour-id":"focus-crosshair-button",children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]}),(0,a.jsx)("div",{className:"flex-1 px-3 py-1 bg-muted rounded text-sm",children:E}),C&&C.routes.length>1&&(0,a.jsxs)(j.l6,{value:E,onValueChange:el,children:[(0,a.jsx)(j.bq,{className:"w-[200px] h-8",children:(0,a.jsx)(j.yv,{})}),(0,a.jsx)(j.gC,{children:C.routes.map(e=>(0,a.jsx)(j.eb,{value:e.path,children:e.title||e.path},e.path))})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1 border-l pl-2",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"mobile"===L?"var(--button-preview-active)":void 0,color:"mobile"===L?"white":void 0},onClick:()=>D("mobile"),children:(0,a.jsx)(g.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"tablet"===L?"var(--button-preview-active)":void 0,color:"tablet"===L?"white":void 0},onClick:()=>D("tablet"),children:(0,a.jsx)(f.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"desktop"===L?"var(--button-preview-active)":void 0,color:"desktop"===L?"white":void 0},onClick:()=>D("desktop"),children:(0,a.jsx)(v.A,{className:"h-3 w-3"})})]})]}),(0,a.jsx)("div",{className:"flex-1 bg-muted/20 dark:bg-muted/10 p-4 overflow-auto min-h-0",children:(0,a.jsx)("div",{className:(0,b.cn)("bg-white mx-auto shadow-2xl transition-all duration-300","responsive"!==L&&"rounded-lg"),style:{width:w[L].width||"100%",height:w[L].height||"100%",maxHeight:w[L].maxHeight||"100%",maxWidth:w[L].maxWidth||"100%"},children:(0,a.jsx)("iframe",{ref:e=>{J.current=e,e&&!B?setTimeout(()=>{U(!0)},0):!e&&B&&U(!1)},className:"w-full h-full rounded-lg",sandbox:"allow-scripts allow-same-origin allow-forms",title:"Preview"})})})]})});N.displayName="MultipagePreview";let k=i().memo(N)},13265:(e,t,s)=>{s.d(t,{V:()=>c});var a=s(60687),r=s(43210),i=s(2565),n=s(24934),l=s(41862),o=s(88712);function c({location:e}){let{state:t,next:s,previous:c,skip:d}=(0,i.C)(),{status:m,currentStep:u,stepKey:h,isBusy:p,stepIndex:x}=t,[g,f]=(0,r.useState)(null),v=o.A.length,j=(0,r.useMemo)(()=>!!u&&!!p&&("workspace-edit"===u.id||"workspace-focus"===u.id||"workspace-checkpoint"===u.id),[u,p]);if("running"!==m||!u||u.location!==e)return null;let b=u.primaryLabel??"Next",y=u.secondaryLabel??"Skip";return(0,a.jsxs)("div",{className:"fixed inset-0 z-[2000] pointer-events-auto",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-background/30"}),g&&(0,a.jsx)("div",{className:"pointer-events-none fixed rounded-xl border-2 border-primary ring-4 ring-primary/30 transition-all animate-ring-opacity",style:{top:g.top,left:g.left,width:g.width,height:g.height}}),(0,a.jsx)("div",{className:"absolute bottom-10 left-1/2 flex w-full max-w-xl -translate-x-1/2 flex-col gap-4 px-4",children:(0,a.jsxs)("div",{className:"pointer-events-auto rounded-2xl border bg-background/95 p-6 shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:u.title}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground font-medium",children:[x+1,"/",v]})]}),(0,a.jsx)("div",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:u.body})]}),p&&(0,a.jsx)(l.A,{className:"h-5 w-5 animate-spin text-primary"})]}),(0,a.jsxs)("div",{className:"mt-6 flex items-center justify-between",children:[u.showBack?(0,a.jsx)(n.$,{variant:"ghost",onClick:c,disabled:p,children:"Back"}):(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(n.$,{variant:"ghost",onClick:d,children:y}),(0,a.jsx)(n.$,{onClick:s,disabled:j,children:b})]})]})]})})]})}},15616:(e,t,s)=>{s.d(t,{T:()=>n});var a=s(60687),r=s(43210),i=s(96241);let n=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)("textarea",{className:(0,i.cn)("flex min-h-[84px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...t}));n.displayName="Textarea"},22926:(e,t,s)=>{s.d(t,{O:()=>E});var a=s(60687),r=s(43210),i=s(4950),n=s(24934),l=s(68988),o=s(39390),c=s(63974),d=s(42902),m=s(52581),u=s(10218),h=s(98971),p=s(78272),x=s(23928),g=s(43649),f=s(61611),v=s(31158),j=s(16023),b=s(96882),y=s(86884),w=s(96597),N=s(94084),k=s.n(N),S=s(96241);class C{static{this.BACKUP_VERSION="1.9.0"}static{this.FILE_EXTENSION=".osws"}static{this.MAX_IMPORT_SIZE=0x6400000}static async exportAllData(){try{S.v.info("Starting data export...");let e={version:this.BACKUP_VERSION,exportDate:new Date().toISOString(),databases:{vfs:await this.exportUnifiedData(),conversations:[],checkpoints:[]},metadata:{projectCount:0,totalSize:0,exportedFrom:"oswstudio"}};e.metadata.projectCount=e.databases.vfs.projects.length,e.metadata.totalSize=this.calculateDataSize(e);let t=new(k());t.file("backup.json",JSON.stringify(e,null,2));let s=await t.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}),a=`oswstudio-backup-${new Date().toISOString().split("T")[0]}${this.FILE_EXTENSION}`;this.downloadBlob(s,a),S.v.info(`Export completed: ${e.metadata.projectCount} projects, ${this.formatBytes(e.metadata.totalSize)}`)}catch(e){throw S.v.error("Export failed:",e),Error(`Export failed: ${e instanceof Error?e.message:"Unknown error"}`)}}static async importAllData(e,t={mode:"merge"}){try{if(!e.name.endsWith(this.FILE_EXTENSION))throw Error(`Invalid file type. Expected ${this.FILE_EXTENSION} file.`);if(e.size>this.MAX_IMPORT_SIZE)throw Error(`File too large. Maximum size is ${this.formatBytes(this.MAX_IMPORT_SIZE)}.`);t.onProgress?.(10,"Reading backup file...");let a=new(k()),r=(await a.loadAsync(e)).file("backup.json");if(!r)throw Error("Invalid backup file format.");let i=await r.async("string"),n=JSON.parse(i);if(this.validateBackupData(n),t.onProgress?.(30,"Validating backup data..."),"replace"===t.mode){t.onProgress?.(40,"Clearing existing data...");try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));e.db?.db&&(S.v.info("[Backup] Closing VFS database before deletion"),e.db.db.close())}catch(e){S.v.warn("[Backup] Could not close VFS database",e)}await this.clearAllData(),await new Promise(e=>setTimeout(e,500))}t.onProgress?.(50,"Importing all data...");let l={...n.databases.vfs,conversations:n.databases.vfs.conversations||n.databases.conversations||[],checkpoints:n.databases.vfs.checkpoints||n.databases.checkpoints||[]};await this.importUnifiedData(l),t.onProgress?.(100,"Import completed successfully!"),S.v.info(`Import completed: ${n.metadata.projectCount} projects restored`)}catch(e){throw S.v.error("Import failed:",e),Error(`Import failed: ${e instanceof Error?e.message:"Unknown error"}`)}}static async validateBackupFile(e){try{if(!e.name.endsWith(this.FILE_EXTENSION))return{valid:!1,reason:"Invalid file extension"};if(e.size>this.MAX_IMPORT_SIZE)return{valid:!1,reason:"File too large"};let t=new(k()),s=(await t.loadAsync(e)).file("backup.json");if(!s)return{valid:!1,reason:"Invalid backup file format"};let a=await s.async("string"),r=JSON.parse(a);return this.validateBackupData(r),{valid:!0,metadata:r.metadata}}catch(e){return{valid:!1,reason:e instanceof Error?e.message:"Unknown error"}}}static async exportUnifiedData(){let e={projects:[],files:[],fileTree:[],conversations:[],checkpoints:[]};return new Promise((t,s)=>{let a=indexedDB.open("osw-studio-db",1);a.onsuccess=async()=>{try{let s=a.result,r=s.transaction(["projects"],"readonly"),i=r.objectStore("projects").getAll();i.onsuccess=()=>{e.projects=i.result||[]};let n=s.transaction(["files"],"readonly"),l=n.objectStore("files").getAll();l.onsuccess=()=>{e.files=l.result||[]};let o=s.transaction(["fileTree"],"readonly"),c=o.objectStore("fileTree").getAll();c.onsuccess=()=>{e.fileTree=c.result||[]};let d=s.transaction(["conversations"],"readonly"),m=d.objectStore("conversations").getAll();m.onsuccess=()=>{e.conversations=m.result||[]};let u=s.transaction(["checkpoints"],"readonly"),h=u.objectStore("checkpoints").getAll();h.onsuccess=()=>{e.checkpoints=h.result||[]},await Promise.all([new Promise(e=>r.oncomplete=()=>e(void 0)),new Promise(e=>n.oncomplete=()=>e(void 0)),new Promise(e=>o.oncomplete=()=>e(void 0)),new Promise(e=>d.oncomplete=()=>e(void 0)),new Promise(e=>u.oncomplete=()=>e(void 0))]),t(e)}catch(e){s(e)}},a.onerror=()=>s(a.error)})}static async importLegacyConversations(){return new Promise(e=>{let t=indexedDB.open("DeepStudioConversations",1);t.onsuccess=()=>{let s=t.result.transaction(["conversations"],"readonly").objectStore("conversations").getAll();s.onsuccess=()=>{e(s.result||[])},s.onerror=()=>e([])},t.onerror=()=>e([])})}static async importLegacyCheckpoints(){return new Promise(e=>{let t=indexedDB.open("DeepStudioCheckpoints",1);t.onsuccess=()=>{let s=t.result.transaction(["checkpoints"],"readonly").objectStore("checkpoints").getAll();s.onsuccess=()=>{e(s.result||[])},s.onerror=()=>e([])},t.onerror=()=>e([])})}static async importUnifiedData(e){return new Promise((t,s)=>{S.v.info("[Import] Opening database for import...");let a=setTimeout(()=>{S.v.error("[Import] Database open timeout after 10s"),s(Error("Database open timeout"))},1e4),r=indexedDB.open("osw-studio-db",1);r.onerror=()=>{clearTimeout(a),S.v.error("[Import] Failed to open database for import",r.error),s(r.error)},r.onblocked=()=>{S.v.warn("[Import] Database open is blocked - waiting for connections to close")},r.onupgradeneeded=e=>{S.v.info("[Import] Creating database schema...");let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}},r.onsuccess=async()=>{try{clearTimeout(a);let s=r.result;S.v.info("[Import] Database opened successfully"),S.v.info("[Import] Starting data import...",{projects:e.projects?.length||0,files:e.files?.length||0,fileTree:e.fileTree?.length||0,conversations:e.conversations?.length||0,checkpoints:e.checkpoints?.length||0});let i=s.transaction(["projects"],"readwrite").objectStore("projects");for(let t of e.projects||[])await new Promise((e,s)=>{let a=i.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import project:",t.id,a.error),s(a.error)}});S.v.info("[Import] Projects imported");let n=s.transaction(["files"],"readwrite").objectStore("files");for(let t of e.files||[])await new Promise((e,s)=>{let a=n.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import file:",t.path,a.error),s(a.error)}});S.v.info("[Import] Files imported");let l=s.transaction(["fileTree"],"readwrite").objectStore("fileTree");for(let t of e.fileTree||[])await new Promise((e,s)=>{let a=l.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import tree node:",t.path,a.error),s(a.error)}});S.v.info("[Import] File tree imported");let o=e.conversations||[];if(o.length>0){S.v.info("[Import] Importing conversations:",o.length);let e=s.transaction(["conversations"],"readwrite").objectStore("conversations");for(let t of o)await new Promise((s,a)=>{let r=e.put(t);r.onsuccess=()=>s(),r.onerror=()=>{S.v.error("[Import] Failed to import conversation:",t.id,r.error),a(r.error)}});S.v.info("[Import] Conversations imported")}let c=e.checkpoints||[];if(c.length>0){S.v.info("[Import] Importing checkpoints:",c.length);let e=s.transaction(["checkpoints"],"readwrite").objectStore("checkpoints");for(let t of c)await new Promise((s,a)=>{let r=e.put(t);r.onsuccess=()=>s(),r.onerror=()=>{S.v.error("[Import] Failed to import checkpoint:",t.id,r.error),a(r.error)}});S.v.info("[Import] Checkpoints imported")}S.v.info("[Import] All data imported successfully"),t()}catch(e){s(e)}},r.onerror=()=>s(r.error)})}static async clearAllData(){for(let e of["osw-studio-db","osw-studio-vfs","OSWStudioConversations","OSWStudioCheckpoints","deepstudio-vfs","DeepStudioConversations","DeepStudioCheckpoints"])await new Promise(t=>{let s=setTimeout(()=>{S.v.warn(`[Backup] Database deletion timeout for: ${e}`),t()},2e3),a=indexedDB.deleteDatabase(e);a.onsuccess=()=>{clearTimeout(s),S.v.info(`[Backup] Deleted database: ${e}`),t()},a.onerror=()=>{clearTimeout(s),S.v.warn(`[Backup] Error deleting database: ${e}`,a.error),t()},a.onblocked=()=>{S.v.warn(`[Backup] Database deletion blocked: ${e}`)}});S.v.info("[Backup] All databases cleared")}static validateBackupData(e){if(!e.version||!e.exportDate||!e.databases||!e.metadata)throw Error("Invalid backup file structure");if(!e.databases.vfs||!e.databases.conversations||!e.databases.checkpoints)throw Error("Incomplete backup data");let t=e.version.split(".").map(Number),s=this.BACKUP_VERSION.split(".").map(Number);if(t[0]>s[0])throw Error(`Backup version ${e.version} is not compatible with current version ${this.BACKUP_VERSION}`)}static calculateDataSize(e){return JSON.stringify(e).length}static formatBytes(e){if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB"][t]}static downloadBlob(e,t){let s=URL.createObjectURL(e),a=document.createElement("a");a.href=s,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s)}}var A=s(47696);function E({onClose:e}){let[t,s]=(0,r.useState)({}),[N,k]=(0,r.useState)({}),{theme:S,setTheme:E}=(0,u.D)(),[T,P]=(0,r.useState)(!1),[F,$]=(0,r.useState)(!1),[I,L]=(0,r.useState)(!1),[D,R]=(0,r.useState)(!1),[z,M]=(0,r.useState)(0),[O,B]=(0,r.useState)(""),[U,W]=(0,r.useState)({application:!0,costTracking:!0,dataManagement:!0}),_=(e,t)=>{i.s.setSetting(e,t),s(s=>({...s,[e]:t}))},q=async()=>{try{L(!0),await C.exportAllData(),m.oR.success("Data exported successfully!")}catch(e){m.oR.error(e instanceof Error?e.message:"Export failed")}finally{L(!1)}},J=e=>{W(t=>({...t,[e]:!t[e]}))};return(0,a.jsxs)("div",{className:"max-h-[calc(100vh-4rem)] overflow-y-auto",children:[(0,a.jsxs)("div",{className:"space-y-3 pb-4",children:[(0,a.jsxs)(A.Nt,{open:U.application,onOpenChange:()=>J("application"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(h.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Application Settings"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.application?"rotate-180":""}`})]}),(0,a.jsxs)(A.Ke,{className:"px-3 pt-2 pb-3",children:[(0,a.jsx)("p",{className:"text-muted-foreground text-xs mb-4",children:"Configure your preferences and display options"}),(0,a.jsx)("div",{className:"space-y-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"theme",children:"Theme"}),(0,a.jsxs)(c.l6,{value:T?S:"dark",onValueChange:e=>{E(e),_("theme",e)},children:[(0,a.jsx)(c.bq,{id:"theme",className:"mt-2",children:(0,a.jsx)(c.yv,{})}),(0,a.jsxs)(c.gC,{children:[(0,a.jsx)(c.eb,{value:"light",children:"Light"}),(0,a.jsx)(c.eb,{value:"dark",children:"Dark"}),(0,a.jsx)(c.eb,{value:"system",children:"System"})]})]})]})})]})]}),(0,a.jsxs)(A.Nt,{open:U.costTracking,onOpenChange:()=>J("costTracking"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Cost Tracking"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.costTracking?"rotate-180":""}`})]}),(0,a.jsx)(A.Ke,{className:"px-3 pt-2 pb-3",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"show-costs",children:"Display Costs"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show cost information in messages"})]}),(0,a.jsx)(d.d,{id:"show-costs",checked:!1!==N.showCosts,onCheckedChange:e=>{let t={...N,showCosts:e};i.s.setCostSettings(t),k(t)}})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"daily-limit",children:"Daily Cost Limit (USD)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"daily-limit",type:"number",min:"0",step:"0.01",placeholder:"No limit",value:N.dailyLimit||"",onChange:e=>{let t=e.target.value?parseFloat(e.target.value):void 0,s={...N,dailyLimit:t};i.s.setCostSettings(s),k(s)}}),N.dailyLimit&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:["$",N.dailyLimit.toFixed(2),"/day"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"project-limit",children:"Project Cost Limit (USD)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"project-limit",type:"number",min:"0",step:"0.01",placeholder:"No limit",value:N.projectLimit||"",onChange:e=>{let t=e.target.value?parseFloat(e.target.value):void 0,s={...N,projectLimit:t};i.s.setCostSettings(s),k(s)}}),N.projectLimit&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:["$",N.projectLimit.toFixed(2),"/project"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"warning-threshold",children:"Warning Threshold (%)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"warning-threshold",type:"number",min:"50",max:"100",step:"5",value:N.warningThreshold||80,onChange:e=>{let t=parseInt(e.target.value),s={...N,warningThreshold:t};i.s.setCostSettings(s),k(s)}}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground flex items-center gap-1",children:[(0,a.jsx)(g.A,{className:"h-3 w-3"}),"Warn at ",N.warningThreshold||80,"%"]})]})]}),(0,a.jsx)("div",{className:"border-t pt-3 mt-3",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Lifetime Total"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:y.U.formatCost(i.s.getLifetimeCosts().total)})]}),(0,a.jsx)(n.$,{variant:"outline",size:"sm",onClick:()=>{confirm("Reset lifetime cost tracking? This cannot be undone.")&&(i.s.resetLifetimeCosts(),m.oR.success("Lifetime costs reset"))},children:"Reset Stats"})]})})]})})]}),(0,a.jsxs)(A.Nt,{open:U.dataManagement,onOpenChange:()=>J("dataManagement"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(f.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Data Management"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.dataManagement?"rotate-180":""}`})]}),(0,a.jsxs)(A.Ke,{className:"px-3 pt-2 pb-3",children:[(0,a.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:"Backup and restore your projects, conversations, and settings. Use this to migrate your data to OSWStudio or create backups."}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Export All Data"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"Download a backup file containing all your projects and data"})]}),(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:q,disabled:I,className:"flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"h-4 w-4"}),I?"Exporting...":"Export"]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Import Data"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"Restore from a .osws backup file"})]}),(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:()=>{let e=document.createElement("input");e.type="file",e.accept=".osws",e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{R(!0),M(0),B("Validating file...");let e=await C.validateBackupFile(t);if(!e.valid)return void m.oR.error(`Invalid backup file: ${e.reason}`);let s=confirm(`Import ${e.metadata?.projectCount||0} projects? -Choose OK to REPLACE all current data, or Cancel to MERGE with existing data.`);await C.importAllData(t,{mode:s?"replace":"merge",onProgress:(e,t)=>{M(e),B(t)}}),m.oR.success("Data imported successfully!"),setTimeout(()=>window.location.reload(),1e3)}catch(e){m.oR.error(e instanceof Error?e.message:"Import failed")}finally{R(!1),M(0),B("")}},e.click()},disabled:D,className:"flex items-center gap-2",children:[(0,a.jsx)(j.A,{className:"h-4 w-4"}),D?"Importing...":"Import"]})]}),D&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,a.jsx)("span",{children:O}),(0,a.jsxs)("span",{children:[z,"%"]})]}),(0,a.jsx)("div",{className:"w-full bg-muted rounded-full h-2",children:(0,a.jsx)("div",{className:"bg-primary h-2 rounded-full transition-all duration-300",style:{width:`${z}%`}})})]})]})]})]})]}),(0,a.jsxs)("div",{className:"flex justify-between pt-4 px-3 border-t mt-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(n.$,{variant:"destructive",onClick:()=>{confirm("Are you sure you want to clear all settings?")&&(i.s.clearSettings(),s({}),m.oR.success("Settings cleared"))},children:"Clear All Settings"}),(0,a.jsxs)(n.$,{variant:"outline",onClick:()=>F(!0),children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"About OSW Studio"]})]}),e&&(0,a.jsx)(n.$,{onClick:e,children:"Close"})]}),(0,a.jsx)(w.V,{open:$,onOpenChange:F})]})}},30758:e=>{e.exports={rE:"1.21.0"}},35157:(e,t,s)=>{s.d(t,{a:()=>eK});var a=s(60687),r=s(43210),i=s.n(r),n=s(68269),l=s(96241),o=s(24923),c=s(24413),d=s(82080),m=s(18179),h=s(82570),u=s(78272),p=s(14952),x=s(9005),g=s(2943),f=s(78464),v=s(16023),j=s(13861),b=s(33427),y=s(11860),w=s(12597),N=s(24934),k=s(65915),S=s(13964),C=s(65822);let A=k.bL,E=k.l9;k.YJ,k.ZL,k.Pb,k.z6,r.forwardRef(({className:e,inset:t,children:s,...r},i)=>(0,a.jsxs)(k.ZP,{ref:i,className:(0,l.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[s,(0,a.jsx)(p.A,{className:"ml-auto h-4 w-4"})]})).displayName=k.ZP.displayName,r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.G5,{ref:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})).displayName=k.G5.displayName;let T=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.ZL,{children:(0,a.jsx)(k.UC,{ref:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));T.displayName=k.UC.displayName;let P=r.forwardRef(({className:e,inset:t,...s},r)=>(0,a.jsx)(k.q7,{ref:r,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...s}));P.displayName=k.q7.displayName,r.forwardRef(({className:e,children:t,checked:s,...r},i)=>(0,a.jsxs)(k.H_,{ref:i,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:s,...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(k.VF,{children:(0,a.jsx)(S.A,{className:"h-4 w-4"})})}),t]})).displayName=k.H_.displayName,r.forwardRef(({className:e,children:t,...s},r)=>(0,a.jsxs)(k.hN,{ref:r,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...s,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(k.VF,{children:(0,a.jsx)(C.A,{className:"h-2 w-2 fill-current"})})}),t]})).displayName=k.hN.displayName,r.forwardRef(({className:e,inset:t,...s},r)=>(0,a.jsx)(k.JU,{ref:r,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...s})).displayName=k.JU.displayName,r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.wv,{ref:s,className:(0,l.cn)("-mx-1 my-1 h-px bg-border",e),...t})).displayName=k.wv.displayName;var $=s(68988),F=s(52581);function I({projectId:e,onFileSelect:t,selectedPath:i,onClose:k}){let[S,C]=(0,r.useState)([]),[I,L]=(0,r.useState)([]),[D,R]=(0,r.useState)(new Set(["/"])),[z,M]=(0,r.useState)(null),[O,B]=(0,r.useState)(""),[U,W]=(0,r.useState)(!1),[q,J]=(0,r.useState)(null),[_,V]=(0,r.useState)(null),[H,G]=(0,r.useState)(!1),Y=(0,r.useRef)(null),K=e=>e.startsWith("/.skills/")||e.startsWith("/.server/")||"/.skills"===e||"/.server"===e,X=e=>e.startsWith("/.server/")||"/.server"===e,Z=e=>e.startsWith("/.skills/")||"/.skills"===e,Q=(0,r.useCallback)(async()=>{try{await n.vfs.init();let t=await n.vfs.getAllFilesAndDirectories(e);if(H){let a=(await n.vfs.listDirectory(e,"/",{includeTransient:!0})).filter(e=>e.path.startsWith("/.")),{skillsService:r}=await Promise.resolve().then(s.bind(s,26091)),i=await r.getEnabledSkills(),l=new Set(i.map(e=>`/.skills/${e.id}.md`)),o=a.filter(e=>!e.path.startsWith("/.skills/")||l.has(e.path));t.push(...o)}let a=t.filter(e=>"directory"!==e.type);C(a),L(ee(t,H))}catch(e){l.v.error("Failed to load files:",e)}},[e,H]),ee=(e,t)=>{let s=t?e:e.filter(e=>!e.path.startsWith("/.")),a=[],r=new Map;s.forEach(e=>{if("directory"===e.type){let t=e.path.split("/").filter(Boolean),s={path:e.path,name:e.name||t[t.length-1]||"unnamed",type:"directory",children:[]};r.set(e.path,s)}}),s.forEach(e=>{if("directory"!==e.type){let t=e.path.split("/").filter(Boolean),s="";for(let e=0;e{let s=t.split("/").filter(Boolean);if(1===s.length)a.push(e);else{let t="/"+s.slice(0,-1).join("/"),a=r.get(t);a&&a.children&&a.children.push(e)}}),e.forEach(e=>{if("directory"!==e.type){let t=e.path.split("/").filter(Boolean),s={path:e.path,name:e.name,type:"file"};if(1===t.length)a.push(s);else{let e="/"+t.slice(0,-1).join("/"),a=r.get(e);a&&a.children?.push(s)}}});let i=e=>{e.sort((e,t)=>e.type===t.type?e.name.localeCompare(t.name):"directory"===e.type?-1:1),e.forEach(e=>{e.children&&i(e.children)})};return i(a),a},et=e=>{R(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},es=async e=>{if("directory"===e.type)et(e.path);else{let s=S.find(t=>t.path===e.path);s&&t&&t(s)}},ea=async(t="/")=>{let s=prompt("Enter file name:");if(!s)return;let a="/"===t?`/${s}`:`${t}/${s}`;try{await n.vfs.createFile(e,a,""),await Q()}catch(e){l.v.error("Failed to create file:",e)}},er=async(t="/")=>{let s=prompt("Enter directory name:");if(!s)return;let a="/"===t?`/${s}`:`${t}/${s}`;try{await n.vfs.createDirectory(e,a),await Q()}catch(e){l.v.error("Failed to create directory:",e)}},ei=async(t,s)=>{if(confirm(`Delete ${s} "${t}"?`))try{"file"===s?await n.vfs.deleteFile(e,t):await n.vfs.deleteDirectory(e,t),await Q()}catch(e){l.v.error(`Failed to delete ${s}:`,e)}},en=async(t,s)=>{if(!O)return;let a=t.split("/");a[a.length-1]=O;let r=a.join("/");try{"directory"===s?await n.vfs.renameDirectory(e,t,r):await n.vfs.renameFile(e,t,r),await Q(),M(null),B("")}catch(e){l.v.error(`Failed to rename ${s}:`,e)}},el=async e=>{for(let t of(e.preventDefault(),e.stopPropagation(),W(!1),Array.from(e.dataTransfer.items)))if("file"===t.kind){let e=t.getAsFile();e&&await eo(e,"/")}},eo=async(t,s)=>{if(!(0,o.fu)(t.name))return void F.oR.error(`File type not supported: ${t.name}`);let a=(0,o.Gr)(t.name),r=o.Q6[a];if(t.size>r)return void F.oR.error(`File too large: ${t.name}. Maximum size is ${Math.round(r/1024/1024)}MB`);let i="/"===s?`/${t.name}`:`${s}/${t.name}`;try{let s;s="image"===a||"video"===a||"binary"===a?await t.arrayBuffer():await t.text(),await n.vfs.createFile(e,i,s),await Q(),F.oR.success(`Uploaded ${t.name}`)}catch(a){if(a.message?.includes("already exists")){if(confirm(`File "${t.name}" already exists. Overwrite?`))try{await n.vfs.deleteFile(e,i),await eo(t,s)}catch(e){l.v.error("Failed to overwrite file:",e),F.oR.error("Failed to overwrite file")}}else l.v.error("Failed to upload file:",a),F.oR.error(`Failed to upload ${t.name}: ${a.message}`)}},ec=(e,t)=>{e.stopPropagation(),J(t),e.dataTransfer.effectAllowed="move"},ed=()=>{J(null),V(null)},em=(e,t)=>{e.preventDefault(),e.stopPropagation(),q&&t!==q.path&&(e.dataTransfer.dropEffect="move",V(t))},eh=async(t,s)=>{if(t.preventDefault(),t.stopPropagation(),!q||s&&q.path===s.path)return void V(null);let a=s&&"directory"===s.type?s.path:"/";if("directory"===q.type){let e=q.path.endsWith("/")?q.path:q.path+"/";if((a.endsWith("/")?a:a+"/").startsWith(e)){F.oR.error("Cannot move a folder into itself"),V(null);return}}let r=q.name,i="/"===a?`/${r}`:`${a}/${r}`;try{"directory"===q.type?await n.vfs.moveDirectory(e,q.path,i):await n.vfs.moveFile(e,q.path,i),await Q(),F.oR.success(`Moved ${q.name} to ${"/"===a?"root":a}`)}catch(e){l.v.error("Failed to move item:",e),F.oR.error(`Failed to move: ${e.message}`)}V(null)},eu=(e,t=0)=>{let s=D.has(e.path),r=i===e.path,n=z===e.path,b=_===e.path,y=K(e.path),w=X(e.path),N=Z(e.path);return(0,a.jsxs)("div",{draggable:!n&&!y,onDragStart:t=>!y&&ec(t,e),onDragEnd:ed,onDragOver:t=>"directory"===e.type&&!y&&em(t,e.path),onDrop:t=>"directory"===e.type&&!y&&eh(t,e),children:[(0,a.jsxs)(A,{children:[(0,a.jsx)(E,{children:(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 px-2 py-1.5 hover:bg-accent hover:text-accent-foreground cursor-pointer rounded-md transition-colors",r&&"bg-accent text-accent-foreground",b&&"directory"===e.type&&"bg-blue-500/20 border border-blue-500",q?.path===e.path&&"opacity-50",y&&"opacity-75","group"),style:{paddingLeft:`${16*t+8}px`},onClick:()=>es(e),children:["directory"===e.type?(0,a.jsxs)(a.Fragment,{children:[s?(0,a.jsx)(u.A,{className:"w-4 h-4 text-muted-foreground"}):(0,a.jsx)(p.A,{className:"w-4 h-4 text-muted-foreground"}),w?(0,a.jsx)(c.A,{className:"w-4 h-4 text-orange-500"}):N?(0,a.jsx)(d.A,{className:"w-4 h-4 text-purple-500"}):s?(0,a.jsx)(m.A,{className:"w-4 h-4 text-blue-500"}):(0,a.jsx)(h.A,{className:"w-4 h-4 text-blue-500"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"w-4"}),(()=>{let t=(0,o.Gr)(e.path);return"image"===t?(0,a.jsx)(x.A,{className:"w-4 h-4 text-green-500"}):"video"===t?(0,a.jsx)(g.A,{className:"w-4 h-4 text-purple-500"}):(0,a.jsx)(f.A,{className:"w-4 h-4 text-muted-foreground"})})()]}),n?(0,a.jsx)($.p,{value:O,onChange:e=>B(e.target.value),onBlur:()=>en(e.path,e.type),onKeyDown:t=>{"Enter"===t.key?en(e.path,e.type):"Escape"===t.key&&(M(null),B(""))},className:"h-5 text-sm",autoFocus:!0,onClick:e=>e.stopPropagation()}):(0,a.jsxs)("span",{className:(0,l.cn)("text-sm flex-1",y&&"italic"),children:[e.name,y&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground ml-1",children:"(read-only)"})]})]})}),(0,a.jsxs)(T,{children:[!y&&(0,a.jsxs)(a.Fragment,{children:["directory"===e.type&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(P,{onClick:()=>ea(e.path),children:[(0,a.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"New File"]}),(0,a.jsxs)(P,{onClick:()=>er(e.path),children:[(0,a.jsx)(h.A,{className:"mr-2 h-4 w-4"}),"New Folder"]}),(0,a.jsxs)(P,{onClick:()=>Y.current?.click(),children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Upload Files"]})]}),(0,a.jsx)(P,{onClick:()=>{M(e.path),B(e.name)},children:"Rename"}),(0,a.jsx)(P,{onClick:()=>ei(e.path,e.type),className:"text-destructive",children:"Delete"})]}),y&&(0,a.jsxs)(P,{disabled:!0,children:[(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),"Read-only ",w?"server context":"skill"]})]})]}),"directory"===e.type&&s&&e.children&&(0,a.jsx)("div",{children:e.children.map(e=>eu(e,t+1))})]},e.path)};return(0,a.jsxs)("div",{className:"h-full flex flex-col",onDrop:el,onDragOver:e=>{e.preventDefault(),e.stopPropagation(),W(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation();let t=e.currentTarget.getBoundingClientRect(),s=e.clientX,a=e.clientY;(s=t.right||a=t.bottom)&&W(!1)},children:[(0,a.jsx)("input",{ref:Y,type:"file",multiple:!0,className:"hidden",onChange:async e=>{for(let t of Array.from(e.target.files||[]))await eo(t,"/");Y.current&&(Y.current.value="")}}),(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-files-active)"}}),k?(0,a.jsxs)("button",{type:"button",onClick:k,"aria-label":"Hide file explorer",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-files-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(b.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-files-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"File Explorer"})]}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>Y.current?.click(),title:"Upload files",children:(0,a.jsx)(v.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>ea("/"),title:"New file",children:(0,a.jsx)(f.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>er("/"),title:"New folder",children:(0,a.jsx)(h.A,{className:"h-3 w-3"})})]})]}),(0,a.jsxs)(A,{children:[(0,a.jsx)(E,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,l.cn)("flex-1 overflow-y-auto p-3 space-y-0.5 relative",U&&"bg-blue-500/10"),onDragOver:e=>{q&&(e.preventDefault(),e.stopPropagation(),V("/"))},onDrop:e=>{q&&eh(e,null)},children:[U&&(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:(0,a.jsxs)("div",{className:"bg-blue-500/20 border-2 border-dashed border-blue-500 rounded-lg p-8",children:[(0,a.jsx)(v.A,{className:"h-12 w-12 text-blue-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm text-blue-600",children:"Drop files here to upload"})]})}),0===I.length?(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center py-8",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)(h.A,{className:"h-12 w-12 mx-auto opacity-50 text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-base font-medium text-foreground",children:"No files yet"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Create your first file to get started"})]})]})}):(0,a.jsx)("div",{className:"contents",children:I.map(e=>eu(e))})]})}),(0,a.jsxs)(T,{children:[(0,a.jsxs)(P,{onClick:()=>ea("/"),children:[(0,a.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"New File"]}),(0,a.jsxs)(P,{onClick:()=>er("/"),children:[(0,a.jsx)(h.A,{className:"mr-2 h-4 w-4"}),"New Folder"]}),(0,a.jsxs)(P,{onClick:()=>Y.current?.click(),children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Upload Files"]}),(0,a.jsxs)(P,{onClick:()=>G(!H),children:[H?(0,a.jsx)(w.A,{className:"mr-2 h-4 w-4"}):(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),H?"Hide Hidden Files":"Show Hidden Files"]})]})]})]})}var L=s(49753),D=s(34091),R=s(8819),z=s(26316),M=s(93613),O=s(10218);function B({projectId:e,onFilesChange:t,onClose:s}){let[o,c]=(0,r.useState)(new Map),[d,m]=(0,r.useState)(null),{resolvedTheme:h}=(0,O.D)(),[u,p]=(0,r.useState)(!1),g=i().useRef(new Set),f=(e,t)=>{t&&t.stopPropagation();let s=o.get(e);if((!s?.modified||confirm(`Close ${s.file.name} without saving?`))&&(c(t=>{let s=new Map(t);return s.delete(e),s}),d===e)){let t=Array.from(o.keys()).filter(t=>t!==e);m(t.length>0?t[t.length-1]:null)}},v=(0,r.useCallback)((e,t)=>{void 0!==e&&"text"===b(t).type&&c(s=>{let a=new Map(s),r=a.get(t);if(r){let s=r.content!==e;a.set(t,{...r,content:e,modified:s})}return a})},[]),j=(0,r.useCallback)(async t=>{let s=o.get(t);if(s&&s.modified){g.current.add(t);try{await n.vfs.init();let a=await n.vfs.updateFile(e,t,s.content);c(e=>{let r=new Map(e);return r.set(t,{file:a,content:s.content,modified:!1}),r})}catch(e){l.v.error("Failed to save file:",e)}finally{setTimeout(()=>{g.current.delete(t)},100)}}},[o,e]);(0,r.useCallback)(e=>{(e.metaKey||e.ctrlKey)&&"s"===e.key&&(e.preventDefault(),d&&j(d))},[d,j]);let b=e=>{let t=e.split(".").pop()?.toLowerCase();if(["png","jpg","jpeg","gif","bmp","svg","webp"].includes(t||""))return{type:"image",language:"plaintext"};let s={js:"javascript",mjs:"javascript",ts:"typescript",tsx:"typescript",html:"html",htm:"html",css:"css",json:"json",md:"markdown",txt:"plaintext",xml:"xml",yaml:"yaml",yml:"yaml"};return s[t||""]?{type:"text",language:s[t||""]}:["zip","tar","gz","exe","bin","pdf","doc","docx","xls","xlsx","ppt","pptx"].includes(t||"")?{type:"unsupported",language:"plaintext"}:{type:"text",language:"plaintext"}},w=e=>b(e).language,k=d?o.get(d):null;return(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(D.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-editor-active)"}}),s?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Hide code editor",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(D.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-editor-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(D.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-editor-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Code Editor"})]}),k?.modified&&"text"===b(k.file.path).type&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",className:"h-5 px-2 gap-1.5",onClick:()=>j(d),children:[(0,a.jsx)(R.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-xs",children:"Save"})]})]}),0===o.size?(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center text-muted-foreground",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)(z.A,{className:"h-12 w-12 mx-auto opacity-50"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-base font-medium",children:"No files open"}),(0,a.jsx)("p",{className:"text-sm",children:"Select a file from the explorer to edit"})]})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"border-b bg-muted/70",children:(0,a.jsx)("div",{className:"flex items-center overflow-x-auto scrollbar-thin",children:Array.from(o.entries()).map(([e,t])=>(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 px-4 py-2.5 border-r cursor-pointer transition-all relative group",d===e?"bg-background border-b-2 border-b-primary shadow-sm":"hover:bg-muted/50 border-b-2 border-b-transparent"),onClick:()=>m(e),children:[(0,a.jsxs)("span",{className:"text-sm",children:[t.file.name,t.modified&&(0,a.jsx)("span",{className:"text-orange-500 ml-1",children:"●"})]}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-4 w-4 p-0 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>f(e,t),children:(0,a.jsx)(y.A,{className:"h-3 w-3 hover:text-destructive"})})]},e))})}),k&&(0,a.jsx)("div",{className:"flex-1 border-t",children:(()=>{let e=b(k.file.path);return"image"===e.type?(0,a.jsx)("div",{className:"h-full flex items-center justify-center bg-background p-8",children:(0,a.jsxs)("div",{className:"text-center space-y-4 max-w-2xl",children:[(0,a.jsx)(x.A,{className:"h-12 w-12 mx-auto text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Image Preview"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:k.file.name})]}),(0,a.jsx)("div",{className:"border rounded-lg p-4 bg-muted/30 max-h-96 overflow-auto",children:(0,a.jsx)("img",{src:`data:image/${k.file.path.split(".").pop()};base64,${k.content}`,alt:k.file.name,className:"max-w-full h-auto rounded shadow-sm",onError:e=>{let t=e.target;if(t.style.display="none",!t.parentElement?.querySelector(".error-msg")){let e=document.createElement("div");e.className="error-msg text-sm text-muted-foreground flex items-center gap-2",e.innerHTML='Unable to display image',t.parentElement?.appendChild(e)}}})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Image files cannot be edited in the text editor"})]})}):"unsupported"===e.type?(0,a.jsx)("div",{className:"h-full flex items-center justify-center bg-background p-8",children:(0,a.jsxs)("div",{className:"text-center space-y-4",children:[(0,a.jsx)(M.A,{className:"h-12 w-12 mx-auto text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Unsupported File Type"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:k.file.name}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground max-w-md",children:"This file type is not supported for editing in the text editor. Binary files and certain document formats cannot be displayed here."})]})]})}):(0,a.jsx)(L.Ay,{height:"100%",language:w(k.file.path),value:k.content,onChange:e=>v(e,k.file.path),theme:u?"dark"===h?"vs-dark":"light":"vs-dark",options:{minimap:{enabled:!1},fontSize:14,lineNumbers:"on",roundedSelection:!1,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2,wordWrap:"on",wrappingIndent:"indent"}})})()})]})]})}function U(e){window.dispatchEvent(new CustomEvent("openFile",{detail:e}))}var W=s(5643),q=s(28559),J=s(13943),_=s(84027),V=s(58887),H=s(48210),G=s(51567),Y=s(26627),K=s(4950),X=s(10158);let Z=new Set(["assistant_delta","tool_param_delta","reasoning_delta"]);class Q{async initDB(){if(this.isInitialized)return;let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));await e.init(),this.isInitialized=!0}async getDB(){let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));return e.getDatabase()}getDebugEventsId(e){return`debug_events_${e}`}async loadEvents(e){await this.initDB();let t=await this.getDB(),s=this.getDebugEventsId(e);return new Promise((a,r)=>{let i=t.transaction([this.storeName],"readonly").objectStore(this.storeName).get(s);i.onsuccess=()=>{let t=i.result;t&&t.events?(this.eventsCache.set(e,t.events),a(t.events)):a([])},i.onerror=()=>{l.v.error("Failed to load debug events from DB"),r(i.error)}})}async saveEvents(e,t){await this.initDB();let s=await this.getDB(),a={id:this.getDebugEventsId(e),projectId:e,events:t,lastUpdated:new Date().toISOString()};return new Promise((r,i)=>{let n=s.transaction([this.storeName],"readwrite").objectStore(this.storeName).put(a);n.onsuccess=()=>{this.eventsCache.set(e,t),r()},n.onerror=()=>{l.v.error("Failed to save debug events to DB"),i(n.error)}})}async appendEvent(e,t){let s=this.eventsCache.get(e);s||(s=await this.loadEvents(e)),s.push(t),this.eventsCache.set(e,s),Z.has(t.event)||await this.saveEvents(e,s)}async clearEvents(e){this.eventsCache.delete(e),await this.saveEvents(e,[]),l.v.debug(`[DebugEventsState] Cleared debug events for project ${e}`)}async truncateEvents(e,t){this.eventsCache.set(e,t),await this.saveEvents(e,t),l.v.debug(`[DebugEventsState] Truncated debug events for project ${e} to ${t.length} events`)}async getEvents(e){let t=this.eventsCache.get(e);return t||(t=await this.loadEvents(e)),t}async deleteProject(e){await this.initDB();let t=await this.getDB(),s=this.getDebugEventsId(e);return new Promise((a,r)=>{let i=t.transaction([this.storeName],"readwrite").objectStore(this.storeName).delete(s);i.onsuccess=()=>{this.eventsCache.delete(e),a()},i.onerror=()=>{l.v.error("Failed to delete debug events from DB"),r(i.error)}})}unloadProject(e){let t=this.eventsCache.has(e);this.eventsCache.delete(e),t&&l.v.debug(`[DebugEventsState] Unloaded debug events cache for project ${e}`)}constructor(){this.eventsCache=new Map,this.storeName="debugEvents",this.isInitialized=!1}}let ee=new Q;var et=s(81381),es=s(24527);let ea=({className:e,...t})=>(0,a.jsx)(es.YZ,{className:(0,l.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...t}),er=es.Zk,ei=({withHandle:e,className:t,...s})=>(0,a.jsx)(es.TW,{className:(0,l.cn)("group relative flex w-2 mx-1 items-center justify-center bg-transparent hover:bg-border/50 transition-colors after:absolute after:inset-y-0 after:left-1/2 after:w-4 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-2 data-[panel-group-direction=vertical]:my-1 data-[panel-group-direction=vertical]:mx-0 data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-4 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90 cursor-col-resize data-[panel-group-direction=vertical]:cursor-row-resize",t),...s,children:e&&(0,a.jsx)("div",{className:"z-10 flex h-12 w-1 items-center justify-center rounded-full bg-border/30 hover:bg-border/50 transition-colors opacity-0 group-hover:opacity-100",children:(0,a.jsx)(et.A,{className:"h-3 w-3 text-muted-foreground/50"})})});var en=s(80189),el=s(94742),eo=s(32623),ec=s(33135),ed=s(22926),em=s(13265),eh=s(2565),eu=s(47696),ep=s(88233),ex=s(24366),eg=s(3589),ef=s(38991);function ev(){let[e,t]=(0,r.useState)(null),[s,i]=(0,r.useState)(!1);return s&&e?(0,a.jsxs)("div",{className:`text-xs font-mono ${e.percent>80?"text-red-500":e.percent>60?"text-yellow-500":"text-muted-foreground"} flex items-center gap-1`,title:`JS Heap: ${e.usedMB}MB used / ${e.totalMB}MB limit (${e.percent}%)`,children:[(0,a.jsx)("span",{className:"opacity-60",children:"MEM:"}),(0,a.jsxs)("span",{children:[e.usedMB,"MB"]}),e.percent>60&&(0,a.jsxs)("span",{className:"opacity-60",children:["(",e.percent,"%)"]})]}):null}function ej({events:e,onClear:t,onClose:s,projectId:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(!0),d=(0,r.useRef)(null),[m,h]=(0,r.useState)(!0),[u,p]=(0,r.useState)(""),[x,g]=(0,r.useState)([]),[f,v]=(0,r.useState)(!1),j=(0,r.useRef)(null),b=(0,r.useMemo)(()=>{let t=[],s=null,a=new Set(["assistant_delta","tool_param_delta","reasoning_delta"]);for(let r of e)a.has(r.event)?s&&s.event===r.event?s.count=(s.count||1)+1:(s&&t.push(s),s={...r,count:1}):(s&&(t.push(s),s=null),t.push(r));return s&&t.push(s),t},[e]),w=async()=>{if(!u.trim()||!i||f)return;let e=u.trim();p(""),v(!0);try{let t=e.split(/\s+/),s=await ef._.execute(i,t),a=s.success?s.stdout||"(no output)":s.stderr||"Command failed";g(t=>[...t,{cmd:e,output:a,isError:!s.success}])}catch(t){g(s=>[...s,{cmd:e,output:`Error: ${t instanceof Error?t.message:"Unknown error"}`,isError:!0}])}finally{v(!1),setTimeout(()=>{j.current?.scrollTo({top:j.current.scrollHeight,behavior:"smooth"})},50)}},k=n?b.filter(e=>e.event.toLowerCase().includes(n.toLowerCase())):b,S=e.reduce((e,t)=>(e[t.event]=(e[t.event]||0)+1,e),{});return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-card border border-border rounded-lg overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border bg-muted/30 shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(H.A,{className:"h-4 w-4 md:hidden"}),s?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Hide debug panel",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(H.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0"}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(H.A,{className:"hidden h-4 w-4 md:inline-flex"}),(0,a.jsx)("span",{className:"font-semibold text-sm",children:"Debug Events"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",k.length,"/",e.length,")"]}),(0,a.jsx)(ev,{})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:()=>{t?.()},className:"h-7 px-2 hover:bg-muted",title:"Clear all events",children:(0,a.jsx)(ep.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:()=>{let t=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`debug-events-${Date.now()}.json`,a.click(),URL.revokeObjectURL(s)},className:"h-7 px-2 text-xs hover:bg-muted",title:"Export to JSON",children:"Export"})]})]}),(0,a.jsx)("div",{className:"p-2 border-b border-border bg-muted/20 text-xs",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(S).map(([e,t])=>(0,a.jsxs)("button",{onClick:()=>l(n===e?"":e),className:`px-2 py-1 rounded ${n===e?"bg-primary text-primary-foreground":"bg-muted hover:bg-muted/80"}`,children:[e," (",t,")"]},e))})}),(0,a.jsx)("div",{className:"p-2 border-b border-border",children:(0,a.jsx)("input",{type:"text",placeholder:"Filter events...",value:n,onChange:e=>l(e.target.value),className:"w-full px-2 py-1 text-xs rounded bg-background border border-border"})}),(0,a.jsx)("div",{className:"p-2 border-b border-border flex items-center gap-2",children:(0,a.jsxs)("label",{className:"text-xs flex items-center gap-1 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:m,onChange:e=>h(e.target.checked),className:"rounded"}),"Auto-scroll"]})}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto p-2 space-y-1",children:[0===k.length?(0,a.jsx)("div",{className:"text-xs text-muted-foreground text-center p-4",children:"No events yet. Events will appear here as they occur."}):k.map(e=>(0,a.jsx)(eb,{event:e},e.id)),(0,a.jsx)("div",{ref:d})]}),i&&(0,a.jsxs)("div",{className:"border-t border-border shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 bg-muted/30 border-b border-border",children:[(0,a.jsx)(ex.A,{className:"h-3 w-3 text-muted-foreground"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:"VFS Shell"}),x.length>0&&(0,a.jsx)("button",{onClick:()=>g([]),className:"ml-auto text-xs text-muted-foreground hover:text-foreground",children:"Clear"})]}),x.length>0&&(0,a.jsx)("div",{ref:j,className:"max-h-32 overflow-y-auto p-2 bg-zinc-950 font-mono text-xs",children:x.map((e,t)=>(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsxs)("div",{className:"text-emerald-400",children:["$ ",e.cmd]}),(0,a.jsx)("pre",{className:`whitespace-pre-wrap ${e.isError?"text-red-400":"text-zinc-300"}`,children:e.output})]},t))}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-2 bg-zinc-950",children:[(0,a.jsx)("span",{className:"text-emerald-400 font-mono text-xs",children:"$"}),(0,a.jsx)("input",{type:"text",value:u,onChange:e=>p(e.target.value),onKeyDown:e=>"Enter"===e.key&&w(),placeholder:"ls -la /.skills/",disabled:f,className:"flex-1 bg-transparent border-none outline-none text-xs font-mono text-zinc-100 placeholder:text-zinc-600"}),(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:w,disabled:f||!u.trim(),className:"h-6 px-2 text-xs text-zinc-400 hover:text-zinc-100 hover:bg-zinc-800",children:f?"...":"Run"})]})]})]})}function eb({event:e}){var t;let[s,i]=(0,r.useState)(!1),n=new Date(e.timestamp).toLocaleTimeString();return(0,a.jsxs)(eu.Nt,{open:s,onOpenChange:i,children:[(0,a.jsx)(eu.R6,{className:"w-full text-left",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 p-1.5 rounded hover:bg-muted/50 text-xs",children:[s?(0,a.jsx)(eg.A,{className:"h-3 w-3"}):(0,a.jsx)(u.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-muted-foreground font-mono",children:n}),(0,a.jsx)("span",{className:`font-semibold ${(t=e.event).includes("error")||t.includes("failed")?"text-red-500":t.includes("retry")?"text-yellow-500":t.includes("completed")||t.includes("success")?"text-green-500":t.includes("tool")?"text-blue-500":t.includes("agent")?"text-purple-500":t.includes("plan")?"text-orange-500":"text-foreground"}`,children:e.event}),e.count&&e.count>1&&(0,a.jsxs)("span",{className:"text-muted-foreground font-mono",children:["(",e.count,")"]})]})}),(0,a.jsx)(eu.Ke,{children:(0,a.jsx)("div",{className:"ml-6 p-2 bg-muted/30 rounded text-xs font-mono overflow-x-auto",children:(0,a.jsx)("pre",{children:JSON.stringify(e.data,null,2)})})})]})}var ey=s(41862),ew=s(5336),eN=s(35071),ek=s(27900),eS=s(80375),eC=s(78122),eA=s(78200),eE=s(6727),eT=s(83753),eP=s(86223),e$=s(15616),eF=s(97314);let eI=(0,s(24224).F)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),eL=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(eF.bL,{ref:s,className:(0,l.cn)("inline-flex items-center justify-center gap-1 rounded-md bg-muted p-1",e),...t}));eL.displayName=eF.bL.displayName;let eD=r.forwardRef(({className:e,variant:t,size:s,...r},i)=>(0,a.jsx)(eF.q7,{ref:i,className:(0,l.cn)(eI({variant:t,size:s}),e),...r}));eD.displayName=eF.q7.displayName;var eR=s(3145);let ez={shell:(0,a.jsx)(p.A,{className:"h-3 w-3 text-blue-500"}),json_patch:(0,a.jsx)(z.A,{className:"h-3 w-3 text-orange-500"})},eM={pending:(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-gray-400"}),executing:(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-500"}),completed:(0,a.jsx)(ew.A,{className:"h-3 w-3 text-green-500"}),failed:(0,a.jsx)(eN.A,{className:"h-3 w-3 text-red-500"})};function eO({events:e,onRestore:t,onRetry:s,prompt:i,setPrompt:n,generating:l,onGenerate:o,onStop:c,focusContext:d,setFocusContext:m,focusPreviewSnippet:h,chatMode:p,setChatMode:x,currentModel:g,setCurrentModel:f,getModelDisplayName:v,isTourLockingInput:j=!1,onClearChat:b,onClose:w}){let k=(0,r.useRef)(null),[S,C]=(0,r.useState)(!0),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)(new Set);(0,r.useRef)(!1);let $=(0,r.useRef)(0),F=(0,r.useRef)(new Map),I=(0,r.useRef)({result:[],currentTurn:{id:`turn-${Date.now()}`,items:[]},currentToolBatch:0,toolsByBatchAndIndex:new Map,itemIdCounter:0}),L=(0,r.useMemo)(()=>{let t,s=I.current,a=e.length-$.current;if(0===e.length||$.current>e.length)return $.current=0,F.current=new Map,I.current={result:[],currentTurn:{id:`turn-${Date.now()}`,items:[]},currentToolBatch:0,toolsByBatchAndIndex:new Map,itemIdCounter:0},[];let r=e[e.length-1],i=r&&("assistant_delta"===r.event||"tool_param_delta"===r.event||"reasoning_delta"===r.event),n=F.current.get(r?.id||""),l=i&&r.version&&n!==r.version;if(0===a&&!l)return[...s.result,...s.currentTurn.items.length>0?[s.currentTurn]:[]];for(let a of(l?(t=[r],F.current.set(r.id,r.version)):t=e.slice($.current),t))switch(a.event){case"waiting":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"waiting",timestamp:a.timestamp,data:null});break;case"reasoning_start":case"stopped":s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"reasoning_delta":let e=(a.data?.all||[a.data]).map(e=>e?.text||"").join("");if(!e.trim()){s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break}let t=s.currentTurn.items.find(e=>"reasoning"===e.type&&e.eventId===a.id);if(t)t.data=e;else{let t={id:`item-${s.itemIdCounter++}`,type:"reasoning",timestamp:a.timestamp,data:e,eventId:a.id};s.currentTurn.items.push(t)}s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"reasoning_complete":s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"toolCalls":let r=a.data?.toolCalls||[];for(let e=0;e"waiting"!==e.type);break;case"tool_status":let{toolIndex:i,status:n,result:l,error:o}=a.data||{},c=`${s.currentToolBatch-1}-${i}`,d=s.toolsByBatchAndIndex.get(c);d&&(d.status=n,l&&(d.result=l),o&&(d.error=o));break;case"tool_result":let m=a.data?.toolIndex,h=`${s.currentToolBatch-1}-${m}`,u=s.toolsByBatchAndIndex.get(h);u&&a.data?.result&&(u.result=a.data.result);break;case"tool_param_delta":for(let e of a.data?.all||[a.data]){let{toolId:t,partialArguments:a}=e||{};if(!t)continue;let r=s.currentTurn.items.find(e=>"tool"===e.type&&e.data?.id===t);if(r){let e=r.data;try{e.parameters=JSON.parse(a)}catch{e.parameters={_raw:a}}}}break;case"assistant_delta":let p=a.data?.all||[a.data],x=s.currentTurn.items.find(e=>"text"===e.type&&e.eventId===a.id),g=p.map(e=>e?.text||"").join("");if(g)if(x)x.data=g;else{let e={id:`item-${s.itemIdCounter++}`,type:"text",timestamp:a.timestamp,data:g,eventId:a.id};s.currentTurn.items.push(e)}s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"plan_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"plan",timestamp:a.timestamp,data:a.data?.content||""});break;case"agent_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"agent",timestamp:a.timestamp,data:a.data?.content||""});break;case"task_progress":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"progress",timestamp:a.timestamp,data:a.data?.content||""});break;case"conversation_message":let f=a.data?.message;if(f?.role==="user"){if(f.content?.includes("Before finishing, you must call the evaluation tool"))break;let e=f.ui_metadata?.isSyntheticError===!0;s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:e?"synthetic_error":"user",timestamp:a.timestamp,data:f.content||""})}break;case"user_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"user",timestamp:a.timestamp,data:a.data?.content||""});break;case"error":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"error",timestamp:a.timestamp,data:a.data}),s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"usage":s.currentTurn.usage=a.data,s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"checkpoint_created":s.currentTurn.checkpointId=a.data?.checkpointId;break;case"iteration":s.currentTurn.iteration=a.data?.iteration,s.currentTurn.items.length>0&&(s.result.push(s.currentTurn),s.currentTurn={id:`turn-${Date.now()}-${s.result.length}`,items:[]})}return l||($.current=e.length),[...s.result,...s.currentTurn.items.length>0?[s.currentTurn]:[]]},[e]),D=e=>{P(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},R=h?.trim()??"",z=d?(0,a.jsxs)("div",{id:"focus-context-hint",className:"rounded-md border border-dashed border-primary/40 bg-primary/5 px-3 py-2 text-xs text-muted-foreground shadow-sm",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 text-foreground",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-xs uppercase tracking-wide text-primary",children:"context"}),(0,a.jsx)("span",{className:"text-[10px] uppercase tracking-wide text-muted-foreground",children:"included in next message"})]}),(0,a.jsx)(N.$,{size:"sm",variant:"ghost",className:"h-6 px-2 text-xs",onClick:()=>m(null),title:"Clear focus context",children:"Clear"})]}),(0,a.jsxs)("div",{className:"mt-2 space-y-2",children:[d.domPath&&(0,a.jsx)("div",{className:"text-[11px] font-mono text-muted-foreground/80 break-all leading-snug",children:d.domPath}),R&&(0,a.jsx)("pre",{className:"max-h-24 overflow-auto rounded border border-border/50 bg-background/90 px-2 py-1 text-[11px] text-foreground leading-relaxed",children:(0,a.jsx)("code",{children:R})})]})]}):null;return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-card border border-border rounded-lg overflow-hidden","data-tour-id":"assistant-panel",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border bg-muted/30 shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(V.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-assistant-active)"}}),w?(0,a.jsxs)("button",{type:"button",onClick:w,"aria-label":"Hide chat panel",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(V.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-assistant-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(V.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-assistant-active)"}}),(0,a.jsx)("span",{className:"font-semibold text-sm",children:"Chat"})]}),(0,a.jsx)("div",{className:"flex items-center gap-1",children:b&&(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:b,className:"h-7 px-2 hover:bg-muted",title:"Clear chat","data-tour-id":"clear-chat-button",children:(0,a.jsx)(ep.A,{className:"h-3 w-3"})})})]}),(0,a.jsx)("div",{ref:k,className:"flex-1 overflow-y-auto p-4 space-y-4",children:0===L.length?(0,a.jsx)("div",{className:"text-xs text-muted-foreground text-center p-4",children:"No messages yet. Start a conversation to see it here."}):L.map(e=>(0,a.jsx)(eB,{turn:e,onRestore:t,onRetry:s,expandedItems:T,onToggleExpanded:D},e.id))}),(0,a.jsxs)("div",{className:"p-3 space-y-2",children:[z,(0,a.jsxs)("div",{className:"bg-card border border-border rounded-lg shadow-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"relative flex bg-card rounded-lg transition-all",children:[(0,a.jsx)(e$.T,{value:i,onChange:e=>n(e.target.value),onKeyDown:e=>{!j&&"Enter"===e.key&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),o())},placeholder:"Describe what you want to build...",className:"flex-1 px-3 py-2 bg-transparent border-0 resize-none focus:outline-none text-sm placeholder:text-muted-foreground text-foreground",rows:3,disabled:l||j}),(0,a.jsx)("div",{className:"flex flex-col p-2 gap-2",children:(0,a.jsx)(N.$,{onClick:l?c:o,disabled:j?!l:!l&&!i.trim(),size:"sm",className:"flex items-center gap-2",children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ey.A,{className:"h-4 w-4 animate-spin"}),"Stop"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ek.A,{className:"h-4 w-4"}),"Send"]})})})]}),(0,a.jsx)("div",{className:"border-t border-border bg-muted/50 px-2 py-2",children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsxs)(ec.AM,{open:A,onOpenChange:E,children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"h-7 text-xs","data-tour-id":"provider-settings-trigger",children:[(0,a.jsx)("span",{children:v(g)}),A?(0,a.jsx)(u.A,{className:"h-3 w-3 ml-1"}):(0,a.jsx)(eg.A,{className:"h-3 w-3 ml-1"})]})}),(0,a.jsx)(ec.hl,{className:"w-[36rem] max-w-[calc(100vw-2rem)]",align:"start","data-tour-id":"provider-settings-popup",children:(0,a.jsx)(eR.t,{onClose:()=>E(!1),onModelChange:e=>f(e)})})]}),(0,a.jsxs)(eL,{type:"single",value:p?"chat":"code",onValueChange:e=>{e&&x("chat"===e)},className:"gap-1",children:[(0,a.jsxs)(eD,{value:"chat",className:"h-7 text-xs px-2",children:[(0,a.jsx)(V.A,{className:"h-3 w-3 mr-1"}),"Chat"]}),(0,a.jsxs)(eD,{value:"code",className:"h-7 text-xs px-2",children:[(0,a.jsx)(eS.A,{className:"h-3 w-3 mr-1"}),"Code"]})]})]})})]})]})]})}function eB({turn:e,onRestore:t,onRetry:s,expandedItems:r,onToggleExpanded:i}){return(0,a.jsxs)("div",{className:"space-y-2",children:[e.items.map(e=>{switch(e.type){case"waiting":return(0,a.jsx)("div",{className:"bg-muted/30 rounded-md p-2 opacity-70",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-400"}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Waiting for response..."})]})},e.id);case"reasoning":return(0,a.jsx)(eq,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"plan":return(0,a.jsx)(eJ,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"agent":return(0,a.jsx)(e_,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"progress":return(0,a.jsx)(eV,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"tool":return(0,a.jsx)(eU,{itemId:e.id,tool:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"text":return(0,a.jsx)("div",{className:"text-sm text-foreground/90 bg-muted/20 px-3 py-2 rounded",children:(0,a.jsx)(eP.T,{content:e.data})},e.id);case"user":return(0,a.jsxs)("div",{className:"text-sm text-foreground bg-primary/10 px-3 py-2 rounded border border-primary/20",children:[(0,a.jsx)("div",{className:"font-semibold text-primary mb-1 text-xs",children:"User"}),(0,a.jsx)("div",{className:"whitespace-pre-wrap",children:e.data})]},e.id);case"synthetic_error":return(0,a.jsx)(eW,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"error":return(0,a.jsx)("div",{className:"text-sm bg-destructive/10 border border-destructive/20 px-3 py-2 rounded",children:(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)(eN.A,{className:"h-4 w-4 text-destructive mt-0.5 shrink-0"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"font-semibold text-destructive mb-1",children:"Error"}),(0,a.jsx)("div",{className:"text-destructive/90 whitespace-pre-wrap font-mono text-xs",children:e.data?.message||JSON.stringify(e.data,null,2)}),e.data?.stack&&(0,a.jsxs)("details",{className:"mt-2",children:[(0,a.jsx)("summary",{className:"text-xs text-destructive/70 cursor-pointer hover:text-destructive",children:"Stack trace"}),(0,a.jsx)("pre",{className:"text-[10px] text-destructive/60 mt-1 overflow-x-auto",children:e.data.stack})]})]})]})},e.id);default:return null}}),(e.usage||e.checkpointId)&&(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[e.usage&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Tokens: ",(e.usage.usage?.totalTokens||e.usage.totalTokens)?.toLocaleString()||"N/A",(void 0!==e.usage.totalCost||void 0!==e.usage.cost)&&` • Cost: $${((e.usage.totalCost??e.usage.cost)||0).toFixed(4)}`]}),e.checkpointId&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[t&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",onClick:()=>t(e.checkpointId),className:"h-6 px-2 text-xs",title:"Restore to this checkpoint",children:[(0,a.jsx)(J.A,{className:"h-3 w-3 mr-1"}),"Restore"]}),s&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",onClick:()=>s(e.checkpointId),className:"h-6 px-2 text-xs",title:"Restore files and retry from this checkpoint",children:[(0,a.jsx)(eC.A,{className:"h-3 w-3 mr-1"}),"Retry"]})]})]})]})}function eU({itemId:e,tool:t,isExpanded:s,onToggle:r}){return(0,a.jsxs)("div",{className:`bg-muted/30 rounded-md transition-all ${"executing"===t.status?"ring-2 ring-blue-500/20 animate-pulse":""} ${s?"p-2":"p-1.5"}`,children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[ez[t.name]||(0,a.jsx)(p.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:t.name})]}),"shell"===t.name&&t.parameters?.cmd&&(0,a.jsx)("code",{className:"text-xs text-muted-foreground",children:Array.isArray(t.parameters.cmd)?t.parameters.cmd.slice(1).join(" ").substring(0,50):String(t.parameters.cmd).substring(0,50)}),(t.parameters?.path||t.parameters?.file_path)&&(0,a.jsx)("code",{className:"text-xs text-muted-foreground",children:t.parameters.path||t.parameters.file_path}),(0,a.jsx)("div",{className:"ml-auto",children:eM[t.status||"completed"]})]}),s&&(0,a.jsxs)("div",{className:"mt-2 space-y-2",children:[t.parameters&&Object.keys(t.parameters).length>0&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Parameters"}),(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto",children:JSON.stringify(t.parameters,null,2)})]}),t.result&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Result"}),(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto max-h-40 overflow-y-auto",children:"string"==typeof t.result?t.result:JSON.stringify(t.result,null,2)})]}),t.error&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-destructive mb-1",children:"Error"}),(0,a.jsx)("pre",{className:"text-xs bg-destructive/10 text-destructive p-2 rounded overflow-x-auto",children:t.error})]})]})]})}function eW({itemId:e,content:t,isExpanded:s,onToggle:r}){return(0,a.jsxs)("div",{className:`bg-amber-500/10 rounded-md transition-all ${s?"p-2":"p-1.5"}`,children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-amber-500/20 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eC.A,{className:"h-3 w-3 text-amber-600"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"Auto-correction"})]}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(ew.A,{className:"h-3 w-3 text-amber-600"})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eq({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=(t||"").split("\n").filter(e=>e.trim()),n=i[0]?.substring(0,60)||"Reasoning...",l=!t||t.length<20;return(0,a.jsxs)("div",{className:"bg-violet-500/10 rounded-md transition-all p-1.5 border border-violet-500/20",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-violet-500/20 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[l?(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-violet-500"}):(0,a.jsx)(eA.A,{className:"h-3 w-3 text-violet-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"reasoning"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:l?"Thinking...":n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("div",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto max-h-64 overflow-y-auto",children:(0,a.jsx)(eP.T,{content:t||"Thinking..."})})})]})}function eJ({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.split("\n"),n=i[0]?.replace(/^\*\*|\*\*$/g,"").substring(0,50)||"Plan";return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eE.A,{className:"h-3 w-3 text-orange-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"plan"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function e_({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.split("\n"),n=i[0]?.replace(/^\*\*|\*\*$/g,"").replace(/^🤖\s*/,"").substring(0,50)||"Agent";return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eT.A,{className:"h-3 w-3 text-purple-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"agent"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eV({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.includes("✅"),n=t.replace(/^[✅🔄]\s*/,"").substring(0,50);return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[i?(0,a.jsx)(ew.A,{className:"h-3 w-3 text-green-500"}):(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"progress"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}var eH=s(61611),eG=s(63974);function eY({projectId:e,selectedSiteId:t,onSiteChange:s,className:i}){let[n,o]=(0,r.useState)([]),[d,m]=(0,r.useState)(!0),[h,u]=(0,r.useState)(null),p=n.filter(e=>e.databaseEnabled);if(!d&&0===p.length)return null;if(d)return(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 text-sm text-muted-foreground",i),children:[(0,a.jsx)(ey.A,{className:"h-4 w-4 animate-spin"}),(0,a.jsx)("span",{children:"Loading sites..."})]});if(h)return(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 text-sm text-destructive",i),children:[(0,a.jsx)(c.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:h})]});let x=n.find(e=>e.id===t);return(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2",i),children:[(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:(0,a.jsx)(eH.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(en.ZI,{side:"bottom",children:[(0,a.jsx)("p",{children:"Server Context"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Connect to a site for database, edge functions, and secrets"})]})]}),(0,a.jsxs)(eG.l6,{value:t||"none",onValueChange:e=>{if("none"===e)s(null,null);else{let t=n.find(t=>t.id===e);s(e,t?.name||null)}},children:[(0,a.jsx)(eG.bq,{size:"sm",className:"w-[180px] h-8",children:(0,a.jsx)(eG.yv,{placeholder:"No site connected"})}),(0,a.jsxs)(eG.gC,{children:[(0,a.jsx)(eG.eb,{value:"none",children:(0,a.jsx)("span",{className:"text-muted-foreground",children:"No site"})}),p.map(e=>(0,a.jsx)(eG.eb,{value:e.id,children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c.A,{className:"h-3.5 w-3.5"}),(0,a.jsx)("span",{children:e.name})]})},e.id))]})]}),x&&(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)(N.$,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>s(null,null),children:(0,a.jsx)(y.A,{className:"h-4 w-4"})})}),(0,a.jsx)(en.ZI,{children:"Disconnect site"})]})]})}function eK({project:e,onBack:t}){let[s,i]=(0,r.useState)(0),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(!1),[h,u]=(0,r.useState)(null),[p,x]=(0,r.useState)(null),[g,f]=(0,r.useState)("preview"),[v,y]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),[S,C]=(0,r.useState)(e.lastSavedAt??null),[A,E]=(0,r.useState)(null),[T,P]=(0,r.useState)(()=>!1),$=(0,r.useRef)(null),L=(0,r.useRef)(null),z=(0,r.useRef)(!1),[M,O]=(0,r.useState)(null),[Z,Q]=(0,r.useState)(K.s.getDefaultModel()),[et,es]=(0,r.useState)(!1),[eu,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(0),{state:ef,start:ev,setWorkspaceHandler:eb}=(0,eh.C)(),ey=ef.currentStep?.id,ew="running"===ef.status&&"wrap-up"!==ey,{shouldShowCosts:eN}=function(){let[e,t]=(0,r.useState)(()=>K.s.getCostSettings()),s=!1!==e.showCosts;return{costSettings:e,shouldShowCosts:s}}(),[ek,eS]=(0,r.useState)(!0),[eC,eA]=(0,r.useState)(!0),[eE,eT]=(0,r.useState)(!1),[eP,e$]=(0,r.useState)(!0),[eF,eI]=(0,r.useState)(!1),[eL,eD]=(0,r.useState)(null),[eR,ez]=(0,r.useState)(null),[eM,eB]=(0,r.useState)([]),eU=(0,r.useRef)(0),eW=(0,r.useRef)(null),eq=(0,r.useCallback)(t=>{eW.current&&clearTimeout(eW.current),eW.current=setTimeout(()=>{ee.saveEvents(e.id,t).catch(e=>{l.v.error("Failed to persist debug events:",e)})},500)},[e.id]),eJ=(0,r.useCallback)(async(e,t)=>{eB(s=>{let a;if(("assistant_delta"===e||"tool_param_delta"===e||"reasoning_delta"===e)&&s.length>0){let r=s[s.length-1];if(r.event===e){let e={...r,timestamp:Date.now(),version:(r.version||1)+1,count:(r.count||1)+1,data:{all:r.data.all?[...r.data.all,t]:[r.data,t]}};return eq(a=[...s.slice(0,-1),e]),a}}return(a=[...s,{id:`${Date.now()}-${eU.current++}`,timestamp:Date.now(),event:e,data:t,count:1,version:1}]).length>500&&(a=a.slice(-500)),eq(a),a})},[e.id,eq,500]),e_=(0,r.useCallback)(async()=>{eB([]),await ee.clearEvents(e.id),await el.Y.clearAutoCheckpoints(e.id),x(null)},[e.id]),eV=(()=>{let e=[ek,eC,eE,eP,eF].filter(Boolean).length;return 5===e?{chat:20,files:15,editor:25,preview:20,debug:20}:4===e?{chat:25,files:15,editor:35,preview:25,debug:0}:3===e?{chat:33,files:33,editor:33,preview:33,debug:0}:2===e?{chat:50,files:50,editor:50,preview:50,debug:0}:{chat:100,files:100,editor:100,preview:100,debug:0}})(),eH=e=>{if(!e)return"Select Model";let t=e.split("/");return t[t.length-1].split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")},eG=(0,r.useCallback)((e,t=1200)=>{if(!e)return"";if(e.length<=t)return e;let s=Math.max(0,Math.floor(.6*t)),a=Math.max(0,Math.floor(.3*t)),r=e.slice(0,s),i=a>0?e.slice(-a):"";return`${r} +Choose OK to REPLACE all current data, or Cancel to MERGE with existing data.`);await C.importAllData(t,{mode:s?"replace":"merge",onProgress:(e,t)=>{M(e),B(t)}}),m.oR.success("Data imported successfully!"),setTimeout(()=>window.location.reload(),1e3)}catch(e){m.oR.error(e instanceof Error?e.message:"Import failed")}finally{R(!1),M(0),B("")}},e.click()},disabled:D,className:"flex items-center gap-2",children:[(0,a.jsx)(j.A,{className:"h-4 w-4"}),D?"Importing...":"Import"]})]}),D&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,a.jsx)("span",{children:O}),(0,a.jsxs)("span",{children:[z,"%"]})]}),(0,a.jsx)("div",{className:"w-full bg-muted rounded-full h-2",children:(0,a.jsx)("div",{className:"bg-primary h-2 rounded-full transition-all duration-300",style:{width:`${z}%`}})})]})]})]})]})]}),(0,a.jsxs)("div",{className:"flex justify-between pt-4 px-3 border-t mt-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(n.$,{variant:"destructive",onClick:()=>{confirm("Are you sure you want to clear all settings?")&&(i.s.clearSettings(),s({}),m.oR.success("Settings cleared"))},children:"Clear All Settings"}),(0,a.jsxs)(n.$,{variant:"outline",onClick:()=>$(!0),children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"About OSW Studio"]})]}),e&&(0,a.jsx)(n.$,{onClick:e,children:"Close"})]}),(0,a.jsx)(w.V,{open:F,onOpenChange:$})]})}},30758:e=>{e.exports={rE:"1.22.0"}},35157:(e,t,s)=>{s.d(t,{a:()=>eG});var a=s(60687),r=s(43210),i=s.n(r),n=s(68269),l=s(96241),o=s(24923),c=s(24413),d=s(82080),m=s(18179),u=s(82570),h=s(78272),p=s(14952),x=s(9005),g=s(2943),f=s(78464),v=s(16023),j=s(13861),b=s(33427),y=s(11860),w=s(12597),N=s(24934),k=s(65915),S=s(13964),C=s(65822);let A=k.bL,E=k.l9;k.YJ,k.ZL,k.Pb,k.z6,r.forwardRef(({className:e,inset:t,children:s,...r},i)=>(0,a.jsxs)(k.ZP,{ref:i,className:(0,l.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[s,(0,a.jsx)(p.A,{className:"ml-auto h-4 w-4"})]})).displayName=k.ZP.displayName,r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.G5,{ref:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})).displayName=k.G5.displayName;let T=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.ZL,{children:(0,a.jsx)(k.UC,{ref:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));T.displayName=k.UC.displayName;let P=r.forwardRef(({className:e,inset:t,...s},r)=>(0,a.jsx)(k.q7,{ref:r,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...s}));P.displayName=k.q7.displayName,r.forwardRef(({className:e,children:t,checked:s,...r},i)=>(0,a.jsxs)(k.H_,{ref:i,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:s,...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(k.VF,{children:(0,a.jsx)(S.A,{className:"h-4 w-4"})})}),t]})).displayName=k.H_.displayName,r.forwardRef(({className:e,children:t,...s},r)=>(0,a.jsxs)(k.hN,{ref:r,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...s,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(k.VF,{children:(0,a.jsx)(C.A,{className:"h-2 w-2 fill-current"})})}),t]})).displayName=k.hN.displayName,r.forwardRef(({className:e,inset:t,...s},r)=>(0,a.jsx)(k.JU,{ref:r,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...s})).displayName=k.JU.displayName,r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.wv,{ref:s,className:(0,l.cn)("-mx-1 my-1 h-px bg-border",e),...t})).displayName=k.wv.displayName;var F=s(68988),$=s(52581);function I({projectId:e,onFileSelect:t,selectedPath:i,onClose:k}){let[S,C]=(0,r.useState)([]),[I,L]=(0,r.useState)([]),[D,R]=(0,r.useState)(new Set(["/"])),[z,M]=(0,r.useState)(null),[O,B]=(0,r.useState)(""),[U,W]=(0,r.useState)(!1),[_,q]=(0,r.useState)(null),[J,V]=(0,r.useState)(null),[H,G]=(0,r.useState)(!1),Y=(0,r.useRef)(null),K=e=>e.startsWith("/.skills/")||e.startsWith("/.server/")||"/.skills"===e||"/.server"===e,X=e=>e.startsWith("/.server/")||"/.server"===e,Z=e=>e.startsWith("/.skills/")||"/.skills"===e,Q=(0,r.useCallback)(async()=>{try{await n.vfs.init();let t=await n.vfs.getAllFilesAndDirectories(e);if(H){let a=(await n.vfs.listDirectory(e,"/",{includeTransient:!0})).filter(e=>e.path.startsWith("/.")),{skillsService:r}=await Promise.resolve().then(s.bind(s,26091)),i=await r.getEnabledSkills(),l=new Set(i.map(e=>`/.skills/${e.id}.md`)),o=a.filter(e=>!e.path.startsWith("/.skills/")||l.has(e.path));t.push(...o)}let a=t.filter(e=>"directory"!==e.type);C(a),L(ee(t,H))}catch(e){l.v.error("Failed to load files:",e)}},[e,H]),ee=(e,t)=>{let s=t?e:e.filter(e=>!e.path.startsWith("/.")),a=[],r=new Map;s.forEach(e=>{if("directory"===e.type){let t=e.path.split("/").filter(Boolean),s={path:e.path,name:e.name||t[t.length-1]||"unnamed",type:"directory",children:[]};r.set(e.path,s)}}),s.forEach(e=>{if("directory"!==e.type){let t=e.path.split("/").filter(Boolean),s="";for(let e=0;e{let s=t.split("/").filter(Boolean);if(1===s.length)a.push(e);else{let t="/"+s.slice(0,-1).join("/"),a=r.get(t);a&&a.children&&a.children.push(e)}}),e.forEach(e=>{if("directory"!==e.type){let t=e.path.split("/").filter(Boolean),s={path:e.path,name:e.name,type:"file"};if(1===t.length)a.push(s);else{let e="/"+t.slice(0,-1).join("/"),a=r.get(e);a&&a.children?.push(s)}}});let i=e=>{e.sort((e,t)=>e.type===t.type?e.name.localeCompare(t.name):"directory"===e.type?-1:1),e.forEach(e=>{e.children&&i(e.children)})};return i(a),a},et=e=>{R(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},es=async e=>{if("directory"===e.type)et(e.path);else{let s=S.find(t=>t.path===e.path);s&&t&&t(s)}},ea=async(t="/")=>{let s=prompt("Enter file name:");if(!s)return;let a="/"===t?`/${s}`:`${t}/${s}`;try{await n.vfs.createFile(e,a,""),await Q()}catch(e){l.v.error("Failed to create file:",e)}},er=async(t="/")=>{let s=prompt("Enter directory name:");if(!s)return;let a="/"===t?`/${s}`:`${t}/${s}`;try{await n.vfs.createDirectory(e,a),await Q()}catch(e){l.v.error("Failed to create directory:",e)}},ei=async(t,s)=>{if(confirm(`Delete ${s} "${t}"?`))try{"file"===s?await n.vfs.deleteFile(e,t):await n.vfs.deleteDirectory(e,t),await Q()}catch(e){l.v.error(`Failed to delete ${s}:`,e)}},en=async(t,s)=>{if(!O)return;let a=t.split("/");a[a.length-1]=O;let r=a.join("/");try{"directory"===s?await n.vfs.renameDirectory(e,t,r):await n.vfs.renameFile(e,t,r),await Q(),M(null),B("")}catch(e){l.v.error(`Failed to rename ${s}:`,e)}},el=async e=>{for(let t of(e.preventDefault(),e.stopPropagation(),W(!1),Array.from(e.dataTransfer.items)))if("file"===t.kind){let e=t.getAsFile();e&&await eo(e,"/")}},eo=async(t,s)=>{if(!(0,o.fu)(t.name))return void $.oR.error(`File type not supported: ${t.name}`);let a=(0,o.Gr)(t.name),r=o.Q6[a];if(t.size>r)return void $.oR.error(`File too large: ${t.name}. Maximum size is ${Math.round(r/1024/1024)}MB`);let i="/"===s?`/${t.name}`:`${s}/${t.name}`;try{let s;s="image"===a||"video"===a||"binary"===a?await t.arrayBuffer():await t.text(),await n.vfs.createFile(e,i,s),await Q(),$.oR.success(`Uploaded ${t.name}`)}catch(a){if(a.message?.includes("already exists")){if(confirm(`File "${t.name}" already exists. Overwrite?`))try{await n.vfs.deleteFile(e,i),await eo(t,s)}catch(e){l.v.error("Failed to overwrite file:",e),$.oR.error("Failed to overwrite file")}}else l.v.error("Failed to upload file:",a),$.oR.error(`Failed to upload ${t.name}: ${a.message}`)}},ec=(e,t)=>{e.stopPropagation(),q(t),e.dataTransfer.effectAllowed="move"},ed=()=>{q(null),V(null)},em=(e,t)=>{e.preventDefault(),e.stopPropagation(),_&&t!==_.path&&(e.dataTransfer.dropEffect="move",V(t))},eu=async(t,s)=>{if(t.preventDefault(),t.stopPropagation(),!_||s&&_.path===s.path)return void V(null);let a=s&&"directory"===s.type?s.path:"/";if("directory"===_.type){let e=_.path.endsWith("/")?_.path:_.path+"/";if((a.endsWith("/")?a:a+"/").startsWith(e)){$.oR.error("Cannot move a folder into itself"),V(null);return}}let r=_.name,i="/"===a?`/${r}`:`${a}/${r}`;try{"directory"===_.type?await n.vfs.moveDirectory(e,_.path,i):await n.vfs.moveFile(e,_.path,i),await Q(),$.oR.success(`Moved ${_.name} to ${"/"===a?"root":a}`)}catch(e){l.v.error("Failed to move item:",e),$.oR.error(`Failed to move: ${e.message}`)}V(null)},eh=(e,t=0)=>{let s=D.has(e.path),r=i===e.path,n=z===e.path,b=J===e.path,y=K(e.path),w=X(e.path),N=Z(e.path);return(0,a.jsxs)("div",{draggable:!n&&!y,onDragStart:t=>!y&&ec(t,e),onDragEnd:ed,onDragOver:t=>"directory"===e.type&&!y&&em(t,e.path),onDrop:t=>"directory"===e.type&&!y&&eu(t,e),children:[(0,a.jsxs)(A,{children:[(0,a.jsx)(E,{children:(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 px-2 py-1.5 hover:bg-accent hover:text-accent-foreground cursor-pointer rounded-md transition-colors",r&&"bg-accent text-accent-foreground",b&&"directory"===e.type&&"bg-blue-500/20 border border-blue-500",_?.path===e.path&&"opacity-50",y&&"opacity-75","group"),style:{paddingLeft:`${16*t+8}px`},onClick:()=>es(e),children:["directory"===e.type?(0,a.jsxs)(a.Fragment,{children:[s?(0,a.jsx)(h.A,{className:"w-4 h-4 text-muted-foreground"}):(0,a.jsx)(p.A,{className:"w-4 h-4 text-muted-foreground"}),w?(0,a.jsx)(c.A,{className:"w-4 h-4 text-orange-500"}):N?(0,a.jsx)(d.A,{className:"w-4 h-4 text-purple-500"}):s?(0,a.jsx)(m.A,{className:"w-4 h-4 text-blue-500"}):(0,a.jsx)(u.A,{className:"w-4 h-4 text-blue-500"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"w-4"}),(()=>{let t=(0,o.Gr)(e.path);return"image"===t?(0,a.jsx)(x.A,{className:"w-4 h-4 text-green-500"}):"video"===t?(0,a.jsx)(g.A,{className:"w-4 h-4 text-purple-500"}):(0,a.jsx)(f.A,{className:"w-4 h-4 text-muted-foreground"})})()]}),n?(0,a.jsx)(F.p,{value:O,onChange:e=>B(e.target.value),onBlur:()=>en(e.path,e.type),onKeyDown:t=>{"Enter"===t.key?en(e.path,e.type):"Escape"===t.key&&(M(null),B(""))},className:"h-5 text-sm",autoFocus:!0,onClick:e=>e.stopPropagation()}):(0,a.jsxs)("span",{className:(0,l.cn)("text-sm flex-1",y&&"italic"),children:[e.name,y&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground ml-1",children:"(read-only)"})]})]})}),(0,a.jsxs)(T,{children:[!y&&(0,a.jsxs)(a.Fragment,{children:["directory"===e.type&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(P,{onClick:()=>ea(e.path),children:[(0,a.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"New File"]}),(0,a.jsxs)(P,{onClick:()=>er(e.path),children:[(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4"}),"New Folder"]}),(0,a.jsxs)(P,{onClick:()=>Y.current?.click(),children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Upload Files"]})]}),(0,a.jsx)(P,{onClick:()=>{M(e.path),B(e.name)},children:"Rename"}),(0,a.jsx)(P,{onClick:()=>ei(e.path,e.type),className:"text-destructive",children:"Delete"})]}),y&&(0,a.jsxs)(P,{disabled:!0,children:[(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),"Read-only ",w?"server context":"skill"]})]})]}),"directory"===e.type&&s&&e.children&&(0,a.jsx)("div",{children:e.children.map(e=>eh(e,t+1))})]},e.path)};return(0,a.jsxs)("div",{className:"h-full flex flex-col",onDrop:el,onDragOver:e=>{e.preventDefault(),e.stopPropagation(),W(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation();let t=e.currentTarget.getBoundingClientRect(),s=e.clientX,a=e.clientY;(s=t.right||a=t.bottom)&&W(!1)},children:[(0,a.jsx)("input",{ref:Y,type:"file",multiple:!0,className:"hidden",onChange:async e=>{for(let t of Array.from(e.target.files||[]))await eo(t,"/");Y.current&&(Y.current.value="")}}),(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-files-active)"}}),k?(0,a.jsxs)("button",{type:"button",onClick:k,"aria-label":"Hide file explorer",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-files-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(b.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-files-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"File Explorer"})]}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>Y.current?.click(),title:"Upload files",children:(0,a.jsx)(v.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>ea("/"),title:"New file",children:(0,a.jsx)(f.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>er("/"),title:"New folder",children:(0,a.jsx)(u.A,{className:"h-3 w-3"})})]})]}),(0,a.jsxs)(A,{children:[(0,a.jsx)(E,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,l.cn)("flex-1 overflow-y-auto p-3 space-y-0.5 relative",U&&"bg-blue-500/10"),onDragOver:e=>{_&&(e.preventDefault(),e.stopPropagation(),V("/"))},onDrop:e=>{_&&eu(e,null)},children:[U&&(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:(0,a.jsxs)("div",{className:"bg-blue-500/20 border-2 border-dashed border-blue-500 rounded-lg p-8",children:[(0,a.jsx)(v.A,{className:"h-12 w-12 text-blue-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm text-blue-600",children:"Drop files here to upload"})]})}),0===I.length?(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center py-8",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)(u.A,{className:"h-12 w-12 mx-auto opacity-50 text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-base font-medium text-foreground",children:"No files yet"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Create your first file to get started"})]})]})}):(0,a.jsx)("div",{className:"contents",children:I.map(e=>eh(e))})]})}),(0,a.jsxs)(T,{children:[(0,a.jsxs)(P,{onClick:()=>ea("/"),children:[(0,a.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"New File"]}),(0,a.jsxs)(P,{onClick:()=>er("/"),children:[(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4"}),"New Folder"]}),(0,a.jsxs)(P,{onClick:()=>Y.current?.click(),children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Upload Files"]}),(0,a.jsxs)(P,{onClick:()=>G(!H),children:[H?(0,a.jsx)(w.A,{className:"mr-2 h-4 w-4"}):(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),H?"Hide Hidden Files":"Show Hidden Files"]})]})]})]})}var L=s(49753),D=s(34091),R=s(8819),z=s(26316),M=s(93613),O=s(10218);function B({projectId:e,onFilesChange:t,onClose:s}){let[o,c]=(0,r.useState)(new Map),[d,m]=(0,r.useState)(null),{resolvedTheme:u}=(0,O.D)(),[h,p]=(0,r.useState)(!1),g=i().useRef(new Set),f=(e,t)=>{t&&t.stopPropagation();let s=o.get(e);if((!s?.modified||confirm(`Close ${s.file.name} without saving?`))&&(c(t=>{let s=new Map(t);return s.delete(e),s}),d===e)){let t=Array.from(o.keys()).filter(t=>t!==e);m(t.length>0?t[t.length-1]:null)}},v=(0,r.useCallback)((e,t)=>{void 0!==e&&"text"===b(t).type&&c(s=>{let a=new Map(s),r=a.get(t);if(r){let s=r.content!==e;a.set(t,{...r,content:e,modified:s})}return a})},[]),j=(0,r.useCallback)(async t=>{let s=o.get(t);if(s&&s.modified){g.current.add(t);try{await n.vfs.init();let a=await n.vfs.updateFile(e,t,s.content);c(e=>{let r=new Map(e);return r.set(t,{file:a,content:s.content,modified:!1}),r})}catch(e){l.v.error("Failed to save file:",e)}finally{setTimeout(()=>{g.current.delete(t)},100)}}},[o,e]);(0,r.useCallback)(e=>{(e.metaKey||e.ctrlKey)&&"s"===e.key&&(e.preventDefault(),d&&j(d))},[d,j]);let b=e=>{let t=e.split(".").pop()?.toLowerCase();if(["png","jpg","jpeg","gif","bmp","svg","webp"].includes(t||""))return{type:"image",language:"plaintext"};let s={js:"javascript",mjs:"javascript",ts:"typescript",tsx:"typescript",html:"html",htm:"html",css:"css",json:"json",md:"markdown",txt:"plaintext",xml:"xml",yaml:"yaml",yml:"yaml"};return s[t||""]?{type:"text",language:s[t||""]}:["zip","tar","gz","exe","bin","pdf","doc","docx","xls","xlsx","ppt","pptx"].includes(t||"")?{type:"unsupported",language:"plaintext"}:{type:"text",language:"plaintext"}},w=e=>b(e).language,k=d?o.get(d):null;return(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(D.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-editor-active)"}}),s?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Hide code editor",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(D.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-editor-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(D.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-editor-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Code Editor"})]}),k?.modified&&"text"===b(k.file.path).type&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",className:"h-5 px-2 gap-1.5",onClick:()=>j(d),children:[(0,a.jsx)(R.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-xs",children:"Save"})]})]}),0===o.size?(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center text-muted-foreground",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)(z.A,{className:"h-12 w-12 mx-auto opacity-50"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-base font-medium",children:"No files open"}),(0,a.jsx)("p",{className:"text-sm",children:"Select a file from the explorer to edit"})]})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"border-b bg-muted/70",children:(0,a.jsx)("div",{className:"flex items-center overflow-x-auto scrollbar-thin",children:Array.from(o.entries()).map(([e,t])=>(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 px-4 py-2.5 border-r cursor-pointer transition-all relative group",d===e?"bg-background border-b-2 border-b-primary shadow-sm":"hover:bg-muted/50 border-b-2 border-b-transparent"),onClick:()=>m(e),children:[(0,a.jsxs)("span",{className:"text-sm",children:[t.file.name,t.modified&&(0,a.jsx)("span",{className:"text-orange-500 ml-1",children:"●"})]}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-4 w-4 p-0 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>f(e,t),children:(0,a.jsx)(y.A,{className:"h-3 w-3 hover:text-destructive"})})]},e))})}),k&&(0,a.jsx)("div",{className:"flex-1 border-t",children:(()=>{let e=b(k.file.path);return"image"===e.type?(0,a.jsx)("div",{className:"h-full flex items-center justify-center bg-background p-8",children:(0,a.jsxs)("div",{className:"text-center space-y-4 max-w-2xl",children:[(0,a.jsx)(x.A,{className:"h-12 w-12 mx-auto text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Image Preview"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:k.file.name})]}),(0,a.jsx)("div",{className:"border rounded-lg p-4 bg-muted/30 max-h-96 overflow-auto",children:(0,a.jsx)("img",{src:`data:image/${k.file.path.split(".").pop()};base64,${k.content}`,alt:k.file.name,className:"max-w-full h-auto rounded shadow-sm",onError:e=>{let t=e.target;if(t.style.display="none",!t.parentElement?.querySelector(".error-msg")){let e=document.createElement("div");e.className="error-msg text-sm text-muted-foreground flex items-center gap-2",e.innerHTML='Unable to display image',t.parentElement?.appendChild(e)}}})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Image files cannot be edited in the text editor"})]})}):"unsupported"===e.type?(0,a.jsx)("div",{className:"h-full flex items-center justify-center bg-background p-8",children:(0,a.jsxs)("div",{className:"text-center space-y-4",children:[(0,a.jsx)(M.A,{className:"h-12 w-12 mx-auto text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Unsupported File Type"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:k.file.name}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground max-w-md",children:"This file type is not supported for editing in the text editor. Binary files and certain document formats cannot be displayed here."})]})]})}):(0,a.jsx)(L.Ay,{height:"100%",language:w(k.file.path),value:k.content,onChange:e=>v(e,k.file.path),theme:h?"dark"===u?"vs-dark":"light":"vs-dark",options:{minimap:{enabled:!1},fontSize:14,lineNumbers:"on",roundedSelection:!1,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2,wordWrap:"on",wrappingIndent:"indent"}})})()})]})]})}function U(e){window.dispatchEvent(new CustomEvent("openFile",{detail:e}))}var W=s(5643),_=s(28559),q=s(13943),J=s(84027),V=s(58887),H=s(48210),G=s(51567),Y=s(26627),K=s(4950),X=s(10158);let Z=new Set(["assistant_delta","tool_param_delta","reasoning_delta"]);class Q{async initDB(){if(this.isInitialized)return;let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));await e.init(),this.isInitialized=!0}async getDB(){let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));return e.getDatabase()}getDebugEventsId(e){return`debug_events_${e}`}async loadEvents(e){await this.initDB();let t=await this.getDB(),s=this.getDebugEventsId(e);return new Promise((a,r)=>{let i=t.transaction([this.storeName],"readonly").objectStore(this.storeName).get(s);i.onsuccess=()=>{let t=i.result;t&&t.events?(this.eventsCache.set(e,t.events),a(t.events)):a([])},i.onerror=()=>{l.v.error("Failed to load debug events from DB"),r(i.error)}})}async saveEvents(e,t){await this.initDB();let s=await this.getDB(),a={id:this.getDebugEventsId(e),projectId:e,events:t,lastUpdated:new Date().toISOString()};return new Promise((r,i)=>{let n=s.transaction([this.storeName],"readwrite").objectStore(this.storeName).put(a);n.onsuccess=()=>{this.eventsCache.set(e,t),r()},n.onerror=()=>{l.v.error("Failed to save debug events to DB"),i(n.error)}})}async appendEvent(e,t){let s=this.eventsCache.get(e);s||(s=await this.loadEvents(e)),s.push(t),this.eventsCache.set(e,s),Z.has(t.event)||await this.saveEvents(e,s)}async clearEvents(e){this.eventsCache.delete(e),await this.saveEvents(e,[]),l.v.debug(`[DebugEventsState] Cleared debug events for project ${e}`)}async truncateEvents(e,t){this.eventsCache.set(e,t),await this.saveEvents(e,t),l.v.debug(`[DebugEventsState] Truncated debug events for project ${e} to ${t.length} events`)}async getEvents(e){let t=this.eventsCache.get(e);return t||(t=await this.loadEvents(e)),t}async deleteProject(e){await this.initDB();let t=await this.getDB(),s=this.getDebugEventsId(e);return new Promise((a,r)=>{let i=t.transaction([this.storeName],"readwrite").objectStore(this.storeName).delete(s);i.onsuccess=()=>{this.eventsCache.delete(e),a()},i.onerror=()=>{l.v.error("Failed to delete debug events from DB"),r(i.error)}})}unloadProject(e){let t=this.eventsCache.has(e);this.eventsCache.delete(e),t&&l.v.debug(`[DebugEventsState] Unloaded debug events cache for project ${e}`)}constructor(){this.eventsCache=new Map,this.storeName="debugEvents",this.isInitialized=!1}}let ee=new Q;var et=s(81381),es=s(24527);let ea=({className:e,...t})=>(0,a.jsx)(es.YZ,{className:(0,l.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...t}),er=es.Zk,ei=({withHandle:e,className:t,...s})=>(0,a.jsx)(es.TW,{className:(0,l.cn)("group relative flex w-2 mx-1 items-center justify-center bg-transparent hover:bg-border/50 transition-colors after:absolute after:inset-y-0 after:left-1/2 after:w-4 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-2 data-[panel-group-direction=vertical]:my-1 data-[panel-group-direction=vertical]:mx-0 data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-4 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90 cursor-col-resize data-[panel-group-direction=vertical]:cursor-row-resize",t),...s,children:e&&(0,a.jsx)("div",{className:"z-10 flex h-12 w-1 items-center justify-center rounded-full bg-border/30 hover:bg-border/50 transition-colors opacity-0 group-hover:opacity-100",children:(0,a.jsx)(et.A,{className:"h-3 w-3 text-muted-foreground/50"})})});var en=s(80189),el=s(94742),eo=s(32623),ec=s(33135),ed=s(22926),em=s(13265),eu=s(2565),eh=s(47696),ep=s(88233),ex=s(24366),eg=s(3589),ef=s(38991);function ev(){let[e,t]=(0,r.useState)(null),[s,i]=(0,r.useState)(!1);return s&&e?(0,a.jsxs)("div",{className:`text-xs font-mono ${e.percent>80?"text-red-500":e.percent>60?"text-yellow-500":"text-muted-foreground"} flex items-center gap-1`,title:`JS Heap: ${e.usedMB}MB used / ${e.totalMB}MB limit (${e.percent}%)`,children:[(0,a.jsx)("span",{className:"opacity-60",children:"MEM:"}),(0,a.jsxs)("span",{children:[e.usedMB,"MB"]}),e.percent>60&&(0,a.jsxs)("span",{className:"opacity-60",children:["(",e.percent,"%)"]})]}):null}function ej({events:e,onClear:t,onClose:s,projectId:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(!0),d=(0,r.useRef)(null),[m,u]=(0,r.useState)(!0),[h,p]=(0,r.useState)(""),[x,g]=(0,r.useState)([]),[f,v]=(0,r.useState)(!1),j=(0,r.useRef)(null),b=(0,r.useMemo)(()=>{let t=[],s=null,a=new Set(["assistant_delta","tool_param_delta","reasoning_delta"]);for(let r of e)a.has(r.event)?s&&s.event===r.event?s.count=(s.count||1)+1:(s&&t.push(s),s={...r,count:1}):(s&&(t.push(s),s=null),t.push(r));return s&&t.push(s),t},[e]),w=async()=>{if(!h.trim()||!i||f)return;let e=h.trim();p(""),v(!0);try{let t=e.split(/\s+/),s=await ef._.execute(i,t),a=s.success?s.stdout||"(no output)":s.stderr||"Command failed";g(t=>[...t,{cmd:e,output:a,isError:!s.success}])}catch(t){g(s=>[...s,{cmd:e,output:`Error: ${t instanceof Error?t.message:"Unknown error"}`,isError:!0}])}finally{v(!1),setTimeout(()=>{j.current?.scrollTo({top:j.current.scrollHeight,behavior:"smooth"})},50)}},k=n?b.filter(e=>e.event.toLowerCase().includes(n.toLowerCase())):b,S=e.reduce((e,t)=>(e[t.event]=(e[t.event]||0)+1,e),{});return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-card border border-border rounded-lg overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border bg-muted/30 shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(H.A,{className:"h-4 w-4 md:hidden"}),s?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Hide debug panel",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(H.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0"}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(H.A,{className:"hidden h-4 w-4 md:inline-flex"}),(0,a.jsx)("span",{className:"font-semibold text-sm",children:"Debug Events"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",k.length,"/",e.length,")"]}),(0,a.jsx)(ev,{})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:()=>{t?.()},className:"h-7 px-2 hover:bg-muted",title:"Clear all events",children:(0,a.jsx)(ep.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:()=>{let t=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`debug-events-${Date.now()}.json`,a.click(),URL.revokeObjectURL(s)},className:"h-7 px-2 text-xs hover:bg-muted",title:"Export to JSON",children:"Export"})]})]}),(0,a.jsx)("div",{className:"p-2 border-b border-border bg-muted/20 text-xs",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(S).map(([e,t])=>(0,a.jsxs)("button",{onClick:()=>l(n===e?"":e),className:`px-2 py-1 rounded ${n===e?"bg-primary text-primary-foreground":"bg-muted hover:bg-muted/80"}`,children:[e," (",t,")"]},e))})}),(0,a.jsx)("div",{className:"p-2 border-b border-border",children:(0,a.jsx)("input",{type:"text",placeholder:"Filter events...",value:n,onChange:e=>l(e.target.value),className:"w-full px-2 py-1 text-xs rounded bg-background border border-border"})}),(0,a.jsx)("div",{className:"p-2 border-b border-border flex items-center gap-2",children:(0,a.jsxs)("label",{className:"text-xs flex items-center gap-1 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:m,onChange:e=>u(e.target.checked),className:"rounded"}),"Auto-scroll"]})}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto p-2 space-y-1",children:[0===k.length?(0,a.jsx)("div",{className:"text-xs text-muted-foreground text-center p-4",children:"No events yet. Events will appear here as they occur."}):k.map(e=>(0,a.jsx)(eb,{event:e},e.id)),(0,a.jsx)("div",{ref:d})]}),i&&(0,a.jsxs)("div",{className:"border-t border-border shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 bg-muted/30 border-b border-border",children:[(0,a.jsx)(ex.A,{className:"h-3 w-3 text-muted-foreground"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:"VFS Shell"}),x.length>0&&(0,a.jsx)("button",{onClick:()=>g([]),className:"ml-auto text-xs text-muted-foreground hover:text-foreground",children:"Clear"})]}),x.length>0&&(0,a.jsx)("div",{ref:j,className:"max-h-32 overflow-y-auto p-2 bg-zinc-950 font-mono text-xs",children:x.map((e,t)=>(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsxs)("div",{className:"text-emerald-400",children:["$ ",e.cmd]}),(0,a.jsx)("pre",{className:`whitespace-pre-wrap ${e.isError?"text-red-400":"text-zinc-300"}`,children:e.output})]},t))}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-2 bg-zinc-950",children:[(0,a.jsx)("span",{className:"text-emerald-400 font-mono text-xs",children:"$"}),(0,a.jsx)("input",{type:"text",value:h,onChange:e=>p(e.target.value),onKeyDown:e=>"Enter"===e.key&&w(),placeholder:"ls -la /.skills/",disabled:f,className:"flex-1 bg-transparent border-none outline-none text-xs font-mono text-zinc-100 placeholder:text-zinc-600"}),(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:w,disabled:f||!h.trim(),className:"h-6 px-2 text-xs text-zinc-400 hover:text-zinc-100 hover:bg-zinc-800",children:f?"...":"Run"})]})]})]})}function eb({event:e}){var t;let[s,i]=(0,r.useState)(!1),n=new Date(e.timestamp).toLocaleTimeString();return(0,a.jsxs)(eh.Nt,{open:s,onOpenChange:i,children:[(0,a.jsx)(eh.R6,{className:"w-full text-left",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 p-1.5 rounded hover:bg-muted/50 text-xs",children:[s?(0,a.jsx)(eg.A,{className:"h-3 w-3"}):(0,a.jsx)(h.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-muted-foreground font-mono",children:n}),(0,a.jsx)("span",{className:`font-semibold ${(t=e.event).includes("error")||t.includes("failed")?"text-red-500":t.includes("retry")?"text-yellow-500":t.includes("completed")||t.includes("success")?"text-green-500":t.includes("tool")?"text-blue-500":t.includes("agent")?"text-purple-500":t.includes("plan")?"text-orange-500":"text-foreground"}`,children:e.event}),e.count&&e.count>1&&(0,a.jsxs)("span",{className:"text-muted-foreground font-mono",children:["(",e.count,")"]})]})}),(0,a.jsx)(eh.Ke,{children:(0,a.jsx)("div",{className:"ml-6 p-2 bg-muted/30 rounded text-xs font-mono overflow-x-auto",children:(0,a.jsx)("pre",{children:JSON.stringify(e.data,null,2)})})})]})}var ey=s(41862),ew=s(5336),eN=s(35071),ek=s(27900),eS=s(80375),eC=s(78122),eA=s(78200),eE=s(6727),eT=s(83753),eP=s(86223),eF=s(15616),e$=s(97314);let eI=(0,s(24224).F)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),eL=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(e$.bL,{ref:s,className:(0,l.cn)("inline-flex items-center justify-center gap-1 rounded-md bg-muted p-1",e),...t}));eL.displayName=e$.bL.displayName;let eD=r.forwardRef(({className:e,variant:t,size:s,...r},i)=>(0,a.jsx)(e$.q7,{ref:i,className:(0,l.cn)(eI({variant:t,size:s}),e),...r}));eD.displayName=e$.q7.displayName;var eR=s(3145);let ez={shell:(0,a.jsx)(p.A,{className:"h-3 w-3 text-blue-500"}),json_patch:(0,a.jsx)(z.A,{className:"h-3 w-3 text-orange-500"})},eM={pending:(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-gray-400"}),executing:(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-500"}),completed:(0,a.jsx)(ew.A,{className:"h-3 w-3 text-green-500"}),failed:(0,a.jsx)(eN.A,{className:"h-3 w-3 text-red-500"})};function eO({events:e,onRestore:t,onRetry:s,prompt:i,setPrompt:n,generating:l,onGenerate:o,onStop:c,focusContext:d,setFocusContext:m,focusPreviewSnippet:u,chatMode:p,setChatMode:x,currentModel:g,setCurrentModel:f,getModelDisplayName:v,isTourLockingInput:j=!1,onClearChat:b,onClose:w}){let k=(0,r.useRef)(null),[S,C]=(0,r.useState)(!0),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)(new Set);(0,r.useRef)(!1);let F=(0,r.useRef)(0),$=(0,r.useRef)(new Map),I=(0,r.useRef)({result:[],currentTurn:{id:`turn-${Date.now()}`,items:[]},currentToolBatch:0,toolsByBatchAndIndex:new Map,itemIdCounter:0}),L=(0,r.useMemo)(()=>{let t,s=I.current,a=e.length-F.current;if(0===e.length||F.current>e.length)return F.current=0,$.current=new Map,I.current={result:[],currentTurn:{id:`turn-${Date.now()}`,items:[]},currentToolBatch:0,toolsByBatchAndIndex:new Map,itemIdCounter:0},[];let r=e[e.length-1],i=r&&("assistant_delta"===r.event||"tool_param_delta"===r.event||"reasoning_delta"===r.event),n=$.current.get(r?.id||""),l=i&&r.version&&n!==r.version;if(0===a&&!l)return[...s.result,...s.currentTurn.items.length>0?[s.currentTurn]:[]];for(let a of(l?(t=[r],$.current.set(r.id,r.version)):t=e.slice(F.current),t))switch(a.event){case"waiting":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"waiting",timestamp:a.timestamp,data:null});break;case"reasoning_start":case"stopped":s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"reasoning_delta":let e=(a.data?.all||[a.data]).map(e=>e?.text||"").join("");if(!e.trim()){s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break}let t=s.currentTurn.items.find(e=>"reasoning"===e.type&&e.eventId===a.id);if(t)t.data=e;else{let t={id:`item-${s.itemIdCounter++}`,type:"reasoning",timestamp:a.timestamp,data:e,eventId:a.id};s.currentTurn.items.push(t)}s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"reasoning_complete":s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"toolCalls":let r=a.data?.toolCalls||[];for(let e=0;e"waiting"!==e.type);break;case"tool_status":let{toolIndex:i,status:n,result:l,error:o}=a.data||{},c=`${s.currentToolBatch-1}-${i}`,d=s.toolsByBatchAndIndex.get(c);d&&(d.status=n,l&&(d.result=l),o&&(d.error=o));break;case"tool_result":let m=a.data?.toolIndex,u=`${s.currentToolBatch-1}-${m}`,h=s.toolsByBatchAndIndex.get(u);h&&a.data?.result&&(h.result=a.data.result);break;case"tool_param_delta":for(let e of a.data?.all||[a.data]){let{toolId:t,partialArguments:a}=e||{};if(!t)continue;let r=s.currentTurn.items.find(e=>"tool"===e.type&&e.data?.id===t);if(r){let e=r.data;try{e.parameters=JSON.parse(a)}catch{e.parameters={_raw:a}}}}break;case"assistant_delta":let p=a.data?.all||[a.data],x=s.currentTurn.items.find(e=>"text"===e.type&&e.eventId===a.id),g=p.map(e=>e?.text||"").join("");if(g)if(x)x.data=g;else{let e={id:`item-${s.itemIdCounter++}`,type:"text",timestamp:a.timestamp,data:g,eventId:a.id};s.currentTurn.items.push(e)}s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"plan_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"plan",timestamp:a.timestamp,data:a.data?.content||""});break;case"agent_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"agent",timestamp:a.timestamp,data:a.data?.content||""});break;case"task_progress":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"progress",timestamp:a.timestamp,data:a.data?.content||""});break;case"conversation_message":let f=a.data?.message;if(f?.role==="user"){if(f.content?.includes("Before finishing, you must call the evaluation tool"))break;let e=f.ui_metadata?.isSyntheticError===!0;s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:e?"synthetic_error":"user",timestamp:a.timestamp,data:f.content||""})}break;case"user_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"user",timestamp:a.timestamp,data:a.data?.content||""});break;case"error":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"error",timestamp:a.timestamp,data:a.data}),s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"usage":s.currentTurn.usage=a.data,s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"checkpoint_created":s.currentTurn.checkpointId=a.data?.checkpointId;break;case"iteration":s.currentTurn.iteration=a.data?.iteration,s.currentTurn.items.length>0&&(s.result.push(s.currentTurn),s.currentTurn={id:`turn-${Date.now()}-${s.result.length}`,items:[]})}return l||(F.current=e.length),[...s.result,...s.currentTurn.items.length>0?[s.currentTurn]:[]]},[e]),D=e=>{P(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},R=u?.trim()??"",z=d?(0,a.jsxs)("div",{id:"focus-context-hint",className:"rounded-md border border-dashed border-primary/40 bg-primary/5 px-3 py-2 text-xs text-muted-foreground shadow-sm",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 text-foreground",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-xs uppercase tracking-wide text-primary",children:"context"}),(0,a.jsx)("span",{className:"text-[10px] uppercase tracking-wide text-muted-foreground",children:"included in next message"})]}),(0,a.jsx)(N.$,{size:"sm",variant:"ghost",className:"h-6 px-2 text-xs",onClick:()=>m(null),title:"Clear focus context",children:"Clear"})]}),(0,a.jsxs)("div",{className:"mt-2 space-y-2",children:[d.domPath&&(0,a.jsx)("div",{className:"text-[11px] font-mono text-muted-foreground/80 break-all leading-snug",children:d.domPath}),R&&(0,a.jsx)("pre",{className:"max-h-24 overflow-auto rounded border border-border/50 bg-background/90 px-2 py-1 text-[11px] text-foreground leading-relaxed",children:(0,a.jsx)("code",{children:R})})]})]}):null;return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-card border border-border rounded-lg overflow-hidden","data-tour-id":"assistant-panel",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border bg-muted/30 shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(V.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-assistant-active)"}}),w?(0,a.jsxs)("button",{type:"button",onClick:w,"aria-label":"Hide chat panel",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(V.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-assistant-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(V.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-assistant-active)"}}),(0,a.jsx)("span",{className:"font-semibold text-sm",children:"Chat"})]}),(0,a.jsx)("div",{className:"flex items-center gap-1",children:b&&(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:b,className:"h-7 px-2 hover:bg-muted",title:"Clear chat","data-tour-id":"clear-chat-button",children:(0,a.jsx)(ep.A,{className:"h-3 w-3"})})})]}),(0,a.jsx)("div",{ref:k,className:"flex-1 overflow-y-auto p-4 space-y-4",children:0===L.length?(0,a.jsx)("div",{className:"text-xs text-muted-foreground text-center p-4",children:"No messages yet. Start a conversation to see it here."}):L.map(e=>(0,a.jsx)(eB,{turn:e,onRestore:t,onRetry:s,expandedItems:T,onToggleExpanded:D},e.id))}),(0,a.jsxs)("div",{className:"p-3 space-y-2",children:[z,(0,a.jsxs)("div",{className:"bg-card border border-border rounded-lg shadow-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"relative flex bg-card rounded-lg transition-all",children:[(0,a.jsx)(eF.T,{value:i,onChange:e=>n(e.target.value),onKeyDown:e=>{!j&&"Enter"===e.key&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),o())},placeholder:"Describe what you want to build...",className:"flex-1 px-3 py-2 bg-transparent border-0 resize-none focus:outline-none text-sm placeholder:text-muted-foreground text-foreground",rows:3,disabled:l||j}),(0,a.jsx)("div",{className:"flex flex-col p-2 gap-2",children:(0,a.jsx)(N.$,{onClick:l?c:o,disabled:j?!l:!l&&!i.trim(),size:"sm",className:"flex items-center gap-2",children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ey.A,{className:"h-4 w-4 animate-spin"}),"Stop"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ek.A,{className:"h-4 w-4"}),"Send"]})})})]}),(0,a.jsx)("div",{className:"border-t border-border bg-muted/50 px-2 py-2",children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsxs)(ec.AM,{open:A,onOpenChange:E,children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"h-7 text-xs","data-tour-id":"provider-settings-trigger",children:[(0,a.jsx)("span",{children:v(g)}),A?(0,a.jsx)(h.A,{className:"h-3 w-3 ml-1"}):(0,a.jsx)(eg.A,{className:"h-3 w-3 ml-1"})]})}),(0,a.jsx)(ec.hl,{className:"w-[36rem] max-w-[calc(100vw-2rem)]",align:"start","data-tour-id":"provider-settings-popup",children:(0,a.jsx)(eR.t,{onClose:()=>E(!1),onModelChange:e=>f(e)})})]}),(0,a.jsxs)(eL,{type:"single",value:p?"chat":"code",onValueChange:e=>{e&&x("chat"===e)},className:"gap-1",children:[(0,a.jsxs)(eD,{value:"chat",className:"h-7 text-xs px-2",children:[(0,a.jsx)(V.A,{className:"h-3 w-3 mr-1"}),"Chat"]}),(0,a.jsxs)(eD,{value:"code",className:"h-7 text-xs px-2",children:[(0,a.jsx)(eS.A,{className:"h-3 w-3 mr-1"}),"Code"]})]})]})})]})]})]})}function eB({turn:e,onRestore:t,onRetry:s,expandedItems:r,onToggleExpanded:i}){return(0,a.jsxs)("div",{className:"space-y-2",children:[e.items.map(e=>{switch(e.type){case"waiting":return(0,a.jsx)("div",{className:"bg-muted/30 rounded-md p-2 opacity-70",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-400"}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Waiting for response..."})]})},e.id);case"reasoning":return(0,a.jsx)(e_,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"plan":return(0,a.jsx)(eq,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"agent":return(0,a.jsx)(eJ,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"progress":return(0,a.jsx)(eV,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"tool":return(0,a.jsx)(eU,{itemId:e.id,tool:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"text":return(0,a.jsx)("div",{className:"text-sm text-foreground/90 bg-muted/20 px-3 py-2 rounded",children:(0,a.jsx)(eP.T,{content:e.data})},e.id);case"user":return(0,a.jsxs)("div",{className:"text-sm text-foreground bg-primary/10 px-3 py-2 rounded border border-primary/20",children:[(0,a.jsx)("div",{className:"font-semibold text-primary mb-1 text-xs",children:"User"}),(0,a.jsx)("div",{className:"whitespace-pre-wrap",children:e.data})]},e.id);case"synthetic_error":return(0,a.jsx)(eW,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"error":return(0,a.jsx)("div",{className:"text-sm bg-destructive/10 border border-destructive/20 px-3 py-2 rounded",children:(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)(eN.A,{className:"h-4 w-4 text-destructive mt-0.5 shrink-0"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"font-semibold text-destructive mb-1",children:"Error"}),(0,a.jsx)("div",{className:"text-destructive/90 whitespace-pre-wrap font-mono text-xs",children:e.data?.message||JSON.stringify(e.data,null,2)}),e.data?.stack&&(0,a.jsxs)("details",{className:"mt-2",children:[(0,a.jsx)("summary",{className:"text-xs text-destructive/70 cursor-pointer hover:text-destructive",children:"Stack trace"}),(0,a.jsx)("pre",{className:"text-[10px] text-destructive/60 mt-1 overflow-x-auto",children:e.data.stack})]})]})]})},e.id);default:return null}}),(e.usage||e.checkpointId)&&(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[e.usage&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Tokens: ",(e.usage.usage?.totalTokens||e.usage.totalTokens)?.toLocaleString()||"N/A",(void 0!==e.usage.totalCost||void 0!==e.usage.cost)&&` • Cost: $${((e.usage.totalCost??e.usage.cost)||0).toFixed(4)}`]}),e.checkpointId&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[t&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",onClick:()=>t(e.checkpointId),className:"h-6 px-2 text-xs",title:"Restore to this checkpoint",children:[(0,a.jsx)(q.A,{className:"h-3 w-3 mr-1"}),"Restore"]}),s&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",onClick:()=>s(e.checkpointId),className:"h-6 px-2 text-xs",title:"Restore files and retry from this checkpoint",children:[(0,a.jsx)(eC.A,{className:"h-3 w-3 mr-1"}),"Retry"]})]})]})]})}function eU({itemId:e,tool:t,isExpanded:s,onToggle:r}){return(0,a.jsxs)("div",{className:`bg-muted/30 rounded-md transition-all ${"executing"===t.status?"ring-2 ring-blue-500/20 animate-pulse":""} ${s?"p-2":"p-1.5"}`,children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[ez[t.name]||(0,a.jsx)(p.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:t.name})]}),"shell"===t.name&&t.parameters?.cmd&&(0,a.jsx)("code",{className:"text-xs text-muted-foreground",children:Array.isArray(t.parameters.cmd)?t.parameters.cmd.slice(1).join(" ").substring(0,50):String(t.parameters.cmd).substring(0,50)}),(t.parameters?.path||t.parameters?.file_path)&&(0,a.jsx)("code",{className:"text-xs text-muted-foreground",children:t.parameters.path||t.parameters.file_path}),(0,a.jsx)("div",{className:"ml-auto",children:eM[t.status||"completed"]})]}),s&&(0,a.jsxs)("div",{className:"mt-2 space-y-2",children:[t.parameters&&Object.keys(t.parameters).length>0&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Parameters"}),(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto",children:JSON.stringify(t.parameters,null,2)})]}),t.result&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Result"}),(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto max-h-40 overflow-y-auto",children:"string"==typeof t.result?t.result:JSON.stringify(t.result,null,2)})]}),t.error&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-destructive mb-1",children:"Error"}),(0,a.jsx)("pre",{className:"text-xs bg-destructive/10 text-destructive p-2 rounded overflow-x-auto",children:t.error})]})]})]})}function eW({itemId:e,content:t,isExpanded:s,onToggle:r}){return(0,a.jsxs)("div",{className:`bg-amber-500/10 rounded-md transition-all ${s?"p-2":"p-1.5"}`,children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-amber-500/20 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eC.A,{className:"h-3 w-3 text-amber-600"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"Auto-correction"})]}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(ew.A,{className:"h-3 w-3 text-amber-600"})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function e_({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=(t||"").split("\n").filter(e=>e.trim()),n=i[0]?.substring(0,60)||"Reasoning...",l=!t||t.length<20;return(0,a.jsxs)("div",{className:"bg-violet-500/10 rounded-md transition-all p-1.5 border border-violet-500/20",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-violet-500/20 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[l?(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-violet-500"}):(0,a.jsx)(eA.A,{className:"h-3 w-3 text-violet-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"reasoning"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:l?"Thinking...":n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("div",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto max-h-64 overflow-y-auto",children:(0,a.jsx)(eP.T,{content:t||"Thinking..."})})})]})}function eq({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.split("\n"),n=i[0]?.replace(/^\*\*|\*\*$/g,"").substring(0,50)||"Plan";return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eE.A,{className:"h-3 w-3 text-orange-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"plan"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eJ({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.split("\n"),n=i[0]?.replace(/^\*\*|\*\*$/g,"").replace(/^🤖\s*/,"").substring(0,50)||"Agent";return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eT.A,{className:"h-3 w-3 text-purple-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"agent"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eV({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.includes("✅"),n=t.replace(/^[✅🔄]\s*/,"").substring(0,50);return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[i?(0,a.jsx)(ew.A,{className:"h-3 w-3 text-green-500"}):(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"progress"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eH({projectId:e,selectedSiteId:t,onSiteChange:s,className:a}){let[i,n]=(0,r.useState)([]),[l,o]=(0,r.useState)(!0),[c,d]=(0,r.useState)(null);return null}function eG({project:e,onBack:t}){let[s,i]=(0,r.useState)(0),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(null),[p,x]=(0,r.useState)(null),[g,f]=(0,r.useState)("preview"),[v,y]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),[S,C]=(0,r.useState)(e.lastSavedAt??null),[A,E]=(0,r.useState)(null),[T,P]=(0,r.useState)(()=>!1),F=(0,r.useRef)(null),L=(0,r.useRef)(null),z=(0,r.useRef)(!1),[M,O]=(0,r.useState)(null),[Z,Q]=(0,r.useState)(K.s.getDefaultModel()),[et,es]=(0,r.useState)(!1),[eh,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(0),{state:ef,start:ev,setWorkspaceHandler:eb}=(0,eu.C)(),ey=ef.currentStep?.id,ew="running"===ef.status&&"wrap-up"!==ey,{shouldShowCosts:eN}=function(){let[e,t]=(0,r.useState)(()=>K.s.getCostSettings()),s=!1!==e.showCosts;return{costSettings:e,shouldShowCosts:s}}(),[ek,eS]=(0,r.useState)(!0),[eC,eA]=(0,r.useState)(!0),[eE,eT]=(0,r.useState)(!1),[eP,eF]=(0,r.useState)(!0),[e$,eI]=(0,r.useState)(!1),[eL,eD]=(0,r.useState)(null),[eR,ez]=(0,r.useState)(null),[eM,eB]=(0,r.useState)([]),eU=(0,r.useRef)(0),eW=(0,r.useRef)(null),e_=(0,r.useCallback)(t=>{eW.current&&clearTimeout(eW.current),eW.current=setTimeout(()=>{ee.saveEvents(e.id,t).catch(e=>{l.v.error("Failed to persist debug events:",e)})},500)},[e.id]),eq=(0,r.useCallback)(async(e,t)=>{eB(s=>{let a;if(("assistant_delta"===e||"tool_param_delta"===e||"reasoning_delta"===e)&&s.length>0){let r=s[s.length-1];if(r.event===e){let e={...r,timestamp:Date.now(),version:(r.version||1)+1,count:(r.count||1)+1,data:{all:r.data.all?[...r.data.all,t]:[r.data,t]}};return e_(a=[...s.slice(0,-1),e]),a}}return(a=[...s,{id:`${Date.now()}-${eU.current++}`,timestamp:Date.now(),event:e,data:t,count:1,version:1}]).length>500&&(a=a.slice(-500)),e_(a),a})},[e.id,e_,500]),eJ=(0,r.useCallback)(async()=>{eB([]),await ee.clearEvents(e.id),await el.Y.clearAutoCheckpoints(e.id),x(null)},[e.id]),eV=(()=>{let e=[ek,eC,eE,eP,e$].filter(Boolean).length;return 5===e?{chat:20,files:15,editor:25,preview:20,debug:20}:4===e?{chat:25,files:15,editor:35,preview:25,debug:0}:3===e?{chat:33,files:33,editor:33,preview:33,debug:0}:2===e?{chat:50,files:50,editor:50,preview:50,debug:0}:{chat:100,files:100,editor:100,preview:100,debug:0}})(),eG=e=>{if(!e)return"Select Model";let t=e.split("/");return t[t.length-1].split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")},eY=(0,r.useCallback)((e,t=1200)=>{if(!e)return"";if(e.length<=t)return e;let s=Math.max(0,Math.floor(.6*t)),a=Math.max(0,Math.floor(.3*t)),r=e.slice(0,s),i=a>0?e.slice(-a):"";return`${r} (...truncated...) -${i}`},[]),eK=(0,r.useCallback)(e=>{let t=Object.entries(e.attributes||{}).slice(0,6);if(0===t.length)return`<${e.tagName}>`;let s=t.map(([e,t])=>{let s=t.length>40?`${t.slice(0,37)}…`:t;return`${e}="${s}"`}).join(" ");return`<${e.tagName} ${s}>`},[]),eX=(0,r.useCallback)(e=>{let t=eK(e),s=eG(e.outerHTML,1200),a=e.domPath||"(unknown path)";return["Focus context:",`- Target: ${t}`,`- DOM path: ${a}`,"- HTML snippet:","```html",s,"```"].join("\n")},[eK,eG]),eZ=(0,r.useCallback)(e=>{if(!e){E(null),$.current=null;return}let t=`${e.domPath||""}::${e.tagName||""}::${e.outerHTML?e.outerHTML.length:0}`,s=Date.now();if($.current&&$.current.signature===t&&s-$.current.timestamp<400)return;let a={...e,timestamp:s};E(a),F.oR.info("Focus context set",{description:eK(a)}),$.current={signature:t,timestamp:s}},[eK]),eQ=(0,r.useCallback)(()=>{e$(!1)},[]);A&&eK(A);let e0=A?eG(A.outerHTML,240):"";e0?.trim(),A&&(N.$,A.domPath&&A.domPath);let e1=(0,r.useCallback)(async(e,t)=>{eD(e),ez(t),x(null),e&&t?(await n.vfs.mountServerContext(e,t),l.v.info(`[Workspace] Mounted server context for site: ${t}`)):(n.vfs.unmountServerContext(),l.v.info("[Workspace] Unmounted server context")),i(e=>e+1)},[]),e2=(0,r.useCallback)(e=>{window.innerWidth<768?(f("editor"),setTimeout(()=>{U(e)},0)):eE?U(e):(eT(!0),setTimeout(()=>{U(e)},0))},[eE]),e4=(0,r.useCallback)(()=>{i(e=>e+1),window.dispatchEvent(new CustomEvent("filesChanged"))},[]),e3=(0,r.useCallback)(async()=>{if(!w){k(!0);try{let t;if(L.current)try{let e=new Promise((e,t)=>{setTimeout(()=>t(Error("Screenshot capture timeout")),5e3)}),s=await Promise.race([L.current.captureScreenshot(),e]);s&&(t=s)}catch(e){l.v.warn("Failed to capture preview screenshot, continuing save:",e)}let s=await eo.$.save(e.id),a=await n.vfs.getProject(e.id);t&&(a.previewImage=t,a.previewUpdatedAt=new Date,await n.vfs.updateProject(a)),C(a.lastSavedAt??new Date(s.timestamp)),O(s.id),F.oR.success("Project saved")}catch(e){l.v.error("Failed to save project",e),F.oR.error("Failed to save project")}finally{k(!1)}}},[e.id,w]),e5=(0,r.useCallback)(async(t,s)=>{try{if(!await el.Y.checkpointExists(t)){F.oR.error("Checkpoint no longer exists - it may have been cleaned up"),l.v.warn(`[Workspace] Checkpoint ${t} no longer exists`);return}if(await eo.$.runWithSuppressedDirty(e.id,()=>el.Y.restoreCheckpoint(t))){F.oR.success(`Restored to: ${s||"checkpoint"}`),e4();let a=eo.$.getSavedCheckpointId(e.id);if(a&&a===t){eo.$.markClean(e.id);let t=await n.vfs.getProject(e.id);C(t.lastSavedAt??null)}else eo.$.markDirty(e.id)}else F.oR.error("Failed to restore checkpoint")}catch(e){l.v.error("Error restoring checkpoint:",e),F.oR.error("Failed to restore checkpoint")}},[e4,e.id]),e6=(0,r.useCallback)(async t=>{try{if(!await el.Y.checkpointExists(t)){F.oR.error("Checkpoint no longer exists - cannot retry"),l.v.warn(`[Workspace] Checkpoint ${t} no longer exists`);return}let s=null,a=eM.findIndex(e=>"checkpoint_created"===e.event&&e.data?.checkpointId===t);if(a>=0){for(let e=a-1;e>=0;e--)if("conversation_message"===eM[e].event&&eM[e].data?.message?.role==="user"){s=eM[e].data.message.content;break}}if(!s){F.oR.error("Cannot find original user message to retry"),l.v.warn("[Workspace] No user message found before checkpoint");return}let r=-1;for(let e=a-1;e>=0;e--)if("conversation_message"===eM[e].event&&eM[e].data?.message?.role==="user"&&eM[e].data.message.content===s){r=e;break}if(-1===r){F.oR.error("Cannot find user message event to truncate"),l.v.warn("[Workspace] User message event not found in debug events");return}if(!await eo.$.runWithSuppressedDirty(e.id,()=>el.Y.restoreCheckpoint(t)))return void F.oR.error("Failed to restore checkpoint");let i=eo.$.getSavedCheckpointId(e.id);if(i&&i===t){eo.$.markClean(e.id);let t=await n.vfs.getProject(e.id);C(t.lastSavedAt??null)}else eo.$.markDirty(e.id);let o=eM.slice(0,r);eB(o),await ee.truncateEvents(e.id,o),x(null),F.oR.success("Restored checkpoint and retrying..."),e4(),c(s),z.current=!0}catch(e){l.v.error("Error during retry:",e),F.oR.error("Failed to retry")}},[e4,e.id,eM,c]),e8=async()=>{if(ew)return;let t=o.trim();if(!t)return void F.oR.error("Please enter a prompt");let s=K.s.getSelectedProvider(),a=(0,X.sO)(s),r=K.s.getApiKey();if(a.apiKeyRequired&&!r)return void F.oR.error(`Please set your ${a.name} API key in settings`);if(a.isLocal&&!K.s.getProviderModel(s))return void F.oR.error(`No model selected for ${a.name}. Please select a model in settings.`);let i=K.s.getProviderModel(s)||K.s.getDefaultModel();if(!i)return void F.oR.error(`No model selected for ${T?"chat":"code"} mode. Please select a model in settings.`);m(!0);let n=A?`${eX(A)} +${i}`},[]),eK=(0,r.useCallback)(e=>{let t=Object.entries(e.attributes||{}).slice(0,6);if(0===t.length)return`<${e.tagName}>`;let s=t.map(([e,t])=>{let s=t.length>40?`${t.slice(0,37)}…`:t;return`${e}="${s}"`}).join(" ");return`<${e.tagName} ${s}>`},[]),eX=(0,r.useCallback)(e=>{let t=eK(e),s=eY(e.outerHTML,1200),a=e.domPath||"(unknown path)";return["Focus context:",`- Target: ${t}`,`- DOM path: ${a}`,"- HTML snippet:","```html",s,"```"].join("\n")},[eK,eY]),eZ=(0,r.useCallback)(e=>{if(!e){E(null),F.current=null;return}let t=`${e.domPath||""}::${e.tagName||""}::${e.outerHTML?e.outerHTML.length:0}`,s=Date.now();if(F.current&&F.current.signature===t&&s-F.current.timestamp<400)return;let a={...e,timestamp:s};E(a),$.oR.info("Focus context set",{description:eK(a)}),F.current={signature:t,timestamp:s}},[eK]),eQ=(0,r.useCallback)(()=>{eF(!1)},[]);A&&eK(A);let e0=A?eY(A.outerHTML,240):"";e0?.trim(),A&&(N.$,A.domPath&&A.domPath);let e1=(0,r.useCallback)(async(e,t)=>{eD(e),ez(t),x(null),e&&t?(await n.vfs.mountServerContext(e,t),l.v.info(`[Workspace] Mounted server context for site: ${t}`)):(n.vfs.unmountServerContext(),l.v.info("[Workspace] Unmounted server context")),i(e=>e+1)},[]),e2=(0,r.useCallback)(e=>{window.innerWidth<768?(f("editor"),setTimeout(()=>{U(e)},0)):eE?U(e):(eT(!0),setTimeout(()=>{U(e)},0))},[eE]),e4=(0,r.useCallback)(()=>{i(e=>e+1),window.dispatchEvent(new CustomEvent("filesChanged"))},[]),e3=(0,r.useCallback)(async()=>{if(!w){k(!0);try{let t;if(L.current)try{let e=new Promise((e,t)=>{setTimeout(()=>t(Error("Screenshot capture timeout")),5e3)}),s=await Promise.race([L.current.captureScreenshot(),e]);s&&(t=s)}catch(e){l.v.warn("Failed to capture preview screenshot, continuing save:",e)}let s=await eo.$.save(e.id),a=await n.vfs.getProject(e.id);t&&(a.previewImage=t,a.previewUpdatedAt=new Date,await n.vfs.updateProject(a)),C(a.lastSavedAt??new Date(s.timestamp)),O(s.id),$.oR.success("Project saved")}catch(e){l.v.error("Failed to save project",e),$.oR.error("Failed to save project")}finally{k(!1)}}},[e.id,w]),e5=(0,r.useCallback)(async(t,s)=>{try{if(!await el.Y.checkpointExists(t)){$.oR.error("Checkpoint no longer exists - it may have been cleaned up"),l.v.warn(`[Workspace] Checkpoint ${t} no longer exists`);return}if(await eo.$.runWithSuppressedDirty(e.id,()=>el.Y.restoreCheckpoint(t))){$.oR.success(`Restored to: ${s||"checkpoint"}`),e4();let a=eo.$.getSavedCheckpointId(e.id);if(a&&a===t){eo.$.markClean(e.id);let t=await n.vfs.getProject(e.id);C(t.lastSavedAt??null)}else eo.$.markDirty(e.id)}else $.oR.error("Failed to restore checkpoint")}catch(e){l.v.error("Error restoring checkpoint:",e),$.oR.error("Failed to restore checkpoint")}},[e4,e.id]),e6=(0,r.useCallback)(async t=>{try{if(!await el.Y.checkpointExists(t)){$.oR.error("Checkpoint no longer exists - cannot retry"),l.v.warn(`[Workspace] Checkpoint ${t} no longer exists`);return}let s=null,a=eM.findIndex(e=>"checkpoint_created"===e.event&&e.data?.checkpointId===t);if(a>=0){for(let e=a-1;e>=0;e--)if("conversation_message"===eM[e].event&&eM[e].data?.message?.role==="user"){s=eM[e].data.message.content;break}}if(!s){$.oR.error("Cannot find original user message to retry"),l.v.warn("[Workspace] No user message found before checkpoint");return}let r=-1;for(let e=a-1;e>=0;e--)if("conversation_message"===eM[e].event&&eM[e].data?.message?.role==="user"&&eM[e].data.message.content===s){r=e;break}if(-1===r){$.oR.error("Cannot find user message event to truncate"),l.v.warn("[Workspace] User message event not found in debug events");return}if(!await eo.$.runWithSuppressedDirty(e.id,()=>el.Y.restoreCheckpoint(t)))return void $.oR.error("Failed to restore checkpoint");let i=eo.$.getSavedCheckpointId(e.id);if(i&&i===t){eo.$.markClean(e.id);let t=await n.vfs.getProject(e.id);C(t.lastSavedAt??null)}else eo.$.markDirty(e.id);let o=eM.slice(0,r);eB(o),await ee.truncateEvents(e.id,o),x(null),$.oR.success("Restored checkpoint and retrying..."),e4(),c(s),z.current=!0}catch(e){l.v.error("Error during retry:",e),$.oR.error("Failed to retry")}},[e4,e.id,eM,c]),e8=async()=>{if(ew)return;let t=o.trim();if(!t)return void $.oR.error("Please enter a prompt");let s=K.s.getSelectedProvider(),a=(0,X.sO)(s),r=K.s.getApiKey();if(a.apiKeyRequired&&!r)return void $.oR.error(`Please set your ${a.name} API key in settings`);if(a.isLocal&&!K.s.getProviderModel(s))return void $.oR.error(`No model selected for ${a.name}. Please select a model in settings.`);let i=K.s.getProviderModel(s)||K.s.getDefaultModel();if(!i)return void $.oR.error(`No model selected for ${T?"chat":"code"} mode. Please select a model in settings.`);m(!0);let n=A?`${eX(A)} -${t}`:t;try{let t=p;if(!t){t=new Y.t(e.id,"orchestrator",eJ,{chatMode:T,model:i});let s=eM.filter(e=>"conversation_message"===e.event).map(e=>e.data.message);s.length>0&&(t.importConversation(s),l.v.debug(`[Workspace] Restored ${s.length} conversation messages from debug events`)),x(t)}u(t);let s=await t.execute(n);l.v.debug("[Workspace] Orchestrator result:",{success:s.success,summary:s.summary,totalCost:s.totalCost}),s.success?(e4(),F.oR.success("Task completed")):F.oR.error(s.summary||"Generation failed",{duration:5e3,position:"bottom-center"}),c(""),A&&E(null)}catch(t){l.v.error("Generation error:",t);let e=t instanceof Error?t.message:"Failed to generate";eJ("error",{message:e}),F.oR.error(e,{duration:5e3,position:"bottom-center"})}finally{m(!1),u(null)}},e9=(0,r.useCallback)(()=>{h&&(h.stop(),F.oR.info("Generation stopped"))},[h]),e7=[{id:"back",label:"Back to projects",icon:q.A,onClick:t,variant:"outline"}];e7.push({id:"save",label:w?"Saving…":v?"Save":"Saved",icon:R.A,onClick:e3,variant:v?"default":"outline",disabled:!v||w}),M&&e7.push({id:"discard",label:"Discard Changes",icon:J.A,onClick:()=>e5(M,"Last saved state"),variant:"outline",disabled:w||!v,dataTourId:"discard-changes-button"});let te=(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(eY,{projectId:e.id,selectedSiteId:eL,onSiteChange:e1}),(0,a.jsxs)(ec.AM,{children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"h-8 px-3 flex items-center gap-2",title:"Project cost and settings",children:[eN&&(0,a.jsxs)("span",{className:"text-sm font-medium",children:["$",ex.toFixed(3)]}),(0,a.jsx)(_.A,{className:"h-4 w-4"})]})}),(0,a.jsx)(ec.hl,{className:"w-96",align:"end",children:(0,a.jsx)(ed.O,{})})]})]}),tt=(0,a.jsxs)("div",{className:"space-y-2",children:[eN&&(0,a.jsx)("div",{className:"pb-2 border-b border-border/50",children:(0,a.jsxs)("span",{className:"text-sm font-medium",children:["Project cost: $",ex.toFixed(ex>=10?2:3)]})}),(0,a.jsxs)(ec.AM,{children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"w-full justify-start",children:[(0,a.jsx)(_.A,{className:"h-4 w-4 mr-2"}),"Settings"]})}),(0,a.jsx)(ec.hl,{className:"w-[calc(100vw-2rem)]",align:"start",children:(0,a.jsx)(ed.O,{})})]})]});return(0,a.jsxs)(en.Bc,{children:[(0,a.jsxs)("div",{className:"h-screen flex flex-col",children:[(0,a.jsx)(G.j,{leftText:e.name,onLogoClick:t,actions:e7,mobileMenuContent:tt,desktopOnlyContent:te,mobileVisibleActions:v?["save"]:[]}),(0,a.jsxs)("div",{className:"hidden md:flex flex-1 overflow-hidden bg-background",children:[(0,a.jsxs)("div",{className:"w-10 bg-muted/70 border-r border-border flex flex-col items-center py-3 gap-1.5",children:[(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${ek?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:ek?"var(--button-assistant-active)":void 0,color:ek?"white":void 0},onClick:()=>eS(!ek),children:(0,a.jsx)(V.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-assistant-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-assistant-active)",fill:"var(--button-assistant-active)"},children:(0,a.jsx)("p",{children:"Chat"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eC?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eC?"var(--button-files-active)":void 0,color:eC?"white":void 0},onClick:()=>eA(!eC),children:(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-files-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-files-active)",fill:"var(--button-files-active)"},children:(0,a.jsx)("p",{children:"File Explorer"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eE?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eE?"var(--button-editor-active)":void 0,color:eE?"white":void 0},onClick:()=>eT(!eE),children:(0,a.jsx)(D.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-editor-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-editor-active)",fill:"var(--button-editor-active)"},children:(0,a.jsx)("p",{children:"Code Editor"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 mx-1 rounded-sm flex items-center justify-center transition-all ${eP?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eP?"var(--button-preview-active)":void 0,color:eP?"white":void 0},onClick:()=>e$(!eP),children:(0,a.jsx)(j.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-preview-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-preview-active)",fill:"var(--button-preview-active)"},children:(0,a.jsx)("p",{children:"Preview"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eF?"bg-foreground shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{color:eF?"var(--background)":void 0},onClick:()=>eI(!eF),children:(0,a.jsx)(H.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0 bg-foreground text-background",arrowStyle:{backgroundColor:"var(--foreground)",fill:"var(--foreground)"},children:(0,a.jsx)("p",{children:"Debug Events"})})]})]}),(0,a.jsx)("div",{className:"flex-1 p-2 overflow-hidden","data-tour-id":"workspace-panels",children:(0,a.jsxs)(ea,{direction:"horizontal",autoSaveId:"workspace-layout",children:[ek&&(0,a.jsx)(er,{id:"chat",order:1,defaultSize:eV.chat,minSize:15,children:(0,a.jsx)(eO,{events:eM,onRestore:e5,onRetry:e6,prompt:o,setPrompt:c,generating:d,onGenerate:e8,onStop:e9,focusContext:A,setFocusContext:E,focusPreviewSnippet:e0,chatMode:T,setChatMode:P,currentModel:Z,setCurrentModel:Q,getModelDisplayName:eH,isTourLockingInput:ew,onClearChat:e_,onClose:()=>eS(!1)})}),ek&&(eC||eE||eP||eF)&&(0,a.jsx)(ei,{withHandle:!0}),eC&&(0,a.jsx)(er,{id:"files",order:2,defaultSize:eV.files,minSize:14,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-files-rgb), 0.01), rgba(var(--panel-files-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(I,{projectId:e.id,onFileSelect:e2,onClose:()=>eA(!1)})})}),eC&&(eE||eP)&&(0,a.jsx)(ei,{withHandle:!0}),eE&&(0,a.jsx)(er,{id:"editor",order:3,defaultSize:eV.editor,minSize:20,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-editor-rgb), 0.01), rgba(var(--panel-editor-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(B,{projectId:e.id,onFilesChange:e4,onClose:()=>eT(!1)})})}),eE&&eP&&(0,a.jsx)(ei,{withHandle:!0}),eP&&(0,a.jsx)(er,{id:"preview",order:4,defaultSize:eV.preview,minSize:20,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-preview-rgb), 0.01), rgba(var(--panel-preview-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(W.X,{ref:L,projectId:e.id,refreshTrigger:s,onFocusSelection:eZ,hasFocusTarget:!!A,onClose:eQ,siteId:eL})})}),eP&&eF&&(0,a.jsx)(ei,{withHandle:!0}),eF&&(0,a.jsx)(er,{id:"debug",order:5,defaultSize:eV.debug,minSize:15,children:(0,a.jsx)(ej,{events:eM,onClear:e_,onClose:()=>eI(!1),projectId:e.id})})]})})]}),(0,a.jsxs)("div",{className:"flex md:hidden flex-1 overflow-hidden bg-background flex-col",children:[(0,a.jsxs)("div",{className:"flex-1 p-2 pb-16 overflow-hidden",children:["chat"===g&&(0,a.jsx)(eO,{events:eM,onRestore:e5,onRetry:e6,prompt:o,setPrompt:c,generating:d,onGenerate:e8,onStop:e9,focusContext:A,setFocusContext:E,focusPreviewSnippet:e0,chatMode:T,setChatMode:P,currentModel:Z,setCurrentModel:Q,getModelDisplayName:eH,isTourLockingInput:ew,onClearChat:e_}),"files"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-files-rgb), 0.01), rgba(var(--panel-files-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(I,{projectId:e.id,onFileSelect:e2,onClose:()=>eA(!1)})}),"editor"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-editor-rgb), 0.01), rgba(var(--panel-editor-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(B,{projectId:e.id,onFilesChange:e4,onClose:()=>eT(!1)})}),"preview"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-preview-rgb), 0.01), rgba(var(--panel-preview-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(W.X,{ref:L,projectId:e.id,refreshTrigger:s,onFocusSelection:eZ,hasFocusTarget:!!A,onClose:eQ,siteId:eL})})]}),(0,a.jsx)("div",{className:"fixed bottom-0 left-0 right-0 bg-card border-t border-border",children:(0,a.jsxs)("div",{className:"flex justify-center items-center p-2 gap-2",children:[(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"chat"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"chat"===g?"var(--button-assistant-active)":void 0},onClick:()=>f("chat"),children:(0,a.jsx)(V.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"files"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"files"===g?"var(--button-files-active)":void 0},onClick:()=>f("files"),children:(0,a.jsx)(b.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"editor"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"editor"===g?"var(--button-editor-active)":void 0},onClick:()=>f("editor"),children:(0,a.jsx)(D.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"preview"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"preview"===g?"var(--button-preview-active)":void 0},onClick:()=>f("preview"),children:(0,a.jsx)(j.A,{className:"h-4 w-4"})})]})})]})]}),(0,a.jsx)(em.V,{location:"workspace"}),(0,a.jsx)(em.V,{location:"settings"})]})}},37826:(e,t,s)=>{s.d(t,{Cf:()=>d,Es:()=>h,L3:()=>u,c7:()=>m,lG:()=>l,rr:()=>p});var a=s(60687);s(43210);var r=s(26134),i=s(11860),n=s(96241);function l({...e}){return(0,a.jsx)(r.bL,{"data-slot":"dialog",...e})}function o({...e}){return(0,a.jsx)(r.ZL,{"data-slot":"dialog-portal",...e})}function c({className:e,...t}){return(0,a.jsx)(r.hJ,{"data-slot":"dialog-overlay",className:(0,n.cn)("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 backdrop-blur-sm",e),...t})}function d({className:e,children:t,showCloseButton:s=!0,...l}){return(0,a.jsxs)(o,{"data-slot":"dialog-portal",children:[(0,a.jsx)(c,{}),(0,a.jsxs)(r.UC,{"data-slot":"dialog-content",className:(0,n.cn)("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-2xl duration-200",e),...l,children:[t,s&&(0,a.jsxs)(r.bm,{"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,a.jsx)(i.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",e),...t})}function h({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"dialog-footer",className:(0,n.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function u({className:e,...t}){return(0,a.jsx)(r.hE,{"data-slot":"dialog-title",className:(0,n.cn)("text-lg leading-none font-semibold",e),...t})}function p({className:e,...t}){return(0,a.jsx)(r.VY,{"data-slot":"dialog-description",className:(0,n.cn)("text-muted-foreground text-sm",e),...t})}},41109:(e,t,s)=>{s.d(t,{M:()=>J});var a=s(60687),r=s(43210),i=s(68269),n=s(1519),l=s(24934),o=s(96271),c=s(49625),d=s(18179),m=s(11437),h=s(61187),u=s(56085),p=s(82080),x=s(84027),g=s(96882),f=s(45989),v=s(62157),j=s(9593),b=s(40083),y=s(47033),w=s(14952),N=s(78272),k=s(44624),S=s(50047),C=s(96241),A=s(16189);let E=[{id:"dashboard",label:"Dashboard",icon:c.A,path:"dashboard"},{id:"projects",label:"Projects",icon:d.A,path:"projects",hasRecentProjects:!0},{id:"sites",label:"Sites",icon:m.A,path:"sites",serverModeOnly:!0},{id:"templates",label:"Templates",icon:h.A,path:"templates"},{id:"skills",label:"Skills",icon:u.A,path:"skills"},{id:"docs",label:"Docs",icon:p.A,path:"docs",subItems:S.P.map(e=>({id:e.id,label:e.title,icon:e.icon,file:e.file}))},{id:"settings",label:"Settings",icon:x.A,path:"settings",subItems:[{id:"application",label:"Application",icon:x.A},{id:"model",label:"Provider & Model",icon:u.A}]},{id:"tour",label:"Guided Tour",icon:g.A,action:"start-tour"},{id:"tester",label:"Model Tester",icon:f.A,path:"/test-generation"},{id:"about",label:"About",icon:g.A,action:"open-about"},{id:"discord",label:"Discord",icon:k.E,href:"https://discord.gg/mAJ8Ss4u"},{id:"github",label:"GitHub",icon:v.A,href:"https://github.com/o-stahl/osw-studio"}],T=[{id:"sync",label:"Server Sync",icon:j.A,action:"server-sync"},{id:"logout",label:"Logout",icon:b.A,action:"logout"}];function P({currentView:e,onNavigate:t,onProjectSelect:s,onStartTour:i,onOpenAbout:n,onOpenSettings:c,onServerSync:m,onLogoClick:h,onPinnedChange:u,onHoverChange:p,onCollapsedChange:x,mobileOpen:g=!1,onMobileOpenChange:f}){let v=(0,A.useRouter)(),j=(0,A.useSearchParams)(),b=j.get("doc"),[k,S]=(j.get("settings"),(0,r.useState)(!0)),[P,$]=(0,r.useState)(!1),[F,I]=(0,r.useState)([]),[L,D]=(0,r.useState)(!0),[R,z]=(0,r.useState)(null),[M,O]=(0,r.useState)(()=>{let t=new Set;return"docs"===e&&t.add("docs"),"projects"===e&&t.add("projects"),"settings"===e&&t.add("settings"),t}),[B,U]=(0,r.useState)(!1),[W,q]=(0,r.useState)(!1),J=!W&&!k&&!P,_=()=>{let e=!k;S(e),localStorage.setItem("osw-admin-sidebar-pinned",String(e)),u?.(e)},V=E.filter(e=>!e.serverModeOnly||!0),H=e=>{O(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},G=async e=>{if(f?.(!1),e.href)window.open(e.href,"_blank","noopener,noreferrer");else if(e.path)v.push(`/admin/${e.path}`);else if("start-tour"===e.action&&i)i();else if("open-about"===e.action&&n)n();else if("open-settings"===e.action&&c)c();else if("server-sync"===e.action&&m)m();else if("logout"===e.action)try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&v.push("/admin/login")}catch(e){console.error("Logout failed:",e)}};return(0,a.jsxs)(a.Fragment,{children:[g&&(0,a.jsx)("div",{className:"md:hidden fixed inset-0 bg-black/50 z-40",onClick:()=>f?.(!1)}),(0,a.jsxs)("div",{className:(0,C.cn)("flex flex-col h-screen bg-card transition-all duration-300","border-l md:border-l-0 md:border-r","md:relative md:left-0",k?"md:relative":"md:absolute md:left-0 md:top-0 md:z-40 md:shadow-lg","fixed right-0 top-0 z-50 w-60",J?"":"md:w-60",g?"translate-x-0":"translate-x-full md:translate-x-0"),style:{width:J?"56px":void 0},onMouseEnter:()=>{W||k||($(!0),p?.(!0))},onMouseLeave:()=>{W||k||($(!1),p?.(!1))},children:[(0,a.jsxs)("button",{onClick:()=>{W?g&&f?.(!1):_()},onMouseEnter:()=>!W&&U(!0),onMouseLeave:()=>!W&&U(!1),className:(0,C.cn)("p-3 border-b flex items-center gap-3 h-[54px] overflow-hidden w-full","hover:bg-accent/50 transition-colors cursor-pointer",J&&"justify-center"),children:[(0,a.jsxs)("div",{className:"relative w-6 h-6 flex items-center justify-center flex-shrink-0",children:[(0,a.jsx)(o.g,{width:24,height:24,className:(0,C.cn)("transition-opacity absolute",B&&"opacity-0")}),k?(0,a.jsx)(y.A,{className:(0,C.cn)("hidden md:block h-6 w-6 transition-opacity absolute",B?"opacity-100":"opacity-0 pointer-events-none")}):(0,a.jsx)(w.A,{className:(0,C.cn)("hidden md:block h-6 w-6 transition-opacity absolute",B?"opacity-100":"opacity-0 pointer-events-none")})]}),!J&&(0,a.jsx)("span",{className:"text-sm font-semibold whitespace-nowrap",children:B&&!k?"Pin":"Open\xa0Source Web\xa0Studio"})]}),(0,a.jsx)("nav",{className:"flex-1 p-2 space-y-1 overflow-y-auto",children:V.map(t=>{let r=t.icon,i=e===t.id,n=t.subItems&&t.subItems.length>0||t.hasRecentProjects,o=M.has(t.id);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:(0,C.cn)("p-1",o&&n&&"bg-muted rounded-2xl"),children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(l.$,{variant:i&&!n?"default":"ghost",className:(0,C.cn)("w-full",J?"justify-center px-2":"justify-start",!J&&n&&"pr-8"),onClick:()=>{n&&e===t.id||G(t)},title:J?t.label:void 0,children:[(0,a.jsx)(r,{className:(0,C.cn)("h-4 w-4",!J&&"mr-2")}),!J&&t.label]}),!J&&n&&(0,a.jsx)("button",{className:(0,C.cn)("absolute right-2 top-1/2 -translate-y-1/2","p-1 rounded hover:bg-accent transition-colors"),onClick:e=>{e.preventDefault(),e.stopPropagation(),H(t.id)},children:(0,a.jsx)(N.A,{className:(0,C.cn)("h-4 w-4 transition-transform",o&&"rotate-180")})})]}),t.hasRecentProjects&&o&&(0,a.jsx)("div",{className:(0,C.cn)("mt-1 space-y-1",J?"flex flex-col items-center":"ml-4"),children:L?(0,a.jsx)(a.Fragment,{children:[1,2,3].map(e=>(0,a.jsxs)("div",{className:(0,C.cn)("flex items-center gap-2",J?"justify-center p-1":"h-8 px-2"),children:[(0,a.jsx)("div",{className:"h-3 w-3 bg-muted-foreground/20 rounded animate-pulse"}),!J&&(0,a.jsx)("div",{className:"h-3 flex-1 bg-muted-foreground/20 rounded animate-pulse"})]},e))}):F.length>0?F.map(e=>(0,a.jsxs)(l.$,{variant:"ghost",size:"sm",className:(0,C.cn)(J?"w-8 h-8 p-0 justify-center":"w-full justify-start text-xs"),onClick:()=>{f?.(!1),s(e)},title:e.name,children:[(0,a.jsx)(d.A,{className:(0,C.cn)("h-3 w-3 flex-shrink-0",!J&&"mr-2")}),!J&&(0,a.jsx)("span",{className:"truncate",children:e.name})]},e.id)):!J&&(0,a.jsx)("div",{className:"px-2 py-1 text-xs text-muted-foreground",children:"No recent projects"})}),t.subItems&&o&&(0,a.jsx)("div",{className:(0,C.cn)("mt-1 space-y-1",J?"flex flex-col items-center":"ml-4"),children:t.subItems.map(e=>{let s=e.icon,r=e.file?b===e.id:(t.id,window.location.pathname===`/admin/${t.id}/${e.id}`);return(0,a.jsxs)(l.$,{variant:r?"default":"ghost",size:"sm",className:(0,C.cn)(J?"w-8 h-8 p-0 justify-center":"w-full justify-start text-xs"),onClick:()=>{f?.(!1),e.file?v.push(`/admin/docs?doc=${e.id}`):v.push(`/admin/${t.id}/${e.id}`)},title:J?e.label:void 0,children:[(0,a.jsx)(s,{className:(0,C.cn)("h-3 w-3",!J&&"mr-2")}),!J&&e.label]},e.id)})})]})},t.id)})}),(0,a.jsx)("div",{className:"border-t p-2 space-y-1",children:T.map(e=>{let t=e.icon,s="logout"===e.id,r="sync"===e.id&&R?.needsSync;return(0,a.jsxs)(l.$,{variant:"ghost",size:"sm",className:(0,C.cn)("w-full relative",J?"justify-center px-2":"justify-start",s&&"text-destructive hover:text-destructive hover:bg-destructive/10"),onClick:()=>G(e),title:J?e.label:void 0,children:[(0,a.jsx)(t,{className:(0,C.cn)("h-4 w-4",!J&&"mr-2")}),!J&&e.label,r&&(0,a.jsx)("span",{className:"absolute top-1 right-1 w-2 h-2 bg-orange-500 rounded-full"})]},e.id)})}),(0,a.jsx)("div",{className:"hidden md:block border-t p-2",children:(0,a.jsx)(l.$,{variant:"ghost",size:"sm",className:(0,C.cn)("w-full",J?"justify-center px-2":"justify-start"),onClick:_,title:J?k?"Unpin sidebar":"Pin sidebar":void 0,children:k?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y.A,{className:(0,C.cn)("h-4 w-4",!J&&"mr-2")}),!J&&"Unpin"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.A,{className:(0,C.cn)("h-4 w-4",!J&&"mr-2")}),!J&&"Pin"]})})})]})]})}function $(e){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"w-full h-full bg-card"}),children:(0,a.jsx)(P,{...e})})}var F=s(51567),I=s(43649),L=s(61611),D=s(45001),R=s(37826),z=s(52581),M=s(83801),O=s(78122),B=s(31158),U=s(62022),W=s(16023);function q({open:e,onOpenChange:t,onSyncComplete:s}){let[o,c]=(0,r.useState)(!1),[d,m]=(0,r.useState)(!0),[h,u]=(0,r.useState)(!1),[p,x]=(0,r.useState)([]),[g,f]=(0,r.useState)(null),v=(0,D.j)(),b=async()=>{try{await i.vfs.init();let e=await i.vfs.listProjects();x(e);let t=await (0,n.jP)();f(t)}catch(e){C.v.error("Failed to load sync data:",e)}},y=async()=>{if(!o)return void z.oR.error("Not authenticated. Please login first.");u(!0);try{let e=0,t=0;for(let s of p)try{let a=await i.vfs.listFiles(s.id),r=await v.pushProjectWithFiles(s,a);r.success?e++:(t++,C.v.error(`Failed to sync project ${s.name}:`,r.error))}catch(e){t++,C.v.error(`Error syncing project ${s.name}:`,e)}0===t?z.oR.success(`Successfully synced ${e} project(s) to server`):z.oR.warning(`Synced ${e} project(s), ${t} failed`),await b(),s?.()}catch(e){z.oR.error("Failed to sync projects"),C.v.error("Sync error:",e)}finally{u(!1)}},w=async()=>{if(!o)return void z.oR.error("Not authenticated. Please login first.");u(!0);try{let e=await v.pullProjects();if(!e.success)return void z.oR.error(e.error||"Failed to fetch projects from server");let t=e.projects||[],a=0,r=0;for(let e of t)try{let t=await i.vfs.getProject(e.id),s=await v.pullFiles(e.id);if(!s.success){r++,C.v.error(`Failed to pull files for ${e.name}:`,s.error);continue}if(t)for(let t of(await i.vfs.updateProject(e),await i.vfs.listFiles(e.id)))await i.vfs.deleteFile(e.id,t.path);else await i.vfs.createProject(e.name,e.description||"");for(let t of s.files||[])await i.vfs.createFile(e.id,t.path,t.content||"");a++}catch(t){r++,C.v.error(`Error pulling project ${e.name}:`,t)}0===r?z.oR.success(`Successfully pulled ${a} project(s) from server`):z.oR.warning(`Pulled ${a} project(s), ${r} failed`),await b(),s?.()}catch(e){z.oR.error("Failed to pull projects"),C.v.error("Pull error:",e)}finally{u(!1)}};if(d)return(0,a.jsx)(R.lG,{open:e,onOpenChange:t,children:(0,a.jsx)(R.Cf,{children:(0,a.jsxs)(R.c7,{children:[(0,a.jsx)(R.L3,{children:"Server Sync"}),(0,a.jsx)(R.rr,{children:"Checking authentication status..."})]})})});if(!o)return(0,a.jsx)(R.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(R.Cf,{children:[(0,a.jsxs)(R.c7,{children:[(0,a.jsxs)(R.L3,{children:[(0,a.jsx)(M.A,{className:"inline-block w-5 h-5 mr-2"}),"Not Authenticated"]}),(0,a.jsx)(R.rr,{children:"You need to login to sync projects with the server."})]}),(0,a.jsxs)(R.Es,{children:[(0,a.jsx)(l.$,{variant:"outline",onClick:()=>t(!1),children:"Cancel"}),(0,a.jsx)(l.$,{onClick:()=>{window.location.href="/admin/login"},children:"Go to Login"})]})]})});let N=g?.needsSync||g?.isUninitialized&&p.length>0;return(0,a.jsx)(R.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(R.Cf,{className:"sm:max-w-lg",children:[(0,a.jsxs)(R.c7,{children:[(0,a.jsxs)(R.L3,{children:[(0,a.jsx)(j.A,{className:"inline-block w-5 h-5 mr-2"}),"Server Sync"]}),(0,a.jsx)(R.rr,{children:"Synchronize projects between your browser and the server database."})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[N&&(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-orange-500/10 border border-orange-500/30 rounded-lg",children:[(0,a.jsx)(I.A,{className:"w-5 h-5 text-orange-500 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:"font-medium text-orange-600 dark:text-orange-400",children:"Server database is empty"}),(0,a.jsx)("p",{className:"text-muted-foreground mt-1",children:"Push your local projects to enable Sites functionality and publishing."})]})]}),(0,a.jsxs)("div",{className:"p-4 border rounded-lg space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(L.A,{className:"w-4 h-4"}),"Server (SQLite)"]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Projects:"})," ",(0,a.jsx)("span",{className:"font-medium",children:g?.serverProjectCount??0})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Sites:"})," ",(0,a.jsx)("span",{className:"font-medium",children:g?.serverSiteCount??0})]}),(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Last updated:"})," ",(0,a.jsx)("span",{className:"font-medium",children:function(e){if(!e)return"Never";let t=new Date().getTime()-e.getTime(),s=Math.floor(t/6e4),a=Math.floor(t/36e5),r=Math.floor(t/864e5);return s<1?"Just now":s<60?`${s}m ago`:a<24?`${a}h ago`:r<7?`${r}d ago`:e.toLocaleDateString()}(g?.serverLastUpdated??null)})]})]}),(0,a.jsxs)(l.$,{variant:"outline",size:"sm",className:"w-full",onClick:w,disabled:h||(g?.serverProjectCount??0)===0,children:[h?(0,a.jsx)(O.A,{className:"w-4 h-4 mr-2 animate-spin"}):(0,a.jsx)(B.A,{className:"w-4 h-4 mr-2"}),"Pull from Server"]})]}),(0,a.jsxs)("div",{className:"p-4 border rounded-lg space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(U.A,{className:"w-4 h-4"}),"Local (IndexedDB)"]}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Projects:"})," ",(0,a.jsx)("span",{className:"font-medium",children:p.length})]}),(0,a.jsxs)(l.$,{variant:N?"default":"outline",size:"sm",className:"w-full",onClick:y,disabled:h||0===p.length,children:[h?(0,a.jsx)(O.A,{className:"w-4 h-4 mr-2 animate-spin"}):(0,a.jsx)(W.A,{className:"w-4 h-4 mr-2"}),"Push to Server"]})]})]}),(0,a.jsx)(R.Es,{children:(0,a.jsx)(l.$,{variant:"outline",onClick:()=>t(!1),disabled:h,children:"Close"})})]})})}function J({children:e,currentView:t,onNavigate:s,onProjectSelect:i,onStartTour:n,onOpenAbout:o,onOpenSettings:c,showSidebar:d=!0}){let m=(0,A.useRouter)(),[h,u]=(0,r.useState)(!0),[p,x]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1),[N,k]=(0,r.useState)(!1),[S,E]=(0,r.useState)(0);return d?(0,a.jsxs)("div",{className:"relative flex h-screen overflow-hidden",children:[(0,a.jsx)($,{currentView:t,onNavigate:s,onProjectSelect:i,onStartTour:n,onOpenAbout:o,onOpenSettings:c,onServerSync:()=>b(!0),onLogoClick:()=>m.push("/admin"),onPinnedChange:u,onHoverChange:x,onCollapsedChange:f,mobileOpen:y,onMobileOpenChange:w}),!h&&p&&(0,a.jsx)("div",{className:"absolute inset-0 bg-black/20 z-30"}),(0,a.jsxs)("div",{className:(0,C.cn)("flex-1 flex flex-col overflow-hidden transition-all duration-300",!h&&"md:ml-[56px]"),children:[(0,a.jsx)(F.j,{hideLogo:!0,showMobileMenu:!0,onMobileMenuClick:()=>w(!0),hideActionsOnMobile:!0,pageName:t.charAt(0).toUpperCase()+t.slice(1),className:"md:hidden"}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:e})]}),(0,a.jsx)(q,{open:v,onOpenChange:b,onSyncComplete:()=>{b(!1)}}),(0,a.jsx)(R.lG,{open:N,onOpenChange:k,children:(0,a.jsxs)(R.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(R.c7,{children:[(0,a.jsxs)(R.L3,{className:"flex items-center gap-2",children:[(0,a.jsx)(I.A,{className:"w-5 h-5 text-orange-500"}),"Server Database Not Initialized"]}),(0,a.jsxs)(R.rr,{children:["Your server database is empty, but you have ",S," project",1!==S?"s":""," stored locally."]})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-muted rounded-lg",children:[(0,a.jsx)(L.A,{className:"w-5 h-5 text-muted-foreground flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:"font-medium",children:"Why does this matter?"}),(0,a.jsxs)("p",{className:"text-muted-foreground mt-1",children:["The ",(0,a.jsx)("strong",{children:"Sites"})," feature requires projects to be synced to the server database. Until you push your local projects, the Sites view won't show any projects to publish."]})]})]}),(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Click ",(0,a.jsx)("strong",{children:"Open Sync"})," to push your local projects to the server, or dismiss this message to configure it later."]})]}),(0,a.jsxs)(R.Es,{className:"flex-col sm:flex-row gap-2",children:[(0,a.jsx)(l.$,{variant:"outline",onClick:()=>{localStorage.setItem("osw-server-init-dismissed","true"),k(!1)},children:"Dismiss"}),(0,a.jsxs)(l.$,{onClick:()=>{k(!1),b(!0)},children:[(0,a.jsx)(j.A,{className:"w-4 h-4 mr-2"}),"Open Sync"]})]})]})})]}):(0,a.jsx)(a.Fragment,{children:e})}},44624:(e,t,s)=>{s.d(t,{E:()=>r});var a=s(60687);function r({className:e}){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 48",fill:"currentColor",className:e,children:(0,a.jsx)("path",{d:"M40.575 0C39.9562 1.09866 39.4006 2.2352 38.8954 3.397C34.0967 2.67719 29.2096 2.67719 24.3982 3.397C23.9057 2.2352 23.3374 1.09866 22.7186 0C18.2104 0.770324 13.8157 2.12155 9.64839 4.02841C1.38951 16.2652 -0.845688 28.1863 0.265599 39.9432C5.10222 43.517 10.5197 46.2447 16.2909 47.9874C17.5916 46.2447 18.7407 44.3883 19.7257 42.4562C17.8568 41.7616 16.0509 40.8903 14.3208 39.88C14.7755 39.5517 15.2175 39.2107 15.6468 38.8824C25.7873 43.6559 37.5316 43.6559 47.6847 38.8824C48.1141 39.236 48.5561 39.577 49.0107 39.88C47.2806 40.9029 45.4748 41.7616 43.5931 42.4688C44.5781 44.4009 45.7273 46.2573 47.028 48C52.7991 46.2573 58.2167 43.5422 63.0533 39.9684C64.3666 26.3299 60.8055 14.5099 53.6452 4.04104C49.4905 2.13418 45.0959 0.782952 40.5876 0.0252565L40.575 0ZM21.1401 32.7072C18.0209 32.7072 15.4321 29.8785 15.4321 26.3804C15.4321 22.8824 17.9199 20.041 21.1275 20.041C24.3351 20.041 26.886 22.895 26.8354 26.3804C26.7849 29.8658 24.3224 32.7072 21.1401 32.7072ZM42.1788 32.7072C39.047 32.7072 36.4834 29.8785 36.4834 26.3804C36.4834 22.8824 38.9712 20.041 42.1788 20.041C45.3864 20.041 47.9246 22.895 47.8741 26.3804C47.8236 29.8658 45.3611 32.7072 42.1788 32.7072Z"})})}},45001:(e,t,s)=>{s.d(t,{j:()=>i});class a{constructor(e=""){this.baseUrl=e}async pushProject(e){try{let t=await fetch(`${this.baseUrl}/api/sync/projects`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,project:s.project}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullProjects(){try{let e=await fetch(`${this.baseUrl}/api/sync/projects`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,projects:t.projects}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushFiles(e,t){try{let s=await fetch(`${this.baseUrl}/api/sync/files`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e,files:t})});if(!s.ok){let e=await s.json();return{success:!1,error:e.error||`HTTP ${s.status}`}}let a=await s.json();return{success:!0,count:a.count}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullFiles(e){try{let t=await fetch(`${this.baseUrl}/api/sync/files?projectId=${encodeURIComponent(e)}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,files:s.files}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushProjectWithFiles(e,t){let s=await this.pushProject(e);if(!s.success)return s;let a=await this.pushFiles(e.id,t);return a.success?{success:!0}:a}async pullProjectWithFiles(e){let t=await this.pullProjects();if(!t.success||!t.projects)return{success:!1,error:t.error||"Failed to pull projects"};let s=t.projects.find(t=>t.id===e);if(!s)return{success:!1,error:`Project ${e} not found on server`};let a=await this.pullFiles(e);return a.success?{success:!0,project:s,files:a.files||[]}:{success:!1,error:a.error||"Failed to pull files"}}async pushSingleProject(e,t,s){try{let a=await fetch(`${this.baseUrl}/api/sync/projects/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:t,files:s})});if(!a.ok){let e=await a.json();return{success:!1,error:e.error||`HTTP ${a.status}`}}let r=await a.json();return{success:!0,project:r.project}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullSingleProject(e){try{let t=await fetch(`${this.baseUrl}/api/sync/projects/${e}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,project:s.project,files:s.files||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async getSyncStatus(){try{let e=await fetch(`${this.baseUrl}/api/sync/status`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,projects:t.projects||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}}let r=null;function i(){return r||(r=new a),r}},45654:(e,t,s)=>{s.d(t,{f:()=>st});var a=s(60687),r=s(43210),i=s(16189),n=s(68269),l=s(25495),o=s(94084),c=s.n(o);class d{async init(){return new Promise((e,t)=>{let s=indexedDB.open("osw-studio-db",4);s.onerror=()=>t(s.error),s.onsuccess=()=>{this.db=s.result,e()},s.onupgradeneeded=e=>{let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}if(!t.objectStoreNames.contains("customTemplates")){let e=t.createObjectStore("customTemplates",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("importedAt","importedAt",{unique:!1})}if(!t.objectStoreNames.contains("skills")){let e=t.createObjectStore("skills",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!t.objectStoreNames.contains("debugEvents")){let e=t.createObjectStore("debugEvents",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}}})}getDB(){if(!this.db)throw Error("Database not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.add(e))}async getProject(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.get(e));return s?this.hydrateProject(s):null}async updateProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.put(e))}async deleteProject(e){let t=this.getDB();await this.deleteProjectFiles(e);let s=t.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(s.delete(e))}async listProjects(){let e=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),t=await this.promisify(e.getAll());return t?.map(e=>this.hydrateProject(e))||[]}async createFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.add(e))}async getFile(e,t){let s=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(s.get([e,t]))||null}async updateFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.put(e))}async deleteFile(e,t){let s=await this.getFile(e,t);if(s){let e=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(e.delete(s.id))}}async listFiles(e){let t=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(t.getAll(e))||[]}async deleteProjectFiles(e){let t=await this.listFiles(e),s=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let e of t)await this.promisify(s.delete(e.id))}async createTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.add(e))}async getTreeNode(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(s.get([e,t]))||null}async updateTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.put(e))}async deleteTreeNode(e,t){let s=await this.getTreeNode(e,t);if(s){let e=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(e.delete(s.id))}}async getChildNodes(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(s.getAll(null===t?[e]:[e,t]))||[]}async getAllTreeNodes(e){let t=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(t.getAll(e))||[]}promisify(e){return new Promise((t,s)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>s(e.error)})}hydrateProject(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date,lastSavedAt:e.lastSavedAt?new Date(e.lastSavedAt):null}}async saveCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.put(e))}async getCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),s=await this.promisify(t.get(e));return s?this.hydrateCustomTemplate(s):null}async getAllCustomTemplates(){let e=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(e.getAll())).map(e=>this.hydrateCustomTemplate(e))}async deleteCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.delete(e))}hydrateCustomTemplate(e){return{...e,importedAt:e.importedAt?new Date(e.importedAt):new Date}}constructor(){this.db=null}}var m=s(96241);class h{constructor(){this.db=new d}async init(){await this.db.init()}async exportProjectAsTemplate(e,t,s){try{m.v.info("[TemplateService] Exporting project as template",{projectId:t,name:s.name}),this.validateMetadata(s);let a=await e.getAllFilesAndDirectories(t),r=a.filter(e=>"directory"!==e.type),i=a.filter(e=>"directory"===e.type).map(e=>e.path),n={version:"1.0.0",name:s.name,description:s.description,templateVersion:s.version,author:s.author,authorUrl:s.authorUrl,license:s.license,licenseLabel:s.licenseLabel,licenseDescription:s.licenseDescription,tags:s.tags||[],thumbnail:s.thumbnail,previewImages:s.previewImages||[],downloadUrl:s.downloadUrl,directories:i,files:r.map(e=>({path:e.path,content:e.content})),assets:[]},l=new(c());l.file("template.json",JSON.stringify(n,null,2));let o=await l.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}});return m.v.info("[TemplateService] Template exported successfully",{name:s.name,size:o.size}),o}catch(e){throw m.v.error("[TemplateService] Failed to export template:",e),Error(`Failed to export template: ${e instanceof Error?e.message:"Unknown error"}`)}}async importTemplateFile(e){try{if(m.v.info("[TemplateService] Importing template file",{name:e.name,size:e.size}),!e.name.endsWith(".oswt"))throw Error("Invalid file type. Expected .oswt file.");if(e.size>0x1900000)throw Error(`File too large. Maximum size is ${Math.round(25)}MB.`);let t=new(c()),s=(await t.loadAsync(e)).file("template.json");if(!s)throw Error("Invalid template file format. Missing template.json.");let a=await s.async("string"),r=JSON.parse(a);this.validateTemplateStructure(r);let i={id:(0,l.A)(),name:r.name,description:r.description,version:r.templateVersion||"1.0.0",files:r.files||[],directories:r.directories||[],assets:r.assets,metadata:{author:r.author,authorUrl:r.authorUrl,license:r.license||"personal",licenseLabel:r.licenseLabel,licenseDescription:r.licenseDescription,tags:r.tags||[],thumbnail:r.thumbnail,previewImages:r.previewImages||[],downloadUrl:r.downloadUrl},importedAt:new Date};return await this.db.saveCustomTemplate(i),m.v.info("[TemplateService] Template imported successfully",{id:i.id,name:i.name}),i}catch(e){throw m.v.error("[TemplateService] Failed to import template:",e),Error(`Failed to import template: ${e instanceof Error?e.message:"Unknown error"}`)}}async listCustomTemplates(){try{return await this.init(),(await this.db.getAllCustomTemplates()).sort((e,t)=>t.importedAt.getTime()-e.importedAt.getTime())}catch(e){throw m.v.error("[TemplateService] Failed to list templates:",e),Error("Failed to list templates")}}async deleteCustomTemplate(e){try{await this.init(),await this.db.deleteCustomTemplate(e),m.v.info("[TemplateService] Template deleted",{id:e})}catch(e){throw m.v.error("[TemplateService] Failed to delete template:",e),Error("Failed to delete template")}}async exportTemplateAsFile(e){try{m.v.info("[TemplateService] Re-exporting custom template",{id:e.id,name:e.name});let t=new(c());for(let s of(t.file("template.json",JSON.stringify(e,null,2)),e.files))s.content,t.file(s.path,s.content);return await t.generateAsync({type:"blob"})}catch(e){throw m.v.error("[TemplateService] Failed to re-export template:",e),Error(`Failed to export template: ${e instanceof Error?e.message:"Unknown error"}`)}}async generateThumbnail(e){m.v.debug("[TemplateService] Thumbnail generation not yet implemented")}validateMetadata(e){if(!e.name||e.name.length<1||e.name.length>50)throw Error("Template name must be between 1 and 50 characters");if(!e.description||e.description.length<10||e.description.length>500)throw Error("Template description must be between 10 and 500 characters");if(!e.version||!/^\d+\.\d+\.\d+$/.test(e.version))throw Error("Template version must be in semantic version format (e.g., 1.0.0)");if(e.author&&e.author.length>50)throw Error("Author name must be 50 characters or less");if(e.authorUrl&&!this.isValidUrl(e.authorUrl))throw Error("Author URL must be a valid URL");if(!e.license)throw Error("License is required");if(e.tags&&e.tags.length>10)throw Error("Maximum 10 tags allowed");if(e.thumbnail&&e.thumbnail.length>512e3)throw Error(`Thumbnail too large. Maximum size is ${Math.round(500)}KB`);if(e.previewImages&&e.previewImages.length>5)throw Error("Maximum 5 preview images allowed");if(e.previewImages){for(let t of e.previewImages)if(t.length>1048576)throw Error(`Preview image too large. Maximum size is ${Math.round(1024)}KB per image`)}}validateTemplateStructure(e){if(!e.name||"string"!=typeof e.name)throw Error("Invalid template: missing or invalid name");if(!e.description||"string"!=typeof e.description)throw Error("Invalid template: missing or invalid description");if(!e.files||!Array.isArray(e.files))throw Error("Invalid template: missing or invalid files array");if(!e.directories||!Array.isArray(e.directories))throw Error("Invalid template: missing or invalid directories array");for(let t of e.files){if(!t.path||"string"!=typeof t.path)throw Error("Invalid template: file missing path");if(void 0===t.content)throw Error("Invalid template: file missing content")}}isValidUrl(e){try{return new URL(e),!0}catch{return!1}}}let u=new h;var p=s(24934),x=s(68988),g=s(15616),f=s(26316),v=s(10022),j=s(9005),b=s(82804),y=s(13964),w=s(11860),N=s(90131),k=s(18179),S=s(62022),C=s(23928),A=s(81904),E=s(13861),T=s(70615),P=s(19080),$=s(31158),F=s(88233),I=s(26512),L=s(66249);function D({...e}){return(0,a.jsx)(L.bL,{"data-slot":"dropdown-menu",...e})}function R({...e}){return(0,a.jsx)(L.l9,{"data-slot":"dropdown-menu-trigger",...e})}function z({className:e,sideOffset:t=4,...s}){return(0,a.jsx)(L.ZL,{children:(0,a.jsx)(L.UC,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,m.cn)("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[100] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-lg",e),...s})})}function M({className:e,inset:t,variant:s="default",...r}){return(0,a.jsx)(L.q7,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":s,className:(0,m.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}function O({className:e,...t}){return(0,a.jsx)(L.wv,{"data-slot":"dropdown-menu-separator",className:(0,m.cn)("bg-border -mx-1 my-1 h-px",e),...t})}var B=s(52581);function U({project:e,onSelect:t,onDelete:s,onExport:i,onExportZip:l,onDuplicate:o,onPreview:c,onUpdate:d,onExportAsTemplate:h,viewMode:u="grid",forceMenuOpen:L=!1,highlightExport:U=!1}){let[W,q]=(0,r.useState)(!1),[J,_]=(0,r.useState)(e.name),[V,H]=(0,r.useState)(e.description||""),[G,Y]=(0,r.useState)(null),[K,X]=(0,r.useState)(!0),[Z,Q]=(0,r.useState)(!1),ee=async()=>{if(!J.trim()){B.oR.error("Project name cannot be empty"),_(e.name),q(!1);return}if(J.length>50)return void B.oR.error("Project name must be 50 characters or less");if(V.length>200)return void B.oR.error("Description must be 200 characters or less");try{e.name=J.trim(),e.description=V.trim()||void 0,await n.vfs.updateProject(e),d(e),q(!1),B.oR.success("Project updated")}catch(t){m.v.error("Failed to update project:",t),B.oR.error("Failed to update project"),_(e.name),H(e.description||"")}},et=()=>{_(e.name),H(e.description||""),q(!1)},es=e=>{if(L)return void Q(!0);Q(e)},ea=()=>G?Object.entries(G.fileTypes).sort(([,e],[,t])=>t-e).slice(0,3):[],er=e=>{let t=e.toLowerCase();return["html","htm"].includes(t)?(0,a.jsx)(f.A,{className:"h-3 w-3"}):["css","scss","sass"].includes(t)?(0,a.jsx)(v.A,{className:"h-3 w-3"}):["js","jsx","ts","tsx"].includes(t)?(0,a.jsx)(f.A,{className:"h-3 w-3"}):["png","jpg","jpeg","gif","svg"].includes(t)?(0,a.jsx)(j.A,{className:"h-3 w-3"}):(0,a.jsx)(v.A,{className:"h-3 w-3"})},ei=e=>e&&0!==e?`$${e.toFixed(2)}`:null;return"list"===u?(0,a.jsx)("div",{className:`group border border-border rounded-lg p-4 hover:shadow-md transition-all cursor-pointer hover:border-primary/50 ${U?"ring-2 ring-primary/70 animate-ring-opacity":""}`,style:{background:"linear-gradient(var(--project-card-tint), var(--project-card-tint)), var(--card)"},onClick:()=>t(e),children:(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[e.previewImage?(0,a.jsx)("div",{className:"w-16 h-12 rounded-md overflow-hidden bg-muted shrink-0 opacity-60",children:(0,a.jsx)("img",{src:e.previewImage,alt:`${e.name} preview`,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-16 h-12 rounded-md bg-muted flex items-center justify-center shrink-0 opacity-40",children:(0,a.jsx)(b.A,{className:"h-6 w-6 text-muted-foreground/30"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col md:flex-row md:gap-6",children:[(0,a.jsx)("div",{className:"flex-1 min-w-0 space-y-1",children:W?(0,a.jsxs)("div",{className:"space-y-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{value:J,onChange:e=>_(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),ee()),"Escape"===e.key&&et()},className:"h-7 text-sm font-semibold",autoFocus:!0,maxLength:50,placeholder:"Project name"}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-6 w-6 shrink-0",onClick:ee,children:(0,a.jsx)(y.A,{className:"h-3 w-3"})}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-6 w-6 shrink-0",onClick:et,children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[J.length,"/50"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(g.T,{value:V,onChange:e=>H(e.target.value),onKeyDown:e=>{"Escape"===e.key&&et()},placeholder:"Add a description...",className:"min-h-[60px] text-sm resize-none",maxLength:200}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[V.length,"/200"]})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("h3",{className:"font-semibold truncate",children:e.name}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5 opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>{e.stopPropagation(),q(!0)},children:(0,a.jsx)(N.A,{className:"h-3 w-3"})})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-1",children:e.description}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Updated ",(0,I.m)(e.updatedAt,{addSuffix:!0})]})]})}),(0,a.jsxs)("div",{className:"space-y-2 mt-2 md:mt-0",children:[G&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-muted-foreground",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(k.A,{className:"h-4 w-4"}),G.fileCount," ",1===G.fileCount?"file":"files"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(S.A,{className:"h-4 w-4"}),G.formattedSize]}),e.costTracking?.totalCost&&e.costTracking.totalCost>0&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),ei(e.costTracking.totalCost)]})]}),G&&ea().length>0&&(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs",children:ea().map(([e,t])=>(0,a.jsxs)("div",{className:"flex items-center gap-1 text-muted-foreground",children:[er(e),(0,a.jsxs)("span",{children:[e.toUpperCase()," (",t,")"]})]},e))})]})]}),(0,a.jsx)("div",{className:"flex items-center gap-2 ml-4",children:(0,a.jsxs)(D,{open:!!L||Z,onOpenChange:es,children:[(0,a.jsx)(R,{asChild:!0,onClick:e=>e.stopPropagation(),"data-tour-id":U?"project-actions-trigger":void 0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),c(e)},children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Preview"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),o(e)},children:[(0,a.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Duplicate"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),l(e)},children:[(0,a.jsx)(P.A,{className:"mr-2 h-4 w-4"}),"Export as ZIP"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),i(e)},"data-tour-id":U?"project-export-json":void 0,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export as JSON"]}),h&&(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),h(e)},children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Export as Template"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:t=>{t.stopPropagation(),s(e)},children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})})]})}):(0,a.jsxs)("div",{className:`border border-border rounded-lg overflow-hidden hover:shadow-lg transition-all cursor-pointer hover:border-primary/50 group ${U?"ring-2 ring-primary/70 animate-ring-opacity":""}`,style:{background:"linear-gradient(var(--project-card-tint), var(--project-card-tint)), var(--card)"},onClick:()=>t(e),"data-tour-id":"project-card",children:[e.previewImage?(0,a.jsx)("div",{className:"w-full aspect-video bg-muted",children:(0,a.jsx)("img",{src:e.previewImage,alt:`${e.name} preview`,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-full aspect-video bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-16 w-16 text-muted-foreground/30"})}),(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[W?(0,a.jsxs)("div",{className:"flex-1",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{value:J,onChange:e=>_(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!1===e.shiftKey&&(e.preventDefault(),ee()),"Escape"===e.key&&et()},className:"h-8 text-sm font-semibold",autoFocus:!0,maxLength:50}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ee,children:(0,a.jsx)(y.A,{className:"h-3 w-3"})}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:et,children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground mt-1",children:[J.length,"/50"]})]}):(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-lg truncate flex-1",children:e.name}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5 opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>{e.stopPropagation(),q(!0)},children:(0,a.jsx)(N.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)(D,{open:!!L||Z,onOpenChange:es,children:[(0,a.jsx)(R,{asChild:!0,onClick:e=>e.stopPropagation(),"data-tour-id":U?"project-actions-trigger":void 0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),c(e)},children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Preview"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),o(e)},children:[(0,a.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Duplicate"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),l(e)},children:[(0,a.jsx)(P.A,{className:"mr-2 h-4 w-4"}),"Export as ZIP"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),i(e)},"data-tour-id":U?"project-export-json":void 0,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export as JSON"]}),h&&(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),h(e)},children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Export as Template"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:t=>{t.stopPropagation(),s(e)},children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})]}),W?(0,a.jsxs)("div",{onClick:e=>e.stopPropagation(),children:[(0,a.jsx)(g.T,{value:V,onChange:e=>H(e.target.value),onKeyDown:e=>{"Escape"===e.key&&et()},placeholder:"Add a description...",className:"min-h-[60px] text-sm resize-none",maxLength:200}),(0,a.jsx)("div",{className:"flex items-center justify-between mt-1",children:(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[V.length,"/200"]})})]}):(0,a.jsx)("div",{className:"min-h-[40px]",children:e.description?(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description}):(0,a.jsx)("p",{className:"text-sm text-muted-foreground/50 italic",children:"No description"})}),K?(0,a.jsx)("div",{className:"h-6 bg-muted animate-pulse rounded"}):G&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 text-sm text-muted-foreground pt-2 border-t",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(k.A,{className:"h-4 w-4"}),G.fileCount," ",1===G.fileCount?"file":"files"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(S.A,{className:"h-4 w-4"}),G.formattedSize]}),e.costTracking?.totalCost&&e.costTracking.totalCost>0&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),ei(e.costTracking.totalCost)]})]}),ea().length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3 text-xs",children:ea().map(([e,t])=>(0,a.jsxs)("div",{className:"flex items-center gap-1 text-muted-foreground",children:[er(e),(0,a.jsxs)("span",{children:[e," (",t,")"]})]},e))})]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground pt-2 border-t",children:(0,a.jsxs)("p",{children:["Updated ",(0,I.m)(e.updatedAt,{addSuffix:!0})]})})]})]})}var W=s(5643),q=s(96597),J=s(99270),_=s(54220),V=s(65777),H=s(25366),G=s(96474),Y=s(16023),K=s(96882),X=s(45989),Z=s(62157),Q=s(37826),ee=s(39390),et=s(87929),es=s(63974),ea=s(33135),er=s(2565),ei=s(13265);s(4950);var en=s(24923);function el({project:e,open:t,onOpenChange:s}){let[i,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)({name:e?.name||"",description:e?.description||"",version:"1.0.0",author:"",authorUrl:"",license:"personal",tags:[],thumbnail:void 0,previewImages:[],downloadUrl:""}),[d,h]=(0,r.useState)(""),f=async()=>{if(e){if(!o.name||o.name.length<1||o.name.length>50)return void B.oR.error("Template name must be between 1 and 50 characters");if(!o.description||o.description.length<10||o.description.length>500)return void B.oR.error("Description must be between 10 and 500 characters");if(!o.version||!/^\d+\.\d+\.\d+$/.test(o.version))return void B.oR.error("Version must be in format x.y.z (e.g., 1.0.0)");try{l(!0);let t=d.split(",").map(e=>e.trim()).filter(e=>e.length>0),a={...o,tags:t},r=await u.exportProjectAsTemplate(n.vfs,e.id,a),i=URL.createObjectURL(r),m=document.createElement("a");m.href=i,m.download=`${o.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(m),m.click(),document.body.removeChild(m),URL.revokeObjectURL(i),B.oR.success("Template exported successfully!"),s(!1),c({name:"",description:"",version:"1.0.0",author:"",authorUrl:"",license:"personal",tags:[],thumbnail:void 0,previewImages:[],downloadUrl:""}),h("")}catch(e){m.v.error("Failed to export template:",e),B.oR.error(e instanceof Error?e.message:"Failed to export template")}finally{l(!1)}}},v=en.N2.find(e=>e.value===o.license);return(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Export as Template"}),(0,a.jsx)(Q.rr,{children:"Create a reusable template from this project"})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[o.thumbnail&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Preview Thumbnail"}),(0,a.jsx)("div",{className:"w-full rounded-lg overflow-hidden bg-muted border",children:(0,a.jsx)("img",{src:o.thumbnail,alt:"Template preview",className:"w-full h-auto"})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This preview was captured when you saved the project"})]}),!o.thumbnail&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Preview Thumbnail"}),(0,a.jsx)("div",{className:"w-full h-48 rounded-lg bg-muted flex items-center justify-center border",children:(0,a.jsxs)("div",{className:"text-center text-muted-foreground",children:[(0,a.jsx)(b.A,{className:"h-12 w-12 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm",children:"No preview available"}),(0,a.jsx)("p",{className:"text-xs",children:"Save your project to capture a preview"})]})})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-name",children:["Template Name ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[o.name.length,"/50"]})]}),(0,a.jsx)(x.p,{id:"template-name",value:o.name,onChange:e=>c({...o,name:e.target.value.slice(0,50)}),placeholder:"My Awesome Template",maxLength:50,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-description",children:["Description ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[o.description.length,"/500"]})]}),(0,a.jsx)(g.T,{id:"template-description",value:o.description,onChange:e=>c({...o,description:e.target.value.slice(0,500)}),placeholder:"A complete multi-page template with...",className:"resize-none",rows:3,maxLength:500,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-version",children:["Version ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsx)(x.p,{id:"template-version",value:o.version,onChange:e=>c({...o,version:e.target.value}),placeholder:"1.0.0",pattern:"^\\d+\\.\\d+\\.\\d+$",required:!0}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Semantic version format (e.g., 1.0.0)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-author",children:"Author"}),(0,a.jsx)(x.p,{id:"template-author",value:o.author,onChange:e=>c({...o,author:e.target.value.slice(0,50)}),placeholder:"Your Name",maxLength:50})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-author-url",children:"Author URL"}),(0,a.jsx)(x.p,{id:"template-author-url",type:"url",value:o.authorUrl,onChange:e=>c({...o,authorUrl:e.target.value}),placeholder:"https://yourwebsite.com"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-license",children:["License ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)(es.l6,{value:o.license,onValueChange:e=>c({...o,license:e}),children:[(0,a.jsx)(es.bq,{id:"template-license",children:(0,a.jsx)(es.yv,{})}),(0,a.jsx)(es.gC,{children:en.N2.map(e=>(0,a.jsx)(es.eb,{value:e.value,children:e.label},e.value))})]}),v&&(0,a.jsxs)("div",{className:"flex items-start gap-2 p-2 rounded-md bg-muted text-xs",children:[(0,a.jsx)(K.A,{className:"h-3 w-3 mt-0.5 shrink-0 text-muted-foreground"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:v.description})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-tags",children:"Tags"}),(0,a.jsx)(x.p,{id:"template-tags",value:d,onChange:e=>h(e.target.value),placeholder:"saas, marketing, landing (comma-separated)"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Add up to 10 tags, separated by commas"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-download-url",children:"Marketplace URL"}),(0,a.jsx)(x.p,{id:"template-download-url",type:"url",value:o.downloadUrl,onChange:e=>c({...o,downloadUrl:e.target.value}),placeholder:"https://example.com/templates/..."}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Where users can find this template"})]})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>s(!1),disabled:i,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:f,disabled:i,children:i?"Exporting...":"Export Template"})]})]})})}function eo({onProjectSelect:e,hideHeader:t=!1,hideFooter:s=!1}){let l=(0,i.useRouter)(),[o,c]=(0,r.useState)([]),[d,h]=(0,r.useState)(!0),[f,v]=(0,r.useState)(""),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),[N,S]=(0,r.useState)(""),[C,A]=(0,r.useState)("blank"),[E,T]=(0,r.useState)([]),[P,$]=(0,r.useState)("updated"),[F,I]=(0,r.useState)("list"),[L,D]=(0,r.useState)(null),[R,z]=(0,r.useState)(!1),[M,O]=(0,r.useState)(null),{state:en,setProjectList:eo,start:ec,setTourDemoProjectId:ed}=(0,er.C)(),em=en.currentStep?.id,eh="running"===en.status,[eu,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(null),ef=(0,r.useRef)(!1),ev=(0,r.useRef)(!1),ej=(0,r.useCallback)(async()=>{try{let e=await u.listCustomTemplates();T(e)}catch(e){m.v.error("Failed to load custom templates:",e)}},[]);(0,r.useCallback)(async()=>{if(!ef.current){ef.current=!0,h(!0);try{await n.vfs.init();let e=(await n.vfs.listProjects()).sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());c(e),eo(e),await ej()}catch(e){m.v.error("Failed to load projects:",e),B.oR.error("Failed to load projects")}finally{h(!1),ep(!0),ef.current=!1}}},[eo,ej]);let eb=(0,r.useCallback)(async()=>{try{await n.vfs.init();let e=(await n.vfs.listProjects()).sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());c(e),eo(e)}catch(e){m.v.error("Failed to reload projects:",e),B.oR.error("Failed to reload projects")}},[eo]),ey=async()=>{if(!ev.current){ev.current=!0;try{let t=await n.vfs.createProject("Multi-File Demo","Interactive examples showing how HTML, CSS, and JavaScript files work together");return await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets),B.oR.success("Demo project created successfully"),await eb(),e(t),t}catch(e){throw m.v.error("Failed to create demo project:",e),B.oR.error("Failed to create demo project"),ev.current=!1,e}}},ew=async()=>{try{let e=await n.vfs.createProject("Example Studios (Tour)","Demo project for guided tour");await (0,et.createProjectFromTemplate)(n.vfs,e.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets),ed(e.id),await eb(),ec(),m.v.info("[Tour] Created tour demo project:",e.id)}catch(e){m.v.error("Failed to prepare for tour:",e),B.oR.error("Failed to start tour - could not create demo project")}},eN=async()=>{if(!y.trim())return void B.oR.error("Please enter a project name");if(y.length>50)return void B.oR.error("Project name must be 50 characters or less");if(N.length>200)return void B.oR.error("Description must be 200 characters or less");try{let t=await n.vfs.createProject(y.trim().slice(0,50),N.trim().slice(0,200)||void 0);if(C.startsWith("custom:")){let e=C.replace("custom:",""),s=E.find(t=>t.id===e);s&&await (0,et.createProjectFromTemplate)(n.vfs,t.id,{name:s.name,description:s.description,files:s.files.map(e=>({path:e.path,content:"string"==typeof e.content?e.content:new TextDecoder().decode(e.content)})),directories:s.directories,assets:s.assets})}else"demo"===C?await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets):await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.ZQ);B.oR.success("Project created successfully"),b(!1),w(""),S(""),A("blank"),await eb(),e(t)}catch(e){m.v.error("Failed to create project:",e),B.oR.error("Failed to create project")}},ek=async e=>{if(confirm(`Are you sure you want to delete "${e.name}"? This cannot be undone.`))try{await n.vfs.deleteProject(e.id),B.oR.success("Project deleted"),await eb()}catch(e){m.v.error("Failed to delete project:",e),B.oR.error("Failed to delete project")}},eS=async t=>{try{let s=await n.vfs.duplicateProject(t.id);B.oR.success("Project duplicated successfully"),await eb(),e(s)}catch(e){m.v.error("Failed to duplicate project:",e),B.oR.error("Failed to duplicate project")}},eC=async e=>{try{let t=await n.vfs.exportProject(e.id),s=JSON.stringify(t,null,2),a=new Blob([s],{type:"application/json"}),r=URL.createObjectURL(a),i=document.createElement("a");i.href=r,i.download=`${e.name.replace(/\s+/g,"-")}-export.json`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r),B.oR.success("Project exported")}catch(e){m.v.error("Failed to export project:",e),B.oR.error("Failed to export project")}},eA=async e=>{try{let t=await n.vfs.exportProjectAsZip(e.id),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`${e.name.replace(/\s+/g,"-")}.zip`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s),B.oR.success("Project exported as ZIP")}catch(e){m.v.error("Failed to export project as ZIP:",e),B.oR.error("Failed to export project as ZIP")}},eE=async()=>{let t=document.createElement("input");t.type="file",t.accept=".json",t.onchange=async t=>{let s=t.target.files?.[0];if(s)try{let t=await s.text(),a=JSON.parse(t);if(!a.project||!a.files)throw Error("Invalid project file");let r=await n.vfs.importProject(a);B.oR.success("Project imported successfully"),await eb(),e(r)}catch(e){m.v.error("Failed to import project:",e),B.oR.error("Failed to import project")}},t.click()},eT=((e,t)=>{let s=[...e];switch(t){case"updated":return s.sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());case"created":return s.sort((e,t)=>t.createdAt.getTime()-e.createdAt.getTime());case"name":return s.sort((e,t)=>e.name.localeCompare(t.name));case"size":return s.sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());default:return s}})(o.filter(e=>e.name.toLowerCase().includes(f.toLowerCase())||e.description?.toLowerCase().includes(f.toLowerCase())),P);return d&&!eu?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading projects..."})]})}):(0,a.jsxs)("div",{className:"flex flex-col h-[100dvh]",style:{background:"linear-gradient(var(--project-background-tint), var(--project-background-tint)), var(--background)"},children:[(0,a.jsx)("main",{className:"flex-1 min-h-0 overflow-auto",children:(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3","data-tour-id":"projects-actions",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search projects...",value:f,onChange:e=>v(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(_.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:P,onValueChange:e=>$(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"created",children:"Date Created"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"})]})]})]})})]}),(0,a.jsxs)("div",{className:"flex border rounded-full",children:[(0,a.jsx)(p.$,{variant:"grid"===F?"secondary":"ghost",size:"sm",onClick:()=>I("grid"),className:"rounded-r-none rounded-l-full",children:(0,a.jsx)(V.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"list"===F?"secondary":"ghost",size:"sm",onClick:()=>I("list"),className:"rounded-l-none rounded-r-full",children:(0,a.jsx)(H.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)(p.$,{onClick:()=>b(!0),size:"sm",className:"gap-2","data-tour-id":"new-project-button",children:[(0,a.jsx)(G.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"New"})]}),(0,a.jsxs)(p.$,{onClick:eE,variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(Y.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"Import"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===eT.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)(k.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h2",{className:"text-xl font-semibold mb-2",children:f?"No projects found":"No projects yet"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-6",children:f?"Try a different search term":"Create your first project to get started"}),!f&&(0,a.jsxs)("div",{className:"flex gap-3 justify-center",children:[(0,a.jsxs)(p.$,{onClick:()=>b(!0),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),(0,a.jsxs)(p.$,{variant:"outline",onClick:ey,children:[(0,a.jsx)(k.A,{className:"mr-2 h-4 w-4"}),"Create Demo Project"]})]})]}):(0,a.jsx)("div",{className:"grid"===F?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4":"space-y-3","data-tour-id":"projects-list",children:eT.map(t=>"object"==typeof t&&t.id&&t.name?(0,a.jsx)(U,{project:t,onSelect:e,onDelete:ek,onExport:eC,onExportZip:eA,onDuplicate:eS,onPreview:D,onExportAsTemplate:O,onUpdate:async e=>{await n.vfs.updateProject(e),c(o.map(t=>t.id===e.id?e:t))},viewMode:F,forceMenuOpen:ex===t.id,highlightExport:eh&&"project-controls"===em&&ex===t.id},t.id):(m.v.error("Invalid project object:",t),null))})})})]})}),!s&&(0,a.jsx)("footer",{className:"hidden md:block border-t bg-card/50 py-3 px-6",children:(0,a.jsxs)("div",{className:"flex justify-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:ew,disabled:eh,"data-tour-id":"footer-guided-tour",children:[(0,a.jsx)(K.A,{className:"mr-2 h-4 w-4"}),"Guided Tour"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:()=>l.push("/test-generation"),children:[(0,a.jsx)(X.A,{className:"mr-2 h-4 w-4"}),"Model Tester"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:()=>z(!0),children:[(0,a.jsx)(K.A,{className:"mr-2 h-4 w-4"}),"About OSW Studio"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,children:(0,a.jsxs)("a",{href:"https://github.com/o-stahl/osw-studio",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(Z.A,{className:"mr-2 h-4 w-4"}),"GitHub"]})})]})}),(0,a.jsx)(Q.lG,{open:j,onOpenChange:b,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Create New Project"}),(0,a.jsx)(Q.rr,{children:"Start a new multipage website project"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Project Name"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[y.length,"/50"]})]}),(0,a.jsx)(x.p,{id:"name",value:y,onChange:e=>w(e.target.value.slice(0,50)),placeholder:"My Awesome Website",className:"mt-2",maxLength:50})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"template",children:"Template"}),(0,a.jsxs)(es.l6,{value:C,onValueChange:A,children:[(0,a.jsx)(es.bq,{id:"template",className:"mt-2 w-full",children:(0,a.jsx)("div",{className:"truncate flex-1 text-left",children:(e=>{if(e.startsWith("custom:")){let t=e.replace("custom:",""),s=E.find(e=>e.id===t);return s?.name||"Custom Template"}let t=et.Nr.find(t=>t.id===e);return t?.name||"Select a template"})(C)})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsxs)(es.s3,{children:[(0,a.jsx)(es.TR,{children:"Built-in Templates"}),et.Nr.map(e=>(0,a.jsx)(es.eb,{value:e.id,children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("div",{className:"font-medium",children:e.name}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))]}),E.length>0&&(0,a.jsxs)(es.s3,{children:[(0,a.jsx)(es.TR,{children:"Custom Templates"}),E.map(e=>(0,a.jsx)(es.eb,{value:`custom:${e.id}`,children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("div",{className:"font-medium",children:e.name}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))]})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[N.length,"/200"]})]}),(0,a.jsx)(g.T,{id:"description",value:N,onChange:e=>S(e.target.value.slice(0,200)),placeholder:"A brief description of your project",className:"mt-2 resize-none",rows:3,maxLength:200})]})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>b(!1),children:"Cancel"}),(0,a.jsx)(p.$,{onClick:eN,children:"Create Project"})]})]})}),L&&(0,a.jsx)(Q.lG,{open:!!L,onOpenChange:()=>D(null),children:(0,a.jsxs)(Q.Cf,{className:"max-w-[90vw] sm:max-w-[85vw] lg:max-w-[80vw] 2xl:max-w-[1400px] max-h-[90vh] w-full h-full p-0 flex flex-col",children:[(0,a.jsx)(Q.c7,{className:"p-4 border-b",children:(0,a.jsxs)(Q.L3,{children:["Preview: ",L.name]})}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,a.jsx)(W.X,{projectId:L.id})})]})}),(0,a.jsx)(el,{project:M,open:!!M,onOpenChange:e=>{e||O(null)}}),(0,a.jsx)(q.V,{open:R,onOpenChange:z}),(0,a.jsx)(ei.V,{location:"project-manager"})]})}function ec({onProjectSelect:e}){return(0,a.jsx)(eo,{onProjectSelect:e,hideHeader:!0,hideFooter:!0})}var ed=s(75639),em=s(59821),eh=s(84821),eu=s(25334),ep=s(80189);function ex({template:e,onSelect:t,onDelete:s,onExport:r,viewMode:i="grid"}){let n="isBuiltIn"in e&&e.isBuiltIn,l=n?null:e,o=e=>{let t=en.N2.find(t=>t.value===e);return t?.label||e},c=t=>{t.stopPropagation(),!n&&s&&s(e.id)},d=t=>{t.stopPropagation(),r&&r(e)},m=e=>{if(!e)return"Never";try{return(0,I.m)(e,{addSuffix:!0})}catch{return"Recently"}};return"list"===i?(0,a.jsx)("div",{className:"border border-border rounded-lg p-4 bg-card",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:"relative shrink-0",children:[l?.metadata.thumbnail?(0,a.jsx)("div",{className:"w-24 h-16 rounded-md overflow-hidden bg-muted",children:(0,a.jsx)("img",{src:l.metadata.thumbnail,alt:e.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-24 h-16 rounded-md bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-8 w-8 text-muted-foreground"})}),n&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute top-1 right-1 bg-background/90 rounded-full p-1",children:(0,a.jsx)(eh.A,{className:"h-3 w-3 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"Built-in template"})]})})]}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2 mb-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-base truncate",title:e.name,children:e.name}),l&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground shrink-0",children:["v",l.version]})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-1 mb-2",title:e.description,children:e.description}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-muted-foreground",children:[(l?.metadata.author||e.metadata?.author)&&(0,a.jsxs)("span",{className:"truncate max-w-[150px]",title:l?.metadata.author||e.metadata?.author,children:["by ",l?.metadata.author||e.metadata?.author]}),l?.metadata.license&&(0,a.jsxs)(a.Fragment,{children:[l.metadata.author&&(0,a.jsx)("span",{children:"•"}),(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0 h-auto",children:o(l.metadata.license)})]}),l?.files&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"•"}),(0,a.jsxs)("span",{children:[l.files.length," files"]})]}),(l?.metadata.tags||e.metadata?.tags)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"•"}),(l?.metadata.tags||e.metadata?.tags||[]).slice(0,2).map(e=>(0,a.jsx)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:e},e)),(l?.metadata.tags||e.metadata?.tags||[]).length>2&&(0,a.jsxs)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:["+",(l?.metadata.tags||e.metadata?.tags||[]).length-2]})]})]})]}),(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-3 shrink-0",children:[(0,a.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:m(l?.updatedAt||e.updatedAt)}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{children:(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Delete"]})})}),n&&(0,a.jsx)(ep.ZI,{children:"Built-in templates cannot be deleted"})]})})]})]})]})]}),(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})]})})]})}):(0,a.jsxs)("div",{className:"border border-border rounded-lg overflow-hidden bg-card group",children:[(0,a.jsxs)("div",{className:"relative",children:[l?.metadata.thumbnail?(0,a.jsx)("div",{className:"w-full aspect-video bg-muted",children:(0,a.jsx)("img",{src:l.metadata.thumbnail,alt:e.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-full aspect-video bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-16 w-16 text-muted-foreground"})}),n&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute top-2 right-2 bg-background/90 rounded-full p-1.5 shadow-sm",children:(0,a.jsx)(eh.A,{className:"h-4 w-4 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"Built-in template"})]})}),l?.metadata.downloadUrl&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("a",{href:l.metadata.downloadUrl,target:"_blank",rel:"noopener noreferrer",className:"absolute top-2 left-2 bg-background/90 hover:bg-background rounded-full p-1.5 shadow-sm transition-colors",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(eu.A,{className:"h-4 w-4 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"View on marketplace"})]})})]}),(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,a.jsx)("h3",{className:"font-semibold text-base line-clamp-1 flex-1",title:e.name,children:e.name}),l&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground shrink-0",children:["v",l.version]})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",title:e.description,children:e.description})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(l?.metadata.author||e.metadata?.author)&&(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:l?.metadata.authorUrl?(0,a.jsxs)("a",{href:l.metadata.authorUrl,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline inline-flex items-center gap-1",onClick:e=>e.stopPropagation(),children:["by ",l.metadata.author,(0,a.jsx)(eu.A,{className:"h-3 w-3"})]}):(0,a.jsxs)("span",{children:["by ",l?.metadata.author||e.metadata?.author]})}),(l?.metadata.tags||e.metadata?.tags)&&(l?.metadata.tags||e.metadata?.tags||[]).length>0&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(l?.metadata.tags||e.metadata?.tags||[]).slice(0,3).map(e=>(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0.5",children:e},e)),(l?.metadata.tags||e.metadata?.tags||[]).length>3&&(0,a.jsxs)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0.5",children:["+",(l?.metadata.tags||e.metadata?.tags||[]).length-3]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground flex-wrap",children:[l?.metadata.license&&(0,a.jsx)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:o(l.metadata.license)}),l?.files&&(0,a.jsxs)(a.Fragment,{children:[l.metadata.license&&(0,a.jsx)("span",{children:"•"}),(0,a.jsxs)("span",{children:[l.files.length," files"]})]})]})]}),(0,a.jsxs)("div",{className:"pt-3 border-t flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:m(l?.updatedAt||e.updatedAt)}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{children:(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Delete"]})})}),n&&(0,a.jsx)(ep.ZI,{children:"Built-in templates cannot be deleted"})]})})]})]})]})]})]})]})}function eg({onProjectCreated:e}){let[t,s]=(0,r.useState)([]),[i,l]=(0,r.useState)(!0),[o,c]=(0,r.useState)(""),[d,h]=(0,r.useState)("updated"),[g,f]=(0,r.useState)("grid"),v=(0,r.useCallback)(async()=>{try{l(!0);let e=await u.listCustomTemplates();s(e)}catch(e){m.v.error("Failed to load custom templates:",e),B.oR.error("Failed to load custom templates")}finally{l(!1)}},[]),j=async()=>{let e=document.createElement("input");e.type="file",e.accept=".oswt",e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{await u.importTemplateFile(t),B.oR.success("Template imported successfully!"),await v()}catch(e){m.v.error("Failed to import template:",e),B.oR.error(e instanceof Error?e.message:"Failed to import template")}},e.click()},b=async e=>{if(confirm("Are you sure you want to delete this template?"))try{await u.deleteCustomTemplate(e),B.oR.success("Template deleted"),await v()}catch(e){m.v.error("Failed to delete template:",e),B.oR.error("Failed to delete template")}},y=async e=>{try{if("isBuiltIn"in e&&e.isBuiltIn){B.oR.info("Exporting built-in template as custom template...");let t=await n.vfs.createProject(e.name,e.description);"blank"===e.id?await (0,ed.c3)(n.vfs,t.id,et.ZQ):"demo"===e.id&&await (0,ed.c3)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets);let s=await u.exportProjectAsTemplate(n.vfs,t.id,{name:e.name,description:e.description,version:"1.0.0",author:"OSW Studio",license:"mit",tags:e.metadata?.tags||[]});await n.vfs.deleteProject(t.id);let a=URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`${e.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(a),B.oR.success("Template exported successfully!")}else{let t=await u.exportTemplateAsFile(e),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`${e.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s),B.oR.success("Template exported successfully!")}}catch(e){m.v.error("Failed to export template:",e),B.oR.error("Failed to export template")}},w=async t=>{try{let s="Blank"===t.name||"Example Studios"===t.name?`New ${t.name} Project`:t.name,a=await n.vfs.createProject(s,t.description);"isBuiltIn"in t&&t.isBuiltIn?"blank"===t.id?await (0,ed.c3)(n.vfs,a.id,et.ZQ):"demo"===t.id&&await (0,ed.c3)(n.vfs,a.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets):await (0,ed.c3)(n.vfs,a.id,{name:t.name,description:t.description,files:t.files.map(e=>({path:e.path,content:"string"==typeof e.content?e.content:new TextDecoder().decode(e.content)})),directories:t.directories,assets:t.assets}),B.oR.success(`Project "${a.name}" created successfully!`),e&&e(a.id)}catch(e){m.v.error("Failed to create project from template:",e),B.oR.error("Failed to create project")}},N=[...[...ed.Nr,...t].filter(e=>{let t=o.toLowerCase();return e.name.toLowerCase().includes(t)||e.description.toLowerCase().includes(t)||"metadata"in e&&e.metadata?.author?.toLowerCase().includes(t)||"metadata"in e&&e.metadata?.tags?.some(e=>e.toLowerCase().includes(t))})].sort((e,t)=>{switch(d){case"updated":let s="updatedAt"in e&&e.updatedAt?e.updatedAt:new Date("2024-01-01");return("updatedAt"in t&&t.updatedAt?t.updatedAt:new Date("2024-01-01")).getTime()-s.getTime();case"name":return e.name.localeCompare(t.name);case"author":let a="metadata"in e&&e.metadata?.author||"",r="metadata"in t&&t.metadata?.author||"";return a.localeCompare(r);case"files":let i="files"in e&&e.files?.length||0;return("files"in t&&t.files?.length||0)-i;default:return 0}});return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading templates..."})]})}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search templates...",value:o,onChange:e=>c(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(_.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:d,onValueChange:e=>h(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"}),(0,a.jsx)(es.eb,{value:"author",children:"Author"}),(0,a.jsx)(es.eb,{value:"files",children:"File Count"})]})]})]})})]}),(0,a.jsxs)("div",{className:"flex border rounded-full",children:[(0,a.jsx)(p.$,{variant:"grid"===g?"secondary":"ghost",size:"sm",onClick:()=>f("grid"),className:"rounded-r-none rounded-l-full",children:(0,a.jsx)(V.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"list"===g?"secondary":"ghost",size:"sm",onClick:()=>f("list"),className:"rounded-l-none rounded-r-full",children:(0,a.jsx)(H.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)(p.$,{onClick:j,size:"sm",className:"gap-2",children:[(0,a.jsx)(Y.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"Import"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===N.length?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)("div",{className:"text-center max-w-md",children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(J.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h3",{className:"font-semibold mb-2",children:"No templates found"}),(0,a.jsxs)("p",{className:"text-sm text-muted-foreground mb-4",children:['No templates match your search query "',o,'"']}),(0,a.jsx)(p.$,{variant:"outline",onClick:()=>c(""),children:"Clear search"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h3",{className:"font-semibold mb-2",children:"No custom templates yet"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Import custom templates to get started with professional designs."}),(0,a.jsxs)(p.$,{onClick:j,children:[(0,a.jsx)(Y.A,{className:"h-4 w-4 mr-2"}),"Import Template"]})]})})}):(0,a.jsx)("div",{className:"grid"===g?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4":"space-y-3",children:N.map(e=>(0,a.jsx)(ex,{template:e,onSelect:w,onDelete:b,onExport:y,viewMode:g},e.id))})})})]})}function ef({onProjectSelect:e}){let t=(0,i.useRouter)();return(0,a.jsx)(eg,{onProjectCreated:s=>{e?e({id:s}):t.push(`/workspace/${s}`)}})}var ev=s(26091),ej=s(42902),eb=s(47696),ey=s(45609),ew=s(56085),eN=s(78272),ek=s(14952),eS=s(63143),eC=s(80262),eA=s(28559),eE=s(8819);function eT({skill:e,mode:t,onSave:s,onCancel:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(""),[h,u]=(0,r.useState)(""),[f,j]=(0,r.useState)("form"),[b,y]=(0,r.useState)(!1),w=e=>{u(e);try{let{frontmatter:t,markdown:s}=(0,eC.N1)(e);l(t.name),c(t.description),m(s)}catch(e){}},N=async()=>{y(!0);try{let{frontmatter:a}=(0,eC.N1)(h);"create"===t?(await ev.skillsService.createSkill(h),B.oR.success(`Created skill: ${a.name}`)):e&&(await ev.skillsService.updateSkill(e.id,h),B.oR.success(`Updated skill: ${a.name}`)),s()}catch(t){let e=t instanceof Error?t.message:"Failed to save skill";B.oR.error(e)}finally{y(!1)}};return(0,a.jsxs)("div",{className:"flex flex-col bg-background h-[inherit]",children:[(0,a.jsx)("div",{className:"border-b px-6 py-4 shrink-0",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:i,children:(0,a.jsx)(eA.A,{className:"w-4 h-4"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-2xl font-bold",children:"create"===t?"Create New Skill":"Edit Skill"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Define specialized knowledge for the AI assistant"})]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:i,children:"Cancel"}),(0,a.jsxs)(p.$,{onClick:N,disabled:b,children:[(0,a.jsx)(eE.A,{className:"w-4 h-4 mr-2"}),b?"Saving...":"Save Skill"]})]})]})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col overflow-auto",children:[(0,a.jsx)("div",{className:"border-b px-6 shrink-0",children:(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>j("form"),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${"form"===f?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:"Form Editor"}),(0,a.jsx)("button",{onClick:()=>j("raw"),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${"raw"===f?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:"Raw Markdown"})]})}),"form"===f&&(0,a.jsx)("div",{className:"flex-1 overflow-y-auto px-6 py-4",children:(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Skill Name *"}),(0,a.jsx)(x.p,{id:"name",placeholder:"e.g., react-hooks, python-testing, ui-design",value:n,onChange:e=>l(e.target.value),className:"mt-1.5"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Lowercase with hyphens (will be used as file name)"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description *"}),(0,a.jsx)(x.p,{id:"description",placeholder:"Brief description of what this skill covers",value:o,onChange:e=>c(e.target.value),className:"mt-1.5"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Max 200 characters - shown in skills list"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"markdown",children:"Skill Content *"}),(0,a.jsx)(g.T,{id:"markdown",placeholder:"Write the skill content in markdown format... ## Guidelines - Guideline 1 - Guideline 2 ## Examples ```javascript // Example code ```",value:d,onChange:e=>m(e.target.value),className:"mt-1.5 font-mono text-sm min-h-[400px]"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Markdown content that the AI will read when using this skill"})]}),(0,a.jsxs)("div",{className:"bg-muted/50 rounded-lg p-4",children:[(0,a.jsxs)("h3",{className:"font-semibold mb-2 flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-4 h-4"}),"Tips for Writing Skills"]}),(0,a.jsxs)("ul",{className:"text-sm text-muted-foreground space-y-1 ml-5 list-disc",children:[(0,a.jsx)("li",{children:"Be specific and actionable - provide clear guidelines and examples"}),(0,a.jsx)("li",{children:"Use markdown formatting for better readability"}),(0,a.jsx)("li",{children:"Include code examples where relevant"}),(0,a.jsx)("li",{children:"Focus on practical knowledge the AI can apply"}),(0,a.jsx)("li",{children:"Keep it concise but comprehensive"})]})]})]})}),"raw"===f&&(0,a.jsx)("div",{className:"flex-1 overflow-auto px-6 py-4",children:(0,a.jsx)("div",{className:"max-w-4xl",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"raw-content",children:"Raw SKILL.md Content"}),(0,a.jsx)(g.T,{id:"raw-content",value:h,onChange:e=>w(e.target.value),className:"mt-1.5 font-mono text-sm min-h-[600px]",spellCheck:!1}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Direct editing of the SKILL.md file (YAML frontmatter + markdown)"})]})})})]})]})}function eP(){let[e,t]=(0,r.useState)([]),[s,i]=(0,r.useState)(!0),[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(null),[d,h]=(0,r.useState)(null),[u,g]=(0,r.useState)(!1),[f,j]=(0,r.useState)(null),[b,y]=(0,r.useState)(!0),[w,N]=(0,r.useState)(new Set),k=async()=>{try{i(!0);let e=await ev.skillsService.getAllSkills();t(e)}catch(e){m.v.error("[SkillsManager] Failed to load skills",e),B.oR.error("Failed to load skills")}finally{i(!1)}},S=async()=>{try{let e=await ev.skillsService.isGloballyEnabled();y(e);let t=await ev.skillsService.getAllSkills(),s=new Set;for(let e of t)await ev.skillsService.isSkillEnabled(e.id)&&s.add(e.id);N(s)}catch(e){m.v.error("[SkillsManager] Failed to load enabled state",e)}},C=async e=>{try{await ev.skillsService.setGlobalEnabled(e),y(e),B.oR.success(e?"Skills enabled":"Skills disabled")}catch(e){B.oR.error("Failed to update skills state")}},A=async(e,t)=>{try{t?(await ev.skillsService.enableSkill(e),N(t=>new Set([...t,e]))):(await ev.skillsService.disableSkill(e),N(t=>{let s=new Set(t);return s.delete(e),s}))}catch(e){B.oR.error("Failed to toggle skill")}},E=()=>{c(null),h("create")},T=e=>{c(e),h("edit")},P=e=>{j(e),g(!0)},F=async()=>{if(f)try{await ev.skillsService.deleteSkill(f.id),B.oR.success(`Deleted skill: ${f.name}`),await k(),await S()}catch(t){let e=t instanceof Error?t.message:"Failed to delete skill";B.oR.error(e)}finally{g(!1),j(null)}},I=async()=>{let e=document.createElement("input");e.type="file",e.accept=".md,.zip",e.multiple=!1,e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{if(t.name.endsWith(".zip")){let e=await ev.skillsService.importSkills(t);B.oR.success(`Imported ${e.length} skill(s)`)}else{let e=await ev.skillsService.importSkillFile(t);B.oR.success(`Imported skill: ${e.name}`)}await k(),await S()}catch(t){let e=t instanceof Error?t.message:"Failed to import skill";B.oR.error(e)}},e.click()},L=async()=>{try{let t=e.filter(e=>!e.isBuiltIn);if(0===t.length)return void B.oR.error("No custom skills to export");let s=await ev.skillsService.exportSkills(t.map(e=>e.id)),a=URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`osw-skills-${new Date().toISOString().split("T")[0]}.zip`,r.click(),URL.revokeObjectURL(a),B.oR.success(`Exported ${t.length} skill(s)`)}catch(e){B.oR.error("Failed to export skills")}},D=async()=>{h(null),c(null),await k(),await S()},R=()=>{h(null),c(null)},z=e.filter(e=>e.name.toLowerCase().includes(n.toLowerCase())||e.description.toLowerCase().includes(n.toLowerCase())),M=z.filter(e=>e.isBuiltIn),O=z.filter(e=>!e.isBuiltIn);return s?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading skills..."})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search skills...",value:n,onChange:e=>l(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:I,children:[(0,a.jsx)(Y.A,{className:"w-4 h-4 mr-2"}),"Import"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:L,children:[(0,a.jsx)($.A,{className:"w-4 h-4 mr-2"}),"Export"]}),(0,a.jsxs)(p.$,{onClick:E,size:"sm",children:[(0,a.jsx)(G.A,{className:"w-4 h-4 mr-2"}),"New"]})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ey.A,{className:"w-4 h-4"}),(0,a.jsx)(ee.J,{htmlFor:"global-toggle",className:"text-sm font-medium cursor-pointer",children:"Enable Skills System"})]}),(0,a.jsx)(ej.d,{id:"global-toggle",checked:b,onCheckedChange:C})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6 overflow-auto",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===z.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)(ew.A,{className:"w-12 h-12 mx-auto mb-4 text-muted-foreground"}),(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No skills found"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:n?"Try a different search query":"Create your first custom skill"}),!n&&(0,a.jsxs)(p.$,{onClick:E,children:[(0,a.jsx)(G.A,{className:"w-4 h-4 mr-2"}),"Create Skill"]})]}):(0,a.jsxs)("div",{className:"space-y-6",children:[M.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-5 h-5"}),"Built-in Skills (",M.length,")"]}),(0,a.jsx)("div",{className:"grid gap-3",children:M.map(e=>(0,a.jsx)(e$,{skill:e,isEnabled:w.has(e.id),globalEnabled:b,onToggle:A,onEdit:T,onDelete:P},e.id))})]}),O.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(ew.A,{className:"w-5 h-5"}),"Custom Skills (",O.length,")"]}),(0,a.jsx)("div",{className:"grid gap-3",children:O.map(e=>(0,a.jsx)(e$,{skill:e,isEnabled:w.has(e.id),globalEnabled:b,onToggle:A,onEdit:T,onDelete:P},e.id))})]})]})})})]}),(0,a.jsx)(Q.lG,{open:!!d,onOpenChange:e=>!e&&R(),children:(0,a.jsx)(Q.Cf,{className:"max-w-[90vw] sm:max-w-[85vw] lg:max-w-[75vw] xl:max-w-[1200px] h-[90vh] p-0 overflow-hidden",children:d&&(0,a.jsx)(eT,{skill:o,mode:d,onSave:D,onCancel:R})})}),(0,a.jsx)(Q.lG,{open:u,onOpenChange:g,children:(0,a.jsxs)(Q.Cf,{children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Delete Skill"}),(0,a.jsxs)(Q.rr,{children:['Are you sure you want to delete "',f?.name,'"? This action cannot be undone.']})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>g(!1),children:"Cancel"}),(0,a.jsx)(p.$,{variant:"destructive",onClick:F,children:"Delete"})]})]})})]})}function e$({skill:e,isEnabled:t,globalEnabled:s,onToggle:i,onEdit:n,onDelete:l}){let[o,c]=(0,r.useState)(!1),d=s&&t;return(0,a.jsx)(eb.Nt,{open:o,onOpenChange:c,children:(0,a.jsxs)("div",{className:`border rounded-lg transition-colors ${d?"border-primary/30 bg-primary/5":"border-border"}`,children:[(0,a.jsx)("div",{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsxs)(eb.R6,{className:"flex items-center gap-2 hover:text-primary transition-colors",children:[o?(0,a.jsx)(eN.A,{className:"w-4 h-4 shrink-0"}):(0,a.jsx)(ek.A,{className:"w-4 h-4 shrink-0"}),(0,a.jsx)("h3",{className:"font-semibold truncate",children:e.name})]}),e.isBuiltIn&&(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs",children:"Built-in"}),!d&&(0,a.jsx)(em.E,{variant:"outline",className:"text-xs text-muted-foreground",children:"Disabled"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.d,{checked:t,onCheckedChange:t=>i(e.id,t),disabled:!s}),!e.isBuiltIn&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>n(e),children:(0,a.jsx)(eS.A,{className:"w-4 h-4"})}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>l(e),children:(0,a.jsx)(F.A,{className:"w-4 h-4"})})]})]})]})}),(0,a.jsx)(eb.Ke,{children:(0,a.jsx)("div",{className:"border-t px-4 py-3 bg-muted/30",children:(0,a.jsxs)("div",{className:"text-sm space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,a.jsx)("span",{className:"font-medium",children:"Updated:"}),(0,a.jsx)("span",{children:e.updatedAt.toLocaleDateString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Description:"}),(0,a.jsx)("p",{className:"mt-1",children:e.description})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Content:"}),(0,a.jsx)("pre",{className:"mt-1 text-xs bg-background p-3 rounded border overflow-auto max-h-96 whitespace-pre-wrap",children:e.markdown})]})]})})})]})})}function eF(){return(0,a.jsx)(eP,{})}var eI=s(45001),eL=s(11437),eD=s(12597),eR=s(5407),ez=s(93613),eM=s(82570),eO=s(78122),eB=s(57175),eU=s(84027),eW=s(24413),eq=s(53411);function eJ({site:e,project:t,isPublishing:s=!1,onOpenSettings:r,onOpenServerSettings:i,onViewAnalytics:n,onEditProject:l,onPublish:o,onDisable:c,onEnable:d,onDelete:m}){let h=null!==e.lastPublishedVersion&&void 0!==e.lastPublishedVersion,u=h&&Number(e.settingsVersion)>Number(e.lastPublishedVersion),x=e.customDomain?`https://${e.customDomain}`:`${window.location.origin}/sites/${e.id}`,g=()=>{navigator.clipboard.writeText(x)};return(0,a.jsxs)("div",{className:"border rounded-lg overflow-hidden hover:shadow-lg transition-shadow bg-card",children:[(0,a.jsxs)("div",{className:"aspect-video bg-muted relative",children:[e.previewImage||t?.previewImage?(0,a.jsx)("img",{src:e.previewImage||t?.previewImage,alt:e.name,className:"w-full h-full object-cover"},e.previewUpdatedAt?new Date(e.previewUpdatedAt).getTime():"static"):(0,a.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,a.jsx)(eL.A,{className:"h-12 w-12 text-muted-foreground"})}),(0,a.jsxs)("div",{className:"absolute top-2 right-2 flex gap-2",children:[!e.enabled&&(0,a.jsxs)(em.E,{variant:"outline",className:"bg-gray-100 dark:bg-gray-950 border-gray-300 dark:border-gray-800",children:[(0,a.jsx)(eD.A,{className:"h-3 w-3 mr-1"}),"Disabled"]}),e.underConstruction&&e.enabled&&(0,a.jsxs)(em.E,{variant:"outline",className:"bg-orange-100 dark:bg-orange-950 border-orange-300 dark:border-orange-800",children:[(0,a.jsx)(eR.A,{className:"h-3 w-3 mr-1"}),"Under Construction"]}),u&&e.enabled&&(0,a.jsxs)(em.E,{variant:"outline",className:"bg-yellow-100 dark:bg-yellow-950 border-yellow-300 dark:border-yellow-800",children:[(0,a.jsx)(ez.A,{className:"h-3 w-3 mr-1"}),"Pending Changes"]})]})]}),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsxs)("div",{className:"mb-3",children:[(0,a.jsx)("h3",{className:"font-semibold text-lg truncate mb-1",children:e.name}),t&&(0,a.jsxs)("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[(0,a.jsx)(eM.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"truncate",children:t.name})]}),e.slug&&(0,a.jsxs)("p",{className:"text-xs text-muted-foreground mt-1",children:["Slug: ",e.slug]})]}),e.enabled&&(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-3 p-2 bg-muted rounded text-xs",children:[(0,a.jsx)(eL.A,{className:"h-3 w-3 text-muted-foreground flex-shrink-0"}),(0,a.jsx)("span",{className:"flex-1 truncate",children:x}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:g,title:"Copy URL",children:(0,a.jsx)(T.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-3 text-xs text-muted-foreground",children:[(0,a.jsxs)("div",{children:["Version: ",e.settingsVersion,e.lastPublishedVersion&&(0,a.jsxs)(a.Fragment,{children:[" / ",e.lastPublishedVersion]})]}),e.publishedAt&&(0,a.jsxs)("div",{children:["Published ",(0,I.m)(new Date(e.publishedAt),{addSuffix:!0})]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2 mb-4",children:[e.headScripts.filter(e=>e.enabled).length+e.bodyScripts.filter(e=>e.enabled).length>0&&(0,a.jsxs)(em.E,{variant:"secondary",className:"text-xs",children:[e.headScripts.filter(e=>e.enabled).length+e.bodyScripts.filter(e=>e.enabled).length," ","Script",e.headScripts.filter(e=>e.enabled).length+e.bodyScripts.filter(e=>e.enabled).length!==1&&"s"]}),e.cdnLinks.filter(e=>e.enabled).length>0&&(0,a.jsxs)(em.E,{variant:"secondary",className:"text-xs",children:[e.cdnLinks.filter(e=>e.enabled).length," CDN Resource",1!==e.cdnLinks.filter(e=>e.enabled).length&&"s"]}),e.analytics.enabled&&(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs",children:"Analytics"}),(e.seo.title||e.seo.description)&&(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs",children:"SEO Configured"}),e.compliance.enabled&&(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs",children:"Compliance"})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[e.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.$,{variant:u?void 0:"outline",size:"sm",className:u?"flex-1 !bg-orange-500 hover:!bg-orange-600 !text-white":"flex-1",onClick:()=>o(e.id),disabled:s,children:[(0,a.jsx)(eO.A,{className:`h-4 w-4 mr-2 ${s?"animate-spin":""}`}),s?"Publishing...":u?"Publish Changes":h?"Republish":"Publish Site"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:()=>{window.open(x,"_blank","noopener,noreferrer")},title:"View Live",children:(0,a.jsx)(eu.A,{className:"h-4 w-4"})})]}):(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"flex-1",onClick:()=>d(e.id),children:[(0,a.jsx)(E.A,{className:"h-4 w-4 mr-2"}),"Enable"]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"outline",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>l(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit Project"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:()=>r(e),children:[(0,a.jsx)(eU.A,{className:"h-4 w-4 mr-2"}),"Site Settings"]}),e.databaseEnabled&&(0,a.jsxs)(M,{onClick:()=>i?.(e),children:[(0,a.jsx)(eW.A,{className:"h-4 w-4 mr-2"}),"Server Settings"]}),e.analytics.enabled&&"builtin"===e.analytics.provider&&(0,a.jsxs)(M,{onClick:()=>n(e),children:[(0,a.jsx)(eq.A,{className:"h-4 w-4 mr-2"}),"View Analytics"]}),e.enabled&&(0,a.jsxs)(M,{onClick:g,children:[(0,a.jsx)(T.A,{className:"h-4 w-4 mr-2"}),"Copy URL"]}),(0,a.jsx)(O,{}),e.enabled?(0,a.jsxs)(M,{onClick:()=>c(e.id),children:[(0,a.jsx)(eD.A,{className:"h-4 w-4 mr-2"}),"Disable Site"]}):(0,a.jsxs)(M,{onClick:()=>d(e.id),children:[(0,a.jsx)(E.A,{className:"h-4 w-4 mr-2"}),"Enable Site"]}),(0,a.jsxs)(M,{onClick:()=>m(e.id),className:"text-destructive focus:text-destructive",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 mr-2"}),"Delete Site"]})]})]})]})]})]})}var e_=s(55146);let eV=e_.bL,eH=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(e_.B8,{ref:s,className:(0,m.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));eH.displayName=e_.B8.displayName;let eG=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(e_.l9,{ref:s,className:(0,m.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));eG.displayName=e_.l9.displayName;let eY=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(e_.UC,{ref:s,className:(0,m.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));function eK({settings:e,onChange:t,projectId:s,siteId:r}){let i=(s,a)=>{t({...e,[s]:a})},n=e.customDomain?`https://${e.customDomain}`:`/sites/${r}`,l=`/sites/${r}`;return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Publishing Status"})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"enabled",className:"text-base",children:"Published"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Make this site publicly accessible"})]}),(0,a.jsx)(ej.d,{id:"enabled",checked:e.enabled,onCheckedChange:e=>i("enabled",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"under-construction",className:"text-base",children:"Under Construction"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show maintenance overlay on live site"})]}),(0,a.jsx)(ej.d,{id:"under-construction",checked:e.underConstruction,onCheckedChange:e=>i("underConstruction",e)})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Public URL"})}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{className:"text-xs text-muted-foreground",children:"Public URL"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted rounded-lg",children:[(0,a.jsx)(eL.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("code",{className:"text-sm flex-1",children:n}),e.enabled&&(0,a.jsx)(em.E,{variant:"default",className:"ml-2",children:"Live"}),!e.enabled&&(0,a.jsx)(em.E,{variant:"secondary",className:"ml-2",children:"Not Published"})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This is the public URL where your site will be accessible"})]}),e.customDomain&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{className:"text-xs text-muted-foreground",children:"OSW Studio Path (Debug)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted/50 rounded-lg border border-dashed",children:[(0,a.jsx)(eL.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("code",{className:"text-xs flex-1 text-muted-foreground",children:l})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Internal path used by reverse proxy. Map your custom domain to this URL."})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Custom Domain (Advanced)"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"custom-domain",children:"Domain Name (Optional)"}),(0,a.jsx)(x.p,{id:"custom-domain",type:"text",placeholder:"example.com",value:e.customDomain||"",onChange:e=>i("customDomain",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enter your custom domain if you've configured a reverse proxy to point it to this site. This is used for SEO meta tags and sitemaps. See documentation for setup instructions."})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Version Information"})}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"p-3 border rounded-lg",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Current Version"}),(0,a.jsx)("div",{className:"text-2xl font-semibold",children:e.settingsVersion})]}),(0,a.jsxs)("div",{className:"p-3 border rounded-lg",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Published Version"}),(0,a.jsx)("div",{className:"text-2xl font-semibold",children:null!==e.lastPublishedVersion&&void 0!==e.lastPublishedVersion?e.lastPublishedVersion:"-"})]})]}),void 0!==e.lastPublishedVersion&&e.settingsVersion>e.lastPublishedVersion&&(0,a.jsx)("div",{className:"p-3 bg-yellow-50 dark:bg-yellow-950 border border-yellow-200 dark:border-yellow-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(em.E,{variant:"outline",className:"bg-yellow-100 dark:bg-yellow-900",children:"Pending Changes"}),(0,a.jsx)("span",{className:"text-sm",children:"You have unpublished changes. Republish to apply them."})]})})]})]})}eY.displayName=e_.UC.displayName;var eX=s(80375);function eZ({settings:e,onChange:t}){let[s,i]=(0,r.useState)(null),[n,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)("head"),d=[...e.headScripts.map(e=>({...e,position:"head"})),...e.bodyScripts.map(e=>({...e,position:"body"}))],m=()=>{i({id:`script-${Date.now()}`,name:"",content:"",type:"inline",enabled:!0}),c("head"),l(!0)},h=(e,t)=>{i(e),c(t),l(!0)},u=s=>{confirm("Are you sure you want to delete this script?")&&t({...e,headScripts:e.headScripts.filter(e=>e.id!==s),bodyScripts:e.bodyScripts.filter(e=>e.id!==s)})},f=(s,a)=>{let r=("head"===a?e.headScripts:e.bodyScripts).map(e=>e.id===s?{...e,enabled:!e.enabled}:e);t({...e,["head"===a?"headScripts":"bodyScripts"]:r})};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Script Management"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Add custom scripts to your published site"})]}),(0,a.jsxs)(p.$,{onClick:m,size:"sm",children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-2"}),"Add Script"]})]}),0===d.length?(0,a.jsxs)("div",{className:"text-center p-8 border-2 border-dashed rounded-lg",children:[(0,a.jsx)(eX.A,{className:"h-12 w-12 mx-auto text-muted-foreground mb-3"}),(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No Scripts Added"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Add tracking scripts, analytics, or custom code to your site"}),(0,a.jsxs)(p.$,{onClick:m,variant:"outline",children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-2"}),"Add Your First Script"]})]}):(0,a.jsx)("div",{className:"space-y-4",children:d.map(e=>(0,a.jsxs)("div",{className:"flex items-start gap-4 p-4 border rounded-lg hover:bg-accent/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)("h4",{className:"font-semibold truncate",children:e.name}),(0,a.jsx)(em.E,{variant:"head"===e.position?"default":"secondary",children:"head"===e.position?"":"before "}),(0,a.jsx)(em.E,{variant:"outline",children:e.type}),e.async&&(0,a.jsx)(em.E,{variant:"outline",children:"async"}),e.defer&&(0,a.jsx)(em.E,{variant:"outline",children:"defer"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground truncate",children:"inline"===e.type?`${e.content.length} characters`:e.content})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.d,{checked:e.enabled,onCheckedChange:()=>f(e.id,e.position)}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>h(e,e.position),children:(0,a.jsx)(eS.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>u(e.id),children:(0,a.jsx)(F.A,{className:"h-4 w-4"})})]})]},e.id))}),(0,a.jsx)(Q.lG,{open:n,onOpenChange:l,children:(0,a.jsxs)(Q.Cf,{className:"max-w-2xl",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:s?.name?"Edit Script":"Add Script"}),(0,a.jsx)(Q.rr,{children:"Configure a custom script to inject into your published site"})]}),s&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-name",children:"Script Name"}),(0,a.jsx)(x.p,{id:"script-name",placeholder:"e.g., Google Analytics",value:s.name,onChange:e=>i({...s,name:e.target.value})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-position",children:"Position"}),(0,a.jsxs)(es.l6,{value:o,onValueChange:e=>c(e),children:[(0,a.jsx)(es.bq,{id:"script-position",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"head",children:"In "}),(0,a.jsx)(es.eb,{value:"body",children:"Before "})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-type",children:"Type"}),(0,a.jsxs)(es.l6,{value:s.type,onValueChange:e=>i({...s,type:e}),children:[(0,a.jsx)(es.bq,{id:"script-type",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"inline",children:"Inline Script"}),(0,a.jsx)(es.eb,{value:"external",children:"External URL"})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-content",children:"inline"===s.type?"Script Code":"Script URL"}),"inline"===s.type?(0,a.jsx)(g.T,{id:"script-content",placeholder:"`,(0,a.jsx)("br",{}),"\x3c!-- End Google Tag Manager --\x3e"]}),"ga4"===e.analytics.provider&&(0,a.jsxs)(a.Fragment,{children:["\x3c!-- Google Analytics 4 --\x3e",(0,a.jsx)("br",{}),``,(0,a.jsx)("br",{}),"`,(0,a.jsx)("br",{}),"\x3c!-- End Plausible Analytics --\x3e"]}),"custom"===e.analytics.provider&&(e.analytics.customScript||"No custom script provided")]})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This script will be injected into the section of your site"})]})]})]})}function e2({settings:e,onChange:t}){let[s,i]=(0,r.useState)(""),n=(s,a)=>{t({...e,seo:{...e.seo,[s]:a}})},l=()=>{if(!s.trim())return;let t=e.seo.keywords||[],a=s.split(",").map(e=>e.trim()).filter(e=>e&&!t.includes(e));a.length>0&&(n("keywords",[...t,...a]),i(""))},o=t=>{n("keywords",(e.seo.keywords||[]).filter(e=>e!==t))};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"SEO Configuration"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Optimize your site for search engines and social sharing"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Basic Meta Tags"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-title",children:"Meta Title"}),(0,a.jsx)(x.p,{id:"seo-title",placeholder:"Your Site Title",value:e.seo.title||"",onChange:e=>n("title",e.target.value||void 0)}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Recommended: 50-60 characters",e.seo.title&&(0,a.jsxs)("span",{className:"ml-2",children:["(",e.seo.title.length," characters)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-description",children:"Meta Description"}),(0,a.jsx)(g.T,{id:"seo-description",placeholder:"A brief description of your site",rows:3,value:e.seo.description||"",onChange:e=>n("description",e.target.value||void 0)}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Recommended: 150-160 characters",e.seo.description&&(0,a.jsxs)("span",{className:"ml-2",children:["(",e.seo.description.length," characters)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-keywords",children:"Keywords"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(x.p,{id:"seo-keywords",placeholder:"Enter keywords (comma-separated)",value:s,onChange:e=>i(e.target.value),onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),l())}}),(0,a.jsx)(p.$,{type:"button",onClick:l,variant:"outline",children:"Add"})]}),e.seo.keywords&&e.seo.keywords.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-2 mt-2",children:e.seo.keywords.map(e=>(0,a.jsxs)(em.E,{variant:"secondary",className:"gap-1",children:[e,(0,a.jsx)("button",{onClick:()=>o(e),className:"ml-1 hover:text-destructive",children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]},e))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-canonical",children:"Canonical URL"}),(0,a.jsx)(x.p,{id:"seo-canonical",type:"url",placeholder:"https://example.com/page",value:e.seo.canonical||"",onChange:e=>n("canonical",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Prevent duplicate content issues by specifying the primary URL"})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Open Graph (Facebook, LinkedIn)"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-title",children:"OG Title"}),(0,a.jsx)(x.p,{id:"og-title",placeholder:"Title for social media sharing",value:e.seo.ogTitle||"",onChange:e=>n("ogTitle",e.target.value||void 0)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-description",children:"OG Description"}),(0,a.jsx)(g.T,{id:"og-description",placeholder:"Description for social media sharing",rows:2,value:e.seo.ogDescription||"",onChange:e=>n("ogDescription",e.target.value||void 0)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-image",children:"OG Image URL"}),(0,a.jsx)(x.p,{id:"og-image",type:"url",placeholder:"https://example.com/image.jpg",value:e.seo.ogImage||"",onChange:e=>n("ogImage",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Recommended: 1200x630px for best results"})]}),e.seo.ogImage&&(0,a.jsxs)("div",{className:"p-4 border rounded-lg",children:[(0,a.jsx)("p",{className:"text-sm font-medium mb-2",children:"Image Preview"}),(0,a.jsx)("div",{className:"relative aspect-video bg-muted rounded flex items-center justify-center overflow-hidden",children:(0,a.jsx)("img",{src:e.seo.ogImage,alt:"OG Image preview",className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none",e.target.parentElement.innerHTML='
Unable to load image
'}})})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Twitter Card"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"twitter-card",children:"Card Type"}),(0,a.jsxs)(es.l6,{value:e.seo.twitterCard||"summary",onValueChange:e=>n("twitterCard",e),children:[(0,a.jsx)(es.bq,{id:"twitter-card",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"summary",children:"Summary"}),(0,a.jsx)(es.eb,{value:"summary_large_image",children:"Summary Large Image"})]})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"How your site appears when shared on Twitter/X"})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Search Result Preview"})}),(0,a.jsx)("div",{className:"p-4 border rounded-lg bg-muted/50",children:(0,a.jsxs)("div",{className:"flex gap-2 mb-2",children:[(0,a.jsx)(J.A,{className:"h-5 w-5 text-blue-600"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm text-blue-600 mb-1",children:"https://your-domain.com"}),(0,a.jsx)("h3",{className:"text-lg text-blue-800 dark:text-blue-400 font-medium mb-1",children:e.seo.title||e.seo.ogTitle||"Your Site Title"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.seo.description||e.seo.ogDescription||"Your site description will appear here in search results."})]})]})})]}),(e.seo.ogTitle||e.seo.ogImage)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Social Share Preview"})}),(0,a.jsx)("div",{className:"p-4 border rounded-lg bg-muted/50",children:(0,a.jsxs)("div",{className:"space-y-2",children:[e.seo.ogImage&&(0,a.jsx)("div",{className:"aspect-video bg-muted rounded overflow-hidden",children:(0,a.jsx)("img",{src:e.seo.ogImage,alt:"Social preview",className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none"}})}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"your-domain.com"}),(0,a.jsx)("h4",{className:"font-semibold",children:e.seo.ogTitle||e.seo.title||"Your Site Title"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.seo.ogDescription||e.seo.description||"Your site description"})]})]})})]})]})}var e4=s(47260);function e3({settings:e,onChange:t}){let s=(s,a)=>{t({...e,compliance:{...e.compliance,[s]:a}})};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Compliance & Consent"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Cookie consent banner and privacy compliance"})]})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"compliance-enabled",className:"text-base",children:"Enable Consent Banner"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show a cookie consent banner to visitors"})]}),(0,a.jsx)(ej.d,{id:"compliance-enabled",checked:e.compliance.enabled,onCheckedChange:e=>s("enabled",e)})]}),e.compliance.enabled&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Banner Configuration"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-position",children:"Banner Position"}),(0,a.jsxs)(es.l6,{value:e.compliance.bannerPosition,onValueChange:e=>s("bannerPosition",e),children:[(0,a.jsx)(es.bq,{id:"banner-position",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"top",children:"Top"}),(0,a.jsx)(es.eb,{value:"bottom",children:"Bottom"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-style",children:"Banner Style"}),(0,a.jsxs)(es.l6,{value:e.compliance.bannerStyle,onValueChange:e=>s("bannerStyle",e),children:[(0,a.jsx)(es.bq,{id:"banner-style",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"bar",children:"Full-width Bar"}),(0,a.jsx)(es.eb,{value:"modal",children:"Centered Modal"}),(0,a.jsx)(es.eb,{value:"corner",children:"Bottom-right Corner"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-message",children:"Banner Message"}),(0,a.jsx)(g.T,{id:"banner-message",placeholder:"We use cookies to improve your experience...",rows:3,value:e.compliance.message,onChange:e=>s("message",e.target.value),maxLength:500}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.compliance.message.length,"/500 characters"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"accept-text",children:"Accept Button Text"}),(0,a.jsx)(x.p,{id:"accept-text",placeholder:"Accept",value:e.compliance.acceptButtonText,onChange:e=>s("acceptButtonText",e.target.value),maxLength:50})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"decline-text",children:"Decline Button Text"}),(0,a.jsx)(x.p,{id:"decline-text",placeholder:"Decline",value:e.compliance.declineButtonText,onChange:e=>s("declineButtonText",e.target.value),maxLength:50})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold mb-2",children:"Policy Links (Optional)"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Add links to your privacy and cookie policies"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"privacy-policy-url",children:"Privacy Policy URL"}),(0,a.jsx)(x.p,{id:"privacy-policy-url",type:"url",placeholder:"https://example.com/privacy",value:e.compliance.privacyPolicyUrl||"",onChange:e=>s("privacyPolicyUrl",e.target.value)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"cookie-policy-url",children:"Cookie Policy URL"}),(0,a.jsx)(x.p,{id:"cookie-policy-url",type:"url",placeholder:"https://example.com/cookies",value:e.compliance.cookiePolicyUrl||"",onChange:e=>s("cookiePolicyUrl",e.target.value)})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Compliance Mode"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"compliance-mode",children:"Mode"}),(0,a.jsxs)(es.l6,{value:e.compliance.mode,onValueChange:e=>s("mode",e),children:[(0,a.jsx)(es.bq,{id:"compliance-mode",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"opt-in",children:"Opt-in (GDPR)"}),(0,a.jsx)(es.eb,{value:"opt-out",children:"Opt-out"})]})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"opt-in"===e.compliance.mode?"Blocks analytics until user accepts (required for GDPR)":"Allows analytics by default, user can decline"})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1 flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ee.J,{htmlFor:"block-analytics",className:"text-base",children:"Block Analytics Until Consent"}),(0,a.jsx)(e4.A,{className:"h-4 w-4 text-muted-foreground"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Prevent analytics tracking until user accepts"})]}),(0,a.jsx)(ej.d,{id:"block-analytics",checked:e.compliance.blockAnalytics,onCheckedChange:e=>s("blockAnalytics",e)})]}),"opt-in"===e.compliance.mode&&(0,a.jsx)("div",{className:"p-4 bg-blue-50 dark:bg-blue-950 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(e0.A,{className:"h-5 w-5 text-blue-600 dark:text-blue-400 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("h4",{className:"font-semibold text-blue-900 dark:text-blue-100",children:"GDPR Compliance Mode"}),(0,a.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"In opt-in mode, cookies and tracking are blocked by default until the user explicitly accepts. This is required for GDPR compliance."})]})]})})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Preview"})}),(0,a.jsx)("div",{className:"p-4 bg-muted rounded-lg border",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(K.A,{className:"h-5 w-5 text-muted-foreground flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Live Preview"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"The consent banner will appear on your published site based on the configuration above. Visitors' choices are stored in their browser's localStorage."})]})]})})]})]})]})}function e5({site:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e.enabled),[o,c]=(0,r.useState)(e.underConstruction),[d,m]=(0,r.useState)(e.customDomain),[h,u]=(0,r.useState)(e.headScripts),[x,g]=(0,r.useState)(e.bodyScripts),[f,v]=(0,r.useState)(e.cdnLinks),[j,b]=(0,r.useState)(e.analytics),[y,w]=(0,r.useState)(e.seo),[N,k]=(0,r.useState)(e.compliance),[S,C]=(0,r.useState)(!1),[A,E]=(0,r.useState)(!1),[T,P]=(0,r.useState)("general"),$=()=>{S?confirm("You have unsaved changes. Are you sure you want to close?")&&s():s()},F=async()=>{E(!0);try{await i({enabled:n,underConstruction:o,customDomain:d,headScripts:h,bodyScripts:x,cdnLinks:f,analytics:j,seo:y,compliance:N}),C(!1),s()}catch(e){console.error("[SiteSettingsModal] Failed to save settings:",e),alert("Failed to save settings. Please try again.")}finally{E(!1)}},I={enabled:n,underConstruction:o,customDomain:d,headScripts:h,bodyScripts:x,cdnLinks:f,analytics:j,seo:y,compliance:N,settingsVersion:e.settingsVersion,lastPublishedVersion:e.lastPublishedVersion},L=e=>{"enabled"in e&&void 0!==e.enabled&&l(e.enabled),"underConstruction"in e&&void 0!==e.underConstruction&&c(e.underConstruction),"customDomain"in e&&m(e.customDomain),"headScripts"in e&&void 0!==e.headScripts&&u(e.headScripts),"bodyScripts"in e&&void 0!==e.bodyScripts&&g(e.bodyScripts),"cdnLinks"in e&&void 0!==e.cdnLinks&&v(e.cdnLinks),"analytics"in e&&void 0!==e.analytics&&b(e.analytics),"seo"in e&&void 0!==e.seo&&w(e.seo),"compliance"in e&&void 0!==e.compliance&&k(e.compliance)};return(0,a.jsx)(Q.lG,{open:t,onOpenChange:$,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-2xl h-[80vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsxs)(Q.L3,{children:["Site Settings - ",e.name]}),(0,a.jsx)(Q.rr,{children:"Configure scripts, CDN resources, analytics, and SEO settings for your published site."})]}),(0,a.jsxs)(eV,{value:T,onValueChange:P,className:"flex-1 flex flex-col overflow-hidden",children:[(0,a.jsxs)(eH,{className:"grid w-full grid-cols-6 mb-4",children:[(0,a.jsx)(eG,{value:"general",children:"General"}),(0,a.jsx)(eG,{value:"scripts",children:"Scripts"}),(0,a.jsx)(eG,{value:"cdn",children:"CDN"}),(0,a.jsx)(eG,{value:"analytics",children:"Analytics"}),(0,a.jsx)(eG,{value:"seo",children:"SEO"}),(0,a.jsx)(eG,{value:"compliance",children:"Compliance"})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto",children:[(0,a.jsx)(eY,{value:"general",className:"mt-0 h-full",children:(0,a.jsx)(eK,{settings:I,onChange:e=>{l(e.enabled),c(e.underConstruction),m(e.customDomain)},projectId:e.projectId,siteId:e.id})}),(0,a.jsx)(eY,{value:"scripts",className:"mt-0 h-full",children:(0,a.jsx)(eZ,{settings:I,onChange:L})}),(0,a.jsx)(eY,{value:"cdn",className:"mt-0 h-full",children:(0,a.jsx)(eQ,{settings:I,onChange:L})}),(0,a.jsx)(eY,{value:"analytics",className:"mt-0 h-full",children:(0,a.jsx)(e1,{settings:I,onChange:L})}),(0,a.jsx)(eY,{value:"seo",className:"mt-0 h-full",children:(0,a.jsx)(e2,{settings:I,onChange:L})}),(0,a.jsx)(eY,{value:"compliance",className:"mt-0 h-full",children:(0,a.jsx)(e3,{settings:I,onChange:L})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-4 border-t",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:S&&(0,a.jsx)("span",{children:"You have unsaved changes"})}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:$,disabled:A,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:F,disabled:!S||A,children:A?"Saving...":"Save Changes"})]})]})]})]})})}var e6=s(41862),e8=s(81231),e9=s(53094);function e7({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(new Set),[h,u]=(0,r.useState)(!1),x=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/database/schema`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load schema")}let a=await t.json();s(a.tables)}catch(e){o(e instanceof Error?e.message:"Failed to load schema")}finally{n(!1)}},g=e=>{d(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},f=h?t:t.filter(e=>!e.isSystemTable);return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e6.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:x,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Database Tables"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>u(!h),className:"text-xs",children:h?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eD.A,{className:"h-3.5 w-3.5 mr-1"}),"Hide System Tables"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(E.A,{className:"h-3.5 w-3.5 mr-1"}),"Show System Tables"]})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto border rounded-lg",children:0===f.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center",children:[(0,a.jsx)(e8.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No user tables found"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Create tables using the SQL editor"})]}):(0,a.jsx)("div",{className:"divide-y",children:f.map(e=>(0,a.jsxs)("div",{className:(0,m.cn)("transition-colors",e.isSystemTable&&"bg-muted/30"),children:[(0,a.jsxs)("button",{onClick:()=>g(e.name),className:"w-full flex items-center gap-2 p-3 text-left hover:bg-muted/50 transition-colors",children:[c.has(e.name)?(0,a.jsx)(eN.A,{className:"h-4 w-4 text-muted-foreground"}):(0,a.jsx)(ek.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)(e8.A,{className:"h-4 w-4 text-blue-500"}),(0,a.jsx)("span",{className:"flex-1 font-mono text-sm",children:e.name}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[e.rowCount," row",1!==e.rowCount?"s":""]}),e.isSystemTable&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded",children:"system"})]}),c.has(e.name)&&(0,a.jsx)("div",{className:"bg-muted/20 border-t",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b bg-muted/30",children:[(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Column"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Type"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Nullable"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Default"})]})}),(0,a.jsx)("tbody",{children:e.columns.map(e=>(0,a.jsxs)("tr",{className:"border-b last:border-0",children:[(0,a.jsxs)("td",{className:"p-2 font-mono flex items-center gap-1.5",children:[e.primaryKey&&(0,a.jsx)(e9.A,{className:"h-3 w-3 text-yellow-500"}),e.name]}),(0,a.jsx)("td",{className:"p-2 font-mono text-muted-foreground",children:e.type||"TEXT"}),(0,a.jsx)("td",{className:"p-2 text-muted-foreground",children:e.nullable?"Yes":"No"}),(0,a.jsx)("td",{className:"p-2 font-mono text-muted-foreground text-xs",children:e.defaultValue||"-"})]},e.name))})]})})]},e.name))})})]})}var te=s(49753),tt=s(97840),ts=s(39916),ta=s(14719),tr=s(10218);function ti({siteId:e}){let[t,s]=(0,r.useState)("SELECT * FROM "),[i,n]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)([]),[m,h]=(0,r.useState)(!1),{resolvedTheme:u}=(0,tr.D)(),[x,g]=(0,r.useState)(!1),f=(0,r.useCallback)(e=>{d(t=>{let s=[e,...t.filter(t=>t!==e)].slice(0,20);return localStorage.setItem("osw-sql-history",JSON.stringify(s)),s})},[]),v=(0,r.useCallback)(async()=>{if(!t.trim())return;n(!0),o(null);let s=Date.now();try{let a=await fetch(`/api/admin/sites/${e}/database/query`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sql:t.trim()})}),r=await a.json(),i=Date.now()-s;a.ok?(o({success:!0,columns:r.columns,rows:r.rows,rowsAffected:r.rowsAffected,executionTime:i}),f(t.trim())):o({success:!1,error:r.error||"Query failed",executionTime:i})}catch(e){o({success:!1,error:e instanceof Error?e.message:"Query failed",executionTime:Date.now()-s})}finally{n(!1)}},[t,e,f]),j=(0,r.useCallback)(e=>{e.addCommand(2051,()=>{v()})},[v]);return x?(0,a.jsxs)("div",{className:"h-full flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{onClick:v,disabled:i||!t.trim(),size:"sm",children:[i?(0,a.jsx)(e6.A,{className:"h-4 w-4 animate-spin mr-1"}):(0,a.jsx)(tt.A,{className:"h-4 w-4 mr-1"}),"Execute"]}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Ctrl/Cmd + Enter"})]}),(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:()=>h(!m),children:[(0,a.jsx)(ts.A,{className:"h-4 w-4 mr-1"}),"History"]})]}),m&&c.length>0&&(0,a.jsx)("div",{className:"border rounded-lg bg-background shadow-lg max-h-40 overflow-auto",children:c.map((e,t)=>(0,a.jsx)("button",{onClick:()=>{s(e),h(!1)},className:"w-full text-left px-3 py-2 text-sm font-mono hover:bg-muted border-b last:border-0 truncate",children:e},t))}),(0,a.jsx)("div",{className:"h-32 border rounded-lg overflow-hidden",children:(0,a.jsx)(te.Ay,{language:"sql",theme:"dark"===u?"vs-dark":"light",value:t,onChange:e=>s(e||""),onMount:j,options:{minimap:{enabled:!1},fontSize:13,lineNumbers:"off",folding:!1,scrollBeyondLastLine:!1,wordWrap:"on",automaticLayout:!0}})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden border rounded-lg",children:null===l?(0,a.jsx)("div",{className:"h-full flex items-center justify-center text-muted-foreground text-sm",children:"Execute a query to see results"}):l.success?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 bg-muted/30 border-b text-sm",children:[(0,a.jsx)(ta.A,{className:"h-4 w-4 text-green-500"}),l.rows&&l.rows.length>0?(0,a.jsxs)("span",{children:[l.rows.length," row",1!==l.rows.length?"s":""]}):void 0!==l.rowsAffected&&l.rowsAffected>0?(0,a.jsxs)("span",{children:[l.rowsAffected," row",1!==l.rowsAffected?"s":""," affected"]}):(0,a.jsx)("span",{children:"Query executed successfully"}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:["(",l.executionTime,"ms)"]})]}),l.columns&&l.columns.length>0&&l.rows?(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"sticky top-0 bg-muted",children:(0,a.jsx)("tr",{children:l.columns.map((e,t)=>(0,a.jsx)("th",{className:"text-left p-2 font-medium border-r last:border-0",children:e},t))})}),(0,a.jsx)("tbody",{children:l.rows.map((e,t)=>(0,a.jsx)("tr",{className:"border-t hover:bg-muted/30",children:e.map((e,t)=>(0,a.jsx)("td",{className:"p-2 font-mono text-xs border-r last:border-0 max-w-xs truncate",children:null===e?(0,a.jsx)("span",{className:"text-muted-foreground italic",children:"NULL"}):"object"==typeof e?JSON.stringify(e):String(e)},t))},t))})]})}):null]}):(0,a.jsxs)("div",{className:"h-full flex flex-col items-center justify-center gap-2 p-4",children:[(0,a.jsx)(ez.A,{className:"h-6 w-6 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Query Error"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center max-w-md",children:l.error})]})})]}):(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)(e6.A,{className:"h-6 w-6 animate-spin"})})}var tn=s(34091),tl=s(39262),to=s(92293);let tc=`// Access the request object +${t}`:t;try{let t=p;if(!t){t=new Y.t(e.id,"orchestrator",eq,{chatMode:T,model:i});let s=eM.filter(e=>"conversation_message"===e.event).map(e=>e.data.message);s.length>0&&(t.importConversation(s),l.v.debug(`[Workspace] Restored ${s.length} conversation messages from debug events`)),x(t)}h(t);let s=await t.execute(n);l.v.debug("[Workspace] Orchestrator result:",{success:s.success,summary:s.summary,totalCost:s.totalCost}),s.success?(e4(),$.oR.success("Task completed")):$.oR.error(s.summary||"Generation failed",{duration:5e3,position:"bottom-center"}),c(""),A&&E(null)}catch(t){l.v.error("Generation error:",t);let e=t instanceof Error?t.message:"Failed to generate";eq("error",{message:e}),$.oR.error(e,{duration:5e3,position:"bottom-center"})}finally{m(!1),h(null)}},e9=(0,r.useCallback)(()=>{u&&(u.stop(),$.oR.info("Generation stopped"))},[u]),e7=[{id:"back",label:"Back to projects",icon:_.A,onClick:t,variant:"outline"}];e7.push({id:"save",label:w?"Saving…":v?"Save":"Saved",icon:R.A,onClick:e3,variant:v?"default":"outline",disabled:!v||w}),M&&e7.push({id:"discard",label:"Discard Changes",icon:q.A,onClick:()=>e5(M,"Last saved state"),variant:"outline",disabled:w||!v,dataTourId:"discard-changes-button"});let te=(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(eH,{projectId:e.id,selectedSiteId:eL,onSiteChange:e1}),(0,a.jsxs)(ec.AM,{children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"h-8 px-3 flex items-center gap-2",title:"Project cost and settings",children:[eN&&(0,a.jsxs)("span",{className:"text-sm font-medium",children:["$",ex.toFixed(3)]}),(0,a.jsx)(J.A,{className:"h-4 w-4"})]})}),(0,a.jsx)(ec.hl,{className:"w-96",align:"end",children:(0,a.jsx)(ed.O,{})})]})]}),tt=(0,a.jsxs)("div",{className:"space-y-2",children:[eN&&(0,a.jsx)("div",{className:"pb-2 border-b border-border/50",children:(0,a.jsxs)("span",{className:"text-sm font-medium",children:["Project cost: $",ex.toFixed(ex>=10?2:3)]})}),(0,a.jsxs)(ec.AM,{children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"w-full justify-start",children:[(0,a.jsx)(J.A,{className:"h-4 w-4 mr-2"}),"Settings"]})}),(0,a.jsx)(ec.hl,{className:"w-[calc(100vw-2rem)]",align:"start",children:(0,a.jsx)(ed.O,{})})]})]});return(0,a.jsxs)(en.Bc,{children:[(0,a.jsxs)("div",{className:"h-screen flex flex-col",children:[(0,a.jsx)(G.j,{leftText:e.name,onLogoClick:t,actions:e7,mobileMenuContent:tt,desktopOnlyContent:te,mobileVisibleActions:v?["save"]:[]}),(0,a.jsxs)("div",{className:"hidden md:flex flex-1 overflow-hidden bg-background",children:[(0,a.jsxs)("div",{className:"w-10 bg-muted/70 border-r border-border flex flex-col items-center py-3 gap-1.5",children:[(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${ek?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:ek?"var(--button-assistant-active)":void 0,color:ek?"white":void 0},onClick:()=>eS(!ek),children:(0,a.jsx)(V.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-assistant-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-assistant-active)",fill:"var(--button-assistant-active)"},children:(0,a.jsx)("p",{children:"Chat"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eC?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eC?"var(--button-files-active)":void 0,color:eC?"white":void 0},onClick:()=>eA(!eC),children:(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-files-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-files-active)",fill:"var(--button-files-active)"},children:(0,a.jsx)("p",{children:"File Explorer"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eE?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eE?"var(--button-editor-active)":void 0,color:eE?"white":void 0},onClick:()=>eT(!eE),children:(0,a.jsx)(D.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-editor-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-editor-active)",fill:"var(--button-editor-active)"},children:(0,a.jsx)("p",{children:"Code Editor"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 mx-1 rounded-sm flex items-center justify-center transition-all ${eP?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eP?"var(--button-preview-active)":void 0,color:eP?"white":void 0},onClick:()=>eF(!eP),children:(0,a.jsx)(j.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-preview-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-preview-active)",fill:"var(--button-preview-active)"},children:(0,a.jsx)("p",{children:"Preview"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${e$?"bg-foreground shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{color:e$?"var(--background)":void 0},onClick:()=>eI(!e$),children:(0,a.jsx)(H.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0 bg-foreground text-background",arrowStyle:{backgroundColor:"var(--foreground)",fill:"var(--foreground)"},children:(0,a.jsx)("p",{children:"Debug Events"})})]})]}),(0,a.jsx)("div",{className:"flex-1 p-2 overflow-hidden","data-tour-id":"workspace-panels",children:(0,a.jsxs)(ea,{direction:"horizontal",autoSaveId:"workspace-layout",children:[ek&&(0,a.jsx)(er,{id:"chat",order:1,defaultSize:eV.chat,minSize:15,children:(0,a.jsx)(eO,{events:eM,onRestore:e5,onRetry:e6,prompt:o,setPrompt:c,generating:d,onGenerate:e8,onStop:e9,focusContext:A,setFocusContext:E,focusPreviewSnippet:e0,chatMode:T,setChatMode:P,currentModel:Z,setCurrentModel:Q,getModelDisplayName:eG,isTourLockingInput:ew,onClearChat:eJ,onClose:()=>eS(!1)})}),ek&&(eC||eE||eP||e$)&&(0,a.jsx)(ei,{withHandle:!0}),eC&&(0,a.jsx)(er,{id:"files",order:2,defaultSize:eV.files,minSize:14,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-files-rgb), 0.01), rgba(var(--panel-files-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(I,{projectId:e.id,onFileSelect:e2,onClose:()=>eA(!1)})})}),eC&&(eE||eP)&&(0,a.jsx)(ei,{withHandle:!0}),eE&&(0,a.jsx)(er,{id:"editor",order:3,defaultSize:eV.editor,minSize:20,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-editor-rgb), 0.01), rgba(var(--panel-editor-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(B,{projectId:e.id,onFilesChange:e4,onClose:()=>eT(!1)})})}),eE&&eP&&(0,a.jsx)(ei,{withHandle:!0}),eP&&(0,a.jsx)(er,{id:"preview",order:4,defaultSize:eV.preview,minSize:20,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-preview-rgb), 0.01), rgba(var(--panel-preview-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(W.X,{ref:L,projectId:e.id,refreshTrigger:s,onFocusSelection:eZ,hasFocusTarget:!!A,onClose:eQ,siteId:eL})})}),eP&&e$&&(0,a.jsx)(ei,{withHandle:!0}),e$&&(0,a.jsx)(er,{id:"debug",order:5,defaultSize:eV.debug,minSize:15,children:(0,a.jsx)(ej,{events:eM,onClear:eJ,onClose:()=>eI(!1),projectId:e.id})})]})})]}),(0,a.jsxs)("div",{className:"flex md:hidden flex-1 overflow-hidden bg-background flex-col",children:[(0,a.jsxs)("div",{className:"flex-1 p-2 pb-16 overflow-hidden",children:["chat"===g&&(0,a.jsx)(eO,{events:eM,onRestore:e5,onRetry:e6,prompt:o,setPrompt:c,generating:d,onGenerate:e8,onStop:e9,focusContext:A,setFocusContext:E,focusPreviewSnippet:e0,chatMode:T,setChatMode:P,currentModel:Z,setCurrentModel:Q,getModelDisplayName:eG,isTourLockingInput:ew,onClearChat:eJ}),"files"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-files-rgb), 0.01), rgba(var(--panel-files-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(I,{projectId:e.id,onFileSelect:e2,onClose:()=>eA(!1)})}),"editor"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-editor-rgb), 0.01), rgba(var(--panel-editor-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(B,{projectId:e.id,onFilesChange:e4,onClose:()=>eT(!1)})}),"preview"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-preview-rgb), 0.01), rgba(var(--panel-preview-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(W.X,{ref:L,projectId:e.id,refreshTrigger:s,onFocusSelection:eZ,hasFocusTarget:!!A,onClose:eQ,siteId:eL})})]}),(0,a.jsx)("div",{className:"fixed bottom-0 left-0 right-0 bg-card border-t border-border",children:(0,a.jsxs)("div",{className:"flex justify-center items-center p-2 gap-2",children:[(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"chat"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"chat"===g?"var(--button-assistant-active)":void 0},onClick:()=>f("chat"),children:(0,a.jsx)(V.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"files"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"files"===g?"var(--button-files-active)":void 0},onClick:()=>f("files"),children:(0,a.jsx)(b.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"editor"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"editor"===g?"var(--button-editor-active)":void 0},onClick:()=>f("editor"),children:(0,a.jsx)(D.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"preview"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"preview"===g?"var(--button-preview-active)":void 0},onClick:()=>f("preview"),children:(0,a.jsx)(j.A,{className:"h-4 w-4"})})]})})]})]}),(0,a.jsx)(em.V,{location:"workspace"}),(0,a.jsx)(em.V,{location:"settings"})]})}s(61611),s(63974)},37826:(e,t,s)=>{s.d(t,{Cf:()=>d,Es:()=>u,L3:()=>h,c7:()=>m,lG:()=>l,rr:()=>p});var a=s(60687);s(43210);var r=s(26134),i=s(11860),n=s(96241);function l({...e}){return(0,a.jsx)(r.bL,{"data-slot":"dialog",...e})}function o({...e}){return(0,a.jsx)(r.ZL,{"data-slot":"dialog-portal",...e})}function c({className:e,...t}){return(0,a.jsx)(r.hJ,{"data-slot":"dialog-overlay",className:(0,n.cn)("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 backdrop-blur-sm",e),...t})}function d({className:e,children:t,showCloseButton:s=!0,...l}){return(0,a.jsxs)(o,{"data-slot":"dialog-portal",children:[(0,a.jsx)(c,{}),(0,a.jsxs)(r.UC,{"data-slot":"dialog-content",className:(0,n.cn)("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-2xl duration-200",e),...l,children:[t,s&&(0,a.jsxs)(r.bm,{"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,a.jsx)(i.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",e),...t})}function u({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"dialog-footer",className:(0,n.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function h({className:e,...t}){return(0,a.jsx)(r.hE,{"data-slot":"dialog-title",className:(0,n.cn)("text-lg leading-none font-semibold",e),...t})}function p({className:e,...t}){return(0,a.jsx)(r.VY,{"data-slot":"dialog-description",className:(0,n.cn)("text-muted-foreground text-sm",e),...t})}},41109:(e,t,s)=>{s.d(t,{M:()=>_});var a=s(60687),r=s(43210),i=s(68269),n=s(1519),l=s(24934),o=s(96271),c=s(49625),d=s(18179),m=s(11437),u=s(61187),h=s(56085),p=s(82080),x=s(84027),g=s(96882),f=s(45989),v=s(62157),j=s(9593),b=s(40083),y=s(47033),w=s(14952),N=s(78272),k=s(44624),S=s(50047),C=s(96241),A=s(16189);let E=[{id:"dashboard",label:"Dashboard",icon:c.A,path:"dashboard"},{id:"projects",label:"Projects",icon:d.A,path:"projects",hasRecentProjects:!0},{id:"sites",label:"Sites",icon:m.A,path:"sites",serverModeOnly:!0},{id:"templates",label:"Templates",icon:u.A,path:"templates"},{id:"skills",label:"Skills",icon:h.A,path:"skills"},{id:"docs",label:"Docs",icon:p.A,path:"docs",subItems:S.P.map(e=>({id:e.id,label:e.title,icon:e.icon,file:e.file}))},{id:"settings",label:"Settings",icon:x.A,path:"settings",subItems:[{id:"application",label:"Application",icon:x.A},{id:"model",label:"Provider & Model",icon:h.A}]},{id:"tour",label:"Guided Tour",icon:g.A,action:"start-tour"},{id:"tester",label:"Model Tester",icon:f.A,path:"/test-generation"},{id:"about",label:"About",icon:g.A,action:"open-about"},{id:"discord",label:"Discord",icon:k.E,href:"https://discord.gg/mAJ8Ss4u"},{id:"github",label:"GitHub",icon:v.A,href:"https://github.com/o-stahl/osw-studio"}];function T({currentView:e,onNavigate:t,onProjectSelect:s,onStartTour:i,onOpenAbout:n,onOpenSettings:c,onServerSync:m,onLogoClick:u,onPinnedChange:h,onHoverChange:p,onCollapsedChange:x,mobileOpen:g=!1,onMobileOpenChange:f}){let v=(0,A.useRouter)(),j=(0,A.useSearchParams)(),b=j.get("doc"),k=j.get("settings"),[S,T]=(0,r.useState)(!0),[P,F]=(0,r.useState)(!1),[$,I]=(0,r.useState)([]),[L,D]=(0,r.useState)(!0),[R,z]=(0,r.useState)(null),[M,O]=(0,r.useState)(()=>{let t=new Set;return"docs"===e&&t.add("docs"),"projects"===e&&t.add("projects"),"settings"===e&&t.add("settings"),t}),[B,U]=(0,r.useState)(!1),[W,_]=(0,r.useState)(!1),q=!W&&!S&&!P,J=()=>{let e=!S;T(e),localStorage.setItem("osw-admin-sidebar-pinned",String(e)),h?.(e)},V=E.filter(e=>!e.serverModeOnly),H=e=>{O(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},G=async e=>{if(f?.(!1),e.href)window.open(e.href,"_blank","noopener,noreferrer");else if(e.path)v.push("/"),t(e.id);else if("start-tour"===e.action&&i)i();else if("open-about"===e.action&&n)n();else if("open-settings"===e.action&&c)c();else if("server-sync"===e.action&&m)m();else if("logout"===e.action)try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&v.push("/admin/login")}catch(e){console.error("Logout failed:",e)}};return(0,a.jsxs)(a.Fragment,{children:[g&&(0,a.jsx)("div",{className:"md:hidden fixed inset-0 bg-black/50 z-40",onClick:()=>f?.(!1)}),(0,a.jsxs)("div",{className:(0,C.cn)("flex flex-col h-screen bg-card transition-all duration-300","border-l md:border-l-0 md:border-r","md:relative md:left-0",S?"md:relative":"md:absolute md:left-0 md:top-0 md:z-40 md:shadow-lg","fixed right-0 top-0 z-50 w-60",q?"":"md:w-60",g?"translate-x-0":"translate-x-full md:translate-x-0"),style:{width:q?"56px":void 0},onMouseEnter:()=>{W||S||(F(!0),p?.(!0))},onMouseLeave:()=>{W||S||(F(!1),p?.(!1))},children:[(0,a.jsxs)("button",{onClick:()=>{W?g&&f?.(!1):J()},onMouseEnter:()=>!W&&U(!0),onMouseLeave:()=>!W&&U(!1),className:(0,C.cn)("p-3 border-b flex items-center gap-3 h-[54px] overflow-hidden w-full","hover:bg-accent/50 transition-colors cursor-pointer",q&&"justify-center"),children:[(0,a.jsxs)("div",{className:"relative w-6 h-6 flex items-center justify-center flex-shrink-0",children:[(0,a.jsx)(o.g,{width:24,height:24,className:(0,C.cn)("transition-opacity absolute",B&&"opacity-0")}),S?(0,a.jsx)(y.A,{className:(0,C.cn)("hidden md:block h-6 w-6 transition-opacity absolute",B?"opacity-100":"opacity-0 pointer-events-none")}):(0,a.jsx)(w.A,{className:(0,C.cn)("hidden md:block h-6 w-6 transition-opacity absolute",B?"opacity-100":"opacity-0 pointer-events-none")})]}),!q&&(0,a.jsx)("span",{className:"text-sm font-semibold whitespace-nowrap",children:B&&!S?"Pin":"Open\xa0Source Web\xa0Studio"})]}),(0,a.jsx)("nav",{className:"flex-1 p-2 space-y-1 overflow-y-auto",children:V.map(r=>{let i=r.icon,n=e===r.id,o=r.subItems&&r.subItems.length>0||r.hasRecentProjects,c=M.has(r.id);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:(0,C.cn)("p-1",c&&o&&"bg-muted rounded-2xl"),children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(l.$,{variant:n&&!o?"default":"ghost",className:(0,C.cn)("w-full",q?"justify-center px-2":"justify-start",!q&&o&&"pr-8"),onClick:()=>{o&&e===r.id||G(r)},title:q?r.label:void 0,children:[(0,a.jsx)(i,{className:(0,C.cn)("h-4 w-4",!q&&"mr-2")}),!q&&r.label]}),!q&&o&&(0,a.jsx)("button",{className:(0,C.cn)("absolute right-2 top-1/2 -translate-y-1/2","p-1 rounded hover:bg-accent transition-colors"),onClick:e=>{e.preventDefault(),e.stopPropagation(),H(r.id)},children:(0,a.jsx)(N.A,{className:(0,C.cn)("h-4 w-4 transition-transform",c&&"rotate-180")})})]}),r.hasRecentProjects&&c&&(0,a.jsx)("div",{className:(0,C.cn)("mt-1 space-y-1",q?"flex flex-col items-center":"ml-4"),children:L?(0,a.jsx)(a.Fragment,{children:[1,2,3].map(e=>(0,a.jsxs)("div",{className:(0,C.cn)("flex items-center gap-2",q?"justify-center p-1":"h-8 px-2"),children:[(0,a.jsx)("div",{className:"h-3 w-3 bg-muted-foreground/20 rounded animate-pulse"}),!q&&(0,a.jsx)("div",{className:"h-3 flex-1 bg-muted-foreground/20 rounded animate-pulse"})]},e))}):$.length>0?$.map(e=>(0,a.jsxs)(l.$,{variant:"ghost",size:"sm",className:(0,C.cn)(q?"w-8 h-8 p-0 justify-center":"w-full justify-start text-xs"),onClick:()=>{f?.(!1),s(e)},title:e.name,children:[(0,a.jsx)(d.A,{className:(0,C.cn)("h-3 w-3 flex-shrink-0",!q&&"mr-2")}),!q&&(0,a.jsx)("span",{className:"truncate",children:e.name})]},e.id)):!q&&(0,a.jsx)("div",{className:"px-2 py-1 text-xs text-muted-foreground",children:"No recent projects"})}),r.subItems&&c&&(0,a.jsx)("div",{className:(0,C.cn)("mt-1 space-y-1",q?"flex flex-col items-center":"ml-4"),children:r.subItems.map(e=>{let s=e.icon,i=e.file?b===e.id:"settings"===r.id&&k===e.id;return(0,a.jsxs)(l.$,{variant:i?"default":"ghost",size:"sm",className:(0,C.cn)(q?"w-8 h-8 p-0 justify-center":"w-full justify-start text-xs"),onClick:()=>{f?.(!1),e.file?v.push(`/?doc=${e.id}`):"settings"===r.id?v.push(`/?settings=${e.id}`):v.push("/"),t(r.id)},title:q?e.label:void 0,children:[(0,a.jsx)(s,{className:(0,C.cn)("h-3 w-3",!q&&"mr-2")}),!q&&e.label]},e.id)})})]})},r.id)})}),!1,(0,a.jsx)("div",{className:"hidden md:block border-t p-2",children:(0,a.jsx)(l.$,{variant:"ghost",size:"sm",className:(0,C.cn)("w-full",q?"justify-center px-2":"justify-start"),onClick:J,title:q?S?"Unpin sidebar":"Pin sidebar":void 0,children:S?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y.A,{className:(0,C.cn)("h-4 w-4",!q&&"mr-2")}),!q&&"Unpin"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.A,{className:(0,C.cn)("h-4 w-4",!q&&"mr-2")}),!q&&"Pin"]})})})]})]})}function P(e){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"w-full h-full bg-card"}),children:(0,a.jsx)(T,{...e})})}j.A,b.A;var F=s(51567),$=s(43649),I=s(61611),L=s(45001),D=s(37826),R=s(52581),z=s(83801),M=s(78122),O=s(31158),B=s(62022),U=s(16023);function W({open:e,onOpenChange:t,onSyncComplete:s}){let[o,c]=(0,r.useState)(!1),[d,m]=(0,r.useState)(!0),[u,h]=(0,r.useState)(!1),[p,x]=(0,r.useState)([]),[g,f]=(0,r.useState)(null),v=(0,L.j)(),b=async()=>{try{await i.vfs.init();let e=await i.vfs.listProjects();x(e);let t=await (0,n.jP)();f(t)}catch(e){C.v.error("Failed to load sync data:",e)}},y=async()=>{if(!o)return void R.oR.error("Not authenticated. Please login first.");h(!0);try{let e=0,t=0;for(let s of p)try{let a=await i.vfs.listFiles(s.id),r=await v.pushProjectWithFiles(s,a);r.success?e++:(t++,C.v.error(`Failed to sync project ${s.name}:`,r.error))}catch(e){t++,C.v.error(`Error syncing project ${s.name}:`,e)}0===t?R.oR.success(`Successfully synced ${e} project(s) to server`):R.oR.warning(`Synced ${e} project(s), ${t} failed`),await b(),s?.()}catch(e){R.oR.error("Failed to sync projects"),C.v.error("Sync error:",e)}finally{h(!1)}},w=async()=>{if(!o)return void R.oR.error("Not authenticated. Please login first.");h(!0);try{let e=await v.pullProjects();if(!e.success)return void R.oR.error(e.error||"Failed to fetch projects from server");let t=e.projects||[],a=0,r=0;for(let e of t)try{let t=await i.vfs.getProject(e.id),s=await v.pullFiles(e.id);if(!s.success){r++,C.v.error(`Failed to pull files for ${e.name}:`,s.error);continue}if(t)for(let t of(await i.vfs.updateProject(e),await i.vfs.listFiles(e.id)))await i.vfs.deleteFile(e.id,t.path);else await i.vfs.createProject(e.name,e.description||"");for(let t of s.files||[])await i.vfs.createFile(e.id,t.path,t.content||"");a++}catch(t){r++,C.v.error(`Error pulling project ${e.name}:`,t)}0===r?R.oR.success(`Successfully pulled ${a} project(s) from server`):R.oR.warning(`Pulled ${a} project(s), ${r} failed`),await b(),s?.()}catch(e){R.oR.error("Failed to pull projects"),C.v.error("Pull error:",e)}finally{h(!1)}};if(d)return(0,a.jsx)(D.lG,{open:e,onOpenChange:t,children:(0,a.jsx)(D.Cf,{children:(0,a.jsxs)(D.c7,{children:[(0,a.jsx)(D.L3,{children:"Server Sync"}),(0,a.jsx)(D.rr,{children:"Checking authentication status..."})]})})});if(!o)return(0,a.jsx)(D.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(D.Cf,{children:[(0,a.jsxs)(D.c7,{children:[(0,a.jsxs)(D.L3,{children:[(0,a.jsx)(z.A,{className:"inline-block w-5 h-5 mr-2"}),"Not Authenticated"]}),(0,a.jsx)(D.rr,{children:"You need to login to sync projects with the server."})]}),(0,a.jsxs)(D.Es,{children:[(0,a.jsx)(l.$,{variant:"outline",onClick:()=>t(!1),children:"Cancel"}),(0,a.jsx)(l.$,{onClick:()=>{window.location.href="/admin/login"},children:"Go to Login"})]})]})});let N=g?.needsSync||g?.isUninitialized&&p.length>0;return(0,a.jsx)(D.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(D.Cf,{className:"sm:max-w-lg",children:[(0,a.jsxs)(D.c7,{children:[(0,a.jsxs)(D.L3,{children:[(0,a.jsx)(j.A,{className:"inline-block w-5 h-5 mr-2"}),"Server Sync"]}),(0,a.jsx)(D.rr,{children:"Synchronize projects between your browser and the server database."})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[N&&(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-orange-500/10 border border-orange-500/30 rounded-lg",children:[(0,a.jsx)($.A,{className:"w-5 h-5 text-orange-500 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:"font-medium text-orange-600 dark:text-orange-400",children:"Server database is empty"}),(0,a.jsx)("p",{className:"text-muted-foreground mt-1",children:"Push your local projects to enable Sites functionality and publishing."})]})]}),(0,a.jsxs)("div",{className:"p-4 border rounded-lg space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(I.A,{className:"w-4 h-4"}),"Server (SQLite)"]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Projects:"})," ",(0,a.jsx)("span",{className:"font-medium",children:g?.serverProjectCount??0})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Sites:"})," ",(0,a.jsx)("span",{className:"font-medium",children:g?.serverSiteCount??0})]}),(0,a.jsxs)("div",{className:"col-span-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Last updated:"})," ",(0,a.jsx)("span",{className:"font-medium",children:function(e){if(!e)return"Never";let t=new Date().getTime()-e.getTime(),s=Math.floor(t/6e4),a=Math.floor(t/36e5),r=Math.floor(t/864e5);return s<1?"Just now":s<60?`${s}m ago`:a<24?`${a}h ago`:r<7?`${r}d ago`:e.toLocaleDateString()}(g?.serverLastUpdated??null)})]})]}),(0,a.jsxs)(l.$,{variant:"outline",size:"sm",className:"w-full",onClick:w,disabled:u||(g?.serverProjectCount??0)===0,children:[u?(0,a.jsx)(M.A,{className:"w-4 h-4 mr-2 animate-spin"}):(0,a.jsx)(O.A,{className:"w-4 h-4 mr-2"}),"Pull from Server"]})]}),(0,a.jsxs)("div",{className:"p-4 border rounded-lg space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(B.A,{className:"w-4 h-4"}),"Local (IndexedDB)"]}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Projects:"})," ",(0,a.jsx)("span",{className:"font-medium",children:p.length})]}),(0,a.jsxs)(l.$,{variant:N?"default":"outline",size:"sm",className:"w-full",onClick:y,disabled:u||0===p.length,children:[u?(0,a.jsx)(M.A,{className:"w-4 h-4 mr-2 animate-spin"}):(0,a.jsx)(U.A,{className:"w-4 h-4 mr-2"}),"Push to Server"]})]})]}),(0,a.jsx)(D.Es,{children:(0,a.jsx)(l.$,{variant:"outline",onClick:()=>t(!1),disabled:u,children:"Close"})})]})})}function _({children:e,currentView:t,onNavigate:s,onProjectSelect:i,onStartTour:n,onOpenAbout:o,onOpenSettings:c,showSidebar:d=!0}){let m=(0,A.useRouter)(),[u,h]=(0,r.useState)(!0),[p,x]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1),[N,k]=(0,r.useState)(!1),[S,E]=(0,r.useState)(0);return d?(0,a.jsxs)("div",{className:"relative flex h-screen overflow-hidden",children:[(0,a.jsx)(P,{currentView:t,onNavigate:s,onProjectSelect:i,onStartTour:n,onOpenAbout:o,onOpenSettings:c,onServerSync:()=>b(!0),onLogoClick:()=>m.push("/admin"),onPinnedChange:h,onHoverChange:x,onCollapsedChange:f,mobileOpen:y,onMobileOpenChange:w}),!u&&p&&(0,a.jsx)("div",{className:"absolute inset-0 bg-black/20 z-30"}),(0,a.jsxs)("div",{className:(0,C.cn)("flex-1 flex flex-col overflow-hidden transition-all duration-300",!u&&"md:ml-[56px]"),children:[(0,a.jsx)(F.j,{hideLogo:!0,showMobileMenu:!0,onMobileMenuClick:()=>w(!0),hideActionsOnMobile:!0,pageName:t.charAt(0).toUpperCase()+t.slice(1),className:"md:hidden"}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:e})]}),(0,a.jsx)(W,{open:v,onOpenChange:b,onSyncComplete:()=>{b(!1)}}),(0,a.jsx)(D.lG,{open:N,onOpenChange:k,children:(0,a.jsxs)(D.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(D.c7,{children:[(0,a.jsxs)(D.L3,{className:"flex items-center gap-2",children:[(0,a.jsx)($.A,{className:"w-5 h-5 text-orange-500"}),"Server Database Not Initialized"]}),(0,a.jsxs)(D.rr,{children:["Your server database is empty, but you have ",S," project",1!==S?"s":""," stored locally."]})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-muted rounded-lg",children:[(0,a.jsx)(I.A,{className:"w-5 h-5 text-muted-foreground flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:"font-medium",children:"Why does this matter?"}),(0,a.jsxs)("p",{className:"text-muted-foreground mt-1",children:["The ",(0,a.jsx)("strong",{children:"Sites"})," feature requires projects to be synced to the server database. Until you push your local projects, the Sites view won't show any projects to publish."]})]})]}),(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Click ",(0,a.jsx)("strong",{children:"Open Sync"})," to push your local projects to the server, or dismiss this message to configure it later."]})]}),(0,a.jsxs)(D.Es,{className:"flex-col sm:flex-row gap-2",children:[(0,a.jsx)(l.$,{variant:"outline",onClick:()=>{localStorage.setItem("osw-server-init-dismissed","true"),k(!1)},children:"Dismiss"}),(0,a.jsxs)(l.$,{onClick:()=>{k(!1),b(!0)},children:[(0,a.jsx)(j.A,{className:"w-4 h-4 mr-2"}),"Open Sync"]})]})]})})]}):(0,a.jsx)(a.Fragment,{children:e})}},44624:(e,t,s)=>{s.d(t,{E:()=>r});var a=s(60687);function r({className:e}){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 48",fill:"currentColor",className:e,children:(0,a.jsx)("path",{d:"M40.575 0C39.9562 1.09866 39.4006 2.2352 38.8954 3.397C34.0967 2.67719 29.2096 2.67719 24.3982 3.397C23.9057 2.2352 23.3374 1.09866 22.7186 0C18.2104 0.770324 13.8157 2.12155 9.64839 4.02841C1.38951 16.2652 -0.845688 28.1863 0.265599 39.9432C5.10222 43.517 10.5197 46.2447 16.2909 47.9874C17.5916 46.2447 18.7407 44.3883 19.7257 42.4562C17.8568 41.7616 16.0509 40.8903 14.3208 39.88C14.7755 39.5517 15.2175 39.2107 15.6468 38.8824C25.7873 43.6559 37.5316 43.6559 47.6847 38.8824C48.1141 39.236 48.5561 39.577 49.0107 39.88C47.2806 40.9029 45.4748 41.7616 43.5931 42.4688C44.5781 44.4009 45.7273 46.2573 47.028 48C52.7991 46.2573 58.2167 43.5422 63.0533 39.9684C64.3666 26.3299 60.8055 14.5099 53.6452 4.04104C49.4905 2.13418 45.0959 0.782952 40.5876 0.0252565L40.575 0ZM21.1401 32.7072C18.0209 32.7072 15.4321 29.8785 15.4321 26.3804C15.4321 22.8824 17.9199 20.041 21.1275 20.041C24.3351 20.041 26.886 22.895 26.8354 26.3804C26.7849 29.8658 24.3224 32.7072 21.1401 32.7072ZM42.1788 32.7072C39.047 32.7072 36.4834 29.8785 36.4834 26.3804C36.4834 22.8824 38.9712 20.041 42.1788 20.041C45.3864 20.041 47.9246 22.895 47.8741 26.3804C47.8236 29.8658 45.3611 32.7072 42.1788 32.7072Z"})})}},45001:(e,t,s)=>{s.d(t,{j:()=>i});class a{constructor(e=""){this.baseUrl=e}async pushProject(e){try{let t=await fetch(`${this.baseUrl}/api/sync/projects`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,project:s.project}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullProjects(){try{let e=await fetch(`${this.baseUrl}/api/sync/projects`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,projects:t.projects}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushFiles(e,t){try{let s=await fetch(`${this.baseUrl}/api/sync/files`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e,files:t})});if(!s.ok){let e=await s.json();return{success:!1,error:e.error||`HTTP ${s.status}`}}let a=await s.json();return{success:!0,count:a.count}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullFiles(e){try{let t=await fetch(`${this.baseUrl}/api/sync/files?projectId=${encodeURIComponent(e)}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,files:s.files}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushProjectWithFiles(e,t){let s=await this.pushProject(e);if(!s.success)return s;let a=await this.pushFiles(e.id,t);return a.success?{success:!0}:a}async pullProjectWithFiles(e){let t=await this.pullProjects();if(!t.success||!t.projects)return{success:!1,error:t.error||"Failed to pull projects"};let s=t.projects.find(t=>t.id===e);if(!s)return{success:!1,error:`Project ${e} not found on server`};let a=await this.pullFiles(e);return a.success?{success:!0,project:s,files:a.files||[]}:{success:!1,error:a.error||"Failed to pull files"}}async pushSingleProject(e,t,s){try{let a=await fetch(`${this.baseUrl}/api/sync/projects/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:t,files:s})});if(!a.ok){let e=await a.json();return{success:!1,error:e.error||`HTTP ${a.status}`}}let r=await a.json();return{success:!0,project:r.project}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullSingleProject(e){try{let t=await fetch(`${this.baseUrl}/api/sync/projects/${e}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,project:s.project,files:s.files||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async getSyncStatus(){try{let e=await fetch(`${this.baseUrl}/api/sync/status`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,projects:t.projects||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}}let r=null;function i(){return r||(r=new a),r}},45654:(e,t,s)=>{s.d(t,{f:()=>t5});var a=s(60687),r=s(43210),i=s(16189),n=s(68269),l=s(25495),o=s(94084),c=s.n(o);class d{async init(){return new Promise((e,t)=>{let s=indexedDB.open("osw-studio-db",4);s.onerror=()=>t(s.error),s.onsuccess=()=>{this.db=s.result,e()},s.onupgradeneeded=e=>{let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}if(!t.objectStoreNames.contains("customTemplates")){let e=t.createObjectStore("customTemplates",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("importedAt","importedAt",{unique:!1})}if(!t.objectStoreNames.contains("skills")){let e=t.createObjectStore("skills",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!t.objectStoreNames.contains("debugEvents")){let e=t.createObjectStore("debugEvents",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}}})}getDB(){if(!this.db)throw Error("Database not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.add(e))}async getProject(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.get(e));return s?this.hydrateProject(s):null}async updateProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.put(e))}async deleteProject(e){let t=this.getDB();await this.deleteProjectFiles(e);let s=t.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(s.delete(e))}async listProjects(){let e=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),t=await this.promisify(e.getAll());return t?.map(e=>this.hydrateProject(e))||[]}async createFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.add(e))}async getFile(e,t){let s=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(s.get([e,t]))||null}async updateFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.put(e))}async deleteFile(e,t){let s=await this.getFile(e,t);if(s){let e=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(e.delete(s.id))}}async listFiles(e){let t=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(t.getAll(e))||[]}async deleteProjectFiles(e){let t=await this.listFiles(e),s=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let e of t)await this.promisify(s.delete(e.id))}async createTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.add(e))}async getTreeNode(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(s.get([e,t]))||null}async updateTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.put(e))}async deleteTreeNode(e,t){let s=await this.getTreeNode(e,t);if(s){let e=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(e.delete(s.id))}}async getChildNodes(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(s.getAll(null===t?[e]:[e,t]))||[]}async getAllTreeNodes(e){let t=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(t.getAll(e))||[]}promisify(e){return new Promise((t,s)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>s(e.error)})}hydrateProject(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date,lastSavedAt:e.lastSavedAt?new Date(e.lastSavedAt):null}}async saveCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.put(e))}async getCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),s=await this.promisify(t.get(e));return s?this.hydrateCustomTemplate(s):null}async getAllCustomTemplates(){let e=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(e.getAll())).map(e=>this.hydrateCustomTemplate(e))}async deleteCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.delete(e))}hydrateCustomTemplate(e){return{...e,importedAt:e.importedAt?new Date(e.importedAt):new Date}}constructor(){this.db=null}}var m=s(96241);class u{constructor(){this.db=new d}async init(){await this.db.init()}async exportProjectAsTemplate(e,t,s){try{m.v.info("[TemplateService] Exporting project as template",{projectId:t,name:s.name}),this.validateMetadata(s);let a=await e.getAllFilesAndDirectories(t),r=a.filter(e=>"directory"!==e.type),i=a.filter(e=>"directory"===e.type).map(e=>e.path),n={version:"1.0.0",name:s.name,description:s.description,templateVersion:s.version,author:s.author,authorUrl:s.authorUrl,license:s.license,licenseLabel:s.licenseLabel,licenseDescription:s.licenseDescription,tags:s.tags||[],thumbnail:s.thumbnail,previewImages:s.previewImages||[],downloadUrl:s.downloadUrl,directories:i,files:r.map(e=>({path:e.path,content:e.content})),assets:[]},l=new(c());l.file("template.json",JSON.stringify(n,null,2));let o=await l.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}});return m.v.info("[TemplateService] Template exported successfully",{name:s.name,size:o.size}),o}catch(e){throw m.v.error("[TemplateService] Failed to export template:",e),Error(`Failed to export template: ${e instanceof Error?e.message:"Unknown error"}`)}}async importTemplateFile(e){try{if(m.v.info("[TemplateService] Importing template file",{name:e.name,size:e.size}),!e.name.endsWith(".oswt"))throw Error("Invalid file type. Expected .oswt file.");if(e.size>0x1900000)throw Error(`File too large. Maximum size is ${Math.round(25)}MB.`);let t=new(c()),s=(await t.loadAsync(e)).file("template.json");if(!s)throw Error("Invalid template file format. Missing template.json.");let a=await s.async("string"),r=JSON.parse(a);this.validateTemplateStructure(r);let i={id:(0,l.A)(),name:r.name,description:r.description,version:r.templateVersion||"1.0.0",files:r.files||[],directories:r.directories||[],assets:r.assets,metadata:{author:r.author,authorUrl:r.authorUrl,license:r.license||"personal",licenseLabel:r.licenseLabel,licenseDescription:r.licenseDescription,tags:r.tags||[],thumbnail:r.thumbnail,previewImages:r.previewImages||[],downloadUrl:r.downloadUrl},importedAt:new Date};return await this.db.saveCustomTemplate(i),m.v.info("[TemplateService] Template imported successfully",{id:i.id,name:i.name}),i}catch(e){throw m.v.error("[TemplateService] Failed to import template:",e),Error(`Failed to import template: ${e instanceof Error?e.message:"Unknown error"}`)}}async listCustomTemplates(){try{return await this.init(),(await this.db.getAllCustomTemplates()).sort((e,t)=>t.importedAt.getTime()-e.importedAt.getTime())}catch(e){throw m.v.error("[TemplateService] Failed to list templates:",e),Error("Failed to list templates")}}async deleteCustomTemplate(e){try{await this.init(),await this.db.deleteCustomTemplate(e),m.v.info("[TemplateService] Template deleted",{id:e})}catch(e){throw m.v.error("[TemplateService] Failed to delete template:",e),Error("Failed to delete template")}}async exportTemplateAsFile(e){try{m.v.info("[TemplateService] Re-exporting custom template",{id:e.id,name:e.name});let t=new(c());for(let s of(t.file("template.json",JSON.stringify(e,null,2)),e.files))s.content,t.file(s.path,s.content);return await t.generateAsync({type:"blob"})}catch(e){throw m.v.error("[TemplateService] Failed to re-export template:",e),Error(`Failed to export template: ${e instanceof Error?e.message:"Unknown error"}`)}}async generateThumbnail(e){m.v.debug("[TemplateService] Thumbnail generation not yet implemented")}validateMetadata(e){if(!e.name||e.name.length<1||e.name.length>50)throw Error("Template name must be between 1 and 50 characters");if(!e.description||e.description.length<10||e.description.length>500)throw Error("Template description must be between 10 and 500 characters");if(!e.version||!/^\d+\.\d+\.\d+$/.test(e.version))throw Error("Template version must be in semantic version format (e.g., 1.0.0)");if(e.author&&e.author.length>50)throw Error("Author name must be 50 characters or less");if(e.authorUrl&&!this.isValidUrl(e.authorUrl))throw Error("Author URL must be a valid URL");if(!e.license)throw Error("License is required");if(e.tags&&e.tags.length>10)throw Error("Maximum 10 tags allowed");if(e.thumbnail&&e.thumbnail.length>512e3)throw Error(`Thumbnail too large. Maximum size is ${Math.round(500)}KB`);if(e.previewImages&&e.previewImages.length>5)throw Error("Maximum 5 preview images allowed");if(e.previewImages){for(let t of e.previewImages)if(t.length>1048576)throw Error(`Preview image too large. Maximum size is ${Math.round(1024)}KB per image`)}}validateTemplateStructure(e){if(!e.name||"string"!=typeof e.name)throw Error("Invalid template: missing or invalid name");if(!e.description||"string"!=typeof e.description)throw Error("Invalid template: missing or invalid description");if(!e.files||!Array.isArray(e.files))throw Error("Invalid template: missing or invalid files array");if(!e.directories||!Array.isArray(e.directories))throw Error("Invalid template: missing or invalid directories array");for(let t of e.files){if(!t.path||"string"!=typeof t.path)throw Error("Invalid template: file missing path");if(void 0===t.content)throw Error("Invalid template: file missing content")}}isValidUrl(e){try{return new URL(e),!0}catch{return!1}}}let h=new u;var p=s(24934),x=s(68988),g=s(15616),f=s(26316),v=s(10022),j=s(9005),b=s(82804),y=s(13964),w=s(11860),N=s(90131),k=s(18179),S=s(62022),C=s(23928),A=s(81904),E=s(13861),T=s(70615),P=s(19080),F=s(31158),$=s(88233),I=s(26512),L=s(66249);function D({...e}){return(0,a.jsx)(L.bL,{"data-slot":"dropdown-menu",...e})}function R({...e}){return(0,a.jsx)(L.l9,{"data-slot":"dropdown-menu-trigger",...e})}function z({className:e,sideOffset:t=4,...s}){return(0,a.jsx)(L.ZL,{children:(0,a.jsx)(L.UC,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,m.cn)("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[100] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-lg",e),...s})})}function M({className:e,inset:t,variant:s="default",...r}){return(0,a.jsx)(L.q7,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":s,className:(0,m.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}function O({className:e,...t}){return(0,a.jsx)(L.wv,{"data-slot":"dropdown-menu-separator",className:(0,m.cn)("bg-border -mx-1 my-1 h-px",e),...t})}var B=s(52581);function U({project:e,onSelect:t,onDelete:s,onExport:i,onExportZip:l,onDuplicate:o,onPreview:c,onUpdate:d,onExportAsTemplate:u,viewMode:h="grid",forceMenuOpen:L=!1,highlightExport:U=!1}){let[W,_]=(0,r.useState)(!1),[q,J]=(0,r.useState)(e.name),[V,H]=(0,r.useState)(e.description||""),[G,Y]=(0,r.useState)(null),[K,X]=(0,r.useState)(!0),[Z,Q]=(0,r.useState)(!1),ee=async()=>{if(!q.trim()){B.oR.error("Project name cannot be empty"),J(e.name),_(!1);return}if(q.length>50)return void B.oR.error("Project name must be 50 characters or less");if(V.length>200)return void B.oR.error("Description must be 200 characters or less");try{e.name=q.trim(),e.description=V.trim()||void 0,await n.vfs.updateProject(e),d(e),_(!1),B.oR.success("Project updated")}catch(t){m.v.error("Failed to update project:",t),B.oR.error("Failed to update project"),J(e.name),H(e.description||"")}},et=()=>{J(e.name),H(e.description||""),_(!1)},es=e=>{if(L)return void Q(!0);Q(e)},ea=()=>G?Object.entries(G.fileTypes).sort(([,e],[,t])=>t-e).slice(0,3):[],er=e=>{let t=e.toLowerCase();return["html","htm"].includes(t)?(0,a.jsx)(f.A,{className:"h-3 w-3"}):["css","scss","sass"].includes(t)?(0,a.jsx)(v.A,{className:"h-3 w-3"}):["js","jsx","ts","tsx"].includes(t)?(0,a.jsx)(f.A,{className:"h-3 w-3"}):["png","jpg","jpeg","gif","svg"].includes(t)?(0,a.jsx)(j.A,{className:"h-3 w-3"}):(0,a.jsx)(v.A,{className:"h-3 w-3"})},ei=e=>e&&0!==e?`$${e.toFixed(2)}`:null;return"list"===h?(0,a.jsx)("div",{className:`group border border-border rounded-lg p-4 hover:shadow-md transition-all cursor-pointer hover:border-primary/50 ${U?"ring-2 ring-primary/70 animate-ring-opacity":""}`,style:{background:"linear-gradient(var(--project-card-tint), var(--project-card-tint)), var(--card)"},onClick:()=>t(e),children:(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[e.previewImage?(0,a.jsx)("div",{className:"w-16 h-12 rounded-md overflow-hidden bg-muted shrink-0 opacity-60",children:(0,a.jsx)("img",{src:e.previewImage,alt:`${e.name} preview`,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-16 h-12 rounded-md bg-muted flex items-center justify-center shrink-0 opacity-40",children:(0,a.jsx)(b.A,{className:"h-6 w-6 text-muted-foreground/30"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col md:flex-row md:gap-6",children:[(0,a.jsx)("div",{className:"flex-1 min-w-0 space-y-1",children:W?(0,a.jsxs)("div",{className:"space-y-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{value:q,onChange:e=>J(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),ee()),"Escape"===e.key&&et()},className:"h-7 text-sm font-semibold",autoFocus:!0,maxLength:50,placeholder:"Project name"}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-6 w-6 shrink-0",onClick:ee,children:(0,a.jsx)(y.A,{className:"h-3 w-3"})}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-6 w-6 shrink-0",onClick:et,children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[q.length,"/50"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(g.T,{value:V,onChange:e=>H(e.target.value),onKeyDown:e=>{"Escape"===e.key&&et()},placeholder:"Add a description...",className:"min-h-[60px] text-sm resize-none",maxLength:200}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[V.length,"/200"]})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("h3",{className:"font-semibold truncate",children:e.name}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5 opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>{e.stopPropagation(),_(!0)},children:(0,a.jsx)(N.A,{className:"h-3 w-3"})})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-1",children:e.description}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Updated ",(0,I.m)(e.updatedAt,{addSuffix:!0})]})]})}),(0,a.jsxs)("div",{className:"space-y-2 mt-2 md:mt-0",children:[G&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-muted-foreground",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(k.A,{className:"h-4 w-4"}),G.fileCount," ",1===G.fileCount?"file":"files"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(S.A,{className:"h-4 w-4"}),G.formattedSize]}),e.costTracking?.totalCost&&e.costTracking.totalCost>0&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),ei(e.costTracking.totalCost)]})]}),G&&ea().length>0&&(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs",children:ea().map(([e,t])=>(0,a.jsxs)("div",{className:"flex items-center gap-1 text-muted-foreground",children:[er(e),(0,a.jsxs)("span",{children:[e.toUpperCase()," (",t,")"]})]},e))})]})]}),(0,a.jsx)("div",{className:"flex items-center gap-2 ml-4",children:(0,a.jsxs)(D,{open:!!L||Z,onOpenChange:es,children:[(0,a.jsx)(R,{asChild:!0,onClick:e=>e.stopPropagation(),"data-tour-id":U?"project-actions-trigger":void 0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),c(e)},children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Preview"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),o(e)},children:[(0,a.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Duplicate"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),l(e)},children:[(0,a.jsx)(P.A,{className:"mr-2 h-4 w-4"}),"Export as ZIP"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),i(e)},"data-tour-id":U?"project-export-json":void 0,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Export as JSON"]}),u&&(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),u(e)},children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Export as Template"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:t=>{t.stopPropagation(),s(e)},children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})})]})}):(0,a.jsxs)("div",{className:`border border-border rounded-lg overflow-hidden hover:shadow-lg transition-all cursor-pointer hover:border-primary/50 group ${U?"ring-2 ring-primary/70 animate-ring-opacity":""}`,style:{background:"linear-gradient(var(--project-card-tint), var(--project-card-tint)), var(--card)"},onClick:()=>t(e),"data-tour-id":"project-card",children:[e.previewImage?(0,a.jsx)("div",{className:"w-full aspect-video bg-muted",children:(0,a.jsx)("img",{src:e.previewImage,alt:`${e.name} preview`,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-full aspect-video bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-16 w-16 text-muted-foreground/30"})}),(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[W?(0,a.jsxs)("div",{className:"flex-1",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{value:q,onChange:e=>J(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!1===e.shiftKey&&(e.preventDefault(),ee()),"Escape"===e.key&&et()},className:"h-8 text-sm font-semibold",autoFocus:!0,maxLength:50}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ee,children:(0,a.jsx)(y.A,{className:"h-3 w-3"})}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:et,children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground mt-1",children:[q.length,"/50"]})]}):(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-lg truncate flex-1",children:e.name}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5 opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>{e.stopPropagation(),_(!0)},children:(0,a.jsx)(N.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)(D,{open:!!L||Z,onOpenChange:es,children:[(0,a.jsx)(R,{asChild:!0,onClick:e=>e.stopPropagation(),"data-tour-id":U?"project-actions-trigger":void 0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),c(e)},children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Preview"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),o(e)},children:[(0,a.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Duplicate"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),l(e)},children:[(0,a.jsx)(P.A,{className:"mr-2 h-4 w-4"}),"Export as ZIP"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),i(e)},"data-tour-id":U?"project-export-json":void 0,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Export as JSON"]}),u&&(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),u(e)},children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Export as Template"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:t=>{t.stopPropagation(),s(e)},children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})]}),W?(0,a.jsxs)("div",{onClick:e=>e.stopPropagation(),children:[(0,a.jsx)(g.T,{value:V,onChange:e=>H(e.target.value),onKeyDown:e=>{"Escape"===e.key&&et()},placeholder:"Add a description...",className:"min-h-[60px] text-sm resize-none",maxLength:200}),(0,a.jsx)("div",{className:"flex items-center justify-between mt-1",children:(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[V.length,"/200"]})})]}):(0,a.jsx)("div",{className:"min-h-[40px]",children:e.description?(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description}):(0,a.jsx)("p",{className:"text-sm text-muted-foreground/50 italic",children:"No description"})}),K?(0,a.jsx)("div",{className:"h-6 bg-muted animate-pulse rounded"}):G&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 text-sm text-muted-foreground pt-2 border-t",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(k.A,{className:"h-4 w-4"}),G.fileCount," ",1===G.fileCount?"file":"files"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(S.A,{className:"h-4 w-4"}),G.formattedSize]}),e.costTracking?.totalCost&&e.costTracking.totalCost>0&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),ei(e.costTracking.totalCost)]})]}),ea().length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3 text-xs",children:ea().map(([e,t])=>(0,a.jsxs)("div",{className:"flex items-center gap-1 text-muted-foreground",children:[er(e),(0,a.jsxs)("span",{children:[e," (",t,")"]})]},e))})]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground pt-2 border-t",children:(0,a.jsxs)("p",{children:["Updated ",(0,I.m)(e.updatedAt,{addSuffix:!0})]})})]})]})}var W=s(5643),_=s(96597),q=s(99270),J=s(54220),V=s(65777),H=s(25366),G=s(96474),Y=s(16023),K=s(96882),X=s(45989),Z=s(62157),Q=s(37826),ee=s(39390),et=s(87929),es=s(63974),ea=s(33135),er=s(2565),ei=s(13265);s(4950);var en=s(24923);function el({project:e,open:t,onOpenChange:s}){let[i,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)({name:e?.name||"",description:e?.description||"",version:"1.0.0",author:"",authorUrl:"",license:"personal",tags:[],thumbnail:void 0,previewImages:[],downloadUrl:""}),[d,u]=(0,r.useState)(""),f=async()=>{if(e){if(!o.name||o.name.length<1||o.name.length>50)return void B.oR.error("Template name must be between 1 and 50 characters");if(!o.description||o.description.length<10||o.description.length>500)return void B.oR.error("Description must be between 10 and 500 characters");if(!o.version||!/^\d+\.\d+\.\d+$/.test(o.version))return void B.oR.error("Version must be in format x.y.z (e.g., 1.0.0)");try{l(!0);let t=d.split(",").map(e=>e.trim()).filter(e=>e.length>0),a={...o,tags:t},r=await h.exportProjectAsTemplate(n.vfs,e.id,a),i=URL.createObjectURL(r),m=document.createElement("a");m.href=i,m.download=`${o.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(m),m.click(),document.body.removeChild(m),URL.revokeObjectURL(i),B.oR.success("Template exported successfully!"),s(!1),c({name:"",description:"",version:"1.0.0",author:"",authorUrl:"",license:"personal",tags:[],thumbnail:void 0,previewImages:[],downloadUrl:""}),u("")}catch(e){m.v.error("Failed to export template:",e),B.oR.error(e instanceof Error?e.message:"Failed to export template")}finally{l(!1)}}},v=en.N2.find(e=>e.value===o.license);return(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Export as Template"}),(0,a.jsx)(Q.rr,{children:"Create a reusable template from this project"})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[o.thumbnail&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Preview Thumbnail"}),(0,a.jsx)("div",{className:"w-full rounded-lg overflow-hidden bg-muted border",children:(0,a.jsx)("img",{src:o.thumbnail,alt:"Template preview",className:"w-full h-auto"})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This preview was captured when you saved the project"})]}),!o.thumbnail&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Preview Thumbnail"}),(0,a.jsx)("div",{className:"w-full h-48 rounded-lg bg-muted flex items-center justify-center border",children:(0,a.jsxs)("div",{className:"text-center text-muted-foreground",children:[(0,a.jsx)(b.A,{className:"h-12 w-12 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm",children:"No preview available"}),(0,a.jsx)("p",{className:"text-xs",children:"Save your project to capture a preview"})]})})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-name",children:["Template Name ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[o.name.length,"/50"]})]}),(0,a.jsx)(x.p,{id:"template-name",value:o.name,onChange:e=>c({...o,name:e.target.value.slice(0,50)}),placeholder:"My Awesome Template",maxLength:50,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-description",children:["Description ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[o.description.length,"/500"]})]}),(0,a.jsx)(g.T,{id:"template-description",value:o.description,onChange:e=>c({...o,description:e.target.value.slice(0,500)}),placeholder:"A complete multi-page template with...",className:"resize-none",rows:3,maxLength:500,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-version",children:["Version ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsx)(x.p,{id:"template-version",value:o.version,onChange:e=>c({...o,version:e.target.value}),placeholder:"1.0.0",pattern:"^\\d+\\.\\d+\\.\\d+$",required:!0}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Semantic version format (e.g., 1.0.0)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-author",children:"Author"}),(0,a.jsx)(x.p,{id:"template-author",value:o.author,onChange:e=>c({...o,author:e.target.value.slice(0,50)}),placeholder:"Your Name",maxLength:50})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-author-url",children:"Author URL"}),(0,a.jsx)(x.p,{id:"template-author-url",type:"url",value:o.authorUrl,onChange:e=>c({...o,authorUrl:e.target.value}),placeholder:"https://yourwebsite.com"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-license",children:["License ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)(es.l6,{value:o.license,onValueChange:e=>c({...o,license:e}),children:[(0,a.jsx)(es.bq,{id:"template-license",children:(0,a.jsx)(es.yv,{})}),(0,a.jsx)(es.gC,{children:en.N2.map(e=>(0,a.jsx)(es.eb,{value:e.value,children:e.label},e.value))})]}),v&&(0,a.jsxs)("div",{className:"flex items-start gap-2 p-2 rounded-md bg-muted text-xs",children:[(0,a.jsx)(K.A,{className:"h-3 w-3 mt-0.5 shrink-0 text-muted-foreground"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:v.description})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-tags",children:"Tags"}),(0,a.jsx)(x.p,{id:"template-tags",value:d,onChange:e=>u(e.target.value),placeholder:"saas, marketing, landing (comma-separated)"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Add up to 10 tags, separated by commas"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-download-url",children:"Marketplace URL"}),(0,a.jsx)(x.p,{id:"template-download-url",type:"url",value:o.downloadUrl,onChange:e=>c({...o,downloadUrl:e.target.value}),placeholder:"https://example.com/templates/..."}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Where users can find this template"})]})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>s(!1),disabled:i,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:f,disabled:i,children:i?"Exporting...":"Export Template"})]})]})})}function eo({onProjectSelect:e,hideHeader:t=!1,hideFooter:s=!1}){let l=(0,i.useRouter)(),[o,c]=(0,r.useState)([]),[d,u]=(0,r.useState)(!0),[f,v]=(0,r.useState)(""),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),[N,S]=(0,r.useState)(""),[C,A]=(0,r.useState)("blank"),[E,T]=(0,r.useState)([]),[P,F]=(0,r.useState)("updated"),[$,I]=(0,r.useState)("list"),[L,D]=(0,r.useState)(null),[R,z]=(0,r.useState)(!1),[M,O]=(0,r.useState)(null),{state:en,setProjectList:eo,start:ec,setTourDemoProjectId:ed}=(0,er.C)(),em=en.currentStep?.id,eu="running"===en.status,[eh,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(null),ef=(0,r.useRef)(!1),ev=(0,r.useRef)(!1),ej=(0,r.useCallback)(async()=>{try{let e=await h.listCustomTemplates();T(e)}catch(e){m.v.error("Failed to load custom templates:",e)}},[]);(0,r.useCallback)(async()=>{if(!ef.current){ef.current=!0,u(!0);try{await n.vfs.init();let e=(await n.vfs.listProjects()).sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());c(e),eo(e),await ej()}catch(e){m.v.error("Failed to load projects:",e),B.oR.error("Failed to load projects")}finally{u(!1),ep(!0),ef.current=!1}}},[eo,ej]);let eb=(0,r.useCallback)(async()=>{try{await n.vfs.init();let e=(await n.vfs.listProjects()).sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());c(e),eo(e)}catch(e){m.v.error("Failed to reload projects:",e),B.oR.error("Failed to reload projects")}},[eo]),ey=async()=>{if(!ev.current){ev.current=!0;try{let t=await n.vfs.createProject("Multi-File Demo","Interactive examples showing how HTML, CSS, and JavaScript files work together");return await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets),B.oR.success("Demo project created successfully"),await eb(),e(t),t}catch(e){throw m.v.error("Failed to create demo project:",e),B.oR.error("Failed to create demo project"),ev.current=!1,e}}},ew=async()=>{try{let e=await n.vfs.createProject("Example Studios (Tour)","Demo project for guided tour");await (0,et.createProjectFromTemplate)(n.vfs,e.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets),ed(e.id),await eb(),ec(),m.v.info("[Tour] Created tour demo project:",e.id)}catch(e){m.v.error("Failed to prepare for tour:",e),B.oR.error("Failed to start tour - could not create demo project")}},eN=async()=>{if(!y.trim())return void B.oR.error("Please enter a project name");if(y.length>50)return void B.oR.error("Project name must be 50 characters or less");if(N.length>200)return void B.oR.error("Description must be 200 characters or less");try{let t=await n.vfs.createProject(y.trim().slice(0,50),N.trim().slice(0,200)||void 0);if(C.startsWith("custom:")){let e=C.replace("custom:",""),s=E.find(t=>t.id===e);s&&await (0,et.createProjectFromTemplate)(n.vfs,t.id,{name:s.name,description:s.description,files:s.files.map(e=>({path:e.path,content:"string"==typeof e.content?e.content:new TextDecoder().decode(e.content)})),directories:s.directories,assets:s.assets})}else"demo"===C?await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets):await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.ZQ);B.oR.success("Project created successfully"),b(!1),w(""),S(""),A("blank"),await eb(),e(t)}catch(e){m.v.error("Failed to create project:",e),B.oR.error("Failed to create project")}},ek=async e=>{if(confirm(`Are you sure you want to delete "${e.name}"? This cannot be undone.`))try{await n.vfs.deleteProject(e.id),B.oR.success("Project deleted"),await eb()}catch(e){m.v.error("Failed to delete project:",e),B.oR.error("Failed to delete project")}},eS=async t=>{try{let s=await n.vfs.duplicateProject(t.id);B.oR.success("Project duplicated successfully"),await eb(),e(s)}catch(e){m.v.error("Failed to duplicate project:",e),B.oR.error("Failed to duplicate project")}},eC=async e=>{try{let t=await n.vfs.exportProject(e.id),s=JSON.stringify(t,null,2),a=new Blob([s],{type:"application/json"}),r=URL.createObjectURL(a),i=document.createElement("a");i.href=r,i.download=`${e.name.replace(/\s+/g,"-")}-export.json`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r),B.oR.success("Project exported")}catch(e){m.v.error("Failed to export project:",e),B.oR.error("Failed to export project")}},eA=async e=>{try{let t=await n.vfs.exportProjectAsZip(e.id),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`${e.name.replace(/\s+/g,"-")}.zip`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s),B.oR.success("Project exported as ZIP")}catch(e){m.v.error("Failed to export project as ZIP:",e),B.oR.error("Failed to export project as ZIP")}},eE=async()=>{let t=document.createElement("input");t.type="file",t.accept=".json",t.onchange=async t=>{let s=t.target.files?.[0];if(s)try{let t=await s.text(),a=JSON.parse(t);if(!a.project||!a.files)throw Error("Invalid project file");let r=await n.vfs.importProject(a);B.oR.success("Project imported successfully"),await eb(),e(r)}catch(e){m.v.error("Failed to import project:",e),B.oR.error("Failed to import project")}},t.click()},eT=((e,t)=>{let s=[...e];switch(t){case"updated":return s.sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());case"created":return s.sort((e,t)=>t.createdAt.getTime()-e.createdAt.getTime());case"name":return s.sort((e,t)=>e.name.localeCompare(t.name));case"size":return s.sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());default:return s}})(o.filter(e=>e.name.toLowerCase().includes(f.toLowerCase())||e.description?.toLowerCase().includes(f.toLowerCase())),P);return d&&!eh?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading projects..."})]})}):(0,a.jsxs)("div",{className:"flex flex-col h-[100dvh]",style:{background:"linear-gradient(var(--project-background-tint), var(--project-background-tint)), var(--background)"},children:[(0,a.jsx)("main",{className:"flex-1 min-h-0 overflow-auto",children:(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3","data-tour-id":"projects-actions",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(q.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search projects...",value:f,onChange:e=>v(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(J.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:P,onValueChange:e=>F(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"created",children:"Date Created"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"})]})]})]})})]}),(0,a.jsxs)("div",{className:"flex border rounded-full",children:[(0,a.jsx)(p.$,{variant:"grid"===$?"secondary":"ghost",size:"sm",onClick:()=>I("grid"),className:"rounded-r-none rounded-l-full",children:(0,a.jsx)(V.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"list"===$?"secondary":"ghost",size:"sm",onClick:()=>I("list"),className:"rounded-l-none rounded-r-full",children:(0,a.jsx)(H.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)(p.$,{onClick:()=>b(!0),size:"sm",className:"gap-2","data-tour-id":"new-project-button",children:[(0,a.jsx)(G.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"New"})]}),(0,a.jsxs)(p.$,{onClick:eE,variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(Y.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"Import"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===eT.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)(k.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h2",{className:"text-xl font-semibold mb-2",children:f?"No projects found":"No projects yet"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-6",children:f?"Try a different search term":"Create your first project to get started"}),!f&&(0,a.jsxs)("div",{className:"flex gap-3 justify-center",children:[(0,a.jsxs)(p.$,{onClick:()=>b(!0),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),(0,a.jsxs)(p.$,{variant:"outline",onClick:ey,children:[(0,a.jsx)(k.A,{className:"mr-2 h-4 w-4"}),"Create Demo Project"]})]})]}):(0,a.jsx)("div",{className:"grid"===$?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4":"space-y-3","data-tour-id":"projects-list",children:eT.map(t=>"object"==typeof t&&t.id&&t.name?(0,a.jsx)(U,{project:t,onSelect:e,onDelete:ek,onExport:eC,onExportZip:eA,onDuplicate:eS,onPreview:D,onExportAsTemplate:O,onUpdate:async e=>{await n.vfs.updateProject(e),c(o.map(t=>t.id===e.id?e:t))},viewMode:$,forceMenuOpen:ex===t.id,highlightExport:eu&&"project-controls"===em&&ex===t.id},t.id):(m.v.error("Invalid project object:",t),null))})})})]})}),!s&&(0,a.jsx)("footer",{className:"hidden md:block border-t bg-card/50 py-3 px-6",children:(0,a.jsxs)("div",{className:"flex justify-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:ew,disabled:eu,"data-tour-id":"footer-guided-tour",children:[(0,a.jsx)(K.A,{className:"mr-2 h-4 w-4"}),"Guided Tour"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:()=>l.push("/test-generation"),children:[(0,a.jsx)(X.A,{className:"mr-2 h-4 w-4"}),"Model Tester"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:()=>z(!0),children:[(0,a.jsx)(K.A,{className:"mr-2 h-4 w-4"}),"About OSW Studio"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,children:(0,a.jsxs)("a",{href:"https://github.com/o-stahl/osw-studio",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(Z.A,{className:"mr-2 h-4 w-4"}),"GitHub"]})})]})}),(0,a.jsx)(Q.lG,{open:j,onOpenChange:b,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Create New Project"}),(0,a.jsx)(Q.rr,{children:"Start a new multipage website project"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Project Name"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[y.length,"/50"]})]}),(0,a.jsx)(x.p,{id:"name",value:y,onChange:e=>w(e.target.value.slice(0,50)),placeholder:"My Awesome Website",className:"mt-2",maxLength:50})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"template",children:"Template"}),(0,a.jsxs)(es.l6,{value:C,onValueChange:A,children:[(0,a.jsx)(es.bq,{id:"template",className:"mt-2 w-full",children:(0,a.jsx)("div",{className:"truncate flex-1 text-left",children:(e=>{if(e.startsWith("custom:")){let t=e.replace("custom:",""),s=E.find(e=>e.id===t);return s?.name||"Custom Template"}let t=et.Nr.find(t=>t.id===e);return t?.name||"Select a template"})(C)})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsxs)(es.s3,{children:[(0,a.jsx)(es.TR,{children:"Built-in Templates"}),et.Nr.map(e=>(0,a.jsx)(es.eb,{value:e.id,children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("div",{className:"font-medium",children:e.name}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))]}),E.length>0&&(0,a.jsxs)(es.s3,{children:[(0,a.jsx)(es.TR,{children:"Custom Templates"}),E.map(e=>(0,a.jsx)(es.eb,{value:`custom:${e.id}`,children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("div",{className:"font-medium",children:e.name}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))]})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[N.length,"/200"]})]}),(0,a.jsx)(g.T,{id:"description",value:N,onChange:e=>S(e.target.value.slice(0,200)),placeholder:"A brief description of your project",className:"mt-2 resize-none",rows:3,maxLength:200})]})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>b(!1),children:"Cancel"}),(0,a.jsx)(p.$,{onClick:eN,children:"Create Project"})]})]})}),L&&(0,a.jsx)(Q.lG,{open:!!L,onOpenChange:()=>D(null),children:(0,a.jsxs)(Q.Cf,{className:"max-w-[90vw] sm:max-w-[85vw] lg:max-w-[80vw] 2xl:max-w-[1400px] max-h-[90vh] w-full h-full p-0 flex flex-col",children:[(0,a.jsx)(Q.c7,{className:"p-4 border-b",children:(0,a.jsxs)(Q.L3,{children:["Preview: ",L.name]})}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,a.jsx)(W.X,{projectId:L.id})})]})}),(0,a.jsx)(el,{project:M,open:!!M,onOpenChange:e=>{e||O(null)}}),(0,a.jsx)(_.V,{open:R,onOpenChange:z}),(0,a.jsx)(ei.V,{location:"project-manager"})]})}function ec({onProjectSelect:e}){return(0,a.jsx)(eo,{onProjectSelect:e,hideHeader:!0,hideFooter:!0})}var ed=s(75639),em=s(59821),eu=s(84821),eh=s(25334),ep=s(80189);function ex({template:e,onSelect:t,onDelete:s,onExport:r,viewMode:i="grid"}){let n="isBuiltIn"in e&&e.isBuiltIn,l=n?null:e,o=e=>{let t=en.N2.find(t=>t.value===e);return t?.label||e},c=t=>{t.stopPropagation(),!n&&s&&s(e.id)},d=t=>{t.stopPropagation(),r&&r(e)},m=e=>{if(!e)return"Never";try{return(0,I.m)(e,{addSuffix:!0})}catch{return"Recently"}};return"list"===i?(0,a.jsx)("div",{className:"border border-border rounded-lg p-4 bg-card",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:"relative shrink-0",children:[l?.metadata.thumbnail?(0,a.jsx)("div",{className:"w-24 h-16 rounded-md overflow-hidden bg-muted",children:(0,a.jsx)("img",{src:l.metadata.thumbnail,alt:e.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-24 h-16 rounded-md bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-8 w-8 text-muted-foreground"})}),n&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute top-1 right-1 bg-background/90 rounded-full p-1",children:(0,a.jsx)(eu.A,{className:"h-3 w-3 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"Built-in template"})]})})]}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2 mb-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-base truncate",title:e.name,children:e.name}),l&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground shrink-0",children:["v",l.version]})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-1 mb-2",title:e.description,children:e.description}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-muted-foreground",children:[(l?.metadata.author||e.metadata?.author)&&(0,a.jsxs)("span",{className:"truncate max-w-[150px]",title:l?.metadata.author||e.metadata?.author,children:["by ",l?.metadata.author||e.metadata?.author]}),l?.metadata.license&&(0,a.jsxs)(a.Fragment,{children:[l.metadata.author&&(0,a.jsx)("span",{children:"•"}),(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0 h-auto",children:o(l.metadata.license)})]}),l?.files&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"•"}),(0,a.jsxs)("span",{children:[l.files.length," files"]})]}),(l?.metadata.tags||e.metadata?.tags)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"•"}),(l?.metadata.tags||e.metadata?.tags||[]).slice(0,2).map(e=>(0,a.jsx)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:e},e)),(l?.metadata.tags||e.metadata?.tags||[]).length>2&&(0,a.jsxs)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:["+",(l?.metadata.tags||e.metadata?.tags||[]).length-2]})]})]})]}),(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-3 shrink-0",children:[(0,a.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:m(l?.updatedAt||e.updatedAt)}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{children:(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Delete"]})})}),n&&(0,a.jsx)(ep.ZI,{children:"Built-in templates cannot be deleted"})]})})]})]})]})]}),(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})]})})]})}):(0,a.jsxs)("div",{className:"border border-border rounded-lg overflow-hidden bg-card group",children:[(0,a.jsxs)("div",{className:"relative",children:[l?.metadata.thumbnail?(0,a.jsx)("div",{className:"w-full aspect-video bg-muted",children:(0,a.jsx)("img",{src:l.metadata.thumbnail,alt:e.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-full aspect-video bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-16 w-16 text-muted-foreground"})}),n&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute top-2 right-2 bg-background/90 rounded-full p-1.5 shadow-sm",children:(0,a.jsx)(eu.A,{className:"h-4 w-4 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"Built-in template"})]})}),l?.metadata.downloadUrl&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("a",{href:l.metadata.downloadUrl,target:"_blank",rel:"noopener noreferrer",className:"absolute top-2 left-2 bg-background/90 hover:bg-background rounded-full p-1.5 shadow-sm transition-colors",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(eh.A,{className:"h-4 w-4 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"View on marketplace"})]})})]}),(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,a.jsx)("h3",{className:"font-semibold text-base line-clamp-1 flex-1",title:e.name,children:e.name}),l&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground shrink-0",children:["v",l.version]})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",title:e.description,children:e.description})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(l?.metadata.author||e.metadata?.author)&&(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:l?.metadata.authorUrl?(0,a.jsxs)("a",{href:l.metadata.authorUrl,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline inline-flex items-center gap-1",onClick:e=>e.stopPropagation(),children:["by ",l.metadata.author,(0,a.jsx)(eh.A,{className:"h-3 w-3"})]}):(0,a.jsxs)("span",{children:["by ",l?.metadata.author||e.metadata?.author]})}),(l?.metadata.tags||e.metadata?.tags)&&(l?.metadata.tags||e.metadata?.tags||[]).length>0&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(l?.metadata.tags||e.metadata?.tags||[]).slice(0,3).map(e=>(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0.5",children:e},e)),(l?.metadata.tags||e.metadata?.tags||[]).length>3&&(0,a.jsxs)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0.5",children:["+",(l?.metadata.tags||e.metadata?.tags||[]).length-3]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground flex-wrap",children:[l?.metadata.license&&(0,a.jsx)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:o(l.metadata.license)}),l?.files&&(0,a.jsxs)(a.Fragment,{children:[l.metadata.license&&(0,a.jsx)("span",{children:"•"}),(0,a.jsxs)("span",{children:[l.files.length," files"]})]})]})]}),(0,a.jsxs)("div",{className:"pt-3 border-t flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:m(l?.updatedAt||e.updatedAt)}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)(F.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{children:(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Delete"]})})}),n&&(0,a.jsx)(ep.ZI,{children:"Built-in templates cannot be deleted"})]})})]})]})]})]})]})]})}function eg({onProjectCreated:e}){let[t,s]=(0,r.useState)([]),[i,l]=(0,r.useState)(!0),[o,c]=(0,r.useState)(""),[d,u]=(0,r.useState)("updated"),[g,f]=(0,r.useState)("grid"),v=(0,r.useCallback)(async()=>{try{l(!0);let e=await h.listCustomTemplates();s(e)}catch(e){m.v.error("Failed to load custom templates:",e),B.oR.error("Failed to load custom templates")}finally{l(!1)}},[]),j=async()=>{let e=document.createElement("input");e.type="file",e.accept=".oswt",e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{await h.importTemplateFile(t),B.oR.success("Template imported successfully!"),await v()}catch(e){m.v.error("Failed to import template:",e),B.oR.error(e instanceof Error?e.message:"Failed to import template")}},e.click()},b=async e=>{if(confirm("Are you sure you want to delete this template?"))try{await h.deleteCustomTemplate(e),B.oR.success("Template deleted"),await v()}catch(e){m.v.error("Failed to delete template:",e),B.oR.error("Failed to delete template")}},y=async e=>{try{if("isBuiltIn"in e&&e.isBuiltIn){B.oR.info("Exporting built-in template as custom template...");let t=await n.vfs.createProject(e.name,e.description);"blank"===e.id?await (0,ed.c3)(n.vfs,t.id,et.ZQ):"demo"===e.id&&await (0,ed.c3)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets);let s=await h.exportProjectAsTemplate(n.vfs,t.id,{name:e.name,description:e.description,version:"1.0.0",author:"OSW Studio",license:"mit",tags:e.metadata?.tags||[]});await n.vfs.deleteProject(t.id);let a=URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`${e.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(a),B.oR.success("Template exported successfully!")}else{let t=await h.exportTemplateAsFile(e),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`${e.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s),B.oR.success("Template exported successfully!")}}catch(e){m.v.error("Failed to export template:",e),B.oR.error("Failed to export template")}},w=async t=>{try{let s="Blank"===t.name||"Example Studios"===t.name?`New ${t.name} Project`:t.name,a=await n.vfs.createProject(s,t.description);"isBuiltIn"in t&&t.isBuiltIn?"blank"===t.id?await (0,ed.c3)(n.vfs,a.id,et.ZQ):"demo"===t.id&&await (0,ed.c3)(n.vfs,a.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets):await (0,ed.c3)(n.vfs,a.id,{name:t.name,description:t.description,files:t.files.map(e=>({path:e.path,content:"string"==typeof e.content?e.content:new TextDecoder().decode(e.content)})),directories:t.directories,assets:t.assets}),B.oR.success(`Project "${a.name}" created successfully!`),e&&e(a.id)}catch(e){m.v.error("Failed to create project from template:",e),B.oR.error("Failed to create project")}},N=[...[...ed.Nr,...t].filter(e=>{let t=o.toLowerCase();return e.name.toLowerCase().includes(t)||e.description.toLowerCase().includes(t)||"metadata"in e&&e.metadata?.author?.toLowerCase().includes(t)||"metadata"in e&&e.metadata?.tags?.some(e=>e.toLowerCase().includes(t))})].sort((e,t)=>{switch(d){case"updated":let s="updatedAt"in e&&e.updatedAt?e.updatedAt:new Date("2024-01-01");return("updatedAt"in t&&t.updatedAt?t.updatedAt:new Date("2024-01-01")).getTime()-s.getTime();case"name":return e.name.localeCompare(t.name);case"author":let a="metadata"in e&&e.metadata?.author||"",r="metadata"in t&&t.metadata?.author||"";return a.localeCompare(r);case"files":let i="files"in e&&e.files?.length||0;return("files"in t&&t.files?.length||0)-i;default:return 0}});return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading templates..."})]})}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(q.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search templates...",value:o,onChange:e=>c(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(J.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:d,onValueChange:e=>u(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"}),(0,a.jsx)(es.eb,{value:"author",children:"Author"}),(0,a.jsx)(es.eb,{value:"files",children:"File Count"})]})]})]})})]}),(0,a.jsxs)("div",{className:"flex border rounded-full",children:[(0,a.jsx)(p.$,{variant:"grid"===g?"secondary":"ghost",size:"sm",onClick:()=>f("grid"),className:"rounded-r-none rounded-l-full",children:(0,a.jsx)(V.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"list"===g?"secondary":"ghost",size:"sm",onClick:()=>f("list"),className:"rounded-l-none rounded-r-full",children:(0,a.jsx)(H.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)(p.$,{onClick:j,size:"sm",className:"gap-2",children:[(0,a.jsx)(Y.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"Import"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===N.length?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)("div",{className:"text-center max-w-md",children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(q.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h3",{className:"font-semibold mb-2",children:"No templates found"}),(0,a.jsxs)("p",{className:"text-sm text-muted-foreground mb-4",children:['No templates match your search query "',o,'"']}),(0,a.jsx)(p.$,{variant:"outline",onClick:()=>c(""),children:"Clear search"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h3",{className:"font-semibold mb-2",children:"No custom templates yet"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Import custom templates to get started with professional designs."}),(0,a.jsxs)(p.$,{onClick:j,children:[(0,a.jsx)(Y.A,{className:"h-4 w-4 mr-2"}),"Import Template"]})]})})}):(0,a.jsx)("div",{className:"grid"===g?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4":"space-y-3",children:N.map(e=>(0,a.jsx)(ex,{template:e,onSelect:w,onDelete:b,onExport:y,viewMode:g},e.id))})})})]})}function ef({onProjectSelect:e}){let t=(0,i.useRouter)();return(0,a.jsx)(eg,{onProjectCreated:s=>{e?e({id:s}):t.push(`/workspace/${s}`)}})}var ev=s(26091),ej=s(42902),eb=s(47696),ey=s(45609),ew=s(56085),eN=s(78272),ek=s(14952),eS=s(63143),eC=s(80262),eA=s(28559),eE=s(8819);function eT({skill:e,mode:t,onSave:s,onCancel:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(""),[u,h]=(0,r.useState)(""),[f,j]=(0,r.useState)("form"),[b,y]=(0,r.useState)(!1),w=e=>{h(e);try{let{frontmatter:t,markdown:s}=(0,eC.N1)(e);l(t.name),c(t.description),m(s)}catch(e){}},N=async()=>{y(!0);try{let{frontmatter:a}=(0,eC.N1)(u);"create"===t?(await ev.skillsService.createSkill(u),B.oR.success(`Created skill: ${a.name}`)):e&&(await ev.skillsService.updateSkill(e.id,u),B.oR.success(`Updated skill: ${a.name}`)),s()}catch(t){let e=t instanceof Error?t.message:"Failed to save skill";B.oR.error(e)}finally{y(!1)}};return(0,a.jsxs)("div",{className:"flex flex-col bg-background h-[inherit]",children:[(0,a.jsx)("div",{className:"border-b px-6 py-4 shrink-0",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:i,children:(0,a.jsx)(eA.A,{className:"w-4 h-4"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-2xl font-bold",children:"create"===t?"Create New Skill":"Edit Skill"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Define specialized knowledge for the AI assistant"})]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:i,children:"Cancel"}),(0,a.jsxs)(p.$,{onClick:N,disabled:b,children:[(0,a.jsx)(eE.A,{className:"w-4 h-4 mr-2"}),b?"Saving...":"Save Skill"]})]})]})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col overflow-auto",children:[(0,a.jsx)("div",{className:"border-b px-6 shrink-0",children:(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>j("form"),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${"form"===f?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:"Form Editor"}),(0,a.jsx)("button",{onClick:()=>j("raw"),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${"raw"===f?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:"Raw Markdown"})]})}),"form"===f&&(0,a.jsx)("div",{className:"flex-1 overflow-y-auto px-6 py-4",children:(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Skill Name *"}),(0,a.jsx)(x.p,{id:"name",placeholder:"e.g., react-hooks, python-testing, ui-design",value:n,onChange:e=>l(e.target.value),className:"mt-1.5"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Lowercase with hyphens (will be used as file name)"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description *"}),(0,a.jsx)(x.p,{id:"description",placeholder:"Brief description of what this skill covers",value:o,onChange:e=>c(e.target.value),className:"mt-1.5"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Max 200 characters - shown in skills list"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"markdown",children:"Skill Content *"}),(0,a.jsx)(g.T,{id:"markdown",placeholder:"Write the skill content in markdown format... ## Guidelines - Guideline 1 - Guideline 2 ## Examples ```javascript // Example code ```",value:d,onChange:e=>m(e.target.value),className:"mt-1.5 font-mono text-sm min-h-[400px]"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Markdown content that the AI will read when using this skill"})]}),(0,a.jsxs)("div",{className:"bg-muted/50 rounded-lg p-4",children:[(0,a.jsxs)("h3",{className:"font-semibold mb-2 flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-4 h-4"}),"Tips for Writing Skills"]}),(0,a.jsxs)("ul",{className:"text-sm text-muted-foreground space-y-1 ml-5 list-disc",children:[(0,a.jsx)("li",{children:"Be specific and actionable - provide clear guidelines and examples"}),(0,a.jsx)("li",{children:"Use markdown formatting for better readability"}),(0,a.jsx)("li",{children:"Include code examples where relevant"}),(0,a.jsx)("li",{children:"Focus on practical knowledge the AI can apply"}),(0,a.jsx)("li",{children:"Keep it concise but comprehensive"})]})]})]})}),"raw"===f&&(0,a.jsx)("div",{className:"flex-1 overflow-auto px-6 py-4",children:(0,a.jsx)("div",{className:"max-w-4xl",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"raw-content",children:"Raw SKILL.md Content"}),(0,a.jsx)(g.T,{id:"raw-content",value:u,onChange:e=>w(e.target.value),className:"mt-1.5 font-mono text-sm min-h-[600px]",spellCheck:!1}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Direct editing of the SKILL.md file (YAML frontmatter + markdown)"})]})})})]})]})}function eP(){let[e,t]=(0,r.useState)([]),[s,i]=(0,r.useState)(!0),[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(null),[d,u]=(0,r.useState)(null),[h,g]=(0,r.useState)(!1),[f,j]=(0,r.useState)(null),[b,y]=(0,r.useState)(!0),[w,N]=(0,r.useState)(new Set),k=async()=>{try{i(!0);let e=await ev.skillsService.getAllSkills();t(e)}catch(e){m.v.error("[SkillsManager] Failed to load skills",e),B.oR.error("Failed to load skills")}finally{i(!1)}},S=async()=>{try{let e=await ev.skillsService.isGloballyEnabled();y(e);let t=await ev.skillsService.getAllSkills(),s=new Set;for(let e of t)await ev.skillsService.isSkillEnabled(e.id)&&s.add(e.id);N(s)}catch(e){m.v.error("[SkillsManager] Failed to load enabled state",e)}},C=async e=>{try{await ev.skillsService.setGlobalEnabled(e),y(e),B.oR.success(e?"Skills enabled":"Skills disabled")}catch(e){B.oR.error("Failed to update skills state")}},A=async(e,t)=>{try{t?(await ev.skillsService.enableSkill(e),N(t=>new Set([...t,e]))):(await ev.skillsService.disableSkill(e),N(t=>{let s=new Set(t);return s.delete(e),s}))}catch(e){B.oR.error("Failed to toggle skill")}},E=()=>{c(null),u("create")},T=e=>{c(e),u("edit")},P=e=>{j(e),g(!0)},$=async()=>{if(f)try{await ev.skillsService.deleteSkill(f.id),B.oR.success(`Deleted skill: ${f.name}`),await k(),await S()}catch(t){let e=t instanceof Error?t.message:"Failed to delete skill";B.oR.error(e)}finally{g(!1),j(null)}},I=async()=>{let e=document.createElement("input");e.type="file",e.accept=".md,.zip",e.multiple=!1,e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{if(t.name.endsWith(".zip")){let e=await ev.skillsService.importSkills(t);B.oR.success(`Imported ${e.length} skill(s)`)}else{let e=await ev.skillsService.importSkillFile(t);B.oR.success(`Imported skill: ${e.name}`)}await k(),await S()}catch(t){let e=t instanceof Error?t.message:"Failed to import skill";B.oR.error(e)}},e.click()},L=async()=>{try{let t=e.filter(e=>!e.isBuiltIn);if(0===t.length)return void B.oR.error("No custom skills to export");let s=await ev.skillsService.exportSkills(t.map(e=>e.id)),a=URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`osw-skills-${new Date().toISOString().split("T")[0]}.zip`,r.click(),URL.revokeObjectURL(a),B.oR.success(`Exported ${t.length} skill(s)`)}catch(e){B.oR.error("Failed to export skills")}},D=async()=>{u(null),c(null),await k(),await S()},R=()=>{u(null),c(null)},z=e.filter(e=>e.name.toLowerCase().includes(n.toLowerCase())||e.description.toLowerCase().includes(n.toLowerCase())),M=z.filter(e=>e.isBuiltIn),O=z.filter(e=>!e.isBuiltIn);return s?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading skills..."})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(q.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search skills...",value:n,onChange:e=>l(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:I,children:[(0,a.jsx)(Y.A,{className:"w-4 h-4 mr-2"}),"Import"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:L,children:[(0,a.jsx)(F.A,{className:"w-4 h-4 mr-2"}),"Export"]}),(0,a.jsxs)(p.$,{onClick:E,size:"sm",children:[(0,a.jsx)(G.A,{className:"w-4 h-4 mr-2"}),"New"]})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ey.A,{className:"w-4 h-4"}),(0,a.jsx)(ee.J,{htmlFor:"global-toggle",className:"text-sm font-medium cursor-pointer",children:"Enable Skills System"})]}),(0,a.jsx)(ej.d,{id:"global-toggle",checked:b,onCheckedChange:C})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6 overflow-auto",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===z.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)(ew.A,{className:"w-12 h-12 mx-auto mb-4 text-muted-foreground"}),(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No skills found"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:n?"Try a different search query":"Create your first custom skill"}),!n&&(0,a.jsxs)(p.$,{onClick:E,children:[(0,a.jsx)(G.A,{className:"w-4 h-4 mr-2"}),"Create Skill"]})]}):(0,a.jsxs)("div",{className:"space-y-6",children:[M.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-5 h-5"}),"Built-in Skills (",M.length,")"]}),(0,a.jsx)("div",{className:"grid gap-3",children:M.map(e=>(0,a.jsx)(eF,{skill:e,isEnabled:w.has(e.id),globalEnabled:b,onToggle:A,onEdit:T,onDelete:P},e.id))})]}),O.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(ew.A,{className:"w-5 h-5"}),"Custom Skills (",O.length,")"]}),(0,a.jsx)("div",{className:"grid gap-3",children:O.map(e=>(0,a.jsx)(eF,{skill:e,isEnabled:w.has(e.id),globalEnabled:b,onToggle:A,onEdit:T,onDelete:P},e.id))})]})]})})})]}),(0,a.jsx)(Q.lG,{open:!!d,onOpenChange:e=>!e&&R(),children:(0,a.jsx)(Q.Cf,{className:"max-w-[90vw] sm:max-w-[85vw] lg:max-w-[75vw] xl:max-w-[1200px] h-[90vh] p-0 overflow-hidden",children:d&&(0,a.jsx)(eT,{skill:o,mode:d,onSave:D,onCancel:R})})}),(0,a.jsx)(Q.lG,{open:h,onOpenChange:g,children:(0,a.jsxs)(Q.Cf,{children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Delete Skill"}),(0,a.jsxs)(Q.rr,{children:['Are you sure you want to delete "',f?.name,'"? This action cannot be undone.']})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>g(!1),children:"Cancel"}),(0,a.jsx)(p.$,{variant:"destructive",onClick:$,children:"Delete"})]})]})})]})}function eF({skill:e,isEnabled:t,globalEnabled:s,onToggle:i,onEdit:n,onDelete:l}){let[o,c]=(0,r.useState)(!1),d=s&&t;return(0,a.jsx)(eb.Nt,{open:o,onOpenChange:c,children:(0,a.jsxs)("div",{className:`border rounded-lg transition-colors ${d?"border-primary/30 bg-primary/5":"border-border"}`,children:[(0,a.jsx)("div",{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsxs)(eb.R6,{className:"flex items-center gap-2 hover:text-primary transition-colors",children:[o?(0,a.jsx)(eN.A,{className:"w-4 h-4 shrink-0"}):(0,a.jsx)(ek.A,{className:"w-4 h-4 shrink-0"}),(0,a.jsx)("h3",{className:"font-semibold truncate",children:e.name})]}),e.isBuiltIn&&(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs",children:"Built-in"}),!d&&(0,a.jsx)(em.E,{variant:"outline",className:"text-xs text-muted-foreground",children:"Disabled"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.d,{checked:t,onCheckedChange:t=>i(e.id,t),disabled:!s}),!e.isBuiltIn&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>n(e),children:(0,a.jsx)(eS.A,{className:"w-4 h-4"})}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>l(e),children:(0,a.jsx)($.A,{className:"w-4 h-4"})})]})]})]})}),(0,a.jsx)(eb.Ke,{children:(0,a.jsx)("div",{className:"border-t px-4 py-3 bg-muted/30",children:(0,a.jsxs)("div",{className:"text-sm space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,a.jsx)("span",{className:"font-medium",children:"Updated:"}),(0,a.jsx)("span",{children:e.updatedAt.toLocaleDateString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Description:"}),(0,a.jsx)("p",{className:"mt-1",children:e.description})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Content:"}),(0,a.jsx)("pre",{className:"mt-1 text-xs bg-background p-3 rounded border overflow-auto max-h-96 whitespace-pre-wrap",children:e.markdown})]})]})})})]})})}function e$(){return(0,a.jsx)(eP,{})}var eI=s(45001),eL=s(11437),eD=s(12597),eR=s(5407),ez=s(93613),eM=s(82570),eO=s(78122),eB=s(57175),eU=s(84027),eW=s(24413),e_=s(53411),eq=s(55146);let eJ=eq.bL,eV=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(eq.B8,{ref:s,className:(0,m.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));eV.displayName=eq.B8.displayName;let eH=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(eq.l9,{ref:s,className:(0,m.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));eH.displayName=eq.l9.displayName;let eG=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(eq.UC,{ref:s,className:(0,m.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));function eY({settings:e,onChange:t,projectId:s,siteId:r}){let i=(s,a)=>{t({...e,[s]:a})},n=e.customDomain?`https://${e.customDomain}`:`/sites/${r}`,l=`/sites/${r}`;return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Publishing Status"})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"enabled",className:"text-base",children:"Published"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Make this site publicly accessible"})]}),(0,a.jsx)(ej.d,{id:"enabled",checked:e.enabled,onCheckedChange:e=>i("enabled",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"under-construction",className:"text-base",children:"Under Construction"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show maintenance overlay on live site"})]}),(0,a.jsx)(ej.d,{id:"under-construction",checked:e.underConstruction,onCheckedChange:e=>i("underConstruction",e)})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Public URL"})}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{className:"text-xs text-muted-foreground",children:"Public URL"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted rounded-lg",children:[(0,a.jsx)(eL.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("code",{className:"text-sm flex-1",children:n}),e.enabled&&(0,a.jsx)(em.E,{variant:"default",className:"ml-2",children:"Live"}),!e.enabled&&(0,a.jsx)(em.E,{variant:"secondary",className:"ml-2",children:"Not Published"})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This is the public URL where your site will be accessible"})]}),e.customDomain&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{className:"text-xs text-muted-foreground",children:"OSW Studio Path (Debug)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted/50 rounded-lg border border-dashed",children:[(0,a.jsx)(eL.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("code",{className:"text-xs flex-1 text-muted-foreground",children:l})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Internal path used by reverse proxy. Map your custom domain to this URL."})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Custom Domain (Advanced)"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"custom-domain",children:"Domain Name (Optional)"}),(0,a.jsx)(x.p,{id:"custom-domain",type:"text",placeholder:"example.com",value:e.customDomain||"",onChange:e=>i("customDomain",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enter your custom domain if you've configured a reverse proxy to point it to this site. This is used for SEO meta tags and sitemaps. See documentation for setup instructions."})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Version Information"})}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"p-3 border rounded-lg",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Current Version"}),(0,a.jsx)("div",{className:"text-2xl font-semibold",children:e.settingsVersion})]}),(0,a.jsxs)("div",{className:"p-3 border rounded-lg",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Published Version"}),(0,a.jsx)("div",{className:"text-2xl font-semibold",children:null!==e.lastPublishedVersion&&void 0!==e.lastPublishedVersion?e.lastPublishedVersion:"-"})]})]}),void 0!==e.lastPublishedVersion&&e.settingsVersion>e.lastPublishedVersion&&(0,a.jsx)("div",{className:"p-3 bg-yellow-50 dark:bg-yellow-950 border border-yellow-200 dark:border-yellow-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(em.E,{variant:"outline",className:"bg-yellow-100 dark:bg-yellow-900",children:"Pending Changes"}),(0,a.jsx)("span",{className:"text-sm",children:"You have unpublished changes. Republish to apply them."})]})})]})]})}eG.displayName=eq.UC.displayName;var eK=s(80375);function eX({settings:e,onChange:t}){let[s,i]=(0,r.useState)(null),[n,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)("head"),d=[...e.headScripts.map(e=>({...e,position:"head"})),...e.bodyScripts.map(e=>({...e,position:"body"}))],m=()=>{i({id:`script-${Date.now()}`,name:"",content:"",type:"inline",enabled:!0}),c("head"),l(!0)},u=(e,t)=>{i(e),c(t),l(!0)},h=s=>{confirm("Are you sure you want to delete this script?")&&t({...e,headScripts:e.headScripts.filter(e=>e.id!==s),bodyScripts:e.bodyScripts.filter(e=>e.id!==s)})},f=(s,a)=>{let r=("head"===a?e.headScripts:e.bodyScripts).map(e=>e.id===s?{...e,enabled:!e.enabled}:e);t({...e,["head"===a?"headScripts":"bodyScripts"]:r})};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Script Management"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Add custom scripts to your published site"})]}),(0,a.jsxs)(p.$,{onClick:m,size:"sm",children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-2"}),"Add Script"]})]}),0===d.length?(0,a.jsxs)("div",{className:"text-center p-8 border-2 border-dashed rounded-lg",children:[(0,a.jsx)(eK.A,{className:"h-12 w-12 mx-auto text-muted-foreground mb-3"}),(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No Scripts Added"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Add tracking scripts, analytics, or custom code to your site"}),(0,a.jsxs)(p.$,{onClick:m,variant:"outline",children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-2"}),"Add Your First Script"]})]}):(0,a.jsx)("div",{className:"space-y-4",children:d.map(e=>(0,a.jsxs)("div",{className:"flex items-start gap-4 p-4 border rounded-lg hover:bg-accent/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)("h4",{className:"font-semibold truncate",children:e.name}),(0,a.jsx)(em.E,{variant:"head"===e.position?"default":"secondary",children:"head"===e.position?"":"before "}),(0,a.jsx)(em.E,{variant:"outline",children:e.type}),e.async&&(0,a.jsx)(em.E,{variant:"outline",children:"async"}),e.defer&&(0,a.jsx)(em.E,{variant:"outline",children:"defer"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground truncate",children:"inline"===e.type?`${e.content.length} characters`:e.content})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.d,{checked:e.enabled,onCheckedChange:()=>f(e.id,e.position)}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>u(e,e.position),children:(0,a.jsx)(eS.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>h(e.id),children:(0,a.jsx)($.A,{className:"h-4 w-4"})})]})]},e.id))}),(0,a.jsx)(Q.lG,{open:n,onOpenChange:l,children:(0,a.jsxs)(Q.Cf,{className:"max-w-2xl",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:s?.name?"Edit Script":"Add Script"}),(0,a.jsx)(Q.rr,{children:"Configure a custom script to inject into your published site"})]}),s&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-name",children:"Script Name"}),(0,a.jsx)(x.p,{id:"script-name",placeholder:"e.g., Google Analytics",value:s.name,onChange:e=>i({...s,name:e.target.value})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-position",children:"Position"}),(0,a.jsxs)(es.l6,{value:o,onValueChange:e=>c(e),children:[(0,a.jsx)(es.bq,{id:"script-position",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"head",children:"In "}),(0,a.jsx)(es.eb,{value:"body",children:"Before "})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-type",children:"Type"}),(0,a.jsxs)(es.l6,{value:s.type,onValueChange:e=>i({...s,type:e}),children:[(0,a.jsx)(es.bq,{id:"script-type",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"inline",children:"Inline Script"}),(0,a.jsx)(es.eb,{value:"external",children:"External URL"})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-content",children:"inline"===s.type?"Script Code":"Script URL"}),"inline"===s.type?(0,a.jsx)(g.T,{id:"script-content",placeholder:"`,(0,a.jsx)("br",{}),"\x3c!-- End Google Tag Manager --\x3e"]}),"ga4"===e.analytics.provider&&(0,a.jsxs)(a.Fragment,{children:["\x3c!-- Google Analytics 4 --\x3e",(0,a.jsx)("br",{}),``,(0,a.jsx)("br",{}),"`,(0,a.jsx)("br",{}),"\x3c!-- End Plausible Analytics --\x3e"]}),"custom"===e.analytics.provider&&(e.analytics.customScript||"No custom script provided")]})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This script will be injected into the section of your site"})]})]})]})}function e1({settings:e,onChange:t}){let[s,i]=(0,r.useState)(""),n=(s,a)=>{t({...e,seo:{...e.seo,[s]:a}})},l=()=>{if(!s.trim())return;let t=e.seo.keywords||[],a=s.split(",").map(e=>e.trim()).filter(e=>e&&!t.includes(e));a.length>0&&(n("keywords",[...t,...a]),i(""))},o=t=>{n("keywords",(e.seo.keywords||[]).filter(e=>e!==t))};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"SEO Configuration"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Optimize your site for search engines and social sharing"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Basic Meta Tags"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-title",children:"Meta Title"}),(0,a.jsx)(x.p,{id:"seo-title",placeholder:"Your Site Title",value:e.seo.title||"",onChange:e=>n("title",e.target.value||void 0)}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Recommended: 50-60 characters",e.seo.title&&(0,a.jsxs)("span",{className:"ml-2",children:["(",e.seo.title.length," characters)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-description",children:"Meta Description"}),(0,a.jsx)(g.T,{id:"seo-description",placeholder:"A brief description of your site",rows:3,value:e.seo.description||"",onChange:e=>n("description",e.target.value||void 0)}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Recommended: 150-160 characters",e.seo.description&&(0,a.jsxs)("span",{className:"ml-2",children:["(",e.seo.description.length," characters)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-keywords",children:"Keywords"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(x.p,{id:"seo-keywords",placeholder:"Enter keywords (comma-separated)",value:s,onChange:e=>i(e.target.value),onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),l())}}),(0,a.jsx)(p.$,{type:"button",onClick:l,variant:"outline",children:"Add"})]}),e.seo.keywords&&e.seo.keywords.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-2 mt-2",children:e.seo.keywords.map(e=>(0,a.jsxs)(em.E,{variant:"secondary",className:"gap-1",children:[e,(0,a.jsx)("button",{onClick:()=>o(e),className:"ml-1 hover:text-destructive",children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]},e))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-canonical",children:"Canonical URL"}),(0,a.jsx)(x.p,{id:"seo-canonical",type:"url",placeholder:"https://example.com/page",value:e.seo.canonical||"",onChange:e=>n("canonical",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Prevent duplicate content issues by specifying the primary URL"})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Open Graph (Facebook, LinkedIn)"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-title",children:"OG Title"}),(0,a.jsx)(x.p,{id:"og-title",placeholder:"Title for social media sharing",value:e.seo.ogTitle||"",onChange:e=>n("ogTitle",e.target.value||void 0)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-description",children:"OG Description"}),(0,a.jsx)(g.T,{id:"og-description",placeholder:"Description for social media sharing",rows:2,value:e.seo.ogDescription||"",onChange:e=>n("ogDescription",e.target.value||void 0)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-image",children:"OG Image URL"}),(0,a.jsx)(x.p,{id:"og-image",type:"url",placeholder:"https://example.com/image.jpg",value:e.seo.ogImage||"",onChange:e=>n("ogImage",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Recommended: 1200x630px for best results"})]}),e.seo.ogImage&&(0,a.jsxs)("div",{className:"p-4 border rounded-lg",children:[(0,a.jsx)("p",{className:"text-sm font-medium mb-2",children:"Image Preview"}),(0,a.jsx)("div",{className:"relative aspect-video bg-muted rounded flex items-center justify-center overflow-hidden",children:(0,a.jsx)("img",{src:e.seo.ogImage,alt:"OG Image preview",className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none",e.target.parentElement.innerHTML='
Unable to load image
'}})})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Twitter Card"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"twitter-card",children:"Card Type"}),(0,a.jsxs)(es.l6,{value:e.seo.twitterCard||"summary",onValueChange:e=>n("twitterCard",e),children:[(0,a.jsx)(es.bq,{id:"twitter-card",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"summary",children:"Summary"}),(0,a.jsx)(es.eb,{value:"summary_large_image",children:"Summary Large Image"})]})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"How your site appears when shared on Twitter/X"})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Search Result Preview"})}),(0,a.jsx)("div",{className:"p-4 border rounded-lg bg-muted/50",children:(0,a.jsxs)("div",{className:"flex gap-2 mb-2",children:[(0,a.jsx)(q.A,{className:"h-5 w-5 text-blue-600"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm text-blue-600 mb-1",children:"https://your-domain.com"}),(0,a.jsx)("h3",{className:"text-lg text-blue-800 dark:text-blue-400 font-medium mb-1",children:e.seo.title||e.seo.ogTitle||"Your Site Title"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.seo.description||e.seo.ogDescription||"Your site description will appear here in search results."})]})]})})]}),(e.seo.ogTitle||e.seo.ogImage)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Social Share Preview"})}),(0,a.jsx)("div",{className:"p-4 border rounded-lg bg-muted/50",children:(0,a.jsxs)("div",{className:"space-y-2",children:[e.seo.ogImage&&(0,a.jsx)("div",{className:"aspect-video bg-muted rounded overflow-hidden",children:(0,a.jsx)("img",{src:e.seo.ogImage,alt:"Social preview",className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none"}})}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"your-domain.com"}),(0,a.jsx)("h4",{className:"font-semibold",children:e.seo.ogTitle||e.seo.title||"Your Site Title"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.seo.ogDescription||e.seo.description||"Your site description"})]})]})})]})]})}var e2=s(47260);function e4({settings:e,onChange:t}){let s=(s,a)=>{t({...e,compliance:{...e.compliance,[s]:a}})};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Compliance & Consent"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Cookie consent banner and privacy compliance"})]})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"compliance-enabled",className:"text-base",children:"Enable Consent Banner"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show a cookie consent banner to visitors"})]}),(0,a.jsx)(ej.d,{id:"compliance-enabled",checked:e.compliance.enabled,onCheckedChange:e=>s("enabled",e)})]}),e.compliance.enabled&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Banner Configuration"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-position",children:"Banner Position"}),(0,a.jsxs)(es.l6,{value:e.compliance.bannerPosition,onValueChange:e=>s("bannerPosition",e),children:[(0,a.jsx)(es.bq,{id:"banner-position",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"top",children:"Top"}),(0,a.jsx)(es.eb,{value:"bottom",children:"Bottom"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-style",children:"Banner Style"}),(0,a.jsxs)(es.l6,{value:e.compliance.bannerStyle,onValueChange:e=>s("bannerStyle",e),children:[(0,a.jsx)(es.bq,{id:"banner-style",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"bar",children:"Full-width Bar"}),(0,a.jsx)(es.eb,{value:"modal",children:"Centered Modal"}),(0,a.jsx)(es.eb,{value:"corner",children:"Bottom-right Corner"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-message",children:"Banner Message"}),(0,a.jsx)(g.T,{id:"banner-message",placeholder:"We use cookies to improve your experience...",rows:3,value:e.compliance.message,onChange:e=>s("message",e.target.value),maxLength:500}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.compliance.message.length,"/500 characters"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"accept-text",children:"Accept Button Text"}),(0,a.jsx)(x.p,{id:"accept-text",placeholder:"Accept",value:e.compliance.acceptButtonText,onChange:e=>s("acceptButtonText",e.target.value),maxLength:50})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"decline-text",children:"Decline Button Text"}),(0,a.jsx)(x.p,{id:"decline-text",placeholder:"Decline",value:e.compliance.declineButtonText,onChange:e=>s("declineButtonText",e.target.value),maxLength:50})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold mb-2",children:"Policy Links (Optional)"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Add links to your privacy and cookie policies"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"privacy-policy-url",children:"Privacy Policy URL"}),(0,a.jsx)(x.p,{id:"privacy-policy-url",type:"url",placeholder:"https://example.com/privacy",value:e.compliance.privacyPolicyUrl||"",onChange:e=>s("privacyPolicyUrl",e.target.value)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"cookie-policy-url",children:"Cookie Policy URL"}),(0,a.jsx)(x.p,{id:"cookie-policy-url",type:"url",placeholder:"https://example.com/cookies",value:e.compliance.cookiePolicyUrl||"",onChange:e=>s("cookiePolicyUrl",e.target.value)})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Compliance Mode"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"compliance-mode",children:"Mode"}),(0,a.jsxs)(es.l6,{value:e.compliance.mode,onValueChange:e=>s("mode",e),children:[(0,a.jsx)(es.bq,{id:"compliance-mode",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"opt-in",children:"Opt-in (GDPR)"}),(0,a.jsx)(es.eb,{value:"opt-out",children:"Opt-out"})]})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"opt-in"===e.compliance.mode?"Blocks analytics until user accepts (required for GDPR)":"Allows analytics by default, user can decline"})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1 flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ee.J,{htmlFor:"block-analytics",className:"text-base",children:"Block Analytics Until Consent"}),(0,a.jsx)(e2.A,{className:"h-4 w-4 text-muted-foreground"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Prevent analytics tracking until user accepts"})]}),(0,a.jsx)(ej.d,{id:"block-analytics",checked:e.compliance.blockAnalytics,onCheckedChange:e=>s("blockAnalytics",e)})]}),"opt-in"===e.compliance.mode&&(0,a.jsx)("div",{className:"p-4 bg-blue-50 dark:bg-blue-950 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(eQ.A,{className:"h-5 w-5 text-blue-600 dark:text-blue-400 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("h4",{className:"font-semibold text-blue-900 dark:text-blue-100",children:"GDPR Compliance Mode"}),(0,a.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"In opt-in mode, cookies and tracking are blocked by default until the user explicitly accepts. This is required for GDPR compliance."})]})]})})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Preview"})}),(0,a.jsx)("div",{className:"p-4 bg-muted rounded-lg border",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(K.A,{className:"h-5 w-5 text-muted-foreground flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Live Preview"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"The consent banner will appear on your published site based on the configuration above. Visitors' choices are stored in their browser's localStorage."})]})]})})]})]})]})}var e3=s(41862),e5=s(81231),e6=s(53094);function e8({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(new Set),[u,h]=(0,r.useState)(!1),x=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/database/schema`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load schema")}let a=await t.json();s(a.tables)}catch(e){o(e instanceof Error?e.message:"Failed to load schema")}finally{n(!1)}},g=e=>{d(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},f=u?t:t.filter(e=>!e.isSystemTable);return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e3.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:x,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Database Tables"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>h(!u),className:"text-xs",children:u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eD.A,{className:"h-3.5 w-3.5 mr-1"}),"Hide System Tables"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(E.A,{className:"h-3.5 w-3.5 mr-1"}),"Show System Tables"]})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto border rounded-lg",children:0===f.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center",children:[(0,a.jsx)(e5.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No user tables found"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Create tables using the SQL editor"})]}):(0,a.jsx)("div",{className:"divide-y",children:f.map(e=>(0,a.jsxs)("div",{className:(0,m.cn)("transition-colors",e.isSystemTable&&"bg-muted/30"),children:[(0,a.jsxs)("button",{onClick:()=>g(e.name),className:"w-full flex items-center gap-2 p-3 text-left hover:bg-muted/50 transition-colors",children:[c.has(e.name)?(0,a.jsx)(eN.A,{className:"h-4 w-4 text-muted-foreground"}):(0,a.jsx)(ek.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)(e5.A,{className:"h-4 w-4 text-blue-500"}),(0,a.jsx)("span",{className:"flex-1 font-mono text-sm",children:e.name}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[e.rowCount," row",1!==e.rowCount?"s":""]}),e.isSystemTable&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded",children:"system"})]}),c.has(e.name)&&(0,a.jsx)("div",{className:"bg-muted/20 border-t",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b bg-muted/30",children:[(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Column"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Type"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Nullable"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Default"})]})}),(0,a.jsx)("tbody",{children:e.columns.map(e=>(0,a.jsxs)("tr",{className:"border-b last:border-0",children:[(0,a.jsxs)("td",{className:"p-2 font-mono flex items-center gap-1.5",children:[e.primaryKey&&(0,a.jsx)(e6.A,{className:"h-3 w-3 text-yellow-500"}),e.name]}),(0,a.jsx)("td",{className:"p-2 font-mono text-muted-foreground",children:e.type||"TEXT"}),(0,a.jsx)("td",{className:"p-2 text-muted-foreground",children:e.nullable?"Yes":"No"}),(0,a.jsx)("td",{className:"p-2 font-mono text-muted-foreground text-xs",children:e.defaultValue||"-"})]},e.name))})]})})]},e.name))})})]})}var e9=s(49753),e7=s(97840),te=s(39916),tt=s(14719),ts=s(10218);function ta({siteId:e}){let[t,s]=(0,r.useState)("SELECT * FROM "),[i,n]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)([]),[m,u]=(0,r.useState)(!1),{resolvedTheme:h}=(0,ts.D)(),[x,g]=(0,r.useState)(!1),f=(0,r.useCallback)(e=>{d(t=>{let s=[e,...t.filter(t=>t!==e)].slice(0,20);return localStorage.setItem("osw-sql-history",JSON.stringify(s)),s})},[]),v=(0,r.useCallback)(async()=>{if(!t.trim())return;n(!0),o(null);let s=Date.now();try{let a=await fetch(`/api/admin/sites/${e}/database/query`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sql:t.trim()})}),r=await a.json(),i=Date.now()-s;a.ok?(o({success:!0,columns:r.columns,rows:r.rows,rowsAffected:r.rowsAffected,executionTime:i}),f(t.trim())):o({success:!1,error:r.error||"Query failed",executionTime:i})}catch(e){o({success:!1,error:e instanceof Error?e.message:"Query failed",executionTime:Date.now()-s})}finally{n(!1)}},[t,e,f]),j=(0,r.useCallback)(e=>{e.addCommand(2051,()=>{v()})},[v]);return x?(0,a.jsxs)("div",{className:"h-full flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{onClick:v,disabled:i||!t.trim(),size:"sm",children:[i?(0,a.jsx)(e3.A,{className:"h-4 w-4 animate-spin mr-1"}):(0,a.jsx)(e7.A,{className:"h-4 w-4 mr-1"}),"Execute"]}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Ctrl/Cmd + Enter"})]}),(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:()=>u(!m),children:[(0,a.jsx)(te.A,{className:"h-4 w-4 mr-1"}),"History"]})]}),m&&c.length>0&&(0,a.jsx)("div",{className:"border rounded-lg bg-background shadow-lg max-h-40 overflow-auto",children:c.map((e,t)=>(0,a.jsx)("button",{onClick:()=>{s(e),u(!1)},className:"w-full text-left px-3 py-2 text-sm font-mono hover:bg-muted border-b last:border-0 truncate",children:e},t))}),(0,a.jsx)("div",{className:"h-32 border rounded-lg overflow-hidden",children:(0,a.jsx)(e9.Ay,{language:"sql",theme:"dark"===h?"vs-dark":"light",value:t,onChange:e=>s(e||""),onMount:j,options:{minimap:{enabled:!1},fontSize:13,lineNumbers:"off",folding:!1,scrollBeyondLastLine:!1,wordWrap:"on",automaticLayout:!0}})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden border rounded-lg",children:null===l?(0,a.jsx)("div",{className:"h-full flex items-center justify-center text-muted-foreground text-sm",children:"Execute a query to see results"}):l.success?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 bg-muted/30 border-b text-sm",children:[(0,a.jsx)(tt.A,{className:"h-4 w-4 text-green-500"}),l.rows&&l.rows.length>0?(0,a.jsxs)("span",{children:[l.rows.length," row",1!==l.rows.length?"s":""]}):void 0!==l.rowsAffected&&l.rowsAffected>0?(0,a.jsxs)("span",{children:[l.rowsAffected," row",1!==l.rowsAffected?"s":""," affected"]}):(0,a.jsx)("span",{children:"Query executed successfully"}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:["(",l.executionTime,"ms)"]})]}),l.columns&&l.columns.length>0&&l.rows?(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"sticky top-0 bg-muted",children:(0,a.jsx)("tr",{children:l.columns.map((e,t)=>(0,a.jsx)("th",{className:"text-left p-2 font-medium border-r last:border-0",children:e},t))})}),(0,a.jsx)("tbody",{children:l.rows.map((e,t)=>(0,a.jsx)("tr",{className:"border-t hover:bg-muted/30",children:e.map((e,t)=>(0,a.jsx)("td",{className:"p-2 font-mono text-xs border-r last:border-0 max-w-xs truncate",children:null===e?(0,a.jsx)("span",{className:"text-muted-foreground italic",children:"NULL"}):"object"==typeof e?JSON.stringify(e):String(e)},t))},t))})]})}):null]}):(0,a.jsxs)("div",{className:"h-full flex flex-col items-center justify-center gap-2 p-4",children:[(0,a.jsx)(ez.A,{className:"h-6 w-6 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Query Error"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center max-w-md",children:l.error})]})})]}):(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)(e3.A,{className:"h-6 w-6 animate-spin"})})}var tr=s(34091),ti=s(39262),tn=s(92293);let tl=`// Access the request object // request.method - HTTP method // request.body - Parsed request body // request.query - Query string parameters @@ -298,7 +298,7 @@ ${t}`:t;try{let t=p;if(!t){t=new Y.t(e.id,"orchestrator",eJ,{chatMode:T,model:i} // Example: List items const items = db.all('SELECT * FROM items LIMIT 10'); Response.json({ items }); -`;function td({siteId:e,function:t,isOpen:s,onClose:i,onSave:n}){let[l,o]=(0,r.useState)(t?.name||""),[c,d]=(0,r.useState)(t?.description||""),[m,h]=(0,r.useState)(t?.method||"ANY"),[u,g]=(0,r.useState)(t?.code||tc),[f,v]=(0,r.useState)(t?.timeoutMs||5e3),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(null),{resolvedTheme:N}=(0,tr.D)(),[k,S]=(0,r.useState)(!1),C=async()=>{if(w(null),!l.trim())return void w("Function name is required");if(!/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(l))return void w("Name must be lowercase letters, numbers, and hyphens only");if(!u.trim())return void w("Function code is required");b(!0);try{await n({name:l.trim(),description:c.trim()||void 0,method:m,code:u,timeoutMs:f,enabled:t?.enabled??!0})}catch(e){w(e instanceof Error?e.message:"Failed to save function")}finally{b(!1)}};return k?(0,a.jsx)(Q.lG,{open:s,onOpenChange:i,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-3xl h-[85vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:t?"Edit Function":"Create Function"}),(0,a.jsx)(Q.rr,{children:"Define an HTTP endpoint that can access your site database."})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-4",children:[(0,a.jsxs)("div",{className:"col-span-2 space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Function Name"}),(0,a.jsx)(x.p,{id:"name",value:l,onChange:e=>o(e.target.value.toLowerCase()),placeholder:"my-function",disabled:!!t}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["URL: /api/sites/",e,"/functions/",(0,a.jsx)("span",{className:"font-mono",children:l||"name"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"method",children:"HTTP Method"}),(0,a.jsxs)(es.l6,{value:m,onValueChange:e=>h(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"ANY",children:"ANY"}),(0,a.jsx)(es.eb,{value:"GET",children:"GET"}),(0,a.jsx)(es.eb,{value:"POST",children:"POST"}),(0,a.jsx)(es.eb,{value:"PUT",children:"PUT"}),(0,a.jsx)(es.eb,{value:"DELETE",children:"DELETE"})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:c,onChange:e=>d(e.target.value),placeholder:"What does this function do?"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"timeout",children:"Timeout (seconds)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{id:"timeout",type:"number",min:1,max:30,value:f/1e3,onChange:e=>v(1e3*Math.min(30,Math.max(1,parseInt(e.target.value)||5))),className:"w-24"}),(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"1-30 seconds"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Function Code"}),(0,a.jsx)("div",{className:"h-64 border rounded-lg overflow-hidden",children:(0,a.jsx)(te.Ay,{language:"javascript",theme:"dark"===N?"vs-dark":"light",value:u,onChange:e=>g(e||""),options:{minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2}})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(K.A,{className:"h-4 w-4"}),"Available APIs"]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs font-mono",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-blue-500",children:"request"}),".method, .body, .query, .headers, .params, .path"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-green-500",children:"db"}),".query(sql, params), .run(sql, params), .all(sql, params)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-purple-500",children:"Response"}),".json(data, status), .text(text, status), .error(msg, status)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-yellow-500",children:"fetch"}),"(url, options) - External HTTP requests"]})]})]}),y&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),y]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:i,disabled:j,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:C,disabled:j,children:j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e6.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):t?"Save Changes":"Create Function"})]})]})}):null}function tm({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[h,u]=(0,r.useState)(!1),[x,g]=(0,r.useState)(null),f=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/functions`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load functions")}let a=await t.json();s(a.functions)}catch(e){o(e instanceof Error?e.message:"Failed to load functions")}finally{n(!1)}},v=async t=>{try{if(!(await fetch(`/api/admin/sites/${e}/functions/${t.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!t.enabled})})).ok)throw Error("Failed to update function");await f()}catch(e){console.error("Failed to toggle function:",e)}},j=async t=>{if(confirm(`Delete function "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/functions/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete function");await f()}catch(e){console.error("Failed to delete function:",e)}},b=t=>{let s=`${window.location.origin}/api/sites/${e}/functions/${t.name}`;navigator.clipboard.writeText(s),g(t.id),setTimeout(()=>g(null),2e3)},y=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/functions/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update function")}}else{let s=await fetch(`/api/admin/sites/${e}/functions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create function")}}d(null),u(!1),await f()}catch(e){throw e}};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e6.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:f,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Edge Functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Function"]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(tn.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No edge functions yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Create your first API endpoint"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Function"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(t=>(0,a.jsx)("div",{className:(0,m.cn)("border rounded-lg p-4 transition-colors",!t.enabled&&"opacity-60 bg-muted/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(tn.A,{className:"h-4 w-4 text-blue-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:t.name}),(0,a.jsx)("span",{className:(0,m.cn)("text-xs px-1.5 py-0.5 rounded shrink-0","ANY"===t.method?"bg-purple-500/20 text-purple-600":"GET"===t.method?"bg-green-500/20 text-green-600":"POST"===t.method?"bg-blue-500/20 text-blue-600":"PUT"===t.method?"bg-yellow-500/20 text-yellow-600":"bg-red-500/20 text-red-600"),children:t.method}),!t.enabled&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded shrink-0",children:"disabled"})]}),t.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:t.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"shrink-0",children:["Timeout: ",t.timeoutMs/1e3,"s"]}),(0,a.jsx)("button",{onClick:()=>b(t),className:"flex items-center gap-1 hover:text-foreground transition-colors shrink-0",children:x===t.id?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ta.A,{className:"h-3 w-3 text-green-500"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T.A,{className:"h-3 w-3"}),"Copy URL"]})})]})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(t),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsx)(M,{onClick:()=>v(t),children:t.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tl.A,{className:"h-4 w-4 mr-2"}),"Disable"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(to.A,{className:"h-4 w-4 mr-2"}),"Enable"]})}),(0,a.jsxs)(M,{onClick:()=>window.open(`/api/sites/${e}/functions/${t.name}`,"_blank"),children:[(0,a.jsx)(eu.A,{className:"h-4 w-4 mr-2"}),"Open in Browser"]}),(0,a.jsxs)(M,{onClick:()=>j(t),className:"text-destructive",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},t.id))})}),(h||c)&&(0,a.jsx)(td,{siteId:e,function:c,isOpen:!0,onClose:()=>{u(!1),d(null)},onSave:y})]})}var th=s(82679);let tu=`// Server functions receive arguments via the 'args' array +`;function to({siteId:e,function:t,isOpen:s,onClose:i,onSave:n}){let[l,o]=(0,r.useState)(t?.name||""),[c,d]=(0,r.useState)(t?.description||""),[m,u]=(0,r.useState)(t?.method||"ANY"),[h,g]=(0,r.useState)(t?.code||tl),[f,v]=(0,r.useState)(t?.timeoutMs||5e3),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(null),{resolvedTheme:N}=(0,ts.D)(),[k,S]=(0,r.useState)(!1),C=async()=>{if(w(null),!l.trim())return void w("Function name is required");if(!/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(l))return void w("Name must be lowercase letters, numbers, and hyphens only");if(!h.trim())return void w("Function code is required");b(!0);try{await n({name:l.trim(),description:c.trim()||void 0,method:m,code:h,timeoutMs:f,enabled:t?.enabled??!0})}catch(e){w(e instanceof Error?e.message:"Failed to save function")}finally{b(!1)}};return k?(0,a.jsx)(Q.lG,{open:s,onOpenChange:i,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-3xl h-[85vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:t?"Edit Function":"Create Function"}),(0,a.jsx)(Q.rr,{children:"Define an HTTP endpoint that can access your site database."})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-4",children:[(0,a.jsxs)("div",{className:"col-span-2 space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Function Name"}),(0,a.jsx)(x.p,{id:"name",value:l,onChange:e=>o(e.target.value.toLowerCase()),placeholder:"my-function",disabled:!!t}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["URL: /api/sites/",e,"/functions/",(0,a.jsx)("span",{className:"font-mono",children:l||"name"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"method",children:"HTTP Method"}),(0,a.jsxs)(es.l6,{value:m,onValueChange:e=>u(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"ANY",children:"ANY"}),(0,a.jsx)(es.eb,{value:"GET",children:"GET"}),(0,a.jsx)(es.eb,{value:"POST",children:"POST"}),(0,a.jsx)(es.eb,{value:"PUT",children:"PUT"}),(0,a.jsx)(es.eb,{value:"DELETE",children:"DELETE"})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:c,onChange:e=>d(e.target.value),placeholder:"What does this function do?"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"timeout",children:"Timeout (seconds)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{id:"timeout",type:"number",min:1,max:30,value:f/1e3,onChange:e=>v(1e3*Math.min(30,Math.max(1,parseInt(e.target.value)||5))),className:"w-24"}),(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"1-30 seconds"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Function Code"}),(0,a.jsx)("div",{className:"h-64 border rounded-lg overflow-hidden",children:(0,a.jsx)(e9.Ay,{language:"javascript",theme:"dark"===N?"vs-dark":"light",value:h,onChange:e=>g(e||""),options:{minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2}})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(K.A,{className:"h-4 w-4"}),"Available APIs"]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs font-mono",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-blue-500",children:"request"}),".method, .body, .query, .headers, .params, .path"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-green-500",children:"db"}),".query(sql, params), .run(sql, params), .all(sql, params)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-purple-500",children:"Response"}),".json(data, status), .text(text, status), .error(msg, status)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-yellow-500",children:"fetch"}),"(url, options) - External HTTP requests"]})]})]}),y&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),y]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:i,disabled:j,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:C,disabled:j,children:j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e3.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):t?"Save Changes":"Create Function"})]})]})}):null}function tc({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,h]=(0,r.useState)(!1),[x,g]=(0,r.useState)(null),f=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/functions`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load functions")}let a=await t.json();s(a.functions)}catch(e){o(e instanceof Error?e.message:"Failed to load functions")}finally{n(!1)}},v=async t=>{try{if(!(await fetch(`/api/admin/sites/${e}/functions/${t.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!t.enabled})})).ok)throw Error("Failed to update function");await f()}catch(e){console.error("Failed to toggle function:",e)}},j=async t=>{if(confirm(`Delete function "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/functions/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete function");await f()}catch(e){console.error("Failed to delete function:",e)}},b=t=>{let s=`${window.location.origin}/api/sites/${e}/functions/${t.name}`;navigator.clipboard.writeText(s),g(t.id),setTimeout(()=>g(null),2e3)},y=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/functions/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update function")}}else{let s=await fetch(`/api/admin/sites/${e}/functions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create function")}}d(null),h(!1),await f()}catch(e){throw e}};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e3.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:f,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Edge Functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Function"]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(tr.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No edge functions yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Create your first API endpoint"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Function"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(t=>(0,a.jsx)("div",{className:(0,m.cn)("border rounded-lg p-4 transition-colors",!t.enabled&&"opacity-60 bg-muted/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(tr.A,{className:"h-4 w-4 text-blue-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:t.name}),(0,a.jsx)("span",{className:(0,m.cn)("text-xs px-1.5 py-0.5 rounded shrink-0","ANY"===t.method?"bg-purple-500/20 text-purple-600":"GET"===t.method?"bg-green-500/20 text-green-600":"POST"===t.method?"bg-blue-500/20 text-blue-600":"PUT"===t.method?"bg-yellow-500/20 text-yellow-600":"bg-red-500/20 text-red-600"),children:t.method}),!t.enabled&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded shrink-0",children:"disabled"})]}),t.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:t.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"shrink-0",children:["Timeout: ",t.timeoutMs/1e3,"s"]}),(0,a.jsx)("button",{onClick:()=>b(t),className:"flex items-center gap-1 hover:text-foreground transition-colors shrink-0",children:x===t.id?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tt.A,{className:"h-3 w-3 text-green-500"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T.A,{className:"h-3 w-3"}),"Copy URL"]})})]})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(t),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsx)(M,{onClick:()=>v(t),children:t.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ti.A,{className:"h-4 w-4 mr-2"}),"Disable"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tn.A,{className:"h-4 w-4 mr-2"}),"Enable"]})}),(0,a.jsxs)(M,{onClick:()=>window.open(`/api/sites/${e}/functions/${t.name}`,"_blank"),children:[(0,a.jsx)(eh.A,{className:"h-4 w-4 mr-2"}),"Open in Browser"]}),(0,a.jsxs)(M,{onClick:()=>j(t),className:"text-destructive",children:[(0,a.jsx)($.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},t.id))})}),(u||c)&&(0,a.jsx)(to,{siteId:e,function:c,isOpen:!0,onClose:()=>{h(!1),d(null)},onSave:y})]})}var td=s(82679);let tm=`// Server functions receive arguments via the 'args' array // and have access to 'db' and 'fetch' // Example: Validate an API key @@ -317,7 +317,7 @@ if (users.length === 0) { } return { valid: true, user: users[0] }; -`;function tp({function:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e?.name||""),[o,c]=(0,r.useState)(e?.description||""),[d,m]=(0,r.useState)(e?.code||tu),[h,u]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),{resolvedTheme:v}=(0,tr.D)(),[j,b]=(0,r.useState)(!1),y=async()=>{if(f(null),!n.trim())return void f("Function name is required");if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(n))return void f("Name must be a valid identifier (letters, numbers, underscores; cannot start with number)");if(["db","fetch","console","args","request","Response","server"].includes(n))return void f(`"${n}" is reserved and cannot be used`);if(!d.trim())return void f("Function code is required");u(!0);try{await i({name:n.trim(),description:o.trim()||void 0,code:d,enabled:e?.enabled??!0})}catch(e){f(e instanceof Error?e.message:"Failed to save server function")}finally{u(!1)}};return j?(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-3xl h-[85vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:e?"Edit Server Function":"Create Server Function"}),(0,a.jsxs)(Q.rr,{children:["Define a reusable helper function that edge functions can call via server.",n||"name","(args)."]})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Function Name"}),(0,a.jsx)(x.p,{id:"name",value:n,onChange:e=>l(e.target.value.replace(/[^a-zA-Z0-9_]/g,"")),placeholder:"validateAuth",disabled:!!e}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Usage in edge functions: ",(0,a.jsxs)("span",{className:"font-mono",children:["server.",n||"name","(arg1, arg2, ...)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:o,onChange:e=>c(e.target.value),placeholder:"What does this helper do?"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Function Code"}),(0,a.jsx)("div",{className:"h-64 border rounded-lg overflow-hidden",children:(0,a.jsx)(te.Ay,{language:"javascript",theme:"dark"===v?"vs-dark":"light",value:d,onChange:e=>m(e||""),options:{minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2}})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(K.A,{className:"h-4 w-4"}),"Available in Server Functions"]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs font-mono",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-orange-500",children:"args"})," - Array of arguments passed from edge function"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-green-500",children:"db"}),".query(sql, params), .run(sql, params), .all(sql, params)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-yellow-500",children:"fetch"}),"(url, options) - External HTTP requests"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-blue-500",children:"console"}),".log(), .error(), .warn() - Logging"]})]}),(0,a.jsx)("div",{className:"mt-3 pt-3 border-t",children:(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[(0,a.jsx)("strong",{children:"Note:"})," Return a value to send data back to the calling edge function. Server functions are synchronous and share the timeout with the parent edge function."]})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Example: Using in Edge Function"}),(0,a.jsx)("pre",{className:"text-xs font-mono bg-background p-2 rounded overflow-x-auto",children:`// Edge function code +`;function tu({function:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e?.name||""),[o,c]=(0,r.useState)(e?.description||""),[d,m]=(0,r.useState)(e?.code||tm),[u,h]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),{resolvedTheme:v}=(0,ts.D)(),[j,b]=(0,r.useState)(!1),y=async()=>{if(f(null),!n.trim())return void f("Function name is required");if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(n))return void f("Name must be a valid identifier (letters, numbers, underscores; cannot start with number)");if(["db","fetch","console","args","request","Response","server"].includes(n))return void f(`"${n}" is reserved and cannot be used`);if(!d.trim())return void f("Function code is required");h(!0);try{await i({name:n.trim(),description:o.trim()||void 0,code:d,enabled:e?.enabled??!0})}catch(e){f(e instanceof Error?e.message:"Failed to save server function")}finally{h(!1)}};return j?(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-3xl h-[85vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:e?"Edit Server Function":"Create Server Function"}),(0,a.jsxs)(Q.rr,{children:["Define a reusable helper function that edge functions can call via server.",n||"name","(args)."]})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Function Name"}),(0,a.jsx)(x.p,{id:"name",value:n,onChange:e=>l(e.target.value.replace(/[^a-zA-Z0-9_]/g,"")),placeholder:"validateAuth",disabled:!!e}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Usage in edge functions: ",(0,a.jsxs)("span",{className:"font-mono",children:["server.",n||"name","(arg1, arg2, ...)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:o,onChange:e=>c(e.target.value),placeholder:"What does this helper do?"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Function Code"}),(0,a.jsx)("div",{className:"h-64 border rounded-lg overflow-hidden",children:(0,a.jsx)(e9.Ay,{language:"javascript",theme:"dark"===v?"vs-dark":"light",value:d,onChange:e=>m(e||""),options:{minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2}})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(K.A,{className:"h-4 w-4"}),"Available in Server Functions"]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs font-mono",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-orange-500",children:"args"})," - Array of arguments passed from edge function"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-green-500",children:"db"}),".query(sql, params), .run(sql, params), .all(sql, params)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-yellow-500",children:"fetch"}),"(url, options) - External HTTP requests"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-blue-500",children:"console"}),".log(), .error(), .warn() - Logging"]})]}),(0,a.jsx)("div",{className:"mt-3 pt-3 border-t",children:(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[(0,a.jsx)("strong",{children:"Note:"})," Return a value to send data back to the calling edge function. Server functions are synchronous and share the timeout with the parent edge function."]})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Example: Using in Edge Function"}),(0,a.jsx)("pre",{className:"text-xs font-mono bg-background p-2 rounded overflow-x-auto",children:`// Edge function code const auth = server.${n||"validateAuth"}(request.headers['x-api-key']); if (!auth.valid) { Response.error(auth.error, 401); @@ -326,7 +326,7 @@ if (!auth.valid) { // User is authenticated const products = db.query('SELECT * FROM products WHERE user_id = ?', [auth.user.id]); -Response.json({ products });`})]}),g&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),g]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:s,disabled:h,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:y,disabled:h,children:h?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e6.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):e?"Save Changes":"Create Function"})]})]})}):null}function tx({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[h,u]=(0,r.useState)(!1),x=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/server-functions`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load server functions")}let a=await t.json();s(a.functions)}catch(e){o(e instanceof Error?e.message:"Failed to load server functions")}finally{n(!1)}},g=async t=>{try{if(!(await fetch(`/api/admin/sites/${e}/server-functions/${t.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!t.enabled})})).ok)throw Error("Failed to update server function");await x()}catch(e){console.error("Failed to toggle server function:",e)}},f=async t=>{if(confirm(`Delete server function "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/server-functions/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete server function");await x()}catch(e){console.error("Failed to delete server function:",e)}},v=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/server-functions/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update server function")}}else{let s=await fetch(`/api/admin/sites/${e}/server-functions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create server function")}}d(null),u(!1),await x()}catch(e){throw e}};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e6.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:x,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Server Functions (Helpers)"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Helper"]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(th.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No server functions yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Create reusable helpers for your edge functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Helper"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(e=>(0,a.jsx)("div",{className:(0,m.cn)("border rounded-lg p-4 transition-colors",!e.enabled&&"opacity-60 bg-muted/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(th.A,{className:"h-4 w-4 text-orange-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:e.name}),!e.enabled&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded shrink-0",children:"disabled"})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:e.description}),(0,a.jsx)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:(0,a.jsxs)("span",{className:"font-mono truncate",children:["server.",e.name,"(args)"]})})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsx)(M,{onClick:()=>g(e),children:e.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tl.A,{className:"h-4 w-4 mr-2"}),"Disable"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(to.A,{className:"h-4 w-4 mr-2"}),"Enable"]})}),(0,a.jsxs)(M,{onClick:()=>f(e),className:"text-destructive",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},e.id))})}),(h||c)&&(0,a.jsx)(tp,{function:c,isOpen:!0,onClose:()=>{u(!1),d(null)},onSave:v})]})}var tg=s(43649),tf=s(19959);function tv({secret:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e?.name||""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(e?.description||""),[h,u]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[v,j]=(0,r.useState)(null),b=async()=>{if(j(null),!n.trim())return void j("Secret name is required");if(!/^[A-Z][A-Z0-9_]*$/.test(n))return void j("Name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)");if(!e&&!o.trim())return void j("Secret value is required");f(!0);try{await i({name:n.trim(),value:o.trim()||void 0,description:d.trim()||void 0})}catch(e){j(e instanceof Error?e.message:"Failed to save secret")}finally{f(!1)}};return(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-lg",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:e?"Edit Secret":"Create Secret"}),(0,a.jsxs)(Q.rr,{children:["Store sensitive values like API keys securely. Edge functions can access them via secrets.get('",n||"NAME","')."]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Secret Name"}),(0,a.jsx)(x.p,{id:"name",value:n,onChange:e=>{l(e.target.value.toUpperCase().replace(/[^A-Z0-9_]/g,"").replace(/^[0-9]+/,""))},placeholder:"STRIPE_API_KEY",disabled:!!e,className:"font-mono"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Use SCREAMING_SNAKE_CASE (e.g., API_KEY, SENDGRID_TOKEN)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"value",children:e?"New Value (leave empty to keep current)":"Secret Value"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(x.p,{id:"value",type:h?"text":"password",value:o,onChange:e=>c(e.target.value),placeholder:e?"Enter new value to change...":"sk_live_...",className:"pr-10 font-mono"}),(0,a.jsx)(p.$,{type:"button",variant:"ghost",size:"sm",className:"absolute right-1 top-1/2 -translate-y-1/2 h-7 w-7 p-0",onClick:()=>u(!h),children:h?(0,a.jsx)(eD.A,{className:"h-4 w-4"}):(0,a.jsx)(E.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:e?"Leave empty to keep the existing value":"This value will be encrypted and never displayed again"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:d,onChange:e=>m(e.target.value),placeholder:"Production Stripe API key"})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(K.A,{className:"h-4 w-4"}),"Usage in Edge Functions"]}),(0,a.jsx)("pre",{className:"text-xs font-mono bg-background p-2 rounded overflow-x-auto",children:`// Get secret value +Response.json({ products });`})]}),g&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),g]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:s,disabled:u,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:y,disabled:u,children:u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e3.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):e?"Save Changes":"Create Function"})]})]})}):null}function th({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,h]=(0,r.useState)(!1),x=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/server-functions`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load server functions")}let a=await t.json();s(a.functions)}catch(e){o(e instanceof Error?e.message:"Failed to load server functions")}finally{n(!1)}},g=async t=>{try{if(!(await fetch(`/api/admin/sites/${e}/server-functions/${t.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!t.enabled})})).ok)throw Error("Failed to update server function");await x()}catch(e){console.error("Failed to toggle server function:",e)}},f=async t=>{if(confirm(`Delete server function "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/server-functions/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete server function");await x()}catch(e){console.error("Failed to delete server function:",e)}},v=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/server-functions/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update server function")}}else{let s=await fetch(`/api/admin/sites/${e}/server-functions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create server function")}}d(null),h(!1),await x()}catch(e){throw e}};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e3.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:x,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Server Functions (Helpers)"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Helper"]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(td.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No server functions yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Create reusable helpers for your edge functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Helper"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(e=>(0,a.jsx)("div",{className:(0,m.cn)("border rounded-lg p-4 transition-colors",!e.enabled&&"opacity-60 bg-muted/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(td.A,{className:"h-4 w-4 text-orange-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:e.name}),!e.enabled&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded shrink-0",children:"disabled"})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:e.description}),(0,a.jsx)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:(0,a.jsxs)("span",{className:"font-mono truncate",children:["server.",e.name,"(args)"]})})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsx)(M,{onClick:()=>g(e),children:e.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ti.A,{className:"h-4 w-4 mr-2"}),"Disable"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tn.A,{className:"h-4 w-4 mr-2"}),"Enable"]})}),(0,a.jsxs)(M,{onClick:()=>f(e),className:"text-destructive",children:[(0,a.jsx)($.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},e.id))})}),(u||c)&&(0,a.jsx)(tu,{function:c,isOpen:!0,onClose:()=>{h(!1),d(null)},onSave:v})]})}var tp=s(43649),tx=s(19959);function tg({secret:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e?.name||""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(e?.description||""),[u,h]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[v,j]=(0,r.useState)(null),b=async()=>{if(j(null),!n.trim())return void j("Secret name is required");if(!/^[A-Z][A-Z0-9_]*$/.test(n))return void j("Name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)");if(!e&&!o.trim())return void j("Secret value is required");f(!0);try{await i({name:n.trim(),value:o.trim()||void 0,description:d.trim()||void 0})}catch(e){j(e instanceof Error?e.message:"Failed to save secret")}finally{f(!1)}};return(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-lg",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:e?"Edit Secret":"Create Secret"}),(0,a.jsxs)(Q.rr,{children:["Store sensitive values like API keys securely. Edge functions can access them via secrets.get('",n||"NAME","')."]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Secret Name"}),(0,a.jsx)(x.p,{id:"name",value:n,onChange:e=>{l(e.target.value.toUpperCase().replace(/[^A-Z0-9_]/g,"").replace(/^[0-9]+/,""))},placeholder:"STRIPE_API_KEY",disabled:!!e,className:"font-mono"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Use SCREAMING_SNAKE_CASE (e.g., API_KEY, SENDGRID_TOKEN)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"value",children:e?"New Value (leave empty to keep current)":"Secret Value"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(x.p,{id:"value",type:u?"text":"password",value:o,onChange:e=>c(e.target.value),placeholder:e?"Enter new value to change...":"sk_live_...",className:"pr-10 font-mono"}),(0,a.jsx)(p.$,{type:"button",variant:"ghost",size:"sm",className:"absolute right-1 top-1/2 -translate-y-1/2 h-7 w-7 p-0",onClick:()=>h(!u),children:u?(0,a.jsx)(eD.A,{className:"h-4 w-4"}):(0,a.jsx)(E.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:e?"Leave empty to keep the existing value":"This value will be encrypted and never displayed again"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:d,onChange:e=>m(e.target.value),placeholder:"Production Stripe API key"})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(K.A,{className:"h-4 w-4"}),"Usage in Edge Functions"]}),(0,a.jsx)("pre",{className:"text-xs font-mono bg-background p-2 rounded overflow-x-auto",children:`// Get secret value const apiKey = secrets.get('${n||"STRIPE_API_KEY"}'); // Check if secret exists @@ -335,7 +335,7 @@ if (secrets.has('${n||"STRIPE_API_KEY"}')) { } // List all available secrets -const allSecrets = secrets.list(); // ['${n||"STRIPE_API_KEY"}', ...]`})]}),v&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),v]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:s,disabled:g,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:b,disabled:g,children:g?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e6.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):e?"Save Changes":"Create Secret"})]})]})})}function tj({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,h]=(0,r.useState)(!1),[u,x]=(0,r.useState)(!0),g=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/secrets`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load secrets")}let a=await t.json();s(a.secrets),x(a.encryptionConfigured)}catch(e){o(e instanceof Error?e.message:"Failed to load secrets")}finally{n(!1)}},f=async t=>{if(confirm(`Delete secret "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/secrets/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete secret");await g()}catch(e){console.error("Failed to delete secret:",e)}},v=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/secrets/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update secret")}}else{let s=await fetch(`/api/admin/sites/${e}/secrets`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create secret")}}d(null),h(!1),await g()}catch(e){throw e}},j=e=>new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"});return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e6.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:g,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Secrets"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),disabled:!u,children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Secret"]})]}),!u&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm bg-yellow-500/10 border border-yellow-500/30 text-yellow-600 dark:text-yellow-400 p-3 rounded-lg mb-4",children:[(0,a.jsx)(tg.A,{className:"h-4 w-4 shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium",children:"Encryption not configured"}),(0,a.jsx)("p",{className:"text-xs opacity-80",children:"Set the SECRETS_ENCRYPTION_KEY environment variable to enable secrets."})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(tf.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No secrets yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Store API keys and tokens securely for your edge functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),disabled:!u,children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Secret"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(e=>(0,a.jsx)("div",{className:"border rounded-lg p-4 transition-colors",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(tf.A,{className:"h-4 w-4 text-yellow-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:e.name}),!e.hasValue&&(0,a.jsx)(em.E,{variant:"outline",className:"text-amber-600 border-amber-500/50 bg-amber-500/10 text-xs shrink-0",children:"Value not set"})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:e.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"shrink-0",children:["Updated ",j(e.updatedAt)]}),(0,a.jsxs)("span",{className:"font-mono truncate",children:["secrets.get('",e.name,"')"]})]})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsxs)(M,{onClick:()=>f(e),className:"text-destructive",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},e.id))})}),(m||c)&&(0,a.jsx)(tv,{secret:c,isOpen:!0,onClose:()=>{h(!1),d(null)},onSave:v})]})}var tb=s(48730),ty=s(35071),tw=s(70334);function tN({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),c=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/database/logs?limit=200`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load logs")}let a=await t.json();s(a.logs)}catch(e){o(e instanceof Error?e.message:"Failed to load logs")}finally{n(!1)}},d=async()=>{if(confirm("Clear all function execution logs? This cannot be undone."))try{if(!(await fetch(`/api/admin/sites/${e}/database/logs`,{method:"DELETE"})).ok)throw Error("Failed to clear logs");await c()}catch(e){console.error("Failed to clear logs:",e)}},h=e=>("string"==typeof e?new Date(e):e).toLocaleString();return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e6.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:c,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Execution Logs"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:c,children:[(0,a.jsx)(eO.A,{className:"h-4 w-4 mr-1"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:d,disabled:0===t.length,className:"text-destructive hover:text-destructive",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 mr-1"}),"Clear"]})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto border rounded-lg",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center",children:[(0,a.jsx)(tb.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No execution logs yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Logs will appear here when functions are invoked"})]}):(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"sticky top-0 bg-muted",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Status"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Function"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Method"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Path"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Duration"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Time"})]})}),(0,a.jsx)("tbody",{children:t.map(e=>(0,a.jsxs)("tr",{className:"border-t hover:bg-muted/30",children:[(0,a.jsx)("td",{className:"p-3",children:e.statusCode>=200&&e.statusCode<300?(0,a.jsx)(ta.A,{className:"h-4 w-4 text-green-500"}):e.statusCode>=400?(0,a.jsx)(ty.A,{className:"h-4 w-4 text-destructive"}):(0,a.jsx)(tw.A,{className:"h-4 w-4 text-yellow-500"})}),(0,a.jsx)("td",{className:"p-3 font-mono",children:e.functionName||e.functionId.slice(0,8)}),(0,a.jsx)("td",{className:"p-3",children:(0,a.jsx)("span",{className:(0,m.cn)("text-xs px-1.5 py-0.5 rounded","GET"===e.method?"bg-green-500/20 text-green-600":"POST"===e.method?"bg-blue-500/20 text-blue-600":"PUT"===e.method?"bg-yellow-500/20 text-yellow-600":"DELETE"===e.method?"bg-red-500/20 text-red-600":"bg-muted text-muted-foreground"),children:e.method})}),(0,a.jsx)("td",{className:"p-3 font-mono text-xs text-muted-foreground",children:e.path}),(0,a.jsxs)("td",{className:"p-3 text-muted-foreground",children:[e.durationMs,"ms"]}),(0,a.jsx)("td",{className:"p-3 text-xs text-muted-foreground",children:h(e.timestamp)})]},e.id))})]})})]})}var tk=s(61611),tS=s(24366),tC=s(98015);function tA({siteId:e}){let[t,s]=(0,r.useState)("schema");return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsxs)(eV,{value:t,onValueChange:s,className:"flex-1 flex flex-col",children:[(0,a.jsxs)(eH,{className:"grid w-full grid-cols-6",children:[(0,a.jsxs)(eG,{value:"schema",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tk.A,{className:"h-3.5 w-3.5"}),"Schema"]}),(0,a.jsxs)(eG,{value:"query",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tS.A,{className:"h-3.5 w-3.5"}),"SQL"]}),(0,a.jsxs)(eG,{value:"functions",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tn.A,{className:"h-3.5 w-3.5"}),"Functions"]}),(0,a.jsxs)(eG,{value:"helpers",className:"flex items-center gap-1.5",children:[(0,a.jsx)(th.A,{className:"h-3.5 w-3.5"}),"Helpers"]}),(0,a.jsxs)(eG,{value:"secrets",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tf.A,{className:"h-3.5 w-3.5"}),"Secrets"]}),(0,a.jsxs)(eG,{value:"logs",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tC.A,{className:"h-3.5 w-3.5"}),"Logs"]})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-hidden mt-4",children:[(0,a.jsx)(eY,{value:"schema",className:"h-full m-0",children:(0,a.jsx)(e7,{siteId:e})}),(0,a.jsx)(eY,{value:"query",className:"h-full m-0",children:(0,a.jsx)(ti,{siteId:e})}),(0,a.jsx)(eY,{value:"functions",className:"h-full m-0",children:(0,a.jsx)(tm,{siteId:e})}),(0,a.jsx)(eY,{value:"helpers",className:"h-full m-0",children:(0,a.jsx)(tx,{siteId:e})}),(0,a.jsx)(eY,{value:"secrets",className:"h-full m-0",children:(0,a.jsx)(tj,{siteId:e})}),(0,a.jsx)(eY,{value:"logs",className:"h-full m-0",children:(0,a.jsx)(tN,{siteId:e})})]})]})})}function tE({site:e,isOpen:t,onClose:s}){return(0,a.jsx)(Q.lG,{open:t,onOpenChange:e=>!e&&s(),children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-4xl h-[80vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Server Settings"}),(0,a.jsxs)(Q.rr,{children:["Manage database, edge functions, and secrets for ",e.name]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,a.jsx)(tA,{siteId:e.id})})]})})}function tT({projects:e,isOpen:t,onClose:s,onCreate:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(""),[h,u]=(0,r.useState)(!1),[g,f]=(0,r.useState)(""),v=async()=>{if(!n||!o)return void f("Project and site name are required");u(!0),f("");try{await i({projectId:n,name:o,slug:d||void 0}),l(""),c(""),m("")}catch(e){f(e instanceof Error?e.message:"Failed to create site")}finally{u(!1)}},j=()=>{h||(l(""),c(""),m(""),f(""),s())};return(0,a.jsx)(Q.lG,{open:t,onOpenChange:j,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-[500px]",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Create New Site"}),(0,a.jsx)(Q.rr,{children:"Create a new site to publish a project. Sites let you manage publish settings independently from your project workspace."})]}),(0,a.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)(ee.J,{htmlFor:"project",children:"Project"}),(0,a.jsxs)(es.l6,{value:n,onValueChange:t=>{if(l(t),!o){let s=e.find(e=>e.id===t);s&&c(s.name)}},children:[(0,a.jsx)(es.bq,{id:"project",children:(0,a.jsx)(es.yv,{placeholder:"Select a project"})}),(0,a.jsx)(es.gC,{children:e.map(e=>(0,a.jsx)(es.eb,{value:e.id,children:e.name},e.id))})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Choose which project to publish"})]}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Site Name"}),(0,a.jsx)(x.p,{id:"name",value:o,onChange:e=>c(e.target.value),placeholder:"My Awesome Site"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Display name for this published site"})]}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)(ee.J,{htmlFor:"slug",children:"Slug (Optional)"}),(0,a.jsx)(x.p,{id:"slug",value:d,onChange:e=>m(e.target.value),placeholder:"my-awesome-site"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"URL-friendly identifier for this site"})]}),g&&(0,a.jsx)("div",{className:"text-sm text-destructive bg-destructive/10 p-3 rounded",children:g})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:j,disabled:h,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:v,disabled:h||!n||!o,children:h?"Creating...":"Create Site"})]})]})})}function tP({siteId:e,pages:t}){let[i,n]=(0,r.useState)(t[0]||"/"),[l,o]=(0,r.useState)("all"),[c,d]=(0,r.useState)(null),[m,h]=(0,r.useState)(!1),[u,x]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),[v,j]=(0,r.useState)({}),b=(0,r.useRef)(null),y=(0,r.useRef)(null),w=async()=>{if(i){h(!0);try{let t=new URLSearchParams({page:i,type:"click"});"all"!==l&&t.set("device",l);let s=await fetch(`/api/analytics/${e}/heatmap?${t}`);if(!s.ok)throw Error("Failed to fetch heatmap data");let a=await s.json();d(a)}catch(e){console.error("Failed to fetch heatmap data:",e),B.oR.error("Failed to load heatmap data")}finally{h(!1)}}},N=async()=>{if(y.current){x(!0);try{let{captureIframeScreenshot:e}=await Promise.resolve().then(s.bind(s,59784)),t=y.current,a=1280,r=720;"mobile"===l?(a=375,r=667):"tablet"===l&&(a=768,r=1024),t.style.width=`${a}px`,t.style.height=`${r}px`,t.src=i,await new Promise((e,s)=>{let a=setTimeout(()=>s(Error("Timeout")),5e3);t.onload=()=>{clearTimeout(a),e(null)},t.onerror=()=>{clearTimeout(a),s(Error("Failed to load page"))}}),await new Promise(e=>setTimeout(e,500));let n=await e(t,a,r);if(n){f(n);let e=`${i}-${l}`;j(t=>({...t,[e]:n}))}else B.oR.error("Failed to capture screenshot")}catch(e){console.error("Failed to capture screenshot:",e),B.oR.error("Failed to capture page screenshot")}finally{x(!1)}}};return(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex gap-4 items-end flex-wrap",children:[(0,a.jsxs)("div",{className:"min-w-48",children:[(0,a.jsx)(ee.J,{htmlFor:"page-select",children:"Page"}),(0,a.jsxs)(es.l6,{value:i,onValueChange:n,children:[(0,a.jsx)(es.bq,{id:"page-select",children:(0,a.jsx)(es.yv,{})}),(0,a.jsx)(es.gC,{children:t.map(e=>(0,a.jsx)(es.eb,{value:e,children:e},e))})]})]}),(0,a.jsxs)("div",{className:"min-w-36",children:[(0,a.jsx)(ee.J,{htmlFor:"device-select",children:"Device"}),(0,a.jsxs)(es.l6,{value:l,onValueChange:e=>o(e),children:[(0,a.jsx)(es.bq,{id:"device-select",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"all",children:"All Devices"}),(0,a.jsx)(es.eb,{value:"mobile",children:"Mobile"}),(0,a.jsx)(es.eb,{value:"tablet",children:"Tablet"}),(0,a.jsx)(es.eb,{value:"desktop",children:"Desktop"})]})]})]}),(0,a.jsx)(p.$,{onClick:w,disabled:m,children:m?"Loading...":"Refresh"})]}),c&&(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Sample size: ",(0,a.jsx)("span",{className:"font-medium",children:c.sampleSize.toLocaleString()})," interactions"]}),m&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading heatmap data..."})}),!m&&c&&"click"===c.type&&(0,a.jsxs)("div",{className:"border rounded-lg overflow-hidden",children:[!g&&!u&&(0,a.jsxs)("div",{className:"p-8 text-center",children:[(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:"Capture a screenshot of the page to visualize click heatmap"}),(0,a.jsx)(p.$,{onClick:N,children:"Capture Page Screenshot"})]}),u&&(0,a.jsx)("div",{className:"p-8 text-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Capturing screenshot..."})}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"bg-muted/30 p-4 overflow-auto",style:{maxHeight:"70vh"},children:(0,a.jsx)("canvas",{ref:b,className:"mx-auto",style:{maxWidth:"100%",height:"auto"}})}),(0,a.jsx)("div",{className:"p-4 bg-muted text-sm border-t",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium mb-2",children:"Click Heatmap Legend:"}),(0,a.jsxs)("div",{className:"flex gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-red-500/70"}),(0,a.jsx)("span",{children:"High activity"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-orange-500/50"}),(0,a.jsx)("span",{children:"Medium activity"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-yellow-500/20"}),(0,a.jsx)("span",{children:"Low activity"})]})]})]}),(0,a.jsx)("div",{className:"text-right",children:(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:N,children:"Recapture"})})]})})]}),(0,a.jsx)("iframe",{ref:y,style:{position:"fixed",top:"-10000px",left:"-10000px",border:"none"},title:"Page for screenshot"})]}),!m&&!c&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"No heatmap data available"})})]})}function t$({siteId:e}){let[t,s]=(0,r.useState)(null),[i,n]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),c=e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`};return(0,a.jsxs)("div",{className:"space-y-6",children:[t&&t.summary&&(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Total Sessions"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(t.summary.totalSessions||0).toLocaleString()})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Bounce Rate"}),(0,a.jsxs)("div",{className:"text-2xl font-bold",children:[(100*(t.summary.bounceRate||0)).toFixed(1),"%"]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Duration"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:c(t.summary.averageDuration||0)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Pages/Session"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(t.summary.averagePageCount||0).toFixed(1)})]})]}),t&&t.flowData&&(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Page Flow"}),(0,a.jsx)("div",{className:"space-y-2",children:t.flowData.nodes.slice(0,10).map((e,s)=>{let r=t.flowData.links.filter(t=>t.source===e.id),i=t.flowData.links.filter(t=>t.target===e.id);return(0,a.jsxs)("div",{className:"border rounded p-3",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)("span",{className:"font-medium",children:e.label}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:[e.value," visits"]})]}),i.length>0&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground mb-1",children:["← From: ",i.slice(0,3).map(e=>e.source).join(", "),i.length>3&&` (+${i.length-3} more)`]}),r.length>0&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["→ To: ",r.slice(0,3).map(e=>e.target).join(", "),r.length>3&&` (+${r.length-3} more)`]})]},e.id)})})]}),t&&t.sessions.length>0&&(0,a.jsxs)("div",{className:"border rounded-lg",children:[(0,a.jsx)("div",{className:"p-4 border-b",children:(0,a.jsx)("h3",{className:"font-medium",children:"Recent Sessions"})}),(0,a.jsx)("div",{className:"divide-y max-h-96 overflow-y-auto",children:t.sessions.slice(0,50).map(e=>(0,a.jsxs)("div",{className:"p-4 hover:bg-muted cursor-pointer",onClick:()=>o(e),children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"font-medium text-sm",children:[e.entryPage," → ",e.exitPage]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:new Date(e.createdAt).toLocaleString()})]}),(0,a.jsxs)("div",{className:"text-right",children:[(0,a.jsxs)("div",{className:"text-sm",children:[e.pageCount," pages"]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:c(e.totalDuration)})]})]}),e.isBounce&&(0,a.jsx)("div",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs bg-red-100 text-red-800",children:"Bounce"})]},e.sessionId))})]}),l&&(0,a.jsx)("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50",onClick:()=>o(null),children:(0,a.jsxs)("div",{className:"bg-background border rounded-lg p-6 max-w-2xl w-full max-h-[80vh] overflow-y-auto",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-4",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Session Journey"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>o(null),children:"✕"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Started:"})," ",new Date(l.createdAt).toLocaleString()]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Ended:"})," ",new Date(l.endedAt).toLocaleString()]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Total Duration:"})," ",c(l.totalDuration)]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Pages Visited:"})," ",l.pageCount]})]}),(0,a.jsxs)("div",{className:"border-t pt-4",children:[(0,a.jsx)("h4",{className:"font-medium mb-3",children:"Page Journey"}),(0,a.jsx)("div",{className:"space-y-3",children:l.pages.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center text-xs font-medium",children:t+1}),t{n(!0);try{let t=await fetch(`/api/analytics/${e}/engagement`);if(!t.ok)throw Error("Failed to fetch engagement metrics");let a=await t.json();s(a)}catch(e){console.error("Failed to fetch engagement metrics:",e),B.oR.error("Failed to load engagement metrics")}finally{n(!1)}},o=e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading engagement metrics..."})}):t?(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Average Time on Page"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:o(t.timeOnPage.average)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Median Time on Page"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:o(t.timeOnPage.median)})]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Time on Page by Path"}),(0,a.jsx)("div",{className:"space-y-2",children:Object.entries(t.timeOnPage.distribution).sort(([,e],[,t])=>t-e).slice(0,10).map(([e,t])=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e}),(0,a.jsx)("span",{className:"text-sm font-medium ml-4",children:o(t)})]},e))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Scroll Depth Funnel"}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:["Average: ",(0,a.jsxs)("span",{className:"font-medium text-foreground",children:[t.scrollDepth.average.toFixed(1),"%"]})]}),(()=>{let e=[25,50,75,100],s=e.map(s=>e.filter(e=>e>=s).reduce((e,s)=>e+(Number(t.scrollDepth.milestones[s])||0),0)),r=Number(s[0])||1;return e.map((e,t)=>{let i=Number(s[t])||0,n=r>0?i/r*100:0;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between text-sm mb-1",children:[(0,a.jsxs)("span",{children:["Reached ",e,"%+"]}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:[i.toLocaleString()," (",n.toFixed(1),"%)"]})]}),(0,a.jsx)("div",{className:"h-6 bg-muted rounded overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-primary",style:{width:`${n}%`}})})]},e)})})()]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Landing Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:t.topLandingPages.slice(0,10).map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center border-b pb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:e.page}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[e.visitCount.toLocaleString()," visits"]})]}),(0,a.jsxs)("div",{className:"text-right",children:[(0,a.jsx)("div",{className:"text-sm",children:(0,a.jsxs)("span",{className:e.bounceRate>.7?"text-red-500":e.bounceRate>.4?"text-orange-500":"text-green-500",children:[(100*e.bounceRate).toFixed(1),"%"]})}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"bounce rate"})]})]},e.page))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Exit Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:t.exitPages.slice(0,10).map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e.page}),(0,a.jsxs)("div",{className:"text-right ml-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:e.exitCount.toLocaleString()}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[(100*e.exitRate).toFixed(1),"% exit rate"]})]})]},e.page))})]}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(p.$,{onClick:l,disabled:i,children:i?"Loading...":"Refresh"})})]}):(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"No engagement data available"})})}var tI=s(28590),tL=s(41312),tD=s(58559);function tR({site:e,isOpen:t,onClose:s}){let[i,n]=(0,r.useState)("overview"),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,h]=(0,r.useState)([]),[u,x]=(0,r.useState)(!0),[g,f]=(0,r.useState)(!1),v=async()=>{if(e)try{x(!0);let t=await fetch(`/api/analytics/${e.id}/overview`);if(401===t.status){window.location.href="/admin/login";return}if(!t.ok){let e=await t.json().catch(()=>({}));throw console.error("API Error:",t.status,e),Error(e.error||`HTTP ${t.status}`)}let s=await t.json();o(s);let a=Array.from(new Set(s.topPages.map(e=>e.page)));h(a)}catch(e){console.error("Failed to fetch analytics overview:",e),B.oR.error(`Failed to load overview: ${e instanceof Error?e.message:"Unknown error"}`)}finally{x(!1)}},j=async()=>{if(e)try{let t=await fetch(`/api/analytics/${e.id}/storage`);if(401===t.status){window.location.href="/admin/login";return}if(!t.ok){let e=await t.json().catch(()=>({}));throw console.error("Storage API Error:",t.status,e),Error(e.error||`HTTP ${t.status}`)}let s=await t.json();d(s)}catch(e){console.error("Failed to fetch storage info:",e),B.oR.error(`Failed to load storage: ${e instanceof Error?e.message:"Unknown error"}`)}},b=async()=>{if(e)try{let t=await fetch(`/api/analytics/${e.id}/export`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({format:"csv",type:"all"})});if(401===t.status){window.location.href="/admin/login";return}if(!t.ok)throw Error("Failed to export data");let s=await t.blob(),a=window.URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`analytics-${e.id}-${Date.now()}.csv`,document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(a),B.oR.success("Analytics data exported")}catch(e){console.error("Failed to export analytics:",e),B.oR.error("Failed to export analytics data")}},y=async()=>{if(e&&confirm("Are you sure you want to clear all analytics data? This cannot be undone."))try{let t=await fetch(`/api/analytics/${e.id}/clear?type=all`,{method:"DELETE"});if(401===t.status){window.location.href="/admin/login";return}if(!t.ok)throw Error("Failed to clear data");B.oR.success("Analytics data cleared"),v(),j()}catch(e){console.error("Failed to clear analytics:",e),B.oR.error("Failed to clear analytics data")}};return e?(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"max-w-[64rem] h-[90vh] p-0 flex flex-col",children:[(0,a.jsxs)("div",{className:"border-b px-6 py-4 flex items-center justify-between",children:[(0,a.jsxs)(Q.c7,{className:"space-y-1",children:[(0,a.jsx)(Q.L3,{className:"text-2xl",children:"Analytics Dashboard"}),(0,a.jsx)(Q.rr,{children:e.name||e.id})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:b,disabled:g,children:[(0,a.jsx)($.A,{className:"h-4 w-4 mr-2"}),"Export"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:y,disabled:g,children:[(0,a.jsx)(F.A,{className:"h-4 w-4 mr-2"}),"Clear Data"]})]})]}),c&&(0,a.jsxs)("div",{className:"border-b px-6 py-2 bg-muted/50 text-sm",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Storage:"})," ",(0,a.jsxs)("span",{className:"font-medium",children:[c.totalMB.toFixed(2)," MB"]})," • ",(0,a.jsx)("span",{className:"text-muted-foreground",children:"Pageviews:"})," ",(0,a.jsx)("span",{className:"font-medium",children:c.breakdown.pageviews.count.toLocaleString()})," • ",(0,a.jsx)("span",{className:"text-muted-foreground",children:"Interactions:"})," ",(0,a.jsx)("span",{className:"font-medium",children:c.breakdown.interactions.count.toLocaleString()})," • ",(0,a.jsx)("span",{className:"text-muted-foreground",children:"Sessions:"})," ",(0,a.jsx)("span",{className:"font-medium",children:c.breakdown.sessions.count.toLocaleString()})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:(0,a.jsxs)(eV,{value:i,onValueChange:n,className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"border-b px-6",children:(0,a.jsxs)(eH,{children:[(0,a.jsxs)(eG,{value:"overview",children:[(0,a.jsx)(eq.A,{className:"h-4 w-4 mr-2"}),"Overview"]}),(0,a.jsxs)(eG,{value:"heatmaps",children:[(0,a.jsx)(tI.A,{className:"h-4 w-4 mr-2"}),"Heatmaps"]}),(0,a.jsxs)(eG,{value:"sessions",children:[(0,a.jsx)(tL.A,{className:"h-4 w-4 mr-2"}),"Sessions"]}),(0,a.jsxs)(eG,{value:"engagement",children:[(0,a.jsx)(tD.A,{className:"h-4 w-4 mr-2"}),"Engagement"]})]})}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto",children:[(0,a.jsxs)(eY,{value:"overview",className:"p-6 space-y-6",children:[u&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading analytics..."})}),!u&&g&&(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-96 text-center",children:[(0,a.jsx)(eq.A,{className:"h-16 w-16 text-muted-foreground/50 mb-4"}),(0,a.jsx)("h3",{className:"text-lg font-medium mb-2",children:"Analytics Not Available"}),(0,a.jsx)("p",{className:"text-muted-foreground max-w-md",children:"Analytics data will be available after you publish your site for the first time. The analytics database is created when the site is published."})]}),!u&&!g&&l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Total Pageviews"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:l.totalPageviews.toLocaleString()})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Unique Visitors"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:l.uniqueVisitors.toLocaleString()})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Time on Site"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`})(l.averageTimeOnSite)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Bounce Rate"}),(0,a.jsxs)("div",{className:"text-2xl font-bold",children:[(100*l.bounceRate).toFixed(1),"%"]})]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:l.topPages.map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e.page}),(0,a.jsx)("span",{className:"text-sm font-medium ml-4",children:e.views.toLocaleString()})]},e.page))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Referrers"}),(0,a.jsx)("div",{className:"space-y-2",children:l.topReferrers.map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e.referrer||"(Direct)"}),(0,a.jsx)("span",{className:"text-sm font-medium ml-4",children:e.count.toLocaleString()})]},e.referrer))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Device Breakdown"}),(0,a.jsx)("div",{className:"space-y-2",children:Object.entries(l.deviceBreakdown).map(([e,t])=>{let s=Object.values(l.deviceBreakdown).reduce((e,t)=>e+t,0),r=s>0?t/s*100:0;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between text-sm mb-1",children:[(0,a.jsx)("span",{className:"capitalize",children:e}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:[t.toLocaleString()," (",r.toFixed(1),"%)"]})]}),(0,a.jsx)("div",{className:"h-6 bg-muted rounded overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-primary",style:{width:`${r}%`}})})]},e)})})]})]})]}),(0,a.jsx)(eY,{value:"heatmaps",className:"p-6",children:g?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-96 text-center",children:[(0,a.jsx)(tI.A,{className:"h-16 w-16 text-muted-foreground/50 mb-4"}),(0,a.jsx)("h3",{className:"text-lg font-medium mb-2",children:"Heatmaps Not Available"}),(0,a.jsx)("p",{className:"text-muted-foreground max-w-md",children:"Heatmap data will be collected after you publish your site."})]}):(0,a.jsx)(tP,{siteId:e.id,pages:m})}),(0,a.jsx)(eY,{value:"sessions",className:"p-6",children:g?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-96 text-center",children:[(0,a.jsx)(tL.A,{className:"h-16 w-16 text-muted-foreground/50 mb-4"}),(0,a.jsx)("h3",{className:"text-lg font-medium mb-2",children:"Sessions Not Available"}),(0,a.jsx)("p",{className:"text-muted-foreground max-w-md",children:"Session data will be collected after you publish your site."})]}):(0,a.jsx)(t$,{siteId:e.id})}),(0,a.jsx)(eY,{value:"engagement",className:"p-6",children:g?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-96 text-center",children:[(0,a.jsx)(tD.A,{className:"h-16 w-16 text-muted-foreground/50 mb-4"}),(0,a.jsx)("h3",{className:"text-lg font-medium mb-2",children:"Engagement Metrics Not Available"}),(0,a.jsx)("p",{className:"text-muted-foreground max-w-md",children:"Engagement data will be collected after you publish your site."})]}):(0,a.jsx)(tF,{siteId:e.id})})]})]})})]})}):null}var tz=s(59784);let tM={captureWidth:1280,captureHeight:720,outputWidth:640,outputHeight:360,quality:.8,timeout:1e4};async function tO(e,t,s={}){let a={...tM,...s};return new Promise(s=>{let r=document.createElement("iframe");r.style.position="fixed",r.style.top="-10000px",r.style.left="-10000px",r.style.width=`${a.captureWidth}px`,r.style.height=`${a.captureHeight}px`,r.style.border="none",r.src=t;let i=null,n=!1,l=()=>{i&&clearTimeout(i),r.parentElement&&document.body.removeChild(r)},o=e=>{n||(n=!0,console.error(`[Site Thumbnail] Failed: ${e}`),l(),s(!1))},c=()=>{n||(n=!0,l(),s(!0))};i=window.setTimeout(()=>{o(`Timeout after ${a.timeout}ms`)},a.timeout),r.onload=async()=>{try{i&&(clearTimeout(i),i=null),await new Promise(e=>setTimeout(e,500));let t=await (0,tz.captureIframeScreenshot)(r,a.captureWidth,a.captureHeight,a.outputWidth,a.outputHeight,a.quality,!1);if(!t)return void o("Screenshot capture returned null");let s=await fetch(`/api/sites/${e}/thumbnail`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({previewImage:t})});if(!s.ok){let e=await s.json().catch(()=>({error:"Unknown error"}));o(`API error: ${e.error||s.statusText}`);return}c()}catch(e){o(`Capture error: ${e instanceof Error?e.message:String(e)}`)}},r.onerror=()=>{o("Failed to load site in iframe")},document.body.appendChild(r)})}function tB({onProjectSelect:e}){let[t,s]=(0,r.useState)([]),[i,l]=(0,r.useState)([]),[o,c]=(0,r.useState)(!0),[d,m]=(0,r.useState)({}),[h,u]=(0,r.useState)(null),[g,f]=(0,r.useState)(!1),[v,j]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),[w,N]=(0,r.useState)(!1),[k,S]=(0,r.useState)(""),[C,A]=(0,r.useState)("updated"),E=async()=>{try{c(!0);let[e,t]=await Promise.all([fetch("/api/sites"),fetch("/api/projects?fields=id,name")]);if(401===e.status||401===t.status){window.location.href="/admin/login";return}if(!e.ok)throw Error("Failed to fetch sites");if(!t.ok)throw Error("Failed to fetch projects");let[a,r]=await Promise.all([e.json(),t.json()]);s(a),l(r)}catch(e){console.error("[SitesView] Failed to load data:",e)}finally{c(!1)}},T=(e,t)=>{s(s=>s.map(s=>s.id===e?{...s,...t}:s))},P=e=>{u(e),f(!0)},$=e=>{u(e),j(!0)},F=e=>{u(e),y(!0)},I=async t=>{try{await n.vfs.init();let s=await n.vfs.getProject(t.projectId);if(!s)return void B.oR.error("Project not found in local storage");e(s)}catch(e){console.error("[SitesView] Failed to load project:",e),B.oR.error("Failed to load project")}},L=async e=>{if(h)try{let t=await fetch(`/api/sites/${h.id}/settings`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to save settings")}let s=await t.json();u({...h,...e,settingsVersion:s.settingsVersion,lastPublishedVersion:s.lastPublishedVersion}),T(h.id,{...e,settingsVersion:s.settingsVersion,updatedAt:new Date})}catch(e){throw console.error("[SitesView] Failed to save site settings:",e),e}},D=async e=>{let s=t.find(t=>t.id===e);if(s&&confirm("Publish this site with the current settings?")){m(t=>({...t,[e]:!0}));try{B.oR.info("Syncing project files..."),await n.vfs.init();let t=await n.vfs.getProject(s.projectId);if(!t)throw Error("Project not found in local storage");let a=await n.vfs.listFiles(s.projectId),r=(0,eI.j)(),i=await r.pushProjectWithFiles(t,a);if(!i.success)throw Error(i.error||"Failed to sync files to server");B.oR.info("Building site...");let l=await fetch(`/api/sites/${e}/publish`,{method:"POST"});if(!l.ok){let e=await l.json();throw Error(e.error||"Failed to publish")}let o=await l.json();B.oR.success(`Site published! ${o.filesWritten} files written.`),T(e,{lastPublishedVersion:o.lastPublishedVersion,publishedAt:new Date,updatedAt:new Date,databaseEnabled:!0});let c=`${window.location.origin}/sites/${e}`;tO(e,c).then(t=>{if(t)return fetch(`/api/sites/${e}`).then(e=>e.json()).then(t=>{T(e,{previewImage:t.previewImage,previewUpdatedAt:t.previewUpdatedAt})});console.warn(`[Sites View] Failed to generate thumbnail for ${e}`)}).catch(e=>{console.error("[Sites View] Thumbnail generation error:",e)}).finally(()=>{m(t=>({...t,[e]:!1}))})}catch(t){console.error("Failed to publish:",t),B.oR.error(t instanceof Error?t.message:"Failed to publish. Please try again."),m(t=>({...t,[e]:!1}))}}},R=async e=>{if(t.find(t=>t.id===e)&&confirm("Disable this site? It will no longer be publicly accessible."))try{let t=await fetch(`/api/sites/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!1})});if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to disable site")}T(e,{enabled:!1,updatedAt:new Date})}catch(e){console.error("Failed to disable site:",e),alert("Failed to disable site. Please try again.")}},z=async e=>{if(t.find(t=>t.id===e))try{let t=await fetch(`/api/sites/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!0})});if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to enable site")}T(e,{enabled:!0,updatedAt:new Date})}catch(e){console.error("Failed to enable site:",e),alert("Failed to enable site. Please try again.")}},M=async e=>{let s=t.find(t=>t.id===e);if(s&&confirm(`Delete site "${s.name}"? This cannot be undone.`))try{let t=await fetch(`/api/sites/${e}`,{method:"DELETE"});if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to delete site")}await E()}catch(e){console.error("Failed to delete site:",e),alert("Failed to delete site. Please try again.")}},O=async e=>{try{let t=await fetch("/api/sites",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to create site")}await E(),N(!1)}catch(e){throw console.error("Failed to create site:",e),e}},U=(0,r.useMemo)(()=>{let e=t;if(k){let s=k.toLowerCase();e=t.filter(e=>{let t=i.find(t=>t.id===e.projectId);return e.name.toLowerCase().includes(s)||e.slug?.toLowerCase().includes(s)||t?.name.toLowerCase().includes(s)})}return[...e].sort((e,t)=>{switch(C){case"name":return e.name.localeCompare(t.name);case"created":return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime();case"published":if(!e.publishedAt&&!t.publishedAt)return 0;if(!e.publishedAt)return 1;if(!t.publishedAt)return -1;return new Date(t.publishedAt).getTime()-new Date(e.publishedAt).getTime();default:return new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()}})},[t,i,k,C]);return o?(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-orange-500 mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading sites..."})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search sites...",value:k,onChange:e=>S(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(_.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:C,onValueChange:e=>A(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"published",children:"Last Published"}),(0,a.jsx)(es.eb,{value:"created",children:"Date Created"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"})]})]})]})})]}),(0,a.jsxs)(p.$,{onClick:()=>N(!0),size:"sm",className:"gap-2",children:[(0,a.jsx)(G.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"New"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6 overflow-auto",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===U.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-16 text-center",children:[(0,a.jsx)(eL.A,{className:"h-16 w-16 text-muted-foreground mb-4"}),0===t.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"text-xl font-semibold mb-2",children:"No Sites Yet"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-4 max-w-md",children:'Create your first site by clicking the "New" button above. Sites let you publish projects and manage their public settings independently.'})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"text-xl font-semibold mb-2",children:"No sites found"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-4 max-w-md",children:"Try adjusting your search or filter criteria"})]})]}):(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:U.map(e=>{let t=i.find(t=>t.id===e.projectId);return(0,a.jsx)(eJ,{site:e,project:t,isPublishing:d[e.id]||!1,onOpenSettings:P,onOpenServerSettings:$,onViewAnalytics:F,onEditProject:I,onPublish:D,onDisable:R,onEnable:z,onDelete:M},e.id)})})})})]}),h&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e5,{site:h,isOpen:g,onClose:()=>{f(!1),u(null)},onSave:L}),(0,a.jsx)(tE,{site:h,isOpen:v,onClose:()=>{j(!1),u(null)}}),(0,a.jsx)(tR,{site:h,isOpen:b,onClose:()=>{y(!1),u(null)}})]}),(0,a.jsx)(tT,{projects:i,isOpen:w,onClose:()=>N(!1),onCreate:O})]})}var tU=s(3145),tW=s(22926);function tq({tab:e}){let t=(0,i.useSearchParams)().get("settings");return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsx)("div",{className:"flex-1 overflow-auto p-6",children:"application"===(t||e||"model")?(0,a.jsx)(tW.O,{}):(0,a.jsx)(tU.t,{})})})}function tJ({tab:e}){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading..."})}),children:(0,a.jsx)(tq,{tab:e})})}var t_=s(86223);function tV({items:e,activeId:t,visibleIds:s=[],onItemClick:r}){if(0===e.length)return null;let i=(e,t)=>{e.preventDefault(),r?.(t.index.toString());let s=document.querySelector(`[data-heading-index="${t.index}"]`);s&&(s.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",`#${t.id}`))};return(0,a.jsxs)("nav",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-sm font-semibold mb-3 text-foreground",children:"On This Page"}),(0,a.jsx)("ul",{className:"text-sm",children:e.map(e=>(0,a.jsxs)("li",{children:[(0,a.jsx)("a",{href:`#${e.id}`,"data-toc-id":e.index,onClick:t=>i(t,e),className:(0,m.cn)("block py-1 text-muted-foreground hover:text-foreground transition-colors","border-l-2 pl-3",t===e.index.toString()?"border-primary text-foreground font-medium":s.includes(e.index.toString())?"border-blue-400/50 text-foreground/80":"border-transparent"),children:e.text}),e.children&&e.children.length>0&&(0,a.jsx)("ul",{children:e.children.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:`#${e.id}`,"data-toc-id":e.index,onClick:t=>i(t,e),className:(0,m.cn)("block py-1 text-xs text-muted-foreground hover:text-foreground transition-colors","border-l-2",t===e.index.toString()?"border-primary text-foreground font-medium":s.includes(e.index.toString())?"border-blue-400/50 text-foreground/80":"border-transparent"),style:{paddingLeft:"calc(0.75rem * 1.67)"},children:e.text})},`${e.id}-${e.index}`))})]},`${e.id}-${e.index}`))})]})}var tH=s(50047);function tG(){let e=(0,i.useSearchParams)().get("doc")||"overview",t=tH.P.find(t=>t.id===e)||tH.P[0],[s,n]=(0,r.useState)(""),[l,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null),[m,h]=(0,r.useState)(""),[u,p]=(0,r.useState)([]),x=(0,r.useRef)(!1);(0,r.useRef)(null);let g=(0,r.useMemo)(()=>{if(!s)return[];let e=s.split("\n"),t=[],a=0;for(let s of e){let e=s.match(/^(#{2,4})\s+(.+)$/);if(e){let s=e[1].length,r=e[2].trim(),i=r.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");t.push({level:s,text:r,id:i,index:a}),a++}}let r=[],i=null;for(let e of t)2===e.level?(i={id:e.id,text:e.text,level:2,index:e.index,children:[]},r.push(i)):3===e.level&&i&&i.children.push({id:e.id,text:e.text,level:3,index:e.index});return r},[s]),f=(0,r.useCallback)(e=>{h(e),p([e]),x.current=!0,setTimeout(()=>{x.current=!1;let e=document.querySelector(".docs-content-area");if(!e)return;let t=document.querySelectorAll(".docs-content-area [data-heading-index]");if(0===t.length)return;let s=e.getBoundingClientRect().top,a=[];t.forEach(t=>{let r=t.getBoundingClientRect(),i=s+e.clientHeight;if(r.top>=s&&r.bottom<=i){let e=t.getAttribute("data-heading-index");e&&a.push(e)}}),p(a)},1e3)},[]),v=g.length>=3;return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsxs)("div",{className:`flex-1 overflow-hidden ${v?"lg:grid lg:grid-cols-[1fr_280px]":""}`,children:[(0,a.jsx)("div",{className:"h-full overflow-y-auto docs-content-area bg-background",children:(0,a.jsxs)("div",{className:"p-6 sm:p-8 max-w-4xl mx-auto",onClick:e=>{let t=e.target;if("A"===t.tagName){let s=t.getAttribute("href");if(s?.startsWith("#")){e.preventDefault();let t=document.getElementById(s.slice(1));t&&(t.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",s))}}},children:[l&&(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Loading documentation..."})]})}),c&&(0,a.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-destructive/10 border border-destructive/20 rounded-lg text-destructive",children:[(0,a.jsx)(ez.A,{className:"h-5 w-5 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-semibold",children:"Error loading document"}),(0,a.jsx)("p",{className:"text-sm",children:c})]})]}),!l&&!c&&s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-6 pb-4 border-b",children:(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)(t.icon,{className:"h-8 w-8 text-primary"}),(0,a.jsx)("h1",{className:"text-3xl font-bold",children:t.title})]})}),(0,a.jsx)(t_.T,{content:s})]})]})}),v&&(0,a.jsx)("div",{className:"hidden lg:block h-full overflow-y-auto border-l border-border bg-muted/30",children:(0,a.jsx)("div",{className:"p-6 sticky top-0",children:(0,a.jsx)(tV,{items:g,activeId:m,visibleIds:u,onItemClick:f})})})]})})}function tY(){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:"Loading documentation..."}),children:(0,a.jsx)(tG,{})})}var tK=s(82080),tX=s(45547),tZ=s(44624),tQ=s(85814),t0=s.n(tQ),t1=s(30758);function t2(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString()}function t4(e){let t=new Date(e),s=new Date().getTime()-t.getTime(),a=Math.floor(s/6e4),r=Math.floor(s/36e5),i=Math.floor(s/864e5);return a<1?"just now":a<60?`${a}m ago`:r<24?`${r}h ago`:i<7?`${i}d ago`:t.toLocaleDateString()}function t3({onStartTour:e,onNavigate:t}){let s=e=>{};return(0,a.jsx)("div",{className:"bg-card rounded-xl border border-zinc-800 p-4 mb-6",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(p.$,{variant:"default",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(t0(),{href:"/admin/projects?action=create",onClick:s,children:[(0,a.jsx)(G.A,{className:"w-4 h-4"}),"New Project"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(t0(),{href:"/admin/projects",onClick:s,children:[(0,a.jsx)(k.A,{className:"w-4 h-4"}),"Projects"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(t0(),{href:"/admin/sites",children:[(0,a.jsx)(eL.A,{className:"w-4 h-4"}),"Sites"]})}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:e,className:"gap-1.5",children:[(0,a.jsx)(ew.A,{className:"w-4 h-4"}),"Guided Tour"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)("a",{href:"https://discord.gg/mAJ8Ss4u",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(tZ.E,{className:"w-4 h-4"}),"Discord"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(t0(),{href:"/admin/docs",onClick:e=>{},children:[(0,a.jsx)(tK.A,{className:"w-4 h-4"}),"Docs"]})})]})})}function t5({whatsNew:e,onNavigate:t}){return e?(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(tX.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsxs)("h3",{className:"text-sm font-medium text-zinc-200",children:["What's New in v",e.version]})]}),(0,a.jsxs)(t0(),{href:"/admin/docs?doc=whats-new",onClick:e=>{},className:"text-xs text-orange-500 hover:text-orange-400 flex items-center gap-1",children:["Read all",(0,a.jsx)(eu.A,{className:"w-3 h-3"})]})]}),(0,a.jsx)("p",{className:"text-sm font-medium text-zinc-200 mb-2",children:e.title}),e.highlights&&e.highlights.length>0&&(0,a.jsx)("ul",{className:"space-y-1 flex-1",children:e.highlights.map((e,t)=>(0,a.jsxs)("li",{className:"text-xs text-zinc-300 flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-orange-500/70 mt-0.5",children:"•"}),(0,a.jsx)("span",{children:e})]},t))})]}):null}function t6({data:e,loading:t,onRefresh:s}){let r=[{label:"Version",value:`v${e.system.version}`},{label:"Projects",value:t2(e.content.projects)},{label:"Sites",value:t2(e.hosting.publishedSites)},{label:"Traffic/h",value:t2(e.traffic.requestsLastHour)},{label:"Traffic/d",value:t2(e.traffic.requestsLastDay)},{label:"Errors",value:t2(e.traffic.errorCount),highlight:e.traffic.errorCount>0},{label:"Memory",value:function(e){if(0===e)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(1))+" "+["B","KB","MB","GB"][t]}(e.system.memoryUsed)},{label:"Uptime",value:function(e){let t=Math.floor(e/86400),s=Math.floor(e%86400/3600),a=Math.floor(e%3600/60);return t>0?`${t}d ${s}h`:s>0?`${s}h ${a}m`:`${a}m`}(e.system.uptime)}],i=Math.ceil(r.length/2),n=r.slice(0,i),l=r.slice(i);return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"System Overview"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:s,disabled:t,className:"h-7 px-2",children:(0,a.jsx)(eO.A,{className:`w-3.5 h-3.5 ${t?"animate-spin":""}`})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-1.5 flex-1 content-start",children:[(0,a.jsx)("div",{className:"space-y-1.5",children:n.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-zinc-500",children:e.label}),(0,a.jsx)("span",{className:`text-sm font-medium ${e.highlight?"text-yellow-500":"text-zinc-200"}`,children:e.value})]},e.label))}),(0,a.jsx)("div",{className:"space-y-1.5",children:l.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-zinc-500",children:e.label}),(0,a.jsx)("span",{className:`text-sm font-medium ${e.highlight?"text-yellow-500":"text-zinc-200"}`,children:e.value})]},e.label))})]})]})}function t8({projects:e,onNavigate:t,onProjectSelect:s}){let r=(e,t)=>{};return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(k.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Recent Projects"})]}),(0,a.jsxs)(t0(),{href:"/admin/projects",onClick:e=>{},className:"text-xs text-zinc-500 hover:text-zinc-300 flex items-center gap-0.5",children:["View all",(0,a.jsx)(ek.A,{className:"w-3 h-3"})]})]}),0===e.length?(0,a.jsx)("p",{className:"text-xs text-zinc-500 text-center py-2 flex-1 flex items-center justify-center",children:"No projects yet"}):(0,a.jsx)("div",{className:"space-y-1.5 flex-1",children:e.slice(0,3).map(e=>(0,a.jsxs)(t0(),{href:`/admin/projects?open=${e.id}`,onClick:t=>r(t,e.id),className:"flex items-center justify-between text-xs py-1.5 px-2 bg-zinc-900/50 rounded hover:bg-zinc-800/50 transition-colors",children:[(0,a.jsx)("span",{className:"text-zinc-300 truncate flex-1 mr-2",children:e.name}),(0,a.jsxs)("span",{className:"text-zinc-500 shrink-0 flex items-center gap-1",children:[(0,a.jsx)(tb.A,{className:"w-3 h-3"}),t4(e.updatedAt)]})]},e.id))})]})}function t9({sites:e}){return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(eL.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Recent Sites"})]}),(0,a.jsxs)(t0(),{href:"/admin/sites",className:"text-xs text-zinc-500 hover:text-zinc-300 flex items-center gap-0.5",children:["View all",(0,a.jsx)(ek.A,{className:"w-3 h-3"})]})]}),0===e.length?(0,a.jsx)("p",{className:"text-xs text-zinc-500 text-center py-2 flex-1 flex items-center justify-center",children:"No sites yet"}):(0,a.jsx)("div",{className:"space-y-1.5 flex-1",children:e.slice(0,3).map(e=>(0,a.jsxs)(t0(),{href:`/admin/sites?open=${e.id}`,className:"flex items-center justify-between text-xs py-1.5 px-2 bg-zinc-900/50 rounded hover:bg-zinc-800/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[(0,a.jsx)("span",{className:`w-1.5 h-1.5 rounded-full shrink-0 ${e.enabled?"bg-green-500":"bg-zinc-500"}`}),(0,a.jsx)("span",{className:"text-zinc-300 truncate",children:e.name})]}),(0,a.jsxs)("span",{className:"text-zinc-500 shrink-0 flex items-center gap-1",children:[(0,a.jsx)(tb.A,{className:"w-3 h-3"}),t4(e.updatedAt)]})]},e.id))})]})}function t7({data:e}){return(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,a.jsx)(eL.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Top Sites (24h)"})]}),0===e.traffic.topSites.length?(0,a.jsx)("p",{className:"text-xs text-zinc-500 text-center py-2 flex-1 flex items-center justify-center",children:"No traffic recorded yet"}):(0,a.jsx)("div",{className:"space-y-1.5 flex-1",children:e.traffic.topSites.slice(0,5).map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center justify-between text-xs py-1 px-2 bg-zinc-900/50 rounded",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,a.jsxs)("span",{className:"text-zinc-500 w-4",children:[t+1,"."]}),(0,a.jsx)("span",{className:"text-zinc-300 truncate",children:e.siteName})]}),(0,a.jsx)("span",{className:"text-zinc-500 shrink-0",children:t2(e.count)})]},e.siteId))})]}),(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,a.jsx)(tg.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Recent Errors"})]}),0===e.traffic.recentErrors.length?(0,a.jsx)("p",{className:"text-xs text-zinc-500 text-center py-2 flex-1 flex items-center justify-center",children:"No errors recorded"}):(0,a.jsx)("div",{className:"space-y-1.5 flex-1",children:e.traffic.recentErrors.slice(0,5).map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center justify-between text-xs py-1 px-2 bg-zinc-900/50 rounded",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,a.jsx)("span",{className:`font-mono px-1 py-0.5 rounded text-[10px] ${e.statusCode>=500?"bg-red-500/20 text-red-400":"bg-yellow-500/20 text-yellow-400"}`,children:e.statusCode}),(0,a.jsx)("span",{className:"text-zinc-400 truncate max-w-[140px]",children:e.path})]}),(0,a.jsx)("span",{className:"text-zinc-500 shrink-0 text-[10px]",children:new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]},`${e.siteId}-${e.path}-${t}`))})]})]})}function se({onNavigate:e,onProjectSelect:t,onStartTour:s}){let n=(0,i.useRouter)(),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,h]=(0,r.useState)(!0),[u,x]=(0,r.useState)(null),[g,f]=(0,r.useState)(null),v=(0,r.useCallback)(async()=>{h(!0),x(null);try{{let e=await fetch("/api/admin/dashboard");if(!e.ok)throw Error("Failed to fetch dashboard data");let t=await e.json();o(t)}f(new Date)}catch(e){x(e instanceof Error?e.message:"Unknown error")}finally{h(!1)}},[]),j=(0,r.useCallback)(()=>{s?s():n.push("/admin/projects?tour=start")},[n,s]),b=((0,r.useCallback)(e=>{},[t]),!!l);if(m&&!b)return(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-orange-500 mx-auto"}),(0,a.jsx)("p",{className:"mt-3 text-sm text-zinc-400",children:"Loading dashboard..."})]})});if(u&&!b)return(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)(tg.A,{className:"w-8 h-8 text-red-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-zinc-400 text-sm",children:u}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:v,className:"mt-4",children:"Retry"})]})});if(!b)return null;if(l){let e=l.whatsNew?.highlights?.length>0;return(0,a.jsxs)("div",{className:"h-full overflow-y-auto p-6",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-xl font-semibold text-zinc-100",children:"Dashboard"}),g&&(0,a.jsxs)("p",{className:"text-xs text-zinc-500 mt-0.5",children:["Updated ",g.toLocaleTimeString()]})]})}),(0,a.jsx)(t3,{onStartTour:j}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mb-4 [&>*]:min-h-[160px]",children:[(0,a.jsx)(t6,{data:l,loading:m,onRefresh:v}),e&&(0,a.jsx)(t5,{whatsNew:l.whatsNew})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mb-4 [&>*]:min-h-[160px]",children:[(0,a.jsx)(t8,{projects:l.recentProjects}),(0,a.jsx)(t9,{sites:l.recentSites})]}),(0,a.jsx)("div",{className:"[&>*>*]:min-h-[140px]",children:(0,a.jsx)(t7,{data:l})})]})}return null}function st({view:e,onProjectSelect:t,settingsTab:r,onNavigate:i,onStartTour:n}){let l=async e=>{let{vfs:a}=await Promise.resolve().then(s.bind(s,68269));await a.init();let r=await a.getProject(e);r&&t(r)};switch(e){case"dashboard":return(0,a.jsx)(se,{onNavigate:i,onProjectSelect:l,onStartTour:n});case"projects":default:return(0,a.jsx)(ec,{onProjectSelect:t});case"sites":return(0,a.jsx)(tB,{onProjectSelect:t});case"templates":return(0,a.jsx)(ef,{});case"skills":return(0,a.jsx)(eF,{});case"docs":return(0,a.jsx)(tY,{});case"settings":return(0,a.jsx)(tJ,{tab:r})}}},47696:(e,t,s)=>{s.d(t,{Ke:()=>l,Nt:()=>i,R6:()=>n});var a=s(60687),r=s(95682);function i({...e}){return(0,a.jsx)(r.bL,{"data-slot":"collapsible",...e})}function n({...e}){return(0,a.jsx)(r.R6,{"data-slot":"collapsible-trigger",...e})}function l({...e}){return(0,a.jsx)(r.Ke,{"data-slot":"collapsible-content",...e})}},50047:(e,t,s)=>{s.d(t,{P:()=>p});var a=s(56085),r=s(82080),i=s(45583),n=s(18179),l=s(61187),o=s(11437),c=s(24413),d=s(16023),m=s(61611),h=s(65668),u=s(82679);let p=[{id:"whats-new",title:"What's New",icon:a.A,file:"WHATS_NEW.md"},{id:"overview",title:"Overview",icon:r.A,file:"OVERVIEW.md"},{id:"getting-started",title:"Getting Started",icon:i.A,file:"GETTING_STARTED.md"},{id:"projects",title:"Projects",icon:n.A,file:"PROJECTS.md"},{id:"working-with-ai",title:"Working with AI",icon:a.A,file:"WORKING_WITH_AI.md"},{id:"templates",title:"Templates",icon:l.A,file:"TEMPLATES.md"},{id:"skills",title:"Skills",icon:a.A,file:"SKILLS.md"},{id:"deploying-sites",title:"Deploying Sites",icon:o.A,file:"DEPLOYING_SITES.md"},{id:"server-mode",title:"Server Mode",icon:c.A,file:"SERVER_MODE.md"},{id:"site-publishing",title:"Site Publishing",icon:d.A,file:"SITE_PUBLISHING.md"},{id:"server-features",title:"Server Features",icon:m.A,file:"SERVER_FEATURES.md"},{id:"faq",title:"FAQ",icon:h.A,file:"FAQ.md"},{id:"troubleshooting",title:"Troubleshooting",icon:u.A,file:"TROUBLESHOOTING.md"}]},59784:(e,t,s)=>{s.d(t,{captureIframeScreenshot:()=>n});var a=s(94424),r=s(96241);async function i(e,t,s,i){let n;return i?(n=Math.max(e.body.scrollHeight,e.body.offsetHeight,e.documentElement.clientHeight,e.documentElement.scrollHeight,e.documentElement.offsetHeight),r.v.debug("[Screenshot] Full-page mode: document height =",n)):(n=s,r.v.debug("[Screenshot] Viewport-only mode: using height =",n)),r.v.debug("[Screenshot] Capture dimensions:",t,"x",n),Promise.race([(0,a.A)(e.body,{width:t,height:n,scale:1,useCORS:!0,allowTaint:!0,logging:!1,windowWidth:t,windowHeight:n,scrollX:0,scrollY:0,imageTimeout:3e3,backgroundColor:"#ffffff",removeContainer:!0,onclone:e=>{e.querySelectorAll('link[rel="stylesheet"]').forEach(e=>{let t=e.getAttribute("href");t&&(t.startsWith("http://")||t.startsWith("https://"))&&e.remove()});let t=e.querySelectorAll("*"),s=e.defaultView;s&&t.forEach(e=>{let t=s.getComputedStyle(e),a=t.backgroundImage;if(a&&(a.includes("gradient")||a.includes("linear-gradient")||a.includes("radial-gradient"))){let s=t.backgroundColor;e.style.backgroundImage="none",s&&"rgba(0, 0, 0, 0)"!==s&&"transparent"!==s?e.style.backgroundColor=s:e.style.backgroundColor="#64748b"}})}}),new Promise((e,t)=>setTimeout(()=>t(Error("html2canvas timeout after 4 seconds")),4e3))])}async function n(e,t=1280,s=720,a=640,l=360,o=.8,c=!0){try{let n,l=e.contentDocument||e.contentWindow?.document;if(!l||!l.body)return r.v.warn("Cannot access iframe document"),null;try{n=await i(l,t,s,c)}catch(a){let e=String(a);if(e.includes("non-finite")||e.includes("addColorStop")||e.includes("CanvasGradient"))await new Promise(e=>setTimeout(e,500)),n=await i(l,t,s,c);else throw a}let d=n.height/n.width,m=Math.round(a*d),h=document.createElement("canvas");h.width=a,h.height=m;let u=h.getContext("2d");if(!u)return r.v.error("Failed to get canvas context"),null;u.drawImage(n,0,0,a,m);let p=h.toDataURL("image/jpeg",o),x=Math.ceil(3*p.length/4)/1024;if(x>250){r.v.warn(`Screenshot too large: ${x.toFixed(0)}KB, trying with lower quality`);let e=h.toDataURL("image/jpeg",.6),t=Math.ceil(3*e.length/4)/1024;return t>250&&r.v.warn(`Screenshot still too large: ${t.toFixed(0)}KB`),e}return p}catch(e){return r.v.error("Failed to capture screenshot:",e),null}}},75639:(e,t,s)=>{s.d(t,{ZQ:()=>r,Nr:()=>l,vY:()=>a,c3:()=>n});let a={name:"Example Studios",description:"Creative agency portfolio showcasing modern web development capabilities",directories:["/styles","/scripts","/portfolio","/assets","/assets/images","/templates"],files:[{path:"/index.html",content:` +const allSecrets = secrets.list(); // ['${n||"STRIPE_API_KEY"}', ...]`})]}),v&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),v]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:s,disabled:g,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:b,disabled:g,children:g?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e3.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):e?"Save Changes":"Create Secret"})]})]})})}function tf({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),[h,x]=(0,r.useState)(!0),g=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/secrets`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load secrets")}let a=await t.json();s(a.secrets),x(a.encryptionConfigured)}catch(e){o(e instanceof Error?e.message:"Failed to load secrets")}finally{n(!1)}},f=async t=>{if(confirm(`Delete secret "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/secrets/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete secret");await g()}catch(e){console.error("Failed to delete secret:",e)}},v=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/secrets/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update secret")}}else{let s=await fetch(`/api/admin/sites/${e}/secrets`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create secret")}}d(null),u(!1),await g()}catch(e){throw e}},j=e=>new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"});return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e3.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:g,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Secrets"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),disabled:!h,children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Secret"]})]}),!h&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm bg-yellow-500/10 border border-yellow-500/30 text-yellow-600 dark:text-yellow-400 p-3 rounded-lg mb-4",children:[(0,a.jsx)(tp.A,{className:"h-4 w-4 shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium",children:"Encryption not configured"}),(0,a.jsx)("p",{className:"text-xs opacity-80",children:"Set the SECRETS_ENCRYPTION_KEY environment variable to enable secrets."})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(tx.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No secrets yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Store API keys and tokens securely for your edge functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),disabled:!h,children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Secret"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(e=>(0,a.jsx)("div",{className:"border rounded-lg p-4 transition-colors",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(tx.A,{className:"h-4 w-4 text-yellow-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:e.name}),!e.hasValue&&(0,a.jsx)(em.E,{variant:"outline",className:"text-amber-600 border-amber-500/50 bg-amber-500/10 text-xs shrink-0",children:"Value not set"})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:e.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"shrink-0",children:["Updated ",j(e.updatedAt)]}),(0,a.jsxs)("span",{className:"font-mono truncate",children:["secrets.get('",e.name,"')"]})]})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(R,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsxs)(M,{onClick:()=>f(e),className:"text-destructive",children:[(0,a.jsx)($.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},e.id))})}),(m||c)&&(0,a.jsx)(tg,{secret:c,isOpen:!0,onClose:()=>{u(!1),d(null)},onSave:v})]})}var tv=s(48730),tj=s(35071),tb=s(70334);function ty({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),c=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/database/logs?limit=200`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load logs")}let a=await t.json();s(a.logs)}catch(e){o(e instanceof Error?e.message:"Failed to load logs")}finally{n(!1)}},d=async()=>{if(confirm("Clear all function execution logs? This cannot be undone."))try{if(!(await fetch(`/api/admin/sites/${e}/database/logs`,{method:"DELETE"})).ok)throw Error("Failed to clear logs");await c()}catch(e){console.error("Failed to clear logs:",e)}},u=e=>("string"==typeof e?new Date(e):e).toLocaleString();return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e3.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:c,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Execution Logs"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:c,children:[(0,a.jsx)(eO.A,{className:"h-4 w-4 mr-1"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:d,disabled:0===t.length,className:"text-destructive hover:text-destructive",children:[(0,a.jsx)($.A,{className:"h-4 w-4 mr-1"}),"Clear"]})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto border rounded-lg",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center",children:[(0,a.jsx)(tv.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No execution logs yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Logs will appear here when functions are invoked"})]}):(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"sticky top-0 bg-muted",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Status"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Function"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Method"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Path"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Duration"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Time"})]})}),(0,a.jsx)("tbody",{children:t.map(e=>(0,a.jsxs)("tr",{className:"border-t hover:bg-muted/30",children:[(0,a.jsx)("td",{className:"p-3",children:e.statusCode>=200&&e.statusCode<300?(0,a.jsx)(tt.A,{className:"h-4 w-4 text-green-500"}):e.statusCode>=400?(0,a.jsx)(tj.A,{className:"h-4 w-4 text-destructive"}):(0,a.jsx)(tb.A,{className:"h-4 w-4 text-yellow-500"})}),(0,a.jsx)("td",{className:"p-3 font-mono",children:e.functionName||e.functionId.slice(0,8)}),(0,a.jsx)("td",{className:"p-3",children:(0,a.jsx)("span",{className:(0,m.cn)("text-xs px-1.5 py-0.5 rounded","GET"===e.method?"bg-green-500/20 text-green-600":"POST"===e.method?"bg-blue-500/20 text-blue-600":"PUT"===e.method?"bg-yellow-500/20 text-yellow-600":"DELETE"===e.method?"bg-red-500/20 text-red-600":"bg-muted text-muted-foreground"),children:e.method})}),(0,a.jsx)("td",{className:"p-3 font-mono text-xs text-muted-foreground",children:e.path}),(0,a.jsxs)("td",{className:"p-3 text-muted-foreground",children:[e.durationMs,"ms"]}),(0,a.jsx)("td",{className:"p-3 text-xs text-muted-foreground",children:u(e.timestamp)})]},e.id))})]})})]})}var tw=s(61611),tN=s(24366),tk=s(98015);function tS({siteId:e}){let[t,s]=(0,r.useState)("schema");return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsxs)(eJ,{value:t,onValueChange:s,className:"flex-1 flex flex-col",children:[(0,a.jsxs)(eV,{className:"grid w-full grid-cols-6",children:[(0,a.jsxs)(eH,{value:"schema",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tw.A,{className:"h-3.5 w-3.5"}),"Schema"]}),(0,a.jsxs)(eH,{value:"query",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tN.A,{className:"h-3.5 w-3.5"}),"SQL"]}),(0,a.jsxs)(eH,{value:"functions",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tr.A,{className:"h-3.5 w-3.5"}),"Functions"]}),(0,a.jsxs)(eH,{value:"helpers",className:"flex items-center gap-1.5",children:[(0,a.jsx)(td.A,{className:"h-3.5 w-3.5"}),"Helpers"]}),(0,a.jsxs)(eH,{value:"secrets",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tx.A,{className:"h-3.5 w-3.5"}),"Secrets"]}),(0,a.jsxs)(eH,{value:"logs",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tk.A,{className:"h-3.5 w-3.5"}),"Logs"]})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-hidden mt-4",children:[(0,a.jsx)(eG,{value:"schema",className:"h-full m-0",children:(0,a.jsx)(e8,{siteId:e})}),(0,a.jsx)(eG,{value:"query",className:"h-full m-0",children:(0,a.jsx)(ta,{siteId:e})}),(0,a.jsx)(eG,{value:"functions",className:"h-full m-0",children:(0,a.jsx)(tc,{siteId:e})}),(0,a.jsx)(eG,{value:"helpers",className:"h-full m-0",children:(0,a.jsx)(th,{siteId:e})}),(0,a.jsx)(eG,{value:"secrets",className:"h-full m-0",children:(0,a.jsx)(tf,{siteId:e})}),(0,a.jsx)(eG,{value:"logs",className:"h-full m-0",children:(0,a.jsx)(ty,{siteId:e})})]})]})})}function tC({siteId:e,pages:t}){let[i,n]=(0,r.useState)(t[0]||"/"),[l,o]=(0,r.useState)("all"),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),[h,x]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),[v,j]=(0,r.useState)({}),b=(0,r.useRef)(null),y=(0,r.useRef)(null),w=async()=>{if(i){u(!0);try{let t=new URLSearchParams({page:i,type:"click"});"all"!==l&&t.set("device",l);let s=await fetch(`/api/analytics/${e}/heatmap?${t}`);if(!s.ok)throw Error("Failed to fetch heatmap data");let a=await s.json();d(a)}catch(e){console.error("Failed to fetch heatmap data:",e),B.oR.error("Failed to load heatmap data")}finally{u(!1)}}},N=async()=>{if(y.current){x(!0);try{let{captureIframeScreenshot:e}=await Promise.resolve().then(s.bind(s,59784)),t=y.current,a=1280,r=720;"mobile"===l?(a=375,r=667):"tablet"===l&&(a=768,r=1024),t.style.width=`${a}px`,t.style.height=`${r}px`,t.src=i,await new Promise((e,s)=>{let a=setTimeout(()=>s(Error("Timeout")),5e3);t.onload=()=>{clearTimeout(a),e(null)},t.onerror=()=>{clearTimeout(a),s(Error("Failed to load page"))}}),await new Promise(e=>setTimeout(e,500));let n=await e(t,a,r);if(n){f(n);let e=`${i}-${l}`;j(t=>({...t,[e]:n}))}else B.oR.error("Failed to capture screenshot")}catch(e){console.error("Failed to capture screenshot:",e),B.oR.error("Failed to capture page screenshot")}finally{x(!1)}}};return(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex gap-4 items-end flex-wrap",children:[(0,a.jsxs)("div",{className:"min-w-48",children:[(0,a.jsx)(ee.J,{htmlFor:"page-select",children:"Page"}),(0,a.jsxs)(es.l6,{value:i,onValueChange:n,children:[(0,a.jsx)(es.bq,{id:"page-select",children:(0,a.jsx)(es.yv,{})}),(0,a.jsx)(es.gC,{children:t.map(e=>(0,a.jsx)(es.eb,{value:e,children:e},e))})]})]}),(0,a.jsxs)("div",{className:"min-w-36",children:[(0,a.jsx)(ee.J,{htmlFor:"device-select",children:"Device"}),(0,a.jsxs)(es.l6,{value:l,onValueChange:e=>o(e),children:[(0,a.jsx)(es.bq,{id:"device-select",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"all",children:"All Devices"}),(0,a.jsx)(es.eb,{value:"mobile",children:"Mobile"}),(0,a.jsx)(es.eb,{value:"tablet",children:"Tablet"}),(0,a.jsx)(es.eb,{value:"desktop",children:"Desktop"})]})]})]}),(0,a.jsx)(p.$,{onClick:w,disabled:m,children:m?"Loading...":"Refresh"})]}),c&&(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Sample size: ",(0,a.jsx)("span",{className:"font-medium",children:c.sampleSize.toLocaleString()})," interactions"]}),m&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading heatmap data..."})}),!m&&c&&"click"===c.type&&(0,a.jsxs)("div",{className:"border rounded-lg overflow-hidden",children:[!g&&!h&&(0,a.jsxs)("div",{className:"p-8 text-center",children:[(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:"Capture a screenshot of the page to visualize click heatmap"}),(0,a.jsx)(p.$,{onClick:N,children:"Capture Page Screenshot"})]}),h&&(0,a.jsx)("div",{className:"p-8 text-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Capturing screenshot..."})}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"bg-muted/30 p-4 overflow-auto",style:{maxHeight:"70vh"},children:(0,a.jsx)("canvas",{ref:b,className:"mx-auto",style:{maxWidth:"100%",height:"auto"}})}),(0,a.jsx)("div",{className:"p-4 bg-muted text-sm border-t",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium mb-2",children:"Click Heatmap Legend:"}),(0,a.jsxs)("div",{className:"flex gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-red-500/70"}),(0,a.jsx)("span",{children:"High activity"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-orange-500/50"}),(0,a.jsx)("span",{children:"Medium activity"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-yellow-500/20"}),(0,a.jsx)("span",{children:"Low activity"})]})]})]}),(0,a.jsx)("div",{className:"text-right",children:(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:N,children:"Recapture"})})]})})]}),(0,a.jsx)("iframe",{ref:y,style:{position:"fixed",top:"-10000px",left:"-10000px",border:"none"},title:"Page for screenshot"})]}),!m&&!c&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"No heatmap data available"})})]})}function tA({siteId:e}){let[t,s]=(0,r.useState)(null),[i,n]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),c=e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`};return(0,a.jsxs)("div",{className:"space-y-6",children:[t&&t.summary&&(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Total Sessions"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(t.summary.totalSessions||0).toLocaleString()})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Bounce Rate"}),(0,a.jsxs)("div",{className:"text-2xl font-bold",children:[(100*(t.summary.bounceRate||0)).toFixed(1),"%"]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Duration"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:c(t.summary.averageDuration||0)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Pages/Session"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(t.summary.averagePageCount||0).toFixed(1)})]})]}),t&&t.flowData&&(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Page Flow"}),(0,a.jsx)("div",{className:"space-y-2",children:t.flowData.nodes.slice(0,10).map((e,s)=>{let r=t.flowData.links.filter(t=>t.source===e.id),i=t.flowData.links.filter(t=>t.target===e.id);return(0,a.jsxs)("div",{className:"border rounded p-3",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)("span",{className:"font-medium",children:e.label}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:[e.value," visits"]})]}),i.length>0&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground mb-1",children:["← From: ",i.slice(0,3).map(e=>e.source).join(", "),i.length>3&&` (+${i.length-3} more)`]}),r.length>0&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["→ To: ",r.slice(0,3).map(e=>e.target).join(", "),r.length>3&&` (+${r.length-3} more)`]})]},e.id)})})]}),t&&t.sessions.length>0&&(0,a.jsxs)("div",{className:"border rounded-lg",children:[(0,a.jsx)("div",{className:"p-4 border-b",children:(0,a.jsx)("h3",{className:"font-medium",children:"Recent Sessions"})}),(0,a.jsx)("div",{className:"divide-y max-h-96 overflow-y-auto",children:t.sessions.slice(0,50).map(e=>(0,a.jsxs)("div",{className:"p-4 hover:bg-muted cursor-pointer",onClick:()=>o(e),children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"font-medium text-sm",children:[e.entryPage," → ",e.exitPage]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:new Date(e.createdAt).toLocaleString()})]}),(0,a.jsxs)("div",{className:"text-right",children:[(0,a.jsxs)("div",{className:"text-sm",children:[e.pageCount," pages"]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:c(e.totalDuration)})]})]}),e.isBounce&&(0,a.jsx)("div",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs bg-red-100 text-red-800",children:"Bounce"})]},e.sessionId))})]}),l&&(0,a.jsx)("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50",onClick:()=>o(null),children:(0,a.jsxs)("div",{className:"bg-background border rounded-lg p-6 max-w-2xl w-full max-h-[80vh] overflow-y-auto",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-4",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Session Journey"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>o(null),children:"✕"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Started:"})," ",new Date(l.createdAt).toLocaleString()]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Ended:"})," ",new Date(l.endedAt).toLocaleString()]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Total Duration:"})," ",c(l.totalDuration)]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Pages Visited:"})," ",l.pageCount]})]}),(0,a.jsxs)("div",{className:"border-t pt-4",children:[(0,a.jsx)("h4",{className:"font-medium mb-3",children:"Page Journey"}),(0,a.jsx)("div",{className:"space-y-3",children:l.pages.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center text-xs font-medium",children:t+1}),t{n(!0);try{let t=await fetch(`/api/analytics/${e}/engagement`);if(!t.ok)throw Error("Failed to fetch engagement metrics");let a=await t.json();s(a)}catch(e){console.error("Failed to fetch engagement metrics:",e),B.oR.error("Failed to load engagement metrics")}finally{n(!1)}},o=e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading engagement metrics..."})}):t?(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Average Time on Page"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:o(t.timeOnPage.average)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Median Time on Page"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:o(t.timeOnPage.median)})]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Time on Page by Path"}),(0,a.jsx)("div",{className:"space-y-2",children:Object.entries(t.timeOnPage.distribution).sort(([,e],[,t])=>t-e).slice(0,10).map(([e,t])=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e}),(0,a.jsx)("span",{className:"text-sm font-medium ml-4",children:o(t)})]},e))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Scroll Depth Funnel"}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:["Average: ",(0,a.jsxs)("span",{className:"font-medium text-foreground",children:[t.scrollDepth.average.toFixed(1),"%"]})]}),(()=>{let e=[25,50,75,100],s=e.map(s=>e.filter(e=>e>=s).reduce((e,s)=>e+(Number(t.scrollDepth.milestones[s])||0),0)),r=Number(s[0])||1;return e.map((e,t)=>{let i=Number(s[t])||0,n=r>0?i/r*100:0;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between text-sm mb-1",children:[(0,a.jsxs)("span",{children:["Reached ",e,"%+"]}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:[i.toLocaleString()," (",n.toFixed(1),"%)"]})]}),(0,a.jsx)("div",{className:"h-6 bg-muted rounded overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-primary",style:{width:`${n}%`}})})]},e)})})()]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Landing Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:t.topLandingPages.slice(0,10).map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center border-b pb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:e.page}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[e.visitCount.toLocaleString()," visits"]})]}),(0,a.jsxs)("div",{className:"text-right",children:[(0,a.jsx)("div",{className:"text-sm",children:(0,a.jsxs)("span",{className:e.bounceRate>.7?"text-red-500":e.bounceRate>.4?"text-orange-500":"text-green-500",children:[(100*e.bounceRate).toFixed(1),"%"]})}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"bounce rate"})]})]},e.page))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Exit Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:t.exitPages.slice(0,10).map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e.page}),(0,a.jsxs)("div",{className:"text-right ml-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:e.exitCount.toLocaleString()}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[(100*e.exitRate).toFixed(1),"% exit rate"]})]})]},e.page))})]}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(p.$,{onClick:l,disabled:i,children:i?"Loading...":"Refresh"})})]}):(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"No engagement data available"})})}var tT=s(28590),tP=s(41312),tF=s(58559),t$=s(59784);let tI={captureWidth:1280,captureHeight:720,outputWidth:640,outputHeight:360,quality:.8,timeout:1e4};async function tL(e,t,s={}){let a={...tI,...s};return new Promise(s=>{let r=document.createElement("iframe");r.style.position="fixed",r.style.top="-10000px",r.style.left="-10000px",r.style.width=`${a.captureWidth}px`,r.style.height=`${a.captureHeight}px`,r.style.border="none",r.src=t;let i=null,n=!1,l=()=>{i&&clearTimeout(i),r.parentElement&&document.body.removeChild(r)},o=e=>{n||(n=!0,console.error(`[Site Thumbnail] Failed: ${e}`),l(),s(!1))},c=()=>{n||(n=!0,l(),s(!0))};i=window.setTimeout(()=>{o(`Timeout after ${a.timeout}ms`)},a.timeout),r.onload=async()=>{try{i&&(clearTimeout(i),i=null),await new Promise(e=>setTimeout(e,500));let t=await (0,t$.captureIframeScreenshot)(r,a.captureWidth,a.captureHeight,a.outputWidth,a.outputHeight,a.quality,!1);if(!t)return void o("Screenshot capture returned null");let s=await fetch(`/api/sites/${e}/thumbnail`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({previewImage:t})});if(!s.ok){let e=await s.json().catch(()=>({error:"Unknown error"}));o(`API error: ${e.error||s.statusText}`);return}c()}catch(e){o(`Capture error: ${e instanceof Error?e.message:String(e)}`)}},r.onerror=()=>{o("Failed to load site in iframe")},document.body.appendChild(r)})}function tD({onProjectSelect:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)([]),[l,o]=(0,r.useState)(!0),[c,d]=(0,r.useState)({}),[m,u]=(0,r.useState)(null),[h,p]=(0,r.useState)(!1),[x,g]=(0,r.useState)(!1),[f,v]=(0,r.useState)(!1),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),[N,k]=(0,r.useState)("updated"),S=async()=>{try{return o(!0),void o(!1)}catch(e){console.error("[SitesView] Failed to load data:",e)}finally{o(!1)}},C=(e,t)=>{s(s=>s.map(s=>s.id===e?{...s,...t}:s))};return(0,r.useMemo)(()=>{let e=t;if(y){let s=y.toLowerCase();e=t.filter(e=>{let t=i.find(t=>t.id===e.projectId);return e.name.toLowerCase().includes(s)||e.slug?.toLowerCase().includes(s)||t?.name.toLowerCase().includes(s)})}return[...e].sort((e,t)=>{switch(N){case"name":return e.name.localeCompare(t.name);case"created":return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime();case"published":if(!e.publishedAt&&!t.publishedAt)return 0;if(!e.publishedAt)return 1;if(!t.publishedAt)return -1;return new Date(t.publishedAt).getTime()-new Date(e.publishedAt).getTime();default:return new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()}})},[t,i,y,N]),(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-center text-muted-foreground",children:(0,a.jsx)("p",{children:"Sites feature is only available in Server Mode"})})})}var tR=s(3145),tz=s(22926);function tM({tab:e}){let t=(0,i.useSearchParams)().get("settings");return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsx)("div",{className:"flex-1 overflow-auto p-6",children:"application"===(t||e||"model")?(0,a.jsx)(tz.O,{}):(0,a.jsx)(tR.t,{})})})}function tO({tab:e}){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading..."})}),children:(0,a.jsx)(tM,{tab:e})})}var tB=s(86223);function tU({items:e,activeId:t,visibleIds:s=[],onItemClick:r}){if(0===e.length)return null;let i=(e,t)=>{e.preventDefault(),r?.(t.index.toString());let s=document.querySelector(`[data-heading-index="${t.index}"]`);s&&(s.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",`#${t.id}`))};return(0,a.jsxs)("nav",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-sm font-semibold mb-3 text-foreground",children:"On This Page"}),(0,a.jsx)("ul",{className:"text-sm",children:e.map(e=>(0,a.jsxs)("li",{children:[(0,a.jsx)("a",{href:`#${e.id}`,"data-toc-id":e.index,onClick:t=>i(t,e),className:(0,m.cn)("block py-1 text-muted-foreground hover:text-foreground transition-colors","border-l-2 pl-3",t===e.index.toString()?"border-primary text-foreground font-medium":s.includes(e.index.toString())?"border-blue-400/50 text-foreground/80":"border-transparent"),children:e.text}),e.children&&e.children.length>0&&(0,a.jsx)("ul",{children:e.children.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:`#${e.id}`,"data-toc-id":e.index,onClick:t=>i(t,e),className:(0,m.cn)("block py-1 text-xs text-muted-foreground hover:text-foreground transition-colors","border-l-2",t===e.index.toString()?"border-primary text-foreground font-medium":s.includes(e.index.toString())?"border-blue-400/50 text-foreground/80":"border-transparent"),style:{paddingLeft:"calc(0.75rem * 1.67)"},children:e.text})},`${e.id}-${e.index}`))})]},`${e.id}-${e.index}`))})]})}var tW=s(50047);function t_(){let e=(0,i.useSearchParams)().get("doc")||"overview",t=tW.P.find(t=>t.id===e)||tW.P[0],[s,n]=(0,r.useState)(""),[l,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(""),[h,p]=(0,r.useState)([]),x=(0,r.useRef)(!1);(0,r.useRef)(null);let g=(0,r.useMemo)(()=>{if(!s)return[];let e=s.split("\n"),t=[],a=0;for(let s of e){let e=s.match(/^(#{2,4})\s+(.+)$/);if(e){let s=e[1].length,r=e[2].trim(),i=r.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");t.push({level:s,text:r,id:i,index:a}),a++}}let r=[],i=null;for(let e of t)2===e.level?(i={id:e.id,text:e.text,level:2,index:e.index,children:[]},r.push(i)):3===e.level&&i&&i.children.push({id:e.id,text:e.text,level:3,index:e.index});return r},[s]),f=(0,r.useCallback)(e=>{u(e),p([e]),x.current=!0,setTimeout(()=>{x.current=!1;let e=document.querySelector(".docs-content-area");if(!e)return;let t=document.querySelectorAll(".docs-content-area [data-heading-index]");if(0===t.length)return;let s=e.getBoundingClientRect().top,a=[];t.forEach(t=>{let r=t.getBoundingClientRect(),i=s+e.clientHeight;if(r.top>=s&&r.bottom<=i){let e=t.getAttribute("data-heading-index");e&&a.push(e)}}),p(a)},1e3)},[]),v=g.length>=3;return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsxs)("div",{className:`flex-1 overflow-hidden ${v?"lg:grid lg:grid-cols-[1fr_280px]":""}`,children:[(0,a.jsx)("div",{className:"h-full overflow-y-auto docs-content-area bg-background",children:(0,a.jsxs)("div",{className:"p-6 sm:p-8 max-w-4xl mx-auto",onClick:e=>{let t=e.target;if("A"===t.tagName){let s=t.getAttribute("href");if(s?.startsWith("#")){e.preventDefault();let t=document.getElementById(s.slice(1));t&&(t.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",s))}}},children:[l&&(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Loading documentation..."})]})}),c&&(0,a.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-destructive/10 border border-destructive/20 rounded-lg text-destructive",children:[(0,a.jsx)(ez.A,{className:"h-5 w-5 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-semibold",children:"Error loading document"}),(0,a.jsx)("p",{className:"text-sm",children:c})]})]}),!l&&!c&&s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-6 pb-4 border-b",children:(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)(t.icon,{className:"h-8 w-8 text-primary"}),(0,a.jsx)("h1",{className:"text-3xl font-bold",children:t.title})]})}),(0,a.jsx)(tB.T,{content:s})]})]})}),v&&(0,a.jsx)("div",{className:"hidden lg:block h-full overflow-y-auto border-l border-border bg-muted/30",children:(0,a.jsx)("div",{className:"p-6 sticky top-0",children:(0,a.jsx)(tU,{items:g,activeId:m,visibleIds:h,onItemClick:f})})})]})})}function tq(){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:"Loading documentation..."}),children:(0,a.jsx)(t_,{})})}var tJ=s(82080),tV=s(45547),tH=s(44624),tG=s(85814),tY=s.n(tG),tK=s(30758);async function tX(){await n.vfs.init();let e=await n.vfs.listProjects(),t=await h.listCustomTemplates(),s=await ev.skillsService.getAllSkills(),a=null;try{let e=await fetch("/api/docs/WHATS_NEW.md");if(e.ok){let t=await e.text(),s=t.match(/^## v(\d+\.\d+\.\d+)\s*-\s*(.+)$/m);if(s){let e,r=s[1],i=s[2].trim(),n=t.indexOf(s[0]),l=t.substring(n+s[0].length),o=l.match(/^(?:## |---)/m),c=o?l.substring(0,o.index):l,d=/^[-*]\s+\*\*(.+?)\*\*\s*[-–]?\s*(.*)$/gm,m=[];for(;null!==(e=d.exec(c))&&m.length<4;){let t=e[1].trim(),s=e[2]?.trim();m.push(s?`${t} - ${s}`:t)}if(0===m.length){let t=/^[-*]\s+(.+)$/gm;for(;null!==(e=t.exec(c))&&m.length<4;){let t=e[1].trim();t.match(/^\[.*\]\(.*\)$/)||m.push(t.replace(/\*\*/g,""))}}a={version:r,title:i,highlights:m}}}}catch{}return{content:{projects:e.length,templates:t.length,skills:s.length},whatsNew:a,recentProjects:e.sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()).slice(0,3).map(e=>({id:e.id,name:e.name,description:e.description||null,updatedAt:e.updatedAt instanceof Date?e.updatedAt.toISOString():e.updatedAt}))}}function tZ(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString()}function tQ(e){let t=new Date(e),s=new Date().getTime()-t.getTime(),a=Math.floor(s/6e4),r=Math.floor(s/36e5),i=Math.floor(s/864e5);return a<1?"just now":a<60?`${a}m ago`:r<24?`${r}h ago`:i<7?`${i}d ago`:t.toLocaleDateString()}function t0({onStartTour:e,onNavigate:t}){let s=e=>{t&&(e.preventDefault(),t("projects"))};return(0,a.jsx)("div",{className:"bg-card rounded-xl border border-zinc-800 p-4 mb-6",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(p.$,{variant:"default",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(tY(),{href:"#",onClick:s,children:[(0,a.jsx)(G.A,{className:"w-4 h-4"}),"New Project"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(tY(),{href:"#",onClick:s,children:[(0,a.jsx)(k.A,{className:"w-4 h-4"}),"Projects"]})}),!1,(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:e,className:"gap-1.5",children:[(0,a.jsx)(ew.A,{className:"w-4 h-4"}),"Guided Tour"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)("a",{href:"https://discord.gg/mAJ8Ss4u",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(tH.E,{className:"w-4 h-4"}),"Discord"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(tY(),{href:"#",onClick:e=>{t&&(e.preventDefault(),t("docs"))},children:[(0,a.jsx)(tJ.A,{className:"w-4 h-4"}),"Docs"]})})]})})}function t1({whatsNew:e,onNavigate:t}){return e?(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(tV.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsxs)("h3",{className:"text-sm font-medium text-zinc-200",children:["What's New in v",e.version]})]}),(0,a.jsxs)(tY(),{href:"#",onClick:e=>{t&&(e.preventDefault(),window.history.pushState({},"","/?doc=whats-new"),t("docs"))},className:"text-xs text-orange-500 hover:text-orange-400 flex items-center gap-1",children:["Read all",(0,a.jsx)(eh.A,{className:"w-3 h-3"})]})]}),(0,a.jsx)("p",{className:"text-sm font-medium text-zinc-200 mb-2",children:e.title}),e.highlights&&e.highlights.length>0&&(0,a.jsx)("ul",{className:"space-y-1 flex-1",children:e.highlights.map((e,t)=>(0,a.jsxs)("li",{className:"text-xs text-zinc-300 flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-orange-500/70 mt-0.5",children:"•"}),(0,a.jsx)("span",{children:e})]},t))})]}):null}function t2({data:e,loading:t,onRefresh:s}){let r=[{label:"Version",value:`v${tK.rE}`},{label:"Projects",value:tZ(e.content.projects)},{label:"Templates",value:tZ(e.content.templates)},{label:"Skills",value:tZ(e.content.skills)}],i=Math.ceil(r.length/2),n=r.slice(0,i),l=r.slice(i);return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Content Overview"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:s,disabled:t,className:"h-7 px-2",children:(0,a.jsx)(eO.A,{className:`w-3.5 h-3.5 ${t?"animate-spin":""}`})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-1.5 flex-1 content-start",children:[(0,a.jsx)("div",{className:"space-y-1.5",children:n.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-zinc-500",children:e.label}),(0,a.jsx)("span",{className:"text-sm font-medium text-zinc-200",children:e.value})]},e.label))}),(0,a.jsx)("div",{className:"space-y-1.5",children:l.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-zinc-500",children:e.label}),(0,a.jsx)("span",{className:"text-sm font-medium text-zinc-200",children:e.value})]},e.label))})]})]})}function t4({projects:e,onNavigate:t,onProjectSelect:s}){let r=(e,t)=>{s&&(e.preventDefault(),s(t))};return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(k.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Recent Projects"})]}),(0,a.jsxs)(tY(),{href:"#",onClick:e=>{t&&(e.preventDefault(),t("projects"))},className:"text-xs text-zinc-500 hover:text-zinc-300 flex items-center gap-0.5",children:["View all",(0,a.jsx)(ek.A,{className:"w-3 h-3"})]})]}),0===e.length?(0,a.jsx)("p",{className:"text-xs text-zinc-500 text-center py-2 flex-1 flex items-center justify-center",children:"No projects yet"}):(0,a.jsx)("div",{className:"space-y-1.5 flex-1",children:e.slice(0,3).map(e=>(0,a.jsxs)(tY(),{href:"#",onClick:t=>r(t,e.id),className:"flex items-center justify-between text-xs py-1.5 px-2 bg-zinc-900/50 rounded hover:bg-zinc-800/50 transition-colors",children:[(0,a.jsx)("span",{className:"text-zinc-300 truncate flex-1 mr-2",children:e.name}),(0,a.jsxs)("span",{className:"text-zinc-500 shrink-0 flex items-center gap-1",children:[(0,a.jsx)(tv.A,{className:"w-3 h-3"}),tQ(e.updatedAt)]})]},e.id))})]})}function t3({onNavigate:e,onProjectSelect:t,onStartTour:s}){let n=(0,i.useRouter)(),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!0),[h,x]=(0,r.useState)(null),[g,f]=(0,r.useState)(null),v=(0,r.useCallback)(async()=>{u(!0),x(null);try{{let e=await tX();d(e)}f(new Date)}catch(e){x(e instanceof Error?e.message:"Unknown error")}finally{u(!1)}},[]),j=(0,r.useCallback)(()=>{s?s():n.push("/admin/projects?tour=start")},[n,s]),b=(0,r.useCallback)(e=>{t&&t(e)},[t]),y=!!c;if(m&&!y)return(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-orange-500 mx-auto"}),(0,a.jsx)("p",{className:"mt-3 text-sm text-zinc-400",children:"Loading dashboard..."})]})});if(h&&!y)return(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)(tp.A,{className:"w-8 h-8 text-red-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-zinc-400 text-sm",children:h}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:v,className:"mt-4",children:"Retry"})]})});if(!y)return null;if(c){let t=null!==c.whatsNew;return(0,a.jsxs)("div",{className:"h-full overflow-y-auto p-6",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-xl font-semibold text-zinc-100",children:"Dashboard"}),g&&(0,a.jsxs)("p",{className:"text-xs text-zinc-500 mt-0.5",children:["Updated ",g.toLocaleTimeString()]})]})}),(0,a.jsx)(t0,{onStartTour:j,onNavigate:e}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mb-4 [&>*]:min-h-[160px]",children:[(0,a.jsx)(t2,{data:c,loading:m,onRefresh:v}),t&&(0,a.jsx)(t1,{whatsNew:c.whatsNew,onNavigate:e})]}),(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)(t4,{projects:c.recentProjects,onNavigate:e,onProjectSelect:b})})]})}return null}function t5({view:e,onProjectSelect:t,settingsTab:r,onNavigate:i,onStartTour:n}){let l=async e=>{let{vfs:a}=await Promise.resolve().then(s.bind(s,68269));await a.init();let r=await a.getProject(e);r&&t(r)};switch(e){case"dashboard":return(0,a.jsx)(t3,{onNavigate:i,onProjectSelect:l,onStartTour:n});case"projects":default:return(0,a.jsx)(ec,{onProjectSelect:t});case"sites":return(0,a.jsx)(tD,{onProjectSelect:t});case"templates":return(0,a.jsx)(ef,{});case"skills":return(0,a.jsx)(e$,{});case"docs":return(0,a.jsx)(tq,{});case"settings":return(0,a.jsx)(tO,{tab:r})}}},47696:(e,t,s)=>{s.d(t,{Ke:()=>l,Nt:()=>i,R6:()=>n});var a=s(60687),r=s(95682);function i({...e}){return(0,a.jsx)(r.bL,{"data-slot":"collapsible",...e})}function n({...e}){return(0,a.jsx)(r.R6,{"data-slot":"collapsible-trigger",...e})}function l({...e}){return(0,a.jsx)(r.Ke,{"data-slot":"collapsible-content",...e})}},50047:(e,t,s)=>{s.d(t,{P:()=>p});var a=s(56085),r=s(82080),i=s(45583),n=s(18179),l=s(61187),o=s(11437),c=s(24413),d=s(16023),m=s(61611),u=s(65668),h=s(82679);let p=[{id:"whats-new",title:"What's New",icon:a.A,file:"WHATS_NEW.md"},{id:"overview",title:"Overview",icon:r.A,file:"OVERVIEW.md"},{id:"getting-started",title:"Getting Started",icon:i.A,file:"GETTING_STARTED.md"},{id:"projects",title:"Projects",icon:n.A,file:"PROJECTS.md"},{id:"working-with-ai",title:"Working with AI",icon:a.A,file:"WORKING_WITH_AI.md"},{id:"templates",title:"Templates",icon:l.A,file:"TEMPLATES.md"},{id:"skills",title:"Skills",icon:a.A,file:"SKILLS.md"},{id:"deploying-sites",title:"Deploying Sites",icon:o.A,file:"DEPLOYING_SITES.md"},{id:"server-mode",title:"Server Mode",icon:c.A,file:"SERVER_MODE.md"},{id:"site-publishing",title:"Site Publishing",icon:d.A,file:"SITE_PUBLISHING.md"},{id:"server-features",title:"Server Features",icon:m.A,file:"SERVER_FEATURES.md"},{id:"faq",title:"FAQ",icon:u.A,file:"FAQ.md"},{id:"troubleshooting",title:"Troubleshooting",icon:h.A,file:"TROUBLESHOOTING.md"}]},59784:(e,t,s)=>{s.d(t,{captureIframeScreenshot:()=>n});var a=s(94424),r=s(96241);async function i(e,t,s,i){let n;return i?(n=Math.max(e.body.scrollHeight,e.body.offsetHeight,e.documentElement.clientHeight,e.documentElement.scrollHeight,e.documentElement.offsetHeight),r.v.debug("[Screenshot] Full-page mode: document height =",n)):(n=s,r.v.debug("[Screenshot] Viewport-only mode: using height =",n)),r.v.debug("[Screenshot] Capture dimensions:",t,"x",n),Promise.race([(0,a.A)(e.body,{width:t,height:n,scale:1,useCORS:!0,allowTaint:!0,logging:!1,windowWidth:t,windowHeight:n,scrollX:0,scrollY:0,imageTimeout:3e3,backgroundColor:"#ffffff",removeContainer:!0,onclone:e=>{e.querySelectorAll('link[rel="stylesheet"]').forEach(e=>{let t=e.getAttribute("href");t&&(t.startsWith("http://")||t.startsWith("https://"))&&e.remove()});let t=e.querySelectorAll("*"),s=e.defaultView;s&&t.forEach(e=>{let t=s.getComputedStyle(e),a=t.backgroundImage;if(a&&(a.includes("gradient")||a.includes("linear-gradient")||a.includes("radial-gradient"))){let s=t.backgroundColor;e.style.backgroundImage="none",s&&"rgba(0, 0, 0, 0)"!==s&&"transparent"!==s?e.style.backgroundColor=s:e.style.backgroundColor="#64748b"}})}}),new Promise((e,t)=>setTimeout(()=>t(Error("html2canvas timeout after 4 seconds")),4e3))])}async function n(e,t=1280,s=720,a=640,l=360,o=.8,c=!0){try{let n,l=e.contentDocument||e.contentWindow?.document;if(!l||!l.body)return r.v.warn("Cannot access iframe document"),null;try{n=await i(l,t,s,c)}catch(a){let e=String(a);if(e.includes("non-finite")||e.includes("addColorStop")||e.includes("CanvasGradient"))await new Promise(e=>setTimeout(e,500)),n=await i(l,t,s,c);else throw a}let d=n.height/n.width,m=Math.round(a*d),u=document.createElement("canvas");u.width=a,u.height=m;let h=u.getContext("2d");if(!h)return r.v.error("Failed to get canvas context"),null;h.drawImage(n,0,0,a,m);let p=u.toDataURL("image/jpeg",o),x=Math.ceil(3*p.length/4)/1024;if(x>250){r.v.warn(`Screenshot too large: ${x.toFixed(0)}KB, trying with lower quality`);let e=u.toDataURL("image/jpeg",.6),t=Math.ceil(3*e.length/4)/1024;return t>250&&r.v.warn(`Screenshot still too large: ${t.toFixed(0)}KB`),e}return p}catch(e){return r.v.error("Failed to capture screenshot:",e),null}}},75639:(e,t,s)=>{s.d(t,{ZQ:()=>r,Nr:()=>l,vY:()=>a,c3:()=>n});let a={name:"Example Studios",description:"Creative agency portfolio showcasing modern web development capabilities",directories:["/styles","/scripts","/portfolio","/assets","/assets/images","/templates"],files:[{path:"/index.html",content:` @@ -3309,4 +3309,4 @@ document.addEventListener('DOMContentLoaded', () => { `},{path:"/data.json",content:`{ "title": "Welcome", "message": "Start building your website!" -}`}]};var i=s(32623);async function n(e,t,s,a){await i.$.runWithSuppressedDirty(t,async()=>{for(let a of s.directories)await e.createDirectory(t,a);for(let a of s.files){let s=a.content;if(a.isBase64){let e=atob(a.content),t=new Uint8Array(e.length);for(let s=0;s0)for(let s of a)try{let a=await fetch(`${window.location.origin}/${s.filename}`);if(a.ok){let r=await a.arrayBuffer();await e.createFile(t,s.path,r)}}catch(e){}})}let l=[{id:"blank",name:"Blank",description:"Minimal starting template with basic HTML/CSS/JS structure",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["starter","basic"]}},{id:"demo",name:"Example Studios",description:"Multi-page agency portfolio showcasing modern web development",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["portfolio","multi-page","example"]}}]},80189:(e,t,s)=>{s.d(t,{Bc:()=>n,ZI:()=>c,k$:()=>o,m_:()=>l});var a=s(60687);s(43210);var r=s(9989),i=s(96241);function n({delayDuration:e=0,...t}){return(0,a.jsx)(r.Kq,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function l({...e}){return(0,a.jsx)(n,{children:(0,a.jsx)(r.bL,{"data-slot":"tooltip",...e})})}function o({...e}){return(0,a.jsx)(r.l9,{"data-slot":"tooltip-trigger",...e})}function c({className:e,sideOffset:t=0,children:s,arrowStyle:n,...l}){return(0,a.jsx)(r.ZL,{children:(0,a.jsxs)(r.UC,{"data-slot":"tooltip-content",sideOffset:t,className:(0,i.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...l,children:[s,(0,a.jsx)(r.i3,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",style:n})]})})}},86223:(e,t,s)=>{s.d(t,{T:()=>h});var a=s(60687),r=s(43210),i=s.n(r),n=s(11736),l=s(85808),o=s(96241),c=s(25334),d=s(16189);function m(e){return e.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function h({content:e,className:t,skipNormalization:s=!1}){let r=(0,d.useRouter)(),h=s?e:function(e){if(!e||"string"!=typeof e)return"";let t=e.split("\n"),s=[],a=!1,r=0,i=e=>{let t=e.trim();return/^```/.test(t)},n=e=>{let t=e.trim();return/^[-*+]\s/.test(t)||/^\d+\.\s/.test(t)},l=e=>/^\s*>/.test(e),o=e=>{let t=e.trim();return!!t&&!(t.length<3)&&[/^(const|let|var|function|class|import|export|return|if|for|while)\s/,/^[a-zA-Z_$][a-zA-Z0-9_$]*\s*[=:({]/,/[{};()[\]]/,/^\/\//,/^#/].some(e=>e.test(t))};for(let e=0;e=4&&!o(c)||d>=2&&d<4){s.push(c.trim());continue}s.push(c)}return s.join("\n").trim()}(e),u=i().useMemo(()=>{let e=h.split("\n"),t=[],s=0;for(let a of e){let e=a.match(/^(#{2,4})\s+(.+)$/);e&&t.push({level:e[1].length,text:e[2].trim(),index:s++})}return t},[h]),p=i().useMemo(()=>{let e=new Map;return u.forEach(t=>{let s=`${t.level}-${t.text}`;e.has(s)||e.set(s,t.index)}),e},[u]);return(0,a.jsx)("div",{className:(0,o.cn)("prose prose-sm dark:prose-invert max-w-none",t),children:(0,a.jsx)(n.oz,{remarkPlugins:[l.A],components:{h1:({children:e})=>{let t=m(e?.toString()||"");return(0,a.jsx)("h1",{id:t,className:"text-3xl font-bold mb-4 mt-8 first:mt-0",children:e})},h2:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`2-${t}`,i=p.get(r);return(0,a.jsx)("h2",{id:s,"data-heading-index":i,className:"text-2xl font-bold mb-3 mt-8 pb-2 border-b border-border/50 first:mt-0",children:e})},h3:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`3-${t}`,i=p.get(r);return(0,a.jsx)("h3",{id:s,"data-heading-index":i,className:"text-xl font-semibold mb-2 mt-6",children:e})},h4:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`4-${t}`,i=p.get(r);return(0,a.jsx)("h4",{id:s,"data-heading-index":i,className:"text-lg font-semibold mb-2 mt-4",children:e})},p:({children:e})=>(0,a.jsx)("p",{className:"mb-4 leading-relaxed last:mb-0",children:e}),ul:({children:e})=>(0,a.jsx)("ul",{className:"list-disc pl-6 mb-4 space-y-2",children:e}),ol:({children:e})=>(0,a.jsx)("ol",{className:"list-decimal pl-6 mb-4 space-y-2",children:e}),li:({children:e})=>(0,a.jsx)("li",{className:"text-sm leading-relaxed",children:e}),pre:({children:e,...t})=>{let s=i().Children.toArray(e).find(e=>i().isValidElement(e)&&"code"===e.type),r=s?.props?.className||"",n=/language-(\w+)/.exec(r),l=n?n[1]:null;return(0,a.jsxs)("div",{className:"relative mb-4 group",children:[l&&(0,a.jsx)("div",{className:"absolute top-2 right-2 px-2 py-1 text-xs font-medium text-muted-foreground bg-background/80 rounded border border-border/50 backdrop-blur-sm",children:l}),(0,a.jsx)("pre",{className:"p-4 rounded-lg bg-muted/50 border border-border/50 overflow-x-auto",...t,children:e})]})},code:({className:e,children:t,...s})=>/language-(\w+)/.exec(e||"")?(0,a.jsx)("code",{className:"font-mono text-xs block",...s,children:t}):(0,a.jsx)("code",{className:"px-1.5 py-0.5 rounded bg-muted/70 border border-border/30 font-mono text-xs",...s,children:t}),blockquote:({children:e})=>(0,a.jsx)("blockquote",{className:"border-l-4 border-primary/30 bg-muted/30 pl-4 pr-4 py-3 mb-4 italic text-muted-foreground rounded-r",children:e}),a:({href:e,children:t})=>{if(!e)return(0,a.jsx)("a",{children:t});let s=e.startsWith("?doc="),i=e.startsWith("?nav=");e.startsWith("#");let n=e.startsWith("http://")||e.startsWith("https://");return(0,a.jsxs)("a",{href:e,onClick:t=>{if(s)t.preventDefault(),r.push(`/${e}`);else if(i){t.preventDefault();let s=e.replace("?nav=","");r.push(`/admin/${s}`)}},className:(0,o.cn)("text-primary hover:underline cursor-pointer",n&&"inline-flex items-center gap-1"),target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,children:[t,n&&(0,a.jsx)(c.A,{className:"h-3 w-3 inline"})]})},strong:({children:e})=>(0,a.jsx)("strong",{className:"font-semibold",children:e}),em:({children:e})=>(0,a.jsx)("em",{className:"italic",children:e}),hr:()=>(0,a.jsx)("hr",{className:"my-8 border-border"}),table:({children:e})=>(0,a.jsx)("div",{className:"overflow-x-auto mb-6 rounded-lg border border-border",children:(0,a.jsx)("table",{className:"min-w-full divide-y divide-border",children:e})}),thead:({children:e})=>(0,a.jsx)("thead",{className:"bg-muted/50",children:e}),tbody:({children:e})=>(0,a.jsx)("tbody",{className:"divide-y divide-border bg-background",children:e}),tr:({children:e})=>(0,a.jsx)("tr",{className:"hover:bg-muted/30 transition-colors",children:e}),th:({children:e})=>(0,a.jsx)("th",{className:"px-4 py-3 text-left text-xs font-semibold tracking-wide",children:e}),td:({children:e})=>(0,a.jsx)("td",{className:"px-4 py-3 text-sm",children:e})},children:h})})}},87929:(e,t,s)=>{s.d(t,{DEMO_PROJECT_TEMPLATE:()=>a.vY,Nr:()=>a.Nr,ZQ:()=>a.ZQ,createProjectFromTemplate:()=>a.c3});var a=s(75639)},88712:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(60687);s(43210);let r=[{id:"welcome",title:"Welcome to Open Source Web Studio",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"Let's take a guided tour of the workspace so you can see how projects, agents, and saves all fit together."}),(0,a.jsx)("p",{children:"The tour takes under two minutes and you can skip at any time."})]}),location:"project-manager",primaryLabel:"Start tour",secondaryLabel:"Skip"},{id:"projects-overview",title:"Projects at a Glance",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"This is your project gallery. Recent work appears here with quick actions for opening, duplicating, or exporting."}),(0,a.jsx)("p",{children:"I've loaded a demo project so you can explore without setting anything up."})]}),location:"project-manager",target:'[data-tour-id="projects-list"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"create-project",title:"Creating a Project",body:(0,a.jsx)("div",{className:"space-y-2 text-sm text-muted-foreground",children:(0,a.jsx)("p",{children:"Use the New Project button to start fresh. The dialog lets you name the project and add an optional description."})}),location:"project-manager",target:'[data-tour-id="new-project-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"project-controls",title:"Exporting a Project",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"Click the dropdown menu on any project card to access export options. You can export as a ZIP for deployment or JSON for backup."}),(0,a.jsx)("p",{children:"Projects can also be duplicated or deleted from this menu."})]}),location:"project-manager",target:'[data-tour-id="project-export-json"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"edit-project",title:"Editing a Project",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"To get to the workspace and start editing, simply click on the project card. This will open the full development environment."}),(0,a.jsx)("p",{children:"Click Next to enter the workspace and continue the tour."})]}),location:"project-manager",target:'[data-tour-id="project-card"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-overview",title:"Workspace Layout",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The workspace has four main areas: the assistant conversation, the virtual file explorer, your editor tabs, and the live preview."}),(0,a.jsx)("p",{children:"The VFS works like a project file tree—add HTML, CSS, JS, or assets and the agent can edit them just like local files."})]}),location:"workspace",target:'[data-tour-id="workspace-panels"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-edit",title:"See the Agent in Action",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:'I\'ll request the agent to change the color of "Our Services" button to a green accent and the agent performs the task.'}),(0,a.jsx)("p",{children:"This mimics what you will see when asking the agent to perform tasks."})]}),location:"workspace",target:'[data-tour-id="assistant-panel"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-focus",title:"Element Focus Tool",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The crosshair tool in the preview panel lets you select and focus on specific elements in your design."}),(0,a.jsx)("p",{children:"Click it to activate element selection mode, then click any element in the preview to highlight it."})]}),location:"workspace",target:'[data-tour-id="focus-crosshair-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-checkpoint",title:"Checkpoints & Manual Saves",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:'The "Discard Changes" button restores to the original saved point, letting you revert any changes back to your last manual save.'}),(0,a.jsx)("p",{children:"If you like the result, use the Save button to lock it in as your manual checkpoint."})]}),location:"workspace",target:'[data-tour-id="discard-changes-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"clear-conversation",title:"Clear Conversation",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The agent will have the last tasks and responses in memory. You can clear it with the trashcan button to start fresh."}),(0,a.jsx)("p",{children:"This removes the conversation history but keeps your project files intact."})]}),location:"workspace",target:'[data-tour-id="clear-chat-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"provider-settings",title:"Connect Your Provider",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsxs)("p",{children:["Set your API key under Settings → Provider. I recommend trying OpenRouter with the ",(0,a.jsx)("code",{children:"gpt-oss-120b"})," model, but you can use any supported provider."]}),(0,a.jsx)("p",{children:"You can return here anytime from the header menu."}),(0,a.jsx)("p",{className:"text-xs text-orange-500/90",children:"Privacy note: Remote LLM providers (OpenAI, Anthropic, etc.) will receive your code when generating. For complete privacy, use local models with Ollama or LM Studio."})]}),location:"workspace",target:'[data-tour-id="provider-settings-trigger"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"wrap-up",title:"You're Ready!",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"That's the basics—prompt the agent, preview updates, and save when you're happy. You can replay this tour from the Help menu anytime."}),(0,a.jsx)("p",{children:"Have fun building! Let me know what you ship."})]}),location:"workspace",showBack:!0,primaryLabel:"Finish",secondaryLabel:"Skip"}]},96597:(e,t,s)=>{s.d(t,{V:()=>h});var a=s(60687);s(43210);var r=s(30758),i=s(37826),n=s(24934),l=s(96271),o=s(59821),c=s(25334),d=s(62157),m=s(44624);function h({open:e,onOpenChange:t}){return(0,a.jsx)(i.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(i.Cf,{className:"max-w-3xl max-h-[90vh]",children:[(0,a.jsx)(i.c7,{children:(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-2",children:[(0,a.jsx)(l.g,{width:64,height:64}),(0,a.jsxs)("div",{children:[(0,a.jsx)(i.L3,{className:"text-2xl",children:"Open Source Web Studio"}),(0,a.jsx)(i.rr,{className:"text-base",children:"Browser-based Website Builder"})]})]})}),(0,a.jsxs)("div",{className:"space-y-6 overflow-y-auto max-h-[60vh] pr-4",children:[(0,a.jsx)("section",{children:(0,a.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed space-y-3",children:[(0,a.jsx)("p",{children:"OSW Studio is a BYOK (Bring Your Own Key) agentic browser-based website builder where you describe what you want and an agent writes the code. Originally forked from @enzostvs and @victor's DeepSite v2, it has evolved into a full-featured development environment."}),(0,a.jsx)("p",{children:"This is a solo project and there isn't a huge corpo behind it. I'll do my best to fix issues and possibly keep the project improving, but it's just me doing this for fun so please be patient. All feedback and contributions are more than welcome."}),(0,a.jsx)("p",{children:"If you make something with the app I would be thrilled if you could share what you've made."})]})}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h3",{className:"font-semibold text-lg mb-3",children:"Links & Community"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("a",{href:"https://discord.gg/mAJ8Ss4u",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsx)(m.E,{className:"h-4 w-4"}),"Discord Community",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsxs)("a",{href:"https://github.com/o-stahl/osw-studio",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsx)(d.A,{className:"h-4 w-4"}),"GitHub repo",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsxs)("a",{href:"https://huggingface.co/spaces/otst/oswstudio",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsxs)("svg",{fill:"currentColor",fillRule:"evenodd",height:"1em",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",children:[(0,a.jsx)("title",{children:"HuggingFace"}),(0,a.jsx)("path",{d:"M16.781 3.277c2.997 1.704 4.844 4.851 4.844 8.258 0 .995-.155 1.955-.443 2.857a1.332 1.332 0 011.125.4 1.41 1.41 0 01.2 1.723c.204.165.352.385.428.632l.017.062c.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.255.57-.893 1.018-2.128 1.5l-.202.078-.131.048c-.478.173-.89.295-1.061.345l-.086.024c-.89.243-1.808.375-2.732.394-1.32 0-2.3-.36-2.923-1.067a9.852 9.852 0 01-3.18.018C9.778 21.647 8.802 22 7.494 22a11.249 11.249 0 01-2.541-.343l-.221-.06-.273-.08a16.574 16.574 0 01-1.175-.405c-1.237-.483-1.875-.93-2.13-1.501-.186-.4-.151-.867.093-1.236a1.42 1.42 0 01-.2-1.166c.069-.273.226-.516.447-.694a1.41 1.41 0 01.2-1.722c.233-.248.557-.391.917-.407l.078-.001a9.385 9.385 0 01-.44-2.85c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0zM4.188 14.758c.125.687 2.357 2.35 2.14 2.707-.19.315-.796-.239-.948-.386l-.041-.04-.168-.147c-.561-.479-2.304-1.9-2.74-1.432-.43.46.119.859 1.055 1.42l.784.467.136.083c1.045.643 1.12.84.95 1.113-.188.295-3.07-2.1-3.34-1.083-.27 1.011 2.942 1.304 2.744 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725l.16.04.175.042c1.227.284 3.565.65 4.435-.604.673-.973.64-1.709-.248-2.61l-.057-.057c-.945-.928-1.495-2.288-1.495-2.288l-.017-.058-.025-.072c-.082-.22-.284-.639-.63-.584-.46.073-.798 1.21.12 1.933l.05.038c.977.721-.195 1.21-.573.534l-.058-.104-.143-.25c-.463-.799-1.282-2.111-1.739-2.397-.532-.332-.907-.148-.782.541zm14.842-.541c-.533.335-1.563 2.074-1.94 2.751a.613.613 0 01-.687.302.436.436 0 01-.176-.098.303.303 0 01-.049-.06l-.014-.028-.008-.02-.007-.019-.003-.013-.003-.017a.289.289 0 01-.004-.048c0-.12.071-.266.25-.427.026-.024.054-.047.084-.07l.047-.036c.022-.016.043-.032.063-.049.883-.71.573-1.81.131-1.917l-.031-.006-.056-.004a.368.368 0 00-.062.006l-.028.005-.042.014-.039.017-.028.015-.028.019-.036.027-.023.02c-.173.158-.273.428-.31.542l-.016.054s-.53 1.309-1.439 2.234l-.054.054c-.365.358-.596.69-.702 1.018-.143.437-.066.868.21 1.353.055.097.117.195.187.296.882 1.275 3.282.876 4.494.59l.286-.07.25-.074c.276-.084.736-.233 1.2-.42l.188-.077.065-.028.064-.028.124-.056.081-.038c.529-.252.964-.543.994-.827l.001-.036a.299.299 0 00-.037-.139c-.094-.176-.271-.212-.491-.168l-.045.01c-.044.01-.09.024-.136.04l-.097.035-.054.022c-.559.23-1.238.705-1.607.745h.006a.452.452 0 01-.05.003h-.024l-.024-.003-.023-.005c-.068-.016-.116-.06-.14-.142a.22.22 0 01-.005-.1c.062-.345.958-.595 1.713-.91l.066-.028c.528-.224.97-.483.985-.832v-.04a.47.47 0 00-.016-.098c-.048-.18-.175-.251-.36-.251-.785 0-2.55 1.36-2.92 1.36-.025 0-.048-.007-.058-.024a.6.6 0 01-.046-.088c-.1-.238.068-.462 1.06-1.066l.209-.126c.538-.32 1.01-.588 1.341-.831.29-.212.475-.406.503-.6l.003-.028c.008-.113-.038-.227-.147-.344a.266.266 0 00-.07-.054l-.034-.015-.013-.005a.403.403 0 00-.13-.02c-.162 0-.369.07-.595.18-.637.313-1.431.952-1.826 1.285l-.249.215-.033.033c-.08.078-.288.27-.493.386l-.071.037-.041.019a.535.535 0 01-.122.036h.005a.346.346 0 01-.031.003l.01-.001-.013.001c-.079.005-.145-.021-.19-.095a.113.113 0 01-.014-.065c.027-.465 2.034-1.991 2.152-2.642l.009-.048c.1-.65-.271-.817-.791-.493zM11.938 2.984c-4.798 0-8.688 3.829-8.688 8.55 0 .692.083 1.364.24 2.008l.008-.009c.252-.298.612-.46 1.017-.46.355.008.699.117.993.312.22.14.465.384.715.694.261-.372.69-.598 1.15-.605.852 0 1.367.728 1.562 1.383l.047.105.06.127c.192.396.595 1.139 1.143 1.68 1.06 1.04 1.324 2.115.8 3.266a8.865 8.865 0 002.024-.014c-.505-1.12-.26-2.17.74-3.186l.066-.066c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694a1.87 1.87 0 01.99-.312c.357 0 .682.126.925.36.14-.61.215-1.245.215-1.898 0-4.722-3.89-8.55-8.687-8.55zm1.857 8.926l.439-.212c.553-.264.89-.383.89.152 0 1.093-.771 3.208-3.155 3.262h-.184c-2.325-.052-3.116-2.06-3.156-3.175l-.001-.087c0-1.107 1.452.586 3.25.586.716 0 1.379-.272 1.917-.526zm4.017-3.143c.45 0 .813.358.813.8 0 .441-.364.8-.813.8a.806.806 0 01-.812-.8c0-.442.364-.8.812-.8zm-11.624 0c.448 0 .812.358.812.8 0 .441-.364.8-.812.8a.806.806 0 01-.813-.8c0-.442.364-.8.813-.8zm7.79-.841c.32-.384.846-.54 1.33-.394.483.146.83.564.878 1.06.048.495-.212.97-.659 1.203-.322.168-.447-.477-.767-.585l.002-.003c-.287-.098-.772.362-.925.079a1.215 1.215 0 01.14-1.36zm-4.323 0c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003c-.108.036-.194.134-.273.24l-.118.165c-.11.15-.22.262-.377.18a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394z"})]}),"Live Demo (HuggingFace)",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsx)("a",{href:"https://www.buymeacoffee.com/otst",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("img",{src:"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png",alt:"Buy Me A Coffee",style:{height:"30px",width:"109px"}})})]})]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center pt-4 border-t",children:[(0,a.jsxs)(o.E,{variant:"secondary",className:"text-xs",children:["v",process.env.NEXT_PUBLIC_APP_VERSION||r.rE]}),(0,a.jsx)(n.$,{onClick:()=>t(!1),children:"Close"})]})]})})}}}; \ No newline at end of file +}`}]};var i=s(32623);async function n(e,t,s,a){await i.$.runWithSuppressedDirty(t,async()=>{for(let a of s.directories)await e.createDirectory(t,a);for(let a of s.files){let s=a.content;if(a.isBase64){let e=atob(a.content),t=new Uint8Array(e.length);for(let s=0;s0)for(let s of a)try{let a=await fetch(`${window.location.origin}/${s.filename}`);if(a.ok){let r=await a.arrayBuffer();await e.createFile(t,s.path,r)}}catch(e){}})}let l=[{id:"blank",name:"Blank",description:"Minimal starting template with basic HTML/CSS/JS structure",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["starter","basic"]}},{id:"demo",name:"Example Studios",description:"Multi-page agency portfolio showcasing modern web development",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["portfolio","multi-page","example"]}}]},80189:(e,t,s)=>{s.d(t,{Bc:()=>n,ZI:()=>c,k$:()=>o,m_:()=>l});var a=s(60687);s(43210);var r=s(9989),i=s(96241);function n({delayDuration:e=0,...t}){return(0,a.jsx)(r.Kq,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function l({...e}){return(0,a.jsx)(n,{children:(0,a.jsx)(r.bL,{"data-slot":"tooltip",...e})})}function o({...e}){return(0,a.jsx)(r.l9,{"data-slot":"tooltip-trigger",...e})}function c({className:e,sideOffset:t=0,children:s,arrowStyle:n,...l}){return(0,a.jsx)(r.ZL,{children:(0,a.jsxs)(r.UC,{"data-slot":"tooltip-content",sideOffset:t,className:(0,i.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...l,children:[s,(0,a.jsx)(r.i3,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",style:n})]})})}},86223:(e,t,s)=>{s.d(t,{T:()=>u});var a=s(60687),r=s(43210),i=s.n(r),n=s(11736),l=s(85808),o=s(96241),c=s(25334),d=s(16189);function m(e){return e.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function u({content:e,className:t,skipNormalization:s=!1}){let r=(0,d.useRouter)(),u=s?e:function(e){if(!e||"string"!=typeof e)return"";let t=e.split("\n"),s=[],a=!1,r=0,i=e=>{let t=e.trim();return/^```/.test(t)},n=e=>{let t=e.trim();return/^[-*+]\s/.test(t)||/^\d+\.\s/.test(t)},l=e=>/^\s*>/.test(e),o=e=>{let t=e.trim();return!!t&&!(t.length<3)&&[/^(const|let|var|function|class|import|export|return|if|for|while)\s/,/^[a-zA-Z_$][a-zA-Z0-9_$]*\s*[=:({]/,/[{};()[\]]/,/^\/\//,/^#/].some(e=>e.test(t))};for(let e=0;e=4&&!o(c)||d>=2&&d<4){s.push(c.trim());continue}s.push(c)}return s.join("\n").trim()}(e),h=i().useMemo(()=>{let e=u.split("\n"),t=[],s=0;for(let a of e){let e=a.match(/^(#{2,4})\s+(.+)$/);e&&t.push({level:e[1].length,text:e[2].trim(),index:s++})}return t},[u]),p=i().useMemo(()=>{let e=new Map;return h.forEach(t=>{let s=`${t.level}-${t.text}`;e.has(s)||e.set(s,t.index)}),e},[h]);return(0,a.jsx)("div",{className:(0,o.cn)("prose prose-sm dark:prose-invert max-w-none",t),children:(0,a.jsx)(n.oz,{remarkPlugins:[l.A],components:{h1:({children:e})=>{let t=m(e?.toString()||"");return(0,a.jsx)("h1",{id:t,className:"text-3xl font-bold mb-4 mt-8 first:mt-0",children:e})},h2:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`2-${t}`,i=p.get(r);return(0,a.jsx)("h2",{id:s,"data-heading-index":i,className:"text-2xl font-bold mb-3 mt-8 pb-2 border-b border-border/50 first:mt-0",children:e})},h3:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`3-${t}`,i=p.get(r);return(0,a.jsx)("h3",{id:s,"data-heading-index":i,className:"text-xl font-semibold mb-2 mt-6",children:e})},h4:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`4-${t}`,i=p.get(r);return(0,a.jsx)("h4",{id:s,"data-heading-index":i,className:"text-lg font-semibold mb-2 mt-4",children:e})},p:({children:e})=>(0,a.jsx)("p",{className:"mb-4 leading-relaxed last:mb-0",children:e}),ul:({children:e})=>(0,a.jsx)("ul",{className:"list-disc pl-6 mb-4 space-y-2",children:e}),ol:({children:e})=>(0,a.jsx)("ol",{className:"list-decimal pl-6 mb-4 space-y-2",children:e}),li:({children:e})=>(0,a.jsx)("li",{className:"text-sm leading-relaxed",children:e}),pre:({children:e,...t})=>{let s=i().Children.toArray(e).find(e=>i().isValidElement(e)&&"code"===e.type),r=s?.props?.className||"",n=/language-(\w+)/.exec(r),l=n?n[1]:null;return(0,a.jsxs)("div",{className:"relative mb-4 group",children:[l&&(0,a.jsx)("div",{className:"absolute top-2 right-2 px-2 py-1 text-xs font-medium text-muted-foreground bg-background/80 rounded border border-border/50 backdrop-blur-sm",children:l}),(0,a.jsx)("pre",{className:"p-4 rounded-lg bg-muted/50 border border-border/50 overflow-x-auto",...t,children:e})]})},code:({className:e,children:t,...s})=>/language-(\w+)/.exec(e||"")?(0,a.jsx)("code",{className:"font-mono text-xs block",...s,children:t}):(0,a.jsx)("code",{className:"px-1.5 py-0.5 rounded bg-muted/70 border border-border/30 font-mono text-xs",...s,children:t}),blockquote:({children:e})=>(0,a.jsx)("blockquote",{className:"border-l-4 border-primary/30 bg-muted/30 pl-4 pr-4 py-3 mb-4 italic text-muted-foreground rounded-r",children:e}),a:({href:e,children:t})=>{if(!e)return(0,a.jsx)("a",{children:t});let s=e.startsWith("?doc="),i=e.startsWith("?nav=");e.startsWith("#");let n=e.startsWith("http://")||e.startsWith("https://");return(0,a.jsxs)("a",{href:e,onClick:t=>{if(s)t.preventDefault(),r.push(`/${e}`);else if(i){t.preventDefault();let s=e.replace("?nav=","");window.dispatchEvent(new CustomEvent("nav-to-view",{detail:{view:s}})),r.push("/")}},className:(0,o.cn)("text-primary hover:underline cursor-pointer",n&&"inline-flex items-center gap-1"),target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,children:[t,n&&(0,a.jsx)(c.A,{className:"h-3 w-3 inline"})]})},strong:({children:e})=>(0,a.jsx)("strong",{className:"font-semibold",children:e}),em:({children:e})=>(0,a.jsx)("em",{className:"italic",children:e}),hr:()=>(0,a.jsx)("hr",{className:"my-8 border-border"}),table:({children:e})=>(0,a.jsx)("div",{className:"overflow-x-auto mb-6 rounded-lg border border-border",children:(0,a.jsx)("table",{className:"min-w-full divide-y divide-border",children:e})}),thead:({children:e})=>(0,a.jsx)("thead",{className:"bg-muted/50",children:e}),tbody:({children:e})=>(0,a.jsx)("tbody",{className:"divide-y divide-border bg-background",children:e}),tr:({children:e})=>(0,a.jsx)("tr",{className:"hover:bg-muted/30 transition-colors",children:e}),th:({children:e})=>(0,a.jsx)("th",{className:"px-4 py-3 text-left text-xs font-semibold tracking-wide",children:e}),td:({children:e})=>(0,a.jsx)("td",{className:"px-4 py-3 text-sm",children:e})},children:u})})}},87929:(e,t,s)=>{s.d(t,{DEMO_PROJECT_TEMPLATE:()=>a.vY,Nr:()=>a.Nr,ZQ:()=>a.ZQ,createProjectFromTemplate:()=>a.c3});var a=s(75639)},88712:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(60687);s(43210);let r=[{id:"welcome",title:"Welcome to Open Source Web Studio",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"Let's take a guided tour of the workspace so you can see how projects, agents, and saves all fit together."}),(0,a.jsx)("p",{children:"The tour takes under two minutes and you can skip at any time."})]}),location:"project-manager",primaryLabel:"Start tour",secondaryLabel:"Skip"},{id:"projects-overview",title:"Projects at a Glance",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"This is your project gallery. Recent work appears here with quick actions for opening, duplicating, or exporting."}),(0,a.jsx)("p",{children:"I've loaded a demo project so you can explore without setting anything up."})]}),location:"project-manager",target:'[data-tour-id="projects-list"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"create-project",title:"Creating a Project",body:(0,a.jsx)("div",{className:"space-y-2 text-sm text-muted-foreground",children:(0,a.jsx)("p",{children:"Use the New Project button to start fresh. The dialog lets you name the project and add an optional description."})}),location:"project-manager",target:'[data-tour-id="new-project-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"project-controls",title:"Exporting a Project",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"Click the dropdown menu on any project card to access export options. You can export as a ZIP for deployment or JSON for backup."}),(0,a.jsx)("p",{children:"Projects can also be duplicated or deleted from this menu."})]}),location:"project-manager",target:'[data-tour-id="project-export-json"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"edit-project",title:"Editing a Project",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"To get to the workspace and start editing, simply click on the project card. This will open the full development environment."}),(0,a.jsx)("p",{children:"Click Next to enter the workspace and continue the tour."})]}),location:"project-manager",target:'[data-tour-id="project-card"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-overview",title:"Workspace Layout",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The workspace has four main areas: the assistant conversation, the virtual file explorer, your editor tabs, and the live preview."}),(0,a.jsx)("p",{children:"The VFS works like a project file tree—add HTML, CSS, JS, or assets and the agent can edit them just like local files."})]}),location:"workspace",target:'[data-tour-id="workspace-panels"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-edit",title:"See the Agent in Action",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:'I\'ll request the agent to change the color of "Our Services" button to a green accent and the agent performs the task.'}),(0,a.jsx)("p",{children:"This mimics what you will see when asking the agent to perform tasks."})]}),location:"workspace",target:'[data-tour-id="assistant-panel"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-focus",title:"Element Focus Tool",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The crosshair tool in the preview panel lets you select and focus on specific elements in your design."}),(0,a.jsx)("p",{children:"Click it to activate element selection mode, then click any element in the preview to highlight it."})]}),location:"workspace",target:'[data-tour-id="focus-crosshair-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-checkpoint",title:"Checkpoints & Manual Saves",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:'The "Discard Changes" button restores to the original saved point, letting you revert any changes back to your last manual save.'}),(0,a.jsx)("p",{children:"If you like the result, use the Save button to lock it in as your manual checkpoint."})]}),location:"workspace",target:'[data-tour-id="discard-changes-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"clear-conversation",title:"Clear Conversation",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The agent will have the last tasks and responses in memory. You can clear it with the trashcan button to start fresh."}),(0,a.jsx)("p",{children:"This removes the conversation history but keeps your project files intact."})]}),location:"workspace",target:'[data-tour-id="clear-chat-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"provider-settings",title:"Connect Your Provider",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsxs)("p",{children:["Set your API key under Settings → Provider. I recommend trying OpenRouter with the ",(0,a.jsx)("code",{children:"gpt-oss-120b"})," model, but you can use any supported provider."]}),(0,a.jsx)("p",{children:"You can return here anytime from the header menu."}),(0,a.jsx)("p",{className:"text-xs text-orange-500/90",children:"Privacy note: Remote LLM providers (OpenAI, Anthropic, etc.) will receive your code when generating. For complete privacy, use local models with Ollama or LM Studio."})]}),location:"workspace",target:'[data-tour-id="provider-settings-trigger"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"wrap-up",title:"You're Ready!",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"That's the basics—prompt the agent, preview updates, and save when you're happy. You can replay this tour from the Help menu anytime."}),(0,a.jsx)("p",{children:"Have fun building! Let me know what you ship."})]}),location:"workspace",showBack:!0,primaryLabel:"Finish",secondaryLabel:"Skip"}]},96597:(e,t,s)=>{s.d(t,{V:()=>u});var a=s(60687);s(43210);var r=s(30758),i=s(37826),n=s(24934),l=s(96271),o=s(59821),c=s(25334),d=s(62157),m=s(44624);function u({open:e,onOpenChange:t}){return(0,a.jsx)(i.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(i.Cf,{className:"max-w-3xl max-h-[90vh]",children:[(0,a.jsx)(i.c7,{children:(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-2",children:[(0,a.jsx)(l.g,{width:64,height:64}),(0,a.jsxs)("div",{children:[(0,a.jsx)(i.L3,{className:"text-2xl",children:"Open Source Web Studio"}),(0,a.jsx)(i.rr,{className:"text-base",children:"Browser-based Website Builder"})]})]})}),(0,a.jsxs)("div",{className:"space-y-6 overflow-y-auto max-h-[60vh] pr-4",children:[(0,a.jsx)("section",{children:(0,a.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed space-y-3",children:[(0,a.jsx)("p",{children:"OSW Studio is a BYOK (Bring Your Own Key) agentic browser-based website builder where you describe what you want and an agent writes the code. Originally forked from @enzostvs and @victor's DeepSite v2, it has evolved into a full-featured development environment."}),(0,a.jsx)("p",{children:"This is a solo project and there isn't a huge corpo behind it. I'll do my best to fix issues and possibly keep the project improving, but it's just me doing this for fun so please be patient. All feedback and contributions are more than welcome."}),(0,a.jsx)("p",{children:"If you make something with the app I would be thrilled if you could share what you've made."})]})}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h3",{className:"font-semibold text-lg mb-3",children:"Links & Community"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("a",{href:"https://discord.gg/mAJ8Ss4u",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsx)(m.E,{className:"h-4 w-4"}),"Discord Community",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsxs)("a",{href:"https://github.com/o-stahl/osw-studio",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsx)(d.A,{className:"h-4 w-4"}),"GitHub repo",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsxs)("a",{href:"https://huggingface.co/spaces/otst/oswstudio",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsxs)("svg",{fill:"currentColor",fillRule:"evenodd",height:"1em",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",children:[(0,a.jsx)("title",{children:"HuggingFace"}),(0,a.jsx)("path",{d:"M16.781 3.277c2.997 1.704 4.844 4.851 4.844 8.258 0 .995-.155 1.955-.443 2.857a1.332 1.332 0 011.125.4 1.41 1.41 0 01.2 1.723c.204.165.352.385.428.632l.017.062c.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.255.57-.893 1.018-2.128 1.5l-.202.078-.131.048c-.478.173-.89.295-1.061.345l-.086.024c-.89.243-1.808.375-2.732.394-1.32 0-2.3-.36-2.923-1.067a9.852 9.852 0 01-3.18.018C9.778 21.647 8.802 22 7.494 22a11.249 11.249 0 01-2.541-.343l-.221-.06-.273-.08a16.574 16.574 0 01-1.175-.405c-1.237-.483-1.875-.93-2.13-1.501-.186-.4-.151-.867.093-1.236a1.42 1.42 0 01-.2-1.166c.069-.273.226-.516.447-.694a1.41 1.41 0 01.2-1.722c.233-.248.557-.391.917-.407l.078-.001a9.385 9.385 0 01-.44-2.85c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0zM4.188 14.758c.125.687 2.357 2.35 2.14 2.707-.19.315-.796-.239-.948-.386l-.041-.04-.168-.147c-.561-.479-2.304-1.9-2.74-1.432-.43.46.119.859 1.055 1.42l.784.467.136.083c1.045.643 1.12.84.95 1.113-.188.295-3.07-2.1-3.34-1.083-.27 1.011 2.942 1.304 2.744 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725l.16.04.175.042c1.227.284 3.565.65 4.435-.604.673-.973.64-1.709-.248-2.61l-.057-.057c-.945-.928-1.495-2.288-1.495-2.288l-.017-.058-.025-.072c-.082-.22-.284-.639-.63-.584-.46.073-.798 1.21.12 1.933l.05.038c.977.721-.195 1.21-.573.534l-.058-.104-.143-.25c-.463-.799-1.282-2.111-1.739-2.397-.532-.332-.907-.148-.782.541zm14.842-.541c-.533.335-1.563 2.074-1.94 2.751a.613.613 0 01-.687.302.436.436 0 01-.176-.098.303.303 0 01-.049-.06l-.014-.028-.008-.02-.007-.019-.003-.013-.003-.017a.289.289 0 01-.004-.048c0-.12.071-.266.25-.427.026-.024.054-.047.084-.07l.047-.036c.022-.016.043-.032.063-.049.883-.71.573-1.81.131-1.917l-.031-.006-.056-.004a.368.368 0 00-.062.006l-.028.005-.042.014-.039.017-.028.015-.028.019-.036.027-.023.02c-.173.158-.273.428-.31.542l-.016.054s-.53 1.309-1.439 2.234l-.054.054c-.365.358-.596.69-.702 1.018-.143.437-.066.868.21 1.353.055.097.117.195.187.296.882 1.275 3.282.876 4.494.59l.286-.07.25-.074c.276-.084.736-.233 1.2-.42l.188-.077.065-.028.064-.028.124-.056.081-.038c.529-.252.964-.543.994-.827l.001-.036a.299.299 0 00-.037-.139c-.094-.176-.271-.212-.491-.168l-.045.01c-.044.01-.09.024-.136.04l-.097.035-.054.022c-.559.23-1.238.705-1.607.745h.006a.452.452 0 01-.05.003h-.024l-.024-.003-.023-.005c-.068-.016-.116-.06-.14-.142a.22.22 0 01-.005-.1c.062-.345.958-.595 1.713-.91l.066-.028c.528-.224.97-.483.985-.832v-.04a.47.47 0 00-.016-.098c-.048-.18-.175-.251-.36-.251-.785 0-2.55 1.36-2.92 1.36-.025 0-.048-.007-.058-.024a.6.6 0 01-.046-.088c-.1-.238.068-.462 1.06-1.066l.209-.126c.538-.32 1.01-.588 1.341-.831.29-.212.475-.406.503-.6l.003-.028c.008-.113-.038-.227-.147-.344a.266.266 0 00-.07-.054l-.034-.015-.013-.005a.403.403 0 00-.13-.02c-.162 0-.369.07-.595.18-.637.313-1.431.952-1.826 1.285l-.249.215-.033.033c-.08.078-.288.27-.493.386l-.071.037-.041.019a.535.535 0 01-.122.036h.005a.346.346 0 01-.031.003l.01-.001-.013.001c-.079.005-.145-.021-.19-.095a.113.113 0 01-.014-.065c.027-.465 2.034-1.991 2.152-2.642l.009-.048c.1-.65-.271-.817-.791-.493zM11.938 2.984c-4.798 0-8.688 3.829-8.688 8.55 0 .692.083 1.364.24 2.008l.008-.009c.252-.298.612-.46 1.017-.46.355.008.699.117.993.312.22.14.465.384.715.694.261-.372.69-.598 1.15-.605.852 0 1.367.728 1.562 1.383l.047.105.06.127c.192.396.595 1.139 1.143 1.68 1.06 1.04 1.324 2.115.8 3.266a8.865 8.865 0 002.024-.014c-.505-1.12-.26-2.17.74-3.186l.066-.066c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694a1.87 1.87 0 01.99-.312c.357 0 .682.126.925.36.14-.61.215-1.245.215-1.898 0-4.722-3.89-8.55-8.687-8.55zm1.857 8.926l.439-.212c.553-.264.89-.383.89.152 0 1.093-.771 3.208-3.155 3.262h-.184c-2.325-.052-3.116-2.06-3.156-3.175l-.001-.087c0-1.107 1.452.586 3.25.586.716 0 1.379-.272 1.917-.526zm4.017-3.143c.45 0 .813.358.813.8 0 .441-.364.8-.813.8a.806.806 0 01-.812-.8c0-.442.364-.8.812-.8zm-11.624 0c.448 0 .812.358.812.8 0 .441-.364.8-.812.8a.806.806 0 01-.813-.8c0-.442.364-.8.813-.8zm7.79-.841c.32-.384.846-.54 1.33-.394.483.146.83.564.878 1.06.048.495-.212.97-.659 1.203-.322.168-.447-.477-.767-.585l.002-.003c-.287-.098-.772.362-.925.079a1.215 1.215 0 01.14-1.36zm-4.323 0c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003c-.108.036-.194.134-.273.24l-.118.165c-.11.15-.22.262-.377.18a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394z"})]}),"Live Demo (HuggingFace)",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsx)("a",{href:"https://www.buymeacoffee.com/otst",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("img",{src:"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png",alt:"Buy Me A Coffee",style:{height:"30px",width:"109px"}})})]})]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center pt-4 border-t",children:[(0,a.jsxs)(o.E,{variant:"secondary",className:"text-xs",children:["v",process.env.NEXT_PUBLIC_APP_VERSION||r.rE]}),(0,a.jsx)(n.$,{onClick:()=>t(!1),children:"Close"})]})]})})}}}; \ No newline at end of file diff --git a/.next/server/chunks/2437.js b/.next/server/chunks/2437.js index 4b1d73874b363486e8ef5b77903eb538aa479c08..a10872805a8d99dadccd20600a8b47a8e44e44db 100644 --- a/.next/server/chunks/2437.js +++ b/.next/server/chunks/2437.js @@ -1,4 +1,4 @@ -"use strict";exports.id=2437,exports.ids=[2437],exports.modules={3145:(e,t,s)=>{s.d(t,{t:()=>U});var i=s(60687),r=s(43210),n=s(4950),a=s(57462),o=s(10158),l=s(96241);class c{static{this.BASE_URL="https://openrouter.ai/api/v1"}static async getGenerationStats(e,t){if(!e||!t)return null;try{let s=await fetch(`${this.BASE_URL}/generation?id=${e}`,{headers:{Authorization:`Bearer ${t}`,"Content-Type":"application/json"}});if(!s.ok)return l.v.warn(`[GenerationAPI] Failed to fetch generation stats: ${s.status}`),null;return await s.json()}catch(e){return l.v.error("[GenerationAPI] Error fetching generation stats:",e),null}}static queueGenerationForCostUpdate(e,t,s,i,r,n){setTimeout(async()=>{let s=await this.getGenerationStats(e,t);if(s?.usage){let t=s.total_cost??s.usage.total_cost??0;l.v.debug(`[GenerationAPI] Generation ${e}`,{normalized_tokens:s.usage.total_tokens,native_tokens:s.usage.native_tokens_total,actual_cost:t}),n(t,s.usage)}},3e3)}static extractGenerationId(e){return e.get("x-openrouter-generation-id")}static extractCostFromHeaders(e){let t,s,i=e.get("x-openrouter-usage"),r=e.get("x-openrouter-cost");if(i)try{t=JSON.parse(i)}catch(e){l.v.warn("[GenerationAPI] Failed to parse usage header:",e)}if(r){let e=parseFloat(r);isNaN(e)||(s=e)}return t||void 0!==s?{usage:t,cost:s}:null}}class d{constructor(e){this.provider=e?.provider||n.s.getSelectedProvider()||"openrouter",this.providerConfig=(0,o.sO)(this.provider),this.apiKey=e?.apiKey||n.s.getProviderApiKey(this.provider)||"",this.model=e?.model||n.s.getProviderModel(this.provider)||this.getDefaultModel(),this.temperature=e?.temperature||.7,this.maxTokens=e?.maxTokens||4096}getDefaultModel(){switch(this.provider){case"openrouter":return"deepseek/deepseek-chat";case"openai":return"gpt-4o-mini";case"anthropic":return"claude-3-5-haiku-20241022";case"groq":return"llama-3.3-70b-versatile";case"gemini":return"gemini-1.5-flash";case"ollama":return"llama3.2:latest";case"lmstudio":return"qwen/qwen3-4b-thinking-2507";case"sambanova":return"Meta-Llama-3.3-70B-Instruct";default:return""}}async generateWithTools(e,t,s){if(this.providerConfig.apiKeyRequired&&!this.apiKey)throw Error(`${this.providerConfig.name} API key is required. Please set it in settings.`);let i=[{role:"system",content:await (0,a.m)(s?.fileTree)},{role:"user",content:e}];try{if("anthropic"===this.provider)return this.generateWithToolsAnthropic(i,t);if("gemini"===this.provider)return this.generateWithToolsGemini(i,t);return this.generateWithToolsOpenAI(i,t)}catch(e){throw e}}async generate(e,t){if(this.providerConfig.apiKeyRequired&&!this.apiKey)throw Error(`${this.providerConfig.name} API key is required. Please set it in settings.`);let s=[{role:"system",content:await (0,a.m)(t?.fileTree)},{role:"user",content:e}];return"anthropic"===this.provider?this.generateAnthropic(s):"gemini"===this.provider?this.generateGemini(s):this.generateOpenAI(s)}async generateWithToolsOpenAI(e,t){let s=this.providerConfig.baseUrl||"https://openrouter.ai/api/v1",i={"Content-Type":"application/json"};this.apiKey&&(i.Authorization=`Bearer ${this.apiKey}`),"openrouter"===this.provider&&(i["HTTP-Referer"]="http://localhost:3000",i["X-Title"]="OSW-Studio"),this.providerConfig.customHeaders&&Object.assign(i,this.providerConfig.customHeaders);let r=await fetch(`${s}/chat/completions`,{method:"POST",headers:i,body:JSON.stringify({model:this.model,messages:e,tools:t.map(e=>({type:"function",function:e})),tool_choice:"auto",temperature:this.temperature,max_tokens:this.maxTokens,stream:!0})});if(!r.ok){let e=await r.text();throw Error(`${this.providerConfig.name} API error: ${e}`)}return this.parseStreamResponse(r)}async generateOpenAI(e){let t=this.providerConfig.baseUrl||"https://openrouter.ai/api/v1",s={"Content-Type":"application/json"};this.apiKey&&(s.Authorization=`Bearer ${this.apiKey}`),"openrouter"===this.provider&&(s["HTTP-Referer"]="http://localhost:3000",s["X-Title"]="OSW-Studio");let i=await fetch(`${t}/chat/completions`,{method:"POST",headers:s,body:JSON.stringify({model:this.model,messages:e,temperature:this.temperature,max_tokens:this.maxTokens,stream:!1})});if(!i.ok){let e=await i.text();throw Error(`${this.providerConfig.name} API error: ${e}`)}let r=await i.json();return r.choices[0]?.message?.content||""}async generateWithToolsAnthropic(e,t){let s=e.find(e=>"system"===e.role)?.content||"",i=e.filter(e=>"system"!==e.role).map(e=>({role:"user"===e.role?"user":"assistant",content:e.content})),r=await fetch("https://api.anthropic.com/v1/messages",{method:"POST",headers:{"Content-Type":"application/json","x-api-key":this.apiKey,"anthropic-version":"2023-06-01","anthropic-beta":"tools-2024-04-04"},body:JSON.stringify({model:this.model,messages:i,system:s,tools:t.map(e=>({name:e.name,description:e.description,input_schema:e.parameters})),temperature:this.temperature,max_tokens:this.maxTokens,stream:!0})});if(!r.ok){let e=await r.text();throw Error(`Anthropic API error: ${e}`)}return this.parseAnthropicStream(r)}async generateAnthropic(e){let t=e.find(e=>"system"===e.role)?.content||"",s=e.filter(e=>"system"!==e.role).map(e=>({role:"user"===e.role?"user":"assistant",content:e.content})),i=await fetch("https://api.anthropic.com/v1/messages",{method:"POST",headers:{"Content-Type":"application/json","x-api-key":this.apiKey,"anthropic-version":"2023-06-01"},body:JSON.stringify({model:this.model,messages:s,system:t,temperature:this.temperature,max_tokens:this.maxTokens})});if(!i.ok){let e=await i.text();throw Error(`Anthropic API error: ${e}`)}let r=await i.json();return r.content[0]?.text||""}async generateWithToolsGemini(e,t){throw Error("Gemini tool calling not yet implemented. Please use OpenRouter or another provider.")}async generateGemini(e){let t=e.map(e=>({role:"system"===e.role?"user":e.role,parts:[{text:e.content}]})),s=await fetch(`https://generativelanguage.googleapis.com/v1beta/models/${this.model}:generateContent?key=${this.apiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contents:t,generationConfig:{temperature:this.temperature,maxOutputTokens:this.maxTokens}})});if(!s.ok){let e=await s.text();throw Error(`Gemini API error: ${e}`)}let i=await s.json();return i.candidates[0]?.content?.parts[0]?.text||""}async *parseStreamResponse(e){let t=e.body?.getReader();if(!t)throw Error("Response body is not readable");let s=new TextDecoder,i="",r=null,n=null,a=null;if("openrouter"===this.provider){let t=e.headers;a=c.extractGenerationId(t);let s=c.extractCostFromHeaders(t);if(s?.cost!==void 0||s?.usage){let e=s.usage?.prompt_tokens??0,t=s.usage?.completion_tokens??0,i=s.usage?.total_tokens??e+t,r=s.cost??s.usage?.total_cost,o="number"==typeof r&&Number.isFinite(r)&&r>1e-6;n={promptTokens:e,completionTokens:t,totalTokens:i,cost:o?r:void 0,model:this.model,provider:this.provider,generationId:a||void 0,isEstimated:!o}}if(!n){let e=t.get("x-openrouter-usage");if(e)try{let t=JSON.parse(e),s=t.total_cost,i="number"==typeof s&&Number.isFinite(s)&&s>1e-6;n={promptTokens:t.prompt_tokens||0,completionTokens:t.completion_tokens||0,totalTokens:t.total_tokens||(t.prompt_tokens||0)+(t.completion_tokens||0),cost:i?s:void 0,model:this.model,provider:this.provider,generationId:a||void 0,isEstimated:!i}}catch(e){l.v.error("Error parsing OpenRouter usage header:",e)}}}for(;;){let{done:e,value:o}=await t.read();if(e)break;let c=(i+=s.decode(o,{stream:!0})).split("\n");for(let e of(i=c.pop()||"",c))if(e.startsWith("data: ")){let t=e.slice(6);if("[DONE]"===t){n&&n.totalTokens&&(yield{type:"usage",usage:n}),yield{type:"done"};return}try{let e=JSON.parse(t),s=e.choices?.[0]?.delta;if(s?.content&&(yield{type:"content",content:s.content}),s?.tool_calls)for(let e of s.tool_calls)e.id&&(r&&(yield{type:"tool_call",toolCall:r}),r={id:e.id,type:"function",function:{name:e.function?.name||"",arguments:""}}),e.function?.arguments&&r&&(r.argumentsBuffer=(r.argumentsBuffer||"")+e.function.arguments,r.function&&(r.function.arguments=r.argumentsBuffer));e.usage&&(n={promptTokens:e.usage.prompt_tokens||0,completionTokens:e.usage.completion_tokens||0,totalTokens:e.usage.total_tokens||0,cachedTokens:e.usage.cached_tokens,model:this.model,provider:this.provider,generationId:a||void 0}),e.x_groq?.usage&&(n={promptTokens:e.x_groq.usage.prompt_tokens||0,completionTokens:e.x_groq.usage.completion_tokens||0,totalTokens:e.x_groq.usage.total_tokens||0,model:this.model,provider:this.provider})}catch(e){l.v.error("Error parsing stream chunk:",e)}}}if(r)try{let e=r.argumentsBuffer;e&&r.function&&(r.function.arguments=e),yield{type:"tool_call",toolCall:r}}catch(e){l.v.error("Error parsing tool call parameters:",e)}n&&n.totalTokens&&(yield{type:"usage",usage:n}),yield{type:"done"}}async *parseAnthropicStream(e){let t=e.body?.getReader();if(!t)throw Error("Response body is not readable");let s=new TextDecoder,i="",r=null;for(;;){let{done:e,value:n}=await t.read();if(e)break;let a=(i+=s.decode(n,{stream:!0})).split("\n");for(let e of(i=a.pop()||"",a))if(e.startsWith("data: ")){let t=e.slice(6);try{let e=JSON.parse(t);if("content_block_delta"===e.type&&e.delta?.text_delta?.text)yield{type:"content",content:e.delta.text_delta.text};else if("content_block_start"===e.type&&e.content_block?.type==="tool_use")yield{type:"tool_call",toolCall:{id:e.content_block.id,type:"function",function:{name:e.content_block.name,arguments:JSON.stringify(e.content_block.input||{})}}};else if("message_start"===e.type&&e.message?.usage)r={promptTokens:e.message.usage.input_tokens||0,completionTokens:e.message.usage.output_tokens||0,totalTokens:(e.message.usage.input_tokens||0)+(e.message.usage.output_tokens||0),cachedTokens:e.message.usage.cache_creation_input_tokens||e.message.usage.cache_read_input_tokens,model:this.model,provider:this.provider};else if("message_delta"===e.type&&e.usage)r&&(r.completionTokens=e.usage.output_tokens||r.completionTokens,r.totalTokens=(r.promptTokens||0)+(r.completionTokens||0));else if("message_stop"===e.type){r&&r.totalTokens&&(yield{type:"usage",usage:r}),yield{type:"done"};return}}catch(e){l.v.error("Error parsing Anthropic stream:",e)}}}r&&r.totalTokens&&(yield{type:"usage",usage:r}),yield{type:"done"}}static async validateApiKey(e,t){if(!e)return!1;try{let s=await fetch("/api/validate-key",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:e,provider:t})});if(!s.ok)return!1;let{valid:i}=await s.json();return i}catch{return!1}}static async getAvailableModels(e,t){let s=t||n.s.getSelectedProvider()||"openrouter",i=(0,o.sO)(s),r=e||n.s.getProviderApiKey(s);if(!i.supportsModelDiscovery&&i.models)return i.models.map(e=>e.id);try{let e=await fetch("/api/models",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:r,provider:s})});if(!e.ok)return i.models?.map(e=>e.id)||[];let{models:t}=await e.json();return t||[]}catch{return i.models?.map(e=>e.id)||[]}}}var p=s(24934),u=s(68988),h=s(39390),m=s(40211),f=s(13964);let g=r.forwardRef(({className:e,...t},s)=>(0,i.jsx)(m.bL,{ref:s,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:(0,i.jsx)(m.C1,{className:(0,l.cn)("flex items-center justify-center text-current"),children:(0,i.jsx)(f.A,{className:"h-4 w-4"})})}));g.displayName=m.bL.displayName;var y=s(12597),b=s(13861),v=s(11860),w=s(25334),x=s(52581),S=s(59821),E=s(42902),T=s(33135),k=s(78200),C=s(56085),A=s(45583),I=s(9593),j=s(24413),R=s(10510),N=s(41862),O=s(78272),F=s(99270),_=s(15807),P=s(34429),D=s(24573);function M({provider:e,value:t,onChange:s,className:a,hideModelDetails:c}){let m=e||n.s.getSelectedProvider(),f=(0,o.sO)(m),[g,y]=(0,r.useState)([]),[b,w]=(0,r.useState)(!0),[M,L]=(0,r.useState)(""),[U,$]=(0,r.useState)(!1),[B,q]=(0,r.useState)(""),[W,H]=(0,r.useState)(!1),[G,K]=(0,r.useState)(!1),z=e=>e.name;(0,r.useCallback)(async()=>{try{w(!0);let e=n.s.getProviderApiKey(m);if(f.apiKeyRequired&&!e){H(!0),f.models?y(f.models):y([]);return}H(!1);let t=n.s.getCachedModels(m);if(t){let e=t.models;y(e),"openrouter"===m&&(0,D.V)("openrouter",e);return}let s=[];if("openrouter"===m){let e=await (0,P.QF)();(0,D.b)(e);let t=e=>{if("string"==typeof e)return e;if(e&&"object"==typeof e){let t=["description","name","summary"].map(t=>e[t]).find(e=>"string"==typeof e);if(t)return t;try{return JSON.stringify(e)}catch{}}return null==e?"":String(e)};s=e.map(e=>{let s=e.pricing?.prompt?Number(e.pricing.prompt):void 0,i=e.pricing?.completion?Number(e.pricing.completion):void 0,r=e.pricing?.internal_reasoning?Number(e.pricing.internal_reasoning):void 0,n=e=>{if(void 0!==e&&Number.isFinite(e))return 1e6*e},a=n(s),o=n(i),l=n(r);return{id:e.id,name:e.name,description:t(e.description),contextLength:e.context_length,maxTokens:e.top_provider?.max_completion_tokens,supportsFunctions:e.supported_parameters?.includes("tools"),supportsVision:e.architecture?.input_modalities?.includes("image"),supportsReasoning:e.supported_parameters?.includes("reasoning"),pricing:void 0!==a&&void 0!==o?{input:a,output:o,reasoning:l}:void 0}})}else s=f.supportsModelDiscovery?(await d.getAvailableModels(e||void 0,m)).map(e=>({id:e,name:e.split("/").pop()||e,contextLength:32e3,supportsFunctions:!0})):f.models?f.models:[];y(s),f.isLocal&&0===s.length&&x.oR.warning(`No models found in ${f.name}. Please load some models in the application.`,{duration:5e3}),s.length>0&&(n.s.setCachedModels(m,s),"openrouter"===m&&(0,D.V)("openrouter",s))}catch(e){l.v.error("Failed to load models:",e),f.isLocal&&x.oR.error(`${f.name} server not running. Please start the server and load some models.`,{duration:5e3}),f.models&&y(f.models)}finally{w(!1)}},[m,f]);let Y=e=>{L(e),n.s.setProviderModel(m,e),s?.(e),$(!1),q(""),K(n.s.getReasoningEnabled(e))},J=e=>{let t=e.id.toLowerCase();return t.includes("deepseek")?(0,i.jsx)(k.A,{className:"h-3 w-3"}):t.includes("claude")?(0,i.jsx)(C.A,{className:"h-3 w-3"}):t.includes("gpt")?(0,i.jsx)(A.A,{className:"h-3 w-3"}):t.includes("gemini")?(0,i.jsx)(I.A,{className:"h-3 w-3"}):t.includes("llama")?(0,i.jsx)(j.A,{className:"h-3 w-3"}):t.includes("qwen")?(0,i.jsx)(R.A,{className:"h-3 w-3"}):null},V=e=>{let t=e.toLowerCase();return t.includes("deepseek")?"bg-blue-500/10 text-blue-500":t.includes("claude")?"bg-orange-500/10 text-orange-500":t.includes("openai")||t.includes("gpt")?"bg-green-500/10 text-green-500":t.includes("qwen")?"bg-orange-500/10 text-orange-500":t.includes("google")?"bg-red-500/10 text-red-500":t.includes("meta")?"bg-indigo-500/10 text-indigo-500":"bg-gray-500/10 text-gray-500"},X=(0,r.useMemo)(()=>{if(!B.trim())return g;let e=B.toLowerCase();return g.filter(t=>{let s=t.id.toLowerCase(),i=z(t).toLowerCase(),r=t.id.split("/")[0].toLowerCase();return s.includes(e)||i.includes(e)||r.includes(e)})},[g,B]),Q=g.find(e=>e.id===M);return b?(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)(h.J,{children:"AI Model"}),(0,i.jsxs)("div",{className:"flex items-center gap-2 h-10 px-3 border rounded-md bg-muted",children:[(0,i.jsx)(N.A,{className:"h-4 w-4 animate-spin"}),(0,i.jsx)("span",{className:"text-sm text-muted-foreground",children:"Loading models..."})]})]}):W?(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)(h.J,{children:"AI Model"}),(0,i.jsx)("div",{className:"flex items-center gap-2 h-10 px-3 border rounded-md bg-muted/50 border-orange-200 dark:border-orange-800",children:(0,i.jsxs)("span",{className:"text-sm text-orange-600 dark:text-orange-400",children:["API key required for ",f.name]})}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Set your API key in settings to load available models"})]}):(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)(h.J,{htmlFor:"model-select",children:"AI Model"}),(0,i.jsxs)(T.AM,{open:U,onOpenChange:$,children:[(0,i.jsx)(T.Wv,{asChild:!0,children:(0,i.jsxs)(p.$,{variant:"outline",role:"combobox","aria-expanded":U,className:"justify-between font-normal min-w-[200px]",children:[Q?(0,i.jsxs)("div",{className:"flex items-center gap-2 truncate",children:[J(Q),(0,i.jsx)("span",{className:"truncate",children:z(Q)})]}):(0,i.jsx)("span",{className:"text-muted-foreground",children:"Select a model..."}),(0,i.jsx)(O.A,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),(0,i.jsxs)(T.hl,{className:"w-[32rem] p-0",align:"start",side:"bottom",sideOffset:5,avoidCollisions:!1,children:[(0,i.jsxs)("div",{className:"flex items-center border-b px-3",children:[(0,i.jsx)(F.A,{className:"h-4 w-4 shrink-0 opacity-50"}),(0,i.jsx)(u.p,{placeholder:"Search models...",value:B,onChange:e=>q(e.target.value),className:"h-10 border-0 focus:ring-0 focus-visible:ring-0 focus-visible:ring-offset-0"}),B&&(0,i.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>q(""),className:"h-5 w-5 p-0",children:(0,i.jsx)(v.A,{className:"h-3 w-3"})})]}),(0,i.jsx)("div",{className:"max-h-[400px] min-h-[300px] overflow-y-auto",children:0===X.length?(0,i.jsx)("div",{className:"py-6 text-center text-sm text-muted-foreground",children:"No models found"}):X.map(e=>(0,i.jsx)("button",{onClick:()=>Y(e.id),className:(0,l.cn)("w-full text-left px-3 py-3 hover:bg-accent hover:text-accent-foreground transition-colors",M===e.id&&"bg-accent"),children:(0,i.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[J(e),(0,i.jsx)("span",{className:"font-medium",children:z(e)}),"openrouter"===m&&(0,i.jsx)(S.E,{variant:"secondary",className:`text-xs ${V(e.id)}`,children:e.id.split("/")[0]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-3 text-xs text-muted-foreground",children:[(0,i.jsxs)("span",{children:["Context: ",Math.round(e.contextLength/1e3),"K"]}),e.pricing&&(0===e.pricing.input&&0===e.pricing.output?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"•"}),(0,i.jsx)("span",{children:"Free"})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"•"}),(0,i.jsxs)("span",{children:[(0,P.WK)(e.pricing.input),"/K | ",(0,P.WK)(e.pricing.output),"/K"]})]})),!e.pricing&&"openrouter"!==m&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"•"}),(0,i.jsx)("span",{children:"Pricing varies"})]})]})]})},e.id))})]})]}),!c&&Q&&(0,i.jsxs)("div",{className:"mt-1 text-xs text-muted-foreground max-h-[150px] overflow-y-auto pr-2",children:[(0,i.jsx)("div",{className:"font-medium mb-1",children:Q.pricing?0===Q.pricing.input&&0===Q.pricing.output?"Free":`Input: ${(0,P.WK)(Q.pricing.input)}/K • Output: ${(0,P.WK)(Q.pricing.output)}/K`:"Pricing varies by provider"}),Q.description&&(0,i.jsx)("div",{children:Q.description})]}),Q?.supportsReasoning&&(0,i.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-2 p-2 rounded-md bg-muted/50 border",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(_.A,{className:"h-4 w-4 text-amber-500"}),(0,i.jsxs)("div",{children:[(0,i.jsx)(h.J,{htmlFor:"reasoning-toggle",className:"text-sm font-medium cursor-pointer",children:"Enable Reasoning"}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground",children:"Show step-by-step thinking process"})]})]}),(0,i.jsx)(E.d,{id:"reasoning-toggle",checked:G,onCheckedChange:e=>{K(e),M&&n.s.setReasoningEnabled(M,e)}})]})]})}var L=s(63974);function U({onClose:e,onModelChange:t}){let[s,a]=(0,r.useState)({}),[l,c]=(0,r.useState)(()=>n.s.getSelectedProvider()),[m,S]=(0,r.useState)(!1),[E,T]=(0,r.useState)(!1),[k,C]=(0,r.useState)(null),[A,I]=(0,r.useState)(""),[j,R]=(0,r.useState)(()=>!1),N=e=>{I(e),n.s.setProviderApiKey(l,e),C(null),n.s.clearModelCache(l),window.dispatchEvent(new CustomEvent("apiKeyUpdated",{detail:{provider:l,hasKey:!!e}}))},O=async()=>{if(!A)return void x.oR.error("Please enter an API key");T(!0);try{let e=await d.validateApiKey(A,l);C(e),e?x.oR.success("API key is valid!"):x.oR.error("Invalid API key")}catch{C(!1),x.oR.error("Failed to validate API key")}finally{T(!1)}},F=(0,o.sO)(l);return(0,i.jsxs)("div",{className:"space-y-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"font-medium text-sm",children:"Model Settings"}),(0,i.jsx)("p",{className:"text-muted-foreground text-xs mt-1",children:"Configure your AI model and API connection"})]}),(0,i.jsxs)("div",{className:"space-y-4",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(h.J,{htmlFor:"provider",children:"AI Provider"}),(0,i.jsxs)(L.l6,{value:l,onValueChange:e=>{c(e),n.s.setSelectedProvider(e),I(n.s.getProviderApiKey(e)||""),C(null)},children:[(0,i.jsx)(L.bq,{id:"provider",className:"mt-2 !h-fit",children:(0,i.jsx)(L.yv,{placeholder:"Select a provider",children:l&&(0,i.jsxs)("div",{className:"flex flex-col text-left",children:[(0,i.jsx)("span",{className:"font-medium",children:F.name}),(0,i.jsx)("span",{className:"text-xs text-muted-foreground",children:F.description})]})})}),(0,i.jsx)(L.gC,{className:"max-h-[400px]",children:(0,o.OM)().map(e=>(0,i.jsx)(L.eb,{value:e.id,children:(0,i.jsxs)("div",{className:"flex flex-col",children:[(0,i.jsx)("span",{className:"font-medium",children:e.name}),(0,i.jsx)("span",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))})]})]}),(F.apiKeyRequired||F.isLocal)&&(0,i.jsxs)("div",{children:[(0,i.jsxs)(h.J,{htmlFor:"api-key",children:[F.name," API Key",!F.apiKeyRequired&&(0,i.jsx)("span",{className:"text-muted-foreground text-xs ml-1",children:"(optional)"})]}),(0,i.jsxs)("div",{className:"flex gap-2 mt-2",children:[(0,i.jsxs)("div",{className:"relative flex-1",children:[(0,i.jsx)(u.p,{id:"api-key",type:m?"text":"password",value:A,onChange:e=>N(e.target.value),placeholder:F.apiKeyPlaceholder||"API Key",className:"pr-10","data-tour-id":"provider-key-input"}),(0,i.jsx)(p.$,{size:"icon",variant:"ghost",className:"absolute right-1 top-1 h-7 w-7",onClick:()=>S(!m),children:m?(0,i.jsx)(y.A,{className:"h-4 w-4"}):(0,i.jsx)(b.A,{className:"h-4 w-4"})})]}),(0,i.jsx)(p.$,{onClick:O,disabled:E||!A,size:"sm",children:E?"Validating...":"Validate"}),null!==k&&(0,i.jsx)("div",{className:"flex items-center",children:k?(0,i.jsx)(f.A,{className:"h-5 w-5 text-green-500"}):(0,i.jsx)(v.A,{className:"h-5 w-5 text-red-500"})})]}),F.apiKeyHelpUrl&&(0,i.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Get your API key from"," ",(0,i.jsxs)("a",{href:F.apiKeyHelpUrl,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline inline-flex items-center gap-1",children:[F.name," ",(0,i.jsx)(w.A,{className:"h-3 w-3"})]})]}),F.isLocal&&!F.apiKeyRequired&&(0,i.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["API key is optional for ",F.name,". Only needed if you've configured authentication on your local server."]})]}),!F.apiKeyRequired&&F.isLocal&&(0,i.jsxs)("div",{className:"text-sm text-muted-foreground p-3 border rounded-md bg-muted/50",children:[(0,i.jsx)("p",{className:"font-medium mb-1",children:"Local Provider"}),(0,i.jsxs)("p",{children:["Make sure ",F.name," is running on your machine."]}),(0,i.jsxs)("p",{children:["Default endpoint: ",(0,i.jsx)("code",{className:"text-xs",children:F.baseUrl})]}),"lmstudio"===l&&(0,i.jsxs)("div",{className:"mt-2 text-xs",children:[(0,i.jsx)("p",{className:"font-medium",children:"For tool use support:"}),(0,i.jsx)("p",{children:"• Load a model like qwen/qwen3-4b-thinking-2507"}),(0,i.jsx)("p",{children:"• Start the local server in LM Studio"}),(0,i.jsx)("p",{children:"• Models will be automatically discovered"})]})]}),(0,i.jsxs)("div",{className:"space-y-3",children:[(0,i.jsx)(h.J,{className:"text-sm font-medium",children:"Code Mode Model"}),(0,i.jsx)(M,{provider:l,onChange:e=>{j||t?.(e)},className:"space-y-2"})]}),(0,i.jsxs)("div",{className:"flex items-start space-x-2 pt-2",children:[(0,i.jsx)(g,{id:"separate-chat-model",checked:j,onCheckedChange:e=>R(!0===e)}),(0,i.jsxs)("div",{className:"grid gap-1.5 leading-none",children:[(0,i.jsx)("label",{htmlFor:"separate-chat-model",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer",children:"Use different model for chat mode"}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground",children:"Select a separate (usually cheaper) model for chat/planning mode"})]})]}),j&&(0,i.jsxs)("div",{className:"space-y-3 pt-2",children:[(0,i.jsx)(h.J,{className:"text-sm font-medium",children:"Chat Mode Model"}),(0,i.jsx)(M,{provider:l,onChange:e=>{t?.(e)},className:"space-y-2"})]})]}),e&&(0,i.jsx)("div",{className:"flex justify-end pt-4 border-t",children:(0,i.jsx)(p.$,{onClick:e,size:"sm",children:"Done"})})]})}},10158:(e,t,s)=>{s.d(t,{OM:()=>n,sO:()=>r});let i={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function r(e){return i[e]}function n(){return Object.values(i)}},22106:(e,t,s)=>{s.d(t,{B:()=>n});var i=s(79170),r=s.n(i);class n{constructor(e,t,s,i){this.blobUrls=new Map,this.fileHashes=new Map,this.templateCache=new Map,this.partialsRegistered=!1,this.vfs=e,this.projectId=t,this.siteId=i,this.baseUrl="",s&&(this.blobUrls=new Map(s)),this.handlebars=r().create(),this.registerHelpers()}registerHelpers(){this.handlebars.registerHelper("eq",(e,t)=>e===t),this.handlebars.registerHelper("ne",(e,t)=>e!==t),this.handlebars.registerHelper("lt",(e,t)=>ee>t),this.handlebars.registerHelper("lte",(e,t)=>e<=t),this.handlebars.registerHelper("gte",(e,t)=>e>=t),this.handlebars.registerHelper("and",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.every(e=>e)}),this.handlebars.registerHelper("or",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.some(e=>e)}),this.handlebars.registerHelper("not",e=>!e),this.handlebars.registerHelper("add",(e,t)=>e+t),this.handlebars.registerHelper("subtract",(e,t)=>e-t),this.handlebars.registerHelper("multiply",(e,t)=>e*t),this.handlebars.registerHelper("divide",(e,t)=>e/t),this.handlebars.registerHelper("uppercase",e=>e?.toUpperCase()),this.handlebars.registerHelper("lowercase",e=>e?.toLowerCase()),this.handlebars.registerHelper("concat",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.join("")}),this.handlebars.registerHelper("json",e=>JSON.stringify(e,null,2)),this.handlebars.registerHelper("formatDate",e=>new Date(e).toLocaleDateString()),this.handlebars.registerHelper("limit",(e,t)=>e?.slice(0,t))}async registerPartials(){if(!this.partialsRegistered)try{for(let e of(await this.vfs.getAllFilesAndDirectories(this.projectId)).filter(e=>"content"in e&&e.path.startsWith("/templates/")&&(e.path.endsWith(".hbs")||e.path.endsWith(".handlebars")))){let t=e.content,s=e.path.replace(/^\/templates\//,"").replace(/\.hbs$/,"").replace(/\.handlebars$/,"");this.handlebars.registerPartial(s,t);let i=s.split("/").pop();if(i&&this.handlebars.registerPartial(i,t),s.includes("/")){let e=s.replace(/\//g,"-");this.handlebars.registerPartial(e,t)}}this.partialsRegistered=!0}catch(e){}}async compileTemplate(e,t={}){let s=this.templateCache.get(e);if(!s)try{let t=(await this.vfs.readFile(this.projectId,e)).content;s=this.handlebars.compile(t),this.templateCache.set(e,s)}catch(t){return console.error(`Failed to compile template ${e}:`,t),""}return s(t)}async compileProject(e=!1){await this.registerPartials();let t=await this.vfs.listDirectory(this.projectId,"/"),s=new Map(this.blobUrls),i=new Map,r=[];for(let n of t){let t;if("template"===n.type||"html"===n.type||"css"===n.type)continue;t="image"===n.type||"video"===n.type?{path:n.path,content:n.content,mimeType:n.mimeType}:"js"===n.type?await this.processJS(n):{path:n.path,content:n.content,mimeType:n.mimeType};let a=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===a&&s.has(t.path)){let e=s.get(t.path);i.set(t.path,e),t.blobUrl=e,s.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),s=URL.createObjectURL(e);i.set(t.path,s),t.blobUrl=s,this.fileHashes.set(t.path,a)}r.push(t)}for(let n of t){if("html"!==n.type)continue;let t=await this.processHTML(n,i),a=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===a&&s.has(t.path)){let e=s.get(t.path);i.set(t.path,e),t.blobUrl=e,s.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),s=URL.createObjectURL(e);i.set(t.path,s),t.blobUrl=s,this.fileHashes.set(t.path,a)}r.push(t)}let n=[...r];for(let r of t)if("css"===r.type){let t=await this.processCSS(r,i),a=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===a&&s.has(t.path)){let e=s.get(t.path);i.set(t.path,e),t.blobUrl=e,s.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),s=URL.createObjectURL(e);i.set(t.path,s),t.blobUrl=s,this.fileHashes.set(t.path,a)}n.push(t)}let a=this.generateRoutes(t);if(e)for(let[,e]of s)URL.revokeObjectURL(e);else e||this.cleanupBlobUrls();return this.blobUrls=i,{entryPoint:"/index.html",files:n,routes:a,blobUrls:this.blobUrls}}hashContent(e){let t=0;if(e instanceof ArrayBuffer){let s=new Uint8Array(e);for(let e=0;e +"use strict";exports.id=2437,exports.ids=[2437],exports.modules={3145:(e,t,s)=>{s.d(t,{t:()=>U});var i=s(60687),r=s(43210),n=s(4950),a=s(57462),o=s(10158),l=s(96241);class c{static{this.BASE_URL="https://openrouter.ai/api/v1"}static async getGenerationStats(e,t){if(!e||!t)return null;try{let s=await fetch(`${this.BASE_URL}/generation?id=${e}`,{headers:{Authorization:`Bearer ${t}`,"Content-Type":"application/json"}});if(!s.ok)return l.v.warn(`[GenerationAPI] Failed to fetch generation stats: ${s.status}`),null;return await s.json()}catch(e){return l.v.error("[GenerationAPI] Error fetching generation stats:",e),null}}static queueGenerationForCostUpdate(e,t,s,i,r,n){setTimeout(async()=>{let s=await this.getGenerationStats(e,t);if(s?.usage){let t=s.total_cost??s.usage.total_cost??0;l.v.debug(`[GenerationAPI] Generation ${e}`,{normalized_tokens:s.usage.total_tokens,native_tokens:s.usage.native_tokens_total,actual_cost:t}),n(t,s.usage)}},3e3)}static extractGenerationId(e){return e.get("x-openrouter-generation-id")}static extractCostFromHeaders(e){let t,s,i=e.get("x-openrouter-usage"),r=e.get("x-openrouter-cost");if(i)try{t=JSON.parse(i)}catch(e){l.v.warn("[GenerationAPI] Failed to parse usage header:",e)}if(r){let e=parseFloat(r);isNaN(e)||(s=e)}return t||void 0!==s?{usage:t,cost:s}:null}}class d{constructor(e){this.provider=e?.provider||n.s.getSelectedProvider()||"openrouter",this.providerConfig=(0,o.sO)(this.provider),this.apiKey=e?.apiKey||n.s.getProviderApiKey(this.provider)||"",this.model=e?.model||n.s.getProviderModel(this.provider)||this.getDefaultModel(),this.temperature=e?.temperature||.7,this.maxTokens=e?.maxTokens||4096}getDefaultModel(){switch(this.provider){case"openrouter":return"deepseek/deepseek-chat";case"openai":return"gpt-4o-mini";case"anthropic":return"claude-3-5-haiku-20241022";case"groq":return"llama-3.3-70b-versatile";case"gemini":return"gemini-1.5-flash";case"ollama":return"llama3.2:latest";case"lmstudio":return"qwen/qwen3-4b-thinking-2507";case"sambanova":return"Meta-Llama-3.3-70B-Instruct";default:return""}}async generateWithTools(e,t,s){if(this.providerConfig.apiKeyRequired&&!this.apiKey)throw Error(`${this.providerConfig.name} API key is required. Please set it in settings.`);let i=[{role:"system",content:await (0,a.m)(s?.fileTree)},{role:"user",content:e}];try{if("anthropic"===this.provider)return this.generateWithToolsAnthropic(i,t);if("gemini"===this.provider)return this.generateWithToolsGemini(i,t);return this.generateWithToolsOpenAI(i,t)}catch(e){throw e}}async generate(e,t){if(this.providerConfig.apiKeyRequired&&!this.apiKey)throw Error(`${this.providerConfig.name} API key is required. Please set it in settings.`);let s=[{role:"system",content:await (0,a.m)(t?.fileTree)},{role:"user",content:e}];return"anthropic"===this.provider?this.generateAnthropic(s):"gemini"===this.provider?this.generateGemini(s):this.generateOpenAI(s)}async generateWithToolsOpenAI(e,t){let s=this.providerConfig.baseUrl||"https://openrouter.ai/api/v1",i={"Content-Type":"application/json"};this.apiKey&&(i.Authorization=`Bearer ${this.apiKey}`),"openrouter"===this.provider&&(i["HTTP-Referer"]="http://localhost:3000",i["X-Title"]="OSW-Studio"),this.providerConfig.customHeaders&&Object.assign(i,this.providerConfig.customHeaders);let r=await fetch(`${s}/chat/completions`,{method:"POST",headers:i,body:JSON.stringify({model:this.model,messages:e,tools:t.map(e=>({type:"function",function:e})),tool_choice:"auto",temperature:this.temperature,max_tokens:this.maxTokens,stream:!0})});if(!r.ok){let e=await r.text();throw Error(`${this.providerConfig.name} API error: ${e}`)}return this.parseStreamResponse(r)}async generateOpenAI(e){let t=this.providerConfig.baseUrl||"https://openrouter.ai/api/v1",s={"Content-Type":"application/json"};this.apiKey&&(s.Authorization=`Bearer ${this.apiKey}`),"openrouter"===this.provider&&(s["HTTP-Referer"]="http://localhost:3000",s["X-Title"]="OSW-Studio");let i=await fetch(`${t}/chat/completions`,{method:"POST",headers:s,body:JSON.stringify({model:this.model,messages:e,temperature:this.temperature,max_tokens:this.maxTokens,stream:!1})});if(!i.ok){let e=await i.text();throw Error(`${this.providerConfig.name} API error: ${e}`)}let r=await i.json();return r.choices[0]?.message?.content||""}async generateWithToolsAnthropic(e,t){let s=e.find(e=>"system"===e.role)?.content||"",i=e.filter(e=>"system"!==e.role).map(e=>({role:"user"===e.role?"user":"assistant",content:e.content})),r=await fetch("https://api.anthropic.com/v1/messages",{method:"POST",headers:{"Content-Type":"application/json","x-api-key":this.apiKey,"anthropic-version":"2023-06-01","anthropic-beta":"tools-2024-04-04"},body:JSON.stringify({model:this.model,messages:i,system:s,tools:t.map(e=>({name:e.name,description:e.description,input_schema:e.parameters})),temperature:this.temperature,max_tokens:this.maxTokens,stream:!0})});if(!r.ok){let e=await r.text();throw Error(`Anthropic API error: ${e}`)}return this.parseAnthropicStream(r)}async generateAnthropic(e){let t=e.find(e=>"system"===e.role)?.content||"",s=e.filter(e=>"system"!==e.role).map(e=>({role:"user"===e.role?"user":"assistant",content:e.content})),i=await fetch("https://api.anthropic.com/v1/messages",{method:"POST",headers:{"Content-Type":"application/json","x-api-key":this.apiKey,"anthropic-version":"2023-06-01"},body:JSON.stringify({model:this.model,messages:s,system:t,temperature:this.temperature,max_tokens:this.maxTokens})});if(!i.ok){let e=await i.text();throw Error(`Anthropic API error: ${e}`)}let r=await i.json();return r.content[0]?.text||""}async generateWithToolsGemini(e,t){throw Error("Gemini tool calling not yet implemented. Please use OpenRouter or another provider.")}async generateGemini(e){let t=e.map(e=>({role:"system"===e.role?"user":e.role,parts:[{text:e.content}]})),s=await fetch(`https://generativelanguage.googleapis.com/v1beta/models/${this.model}:generateContent?key=${this.apiKey}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contents:t,generationConfig:{temperature:this.temperature,maxOutputTokens:this.maxTokens}})});if(!s.ok){let e=await s.text();throw Error(`Gemini API error: ${e}`)}let i=await s.json();return i.candidates[0]?.content?.parts[0]?.text||""}async *parseStreamResponse(e){let t=e.body?.getReader();if(!t)throw Error("Response body is not readable");let s=new TextDecoder,i="",r=null,n=null,a=null;if("openrouter"===this.provider){let t=e.headers;a=c.extractGenerationId(t);let s=c.extractCostFromHeaders(t);if(s?.cost!==void 0||s?.usage){let e=s.usage?.prompt_tokens??0,t=s.usage?.completion_tokens??0,i=s.usage?.total_tokens??e+t,r=s.cost??s.usage?.total_cost,o="number"==typeof r&&Number.isFinite(r)&&r>1e-6;n={promptTokens:e,completionTokens:t,totalTokens:i,cost:o?r:void 0,model:this.model,provider:this.provider,generationId:a||void 0,isEstimated:!o}}if(!n){let e=t.get("x-openrouter-usage");if(e)try{let t=JSON.parse(e),s=t.total_cost,i="number"==typeof s&&Number.isFinite(s)&&s>1e-6;n={promptTokens:t.prompt_tokens||0,completionTokens:t.completion_tokens||0,totalTokens:t.total_tokens||(t.prompt_tokens||0)+(t.completion_tokens||0),cost:i?s:void 0,model:this.model,provider:this.provider,generationId:a||void 0,isEstimated:!i}}catch(e){l.v.error("Error parsing OpenRouter usage header:",e)}}}for(;;){let{done:e,value:o}=await t.read();if(e)break;let c=(i+=s.decode(o,{stream:!0})).split("\n");for(let e of(i=c.pop()||"",c))if(e.startsWith("data: ")){let t=e.slice(6);if("[DONE]"===t){n&&n.totalTokens&&(yield{type:"usage",usage:n}),yield{type:"done"};return}try{let e=JSON.parse(t),s=e.choices?.[0]?.delta;if(s?.content&&(yield{type:"content",content:s.content}),s?.tool_calls)for(let e of s.tool_calls)e.id&&(r&&(yield{type:"tool_call",toolCall:r}),r={id:e.id,type:"function",function:{name:e.function?.name||"",arguments:""}}),e.function?.arguments&&r&&(r.argumentsBuffer=(r.argumentsBuffer||"")+e.function.arguments,r.function&&(r.function.arguments=r.argumentsBuffer));e.usage&&(n={promptTokens:e.usage.prompt_tokens||0,completionTokens:e.usage.completion_tokens||0,totalTokens:e.usage.total_tokens||0,cachedTokens:e.usage.cached_tokens,model:this.model,provider:this.provider,generationId:a||void 0}),e.x_groq?.usage&&(n={promptTokens:e.x_groq.usage.prompt_tokens||0,completionTokens:e.x_groq.usage.completion_tokens||0,totalTokens:e.x_groq.usage.total_tokens||0,model:this.model,provider:this.provider})}catch(e){l.v.error("Error parsing stream chunk:",e)}}}if(r)try{let e=r.argumentsBuffer;e&&r.function&&(r.function.arguments=e),yield{type:"tool_call",toolCall:r}}catch(e){l.v.error("Error parsing tool call parameters:",e)}n&&n.totalTokens&&(yield{type:"usage",usage:n}),yield{type:"done"}}async *parseAnthropicStream(e){let t=e.body?.getReader();if(!t)throw Error("Response body is not readable");let s=new TextDecoder,i="",r=null;for(;;){let{done:e,value:n}=await t.read();if(e)break;let a=(i+=s.decode(n,{stream:!0})).split("\n");for(let e of(i=a.pop()||"",a))if(e.startsWith("data: ")){let t=e.slice(6);try{let e=JSON.parse(t);if("content_block_delta"===e.type&&e.delta?.text_delta?.text)yield{type:"content",content:e.delta.text_delta.text};else if("content_block_start"===e.type&&e.content_block?.type==="tool_use")yield{type:"tool_call",toolCall:{id:e.content_block.id,type:"function",function:{name:e.content_block.name,arguments:JSON.stringify(e.content_block.input||{})}}};else if("message_start"===e.type&&e.message?.usage)r={promptTokens:e.message.usage.input_tokens||0,completionTokens:e.message.usage.output_tokens||0,totalTokens:(e.message.usage.input_tokens||0)+(e.message.usage.output_tokens||0),cachedTokens:e.message.usage.cache_creation_input_tokens||e.message.usage.cache_read_input_tokens,model:this.model,provider:this.provider};else if("message_delta"===e.type&&e.usage)r&&(r.completionTokens=e.usage.output_tokens||r.completionTokens,r.totalTokens=(r.promptTokens||0)+(r.completionTokens||0));else if("message_stop"===e.type){r&&r.totalTokens&&(yield{type:"usage",usage:r}),yield{type:"done"};return}}catch(e){l.v.error("Error parsing Anthropic stream:",e)}}}r&&r.totalTokens&&(yield{type:"usage",usage:r}),yield{type:"done"}}static async validateApiKey(e,t){if(!e)return!1;try{let s=await fetch("/api/validate-key",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:e,provider:t})});if(!s.ok)return!1;let{valid:i}=await s.json();return i}catch{return!1}}static async getAvailableModels(e,t){let s=t||n.s.getSelectedProvider()||"openrouter",i=(0,o.sO)(s),r=e||n.s.getProviderApiKey(s);if(!i.supportsModelDiscovery&&i.models)return i.models.map(e=>e.id);try{let e=await fetch("/api/models",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:r,provider:s})});if(!e.ok)return i.models?.map(e=>e.id)||[];let{models:t}=await e.json();return t||[]}catch{return i.models?.map(e=>e.id)||[]}}}var p=s(24934),u=s(68988),h=s(39390),m=s(40211),f=s(13964);let g=r.forwardRef(({className:e,...t},s)=>(0,i.jsx)(m.bL,{ref:s,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:(0,i.jsx)(m.C1,{className:(0,l.cn)("flex items-center justify-center text-current"),children:(0,i.jsx)(f.A,{className:"h-4 w-4"})})}));g.displayName=m.bL.displayName;var y=s(12597),b=s(13861),v=s(11860),w=s(25334),x=s(52581),S=s(59821),E=s(42902),T=s(33135),k=s(78200),C=s(56085),A=s(45583),I=s(9593),j=s(24413),R=s(10510),N=s(41862),O=s(78272),_=s(99270),F=s(15807),P=s(34429),D=s(24573);function M({provider:e,value:t,onChange:s,className:a,hideModelDetails:c}){let m=e||n.s.getSelectedProvider(),f=(0,o.sO)(m),[g,y]=(0,r.useState)([]),[b,w]=(0,r.useState)(!0),[M,L]=(0,r.useState)(""),[U,$]=(0,r.useState)(!1),[B,q]=(0,r.useState)(""),[W,H]=(0,r.useState)(!1),[G,K]=(0,r.useState)(!1),z=e=>e.name;(0,r.useCallback)(async()=>{try{w(!0);let e=n.s.getProviderApiKey(m);if(f.apiKeyRequired&&!e){H(!0),f.models?y(f.models):y([]);return}H(!1);let t=n.s.getCachedModels(m);if(t){let e=t.models;y(e),"openrouter"===m&&(0,D.V)("openrouter",e);return}let s=[];if("openrouter"===m){let e=await (0,P.QF)();(0,D.b)(e);let t=e=>{if("string"==typeof e)return e;if(e&&"object"==typeof e){let t=["description","name","summary"].map(t=>e[t]).find(e=>"string"==typeof e);if(t)return t;try{return JSON.stringify(e)}catch{}}return null==e?"":String(e)};s=e.map(e=>{let s=e.pricing?.prompt?Number(e.pricing.prompt):void 0,i=e.pricing?.completion?Number(e.pricing.completion):void 0,r=e.pricing?.internal_reasoning?Number(e.pricing.internal_reasoning):void 0,n=e=>{if(void 0!==e&&Number.isFinite(e))return 1e6*e},a=n(s),o=n(i),l=n(r);return{id:e.id,name:e.name,description:t(e.description),contextLength:e.context_length,maxTokens:e.top_provider?.max_completion_tokens,supportsFunctions:e.supported_parameters?.includes("tools"),supportsVision:e.architecture?.input_modalities?.includes("image"),supportsReasoning:e.supported_parameters?.includes("reasoning"),pricing:void 0!==a&&void 0!==o?{input:a,output:o,reasoning:l}:void 0}})}else s=f.supportsModelDiscovery?(await d.getAvailableModels(e||void 0,m)).map(e=>({id:e,name:e.split("/").pop()||e,contextLength:32e3,supportsFunctions:!0})):f.models?f.models:[];y(s),f.isLocal&&0===s.length&&x.oR.warning(`No models found in ${f.name}. Please load some models in the application.`,{duration:5e3}),s.length>0&&(n.s.setCachedModels(m,s),"openrouter"===m&&(0,D.V)("openrouter",s))}catch(e){l.v.error("Failed to load models:",e),f.isLocal&&x.oR.error(`${f.name} server not running. Please start the server and load some models.`,{duration:5e3}),f.models&&y(f.models)}finally{w(!1)}},[m,f]);let Y=e=>{L(e),n.s.setProviderModel(m,e),s?.(e),$(!1),q(""),K(n.s.getReasoningEnabled(e))},J=e=>{let t=e.id.toLowerCase();return t.includes("deepseek")?(0,i.jsx)(k.A,{className:"h-3 w-3"}):t.includes("claude")?(0,i.jsx)(C.A,{className:"h-3 w-3"}):t.includes("gpt")?(0,i.jsx)(A.A,{className:"h-3 w-3"}):t.includes("gemini")?(0,i.jsx)(I.A,{className:"h-3 w-3"}):t.includes("llama")?(0,i.jsx)(j.A,{className:"h-3 w-3"}):t.includes("qwen")?(0,i.jsx)(R.A,{className:"h-3 w-3"}):null},V=e=>{let t=e.toLowerCase();return t.includes("deepseek")?"bg-blue-500/10 text-blue-500":t.includes("claude")?"bg-orange-500/10 text-orange-500":t.includes("openai")||t.includes("gpt")?"bg-green-500/10 text-green-500":t.includes("qwen")?"bg-orange-500/10 text-orange-500":t.includes("google")?"bg-red-500/10 text-red-500":t.includes("meta")?"bg-indigo-500/10 text-indigo-500":"bg-gray-500/10 text-gray-500"},X=(0,r.useMemo)(()=>{if(!B.trim())return g;let e=B.toLowerCase();return g.filter(t=>{let s=t.id.toLowerCase(),i=z(t).toLowerCase(),r=t.id.split("/")[0].toLowerCase();return s.includes(e)||i.includes(e)||r.includes(e)})},[g,B]),Q=g.find(e=>e.id===M);return b?(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)(h.J,{children:"AI Model"}),(0,i.jsxs)("div",{className:"flex items-center gap-2 h-10 px-3 border rounded-md bg-muted",children:[(0,i.jsx)(N.A,{className:"h-4 w-4 animate-spin"}),(0,i.jsx)("span",{className:"text-sm text-muted-foreground",children:"Loading models..."})]})]}):W?(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)(h.J,{children:"AI Model"}),(0,i.jsx)("div",{className:"flex items-center gap-2 h-10 px-3 border rounded-md bg-muted/50 border-orange-200 dark:border-orange-800",children:(0,i.jsxs)("span",{className:"text-sm text-orange-600 dark:text-orange-400",children:["API key required for ",f.name]})}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Set your API key in settings to load available models"})]}):(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)(h.J,{htmlFor:"model-select",children:"AI Model"}),(0,i.jsxs)(T.AM,{open:U,onOpenChange:$,children:[(0,i.jsx)(T.Wv,{asChild:!0,children:(0,i.jsxs)(p.$,{variant:"outline",role:"combobox","aria-expanded":U,className:"justify-between font-normal min-w-[200px]",children:[Q?(0,i.jsxs)("div",{className:"flex items-center gap-2 truncate",children:[J(Q),(0,i.jsx)("span",{className:"truncate",children:z(Q)})]}):(0,i.jsx)("span",{className:"text-muted-foreground",children:"Select a model..."}),(0,i.jsx)(O.A,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),(0,i.jsxs)(T.hl,{className:"w-[32rem] p-0",align:"start",side:"bottom",sideOffset:5,avoidCollisions:!1,children:[(0,i.jsxs)("div",{className:"flex items-center border-b px-3",children:[(0,i.jsx)(_.A,{className:"h-4 w-4 shrink-0 opacity-50"}),(0,i.jsx)(u.p,{placeholder:"Search models...",value:B,onChange:e=>q(e.target.value),className:"h-10 border-0 focus:ring-0 focus-visible:ring-0 focus-visible:ring-offset-0"}),B&&(0,i.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>q(""),className:"h-5 w-5 p-0",children:(0,i.jsx)(v.A,{className:"h-3 w-3"})})]}),(0,i.jsx)("div",{className:"max-h-[400px] min-h-[300px] overflow-y-auto",children:0===X.length?(0,i.jsx)("div",{className:"py-6 text-center text-sm text-muted-foreground",children:"No models found"}):X.map(e=>(0,i.jsx)("button",{onClick:()=>Y(e.id),className:(0,l.cn)("w-full text-left px-3 py-3 hover:bg-accent hover:text-accent-foreground transition-colors",M===e.id&&"bg-accent"),children:(0,i.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[J(e),(0,i.jsx)("span",{className:"font-medium",children:z(e)}),"openrouter"===m&&(0,i.jsx)(S.E,{variant:"secondary",className:`text-xs ${V(e.id)}`,children:e.id.split("/")[0]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-3 text-xs text-muted-foreground",children:[(0,i.jsxs)("span",{children:["Context: ",Math.round(e.contextLength/1e3),"K"]}),e.pricing&&(0===e.pricing.input&&0===e.pricing.output?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"•"}),(0,i.jsx)("span",{children:"Free"})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"•"}),(0,i.jsxs)("span",{children:[(0,P.WK)(e.pricing.input),"/K | ",(0,P.WK)(e.pricing.output),"/K"]})]})),!e.pricing&&"openrouter"!==m&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"•"}),(0,i.jsx)("span",{children:"Pricing varies"})]})]})]})},e.id))})]})]}),!c&&Q&&(0,i.jsxs)("div",{className:"mt-1 text-xs text-muted-foreground max-h-[150px] overflow-y-auto pr-2",children:[(0,i.jsx)("div",{className:"font-medium mb-1",children:Q.pricing?0===Q.pricing.input&&0===Q.pricing.output?"Free":`Input: ${(0,P.WK)(Q.pricing.input)}/K • Output: ${(0,P.WK)(Q.pricing.output)}/K`:"Pricing varies by provider"}),Q.description&&(0,i.jsx)("div",{children:Q.description})]}),Q?.supportsReasoning&&(0,i.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-2 p-2 rounded-md bg-muted/50 border",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(F.A,{className:"h-4 w-4 text-amber-500"}),(0,i.jsxs)("div",{children:[(0,i.jsx)(h.J,{htmlFor:"reasoning-toggle",className:"text-sm font-medium cursor-pointer",children:"Enable Reasoning"}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground",children:"Show step-by-step thinking process"})]})]}),(0,i.jsx)(E.d,{id:"reasoning-toggle",checked:G,onCheckedChange:e=>{K(e),M&&n.s.setReasoningEnabled(M,e)}})]})]})}var L=s(63974);function U({onClose:e,onModelChange:t}){let[s,a]=(0,r.useState)({}),[l,c]=(0,r.useState)(()=>n.s.getSelectedProvider()),[m,S]=(0,r.useState)(!1),[E,T]=(0,r.useState)(!1),[k,C]=(0,r.useState)(null),[A,I]=(0,r.useState)(""),[j,R]=(0,r.useState)(()=>!1),N=e=>{I(e),n.s.setProviderApiKey(l,e),C(null),n.s.clearModelCache(l),window.dispatchEvent(new CustomEvent("apiKeyUpdated",{detail:{provider:l,hasKey:!!e}}))},O=async()=>{if(!A)return void x.oR.error("Please enter an API key");T(!0);try{let e=await d.validateApiKey(A,l);C(e),e?x.oR.success("API key is valid!"):x.oR.error("Invalid API key")}catch{C(!1),x.oR.error("Failed to validate API key")}finally{T(!1)}},_=(0,o.sO)(l);return(0,i.jsxs)("div",{className:"space-y-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"font-medium text-sm",children:"Model Settings"}),(0,i.jsx)("p",{className:"text-muted-foreground text-xs mt-1",children:"Configure your AI model and API connection"})]}),(0,i.jsxs)("div",{className:"space-y-4",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(h.J,{htmlFor:"provider",children:"AI Provider"}),(0,i.jsxs)(L.l6,{value:l,onValueChange:e=>{c(e),n.s.setSelectedProvider(e),I(n.s.getProviderApiKey(e)||""),C(null)},children:[(0,i.jsx)(L.bq,{id:"provider",className:"mt-2 !h-fit",children:(0,i.jsx)(L.yv,{placeholder:"Select a provider",children:l&&(0,i.jsxs)("div",{className:"flex flex-col text-left",children:[(0,i.jsx)("span",{className:"font-medium",children:_.name}),(0,i.jsx)("span",{className:"text-xs text-muted-foreground",children:_.description})]})})}),(0,i.jsx)(L.gC,{className:"max-h-[400px]",children:(0,o.OM)().map(e=>(0,i.jsx)(L.eb,{value:e.id,children:(0,i.jsxs)("div",{className:"flex flex-col",children:[(0,i.jsx)("span",{className:"font-medium",children:e.name}),(0,i.jsx)("span",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))})]})]}),(_.apiKeyRequired||_.isLocal)&&(0,i.jsxs)("div",{children:[(0,i.jsxs)(h.J,{htmlFor:"api-key",children:[_.name," API Key",!_.apiKeyRequired&&(0,i.jsx)("span",{className:"text-muted-foreground text-xs ml-1",children:"(optional)"})]}),(0,i.jsxs)("div",{className:"flex gap-2 mt-2",children:[(0,i.jsxs)("div",{className:"relative flex-1",children:[(0,i.jsx)(u.p,{id:"api-key",type:m?"text":"password",value:A,onChange:e=>N(e.target.value),placeholder:_.apiKeyPlaceholder||"API Key",className:"pr-10","data-tour-id":"provider-key-input"}),(0,i.jsx)(p.$,{size:"icon",variant:"ghost",className:"absolute right-1 top-1 h-7 w-7",onClick:()=>S(!m),children:m?(0,i.jsx)(y.A,{className:"h-4 w-4"}):(0,i.jsx)(b.A,{className:"h-4 w-4"})})]}),(0,i.jsx)(p.$,{onClick:O,disabled:E||!A,size:"sm",children:E?"Validating...":"Validate"}),null!==k&&(0,i.jsx)("div",{className:"flex items-center",children:k?(0,i.jsx)(f.A,{className:"h-5 w-5 text-green-500"}):(0,i.jsx)(v.A,{className:"h-5 w-5 text-red-500"})})]}),_.apiKeyHelpUrl&&(0,i.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Get your API key from"," ",(0,i.jsxs)("a",{href:_.apiKeyHelpUrl,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline inline-flex items-center gap-1",children:[_.name," ",(0,i.jsx)(w.A,{className:"h-3 w-3"})]})]}),_.isLocal&&!_.apiKeyRequired&&(0,i.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["API key is optional for ",_.name,". Only needed if you've configured authentication on your local server."]})]}),!_.apiKeyRequired&&_.isLocal&&(0,i.jsxs)("div",{className:"text-sm text-muted-foreground p-3 border rounded-md bg-muted/50",children:[(0,i.jsx)("p",{className:"font-medium mb-1",children:"Local Provider"}),(0,i.jsxs)("p",{children:["Make sure ",_.name," is running on your machine."]}),(0,i.jsxs)("p",{children:["Default endpoint: ",(0,i.jsx)("code",{className:"text-xs",children:_.baseUrl})]}),"lmstudio"===l&&(0,i.jsxs)("div",{className:"mt-2 text-xs",children:[(0,i.jsx)("p",{className:"font-medium",children:"For tool use support:"}),(0,i.jsx)("p",{children:"• Load a model like qwen/qwen3-4b-thinking-2507"}),(0,i.jsx)("p",{children:"• Start the local server in LM Studio"}),(0,i.jsx)("p",{children:"• Models will be automatically discovered"})]})]}),(0,i.jsxs)("div",{className:"space-y-3",children:[(0,i.jsx)(h.J,{className:"text-sm font-medium",children:"Code Mode Model"}),(0,i.jsx)(M,{provider:l,onChange:e=>{j||t?.(e)},className:"space-y-2"})]}),(0,i.jsxs)("div",{className:"flex items-start space-x-2 pt-2",children:[(0,i.jsx)(g,{id:"separate-chat-model",checked:j,onCheckedChange:e=>R(!0===e)}),(0,i.jsxs)("div",{className:"grid gap-1.5 leading-none",children:[(0,i.jsx)("label",{htmlFor:"separate-chat-model",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer",children:"Use different model for chat mode"}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground",children:"Select a separate (usually cheaper) model for chat/planning mode"})]})]}),j&&(0,i.jsxs)("div",{className:"space-y-3 pt-2",children:[(0,i.jsx)(h.J,{className:"text-sm font-medium",children:"Chat Mode Model"}),(0,i.jsx)(M,{provider:l,onChange:e=>{t?.(e)},className:"space-y-2"})]})]}),e&&(0,i.jsx)("div",{className:"flex justify-end pt-4 border-t",children:(0,i.jsx)(p.$,{onClick:e,size:"sm",children:"Done"})})]})}},10158:(e,t,s)=>{s.d(t,{OM:()=>n,sO:()=>r});let i={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function r(e){return i[e]}function n(){return Object.values(i)}},22106:(e,t,s)=>{s.d(t,{B:()=>n});var i=s(79170),r=s.n(i);class n{constructor(e,t,s,i){this.blobUrls=new Map,this.fileHashes=new Map,this.templateCache=new Map,this.partialsRegistered=!1,this.vfs=e,this.projectId=t,this.siteId=i,this.baseUrl="",s&&(this.blobUrls=new Map(s)),this.handlebars=r().create(),this.registerHelpers()}registerHelpers(){this.handlebars.registerHelper("eq",(e,t)=>e===t),this.handlebars.registerHelper("ne",(e,t)=>e!==t),this.handlebars.registerHelper("lt",(e,t)=>ee>t),this.handlebars.registerHelper("lte",(e,t)=>e<=t),this.handlebars.registerHelper("gte",(e,t)=>e>=t),this.handlebars.registerHelper("and",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.every(e=>e)}),this.handlebars.registerHelper("or",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.some(e=>e)}),this.handlebars.registerHelper("not",e=>!e),this.handlebars.registerHelper("add",(e,t)=>e+t),this.handlebars.registerHelper("subtract",(e,t)=>e-t),this.handlebars.registerHelper("multiply",(e,t)=>e*t),this.handlebars.registerHelper("divide",(e,t)=>e/t),this.handlebars.registerHelper("uppercase",e=>e?.toUpperCase()),this.handlebars.registerHelper("lowercase",e=>e?.toLowerCase()),this.handlebars.registerHelper("concat",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.join("")}),this.handlebars.registerHelper("json",e=>JSON.stringify(e,null,2)),this.handlebars.registerHelper("formatDate",e=>new Date(e).toLocaleDateString()),this.handlebars.registerHelper("limit",(e,t)=>e?.slice(0,t))}async registerPartials(){if(!this.partialsRegistered)try{for(let e of(await this.vfs.getAllFilesAndDirectories(this.projectId)).filter(e=>"content"in e&&e.path.startsWith("/templates/")&&(e.path.endsWith(".hbs")||e.path.endsWith(".handlebars")))){let t=e.content,s=e.path.replace(/^\/templates\//,"").replace(/\.hbs$/,"").replace(/\.handlebars$/,"");this.handlebars.registerPartial(s,t);let i=s.split("/").pop();if(i&&this.handlebars.registerPartial(i,t),s.includes("/")){let e=s.replace(/\//g,"-");this.handlebars.registerPartial(e,t)}}this.partialsRegistered=!0}catch(e){}}async compileTemplate(e,t={}){let s=this.templateCache.get(e);if(!s)try{let t=(await this.vfs.readFile(this.projectId,e)).content;s=this.handlebars.compile(t),this.templateCache.set(e,s)}catch(t){return console.error(`Failed to compile template ${e}:`,t),""}return s(t)}async compileProject(e=!1){await this.registerPartials();let t=await this.vfs.listDirectory(this.projectId,"/"),s=new Map(this.blobUrls),i=new Map,r=[];for(let n of t){let t;if("template"===n.type||"html"===n.type||"css"===n.type)continue;t="image"===n.type||"video"===n.type?{path:n.path,content:n.content,mimeType:n.mimeType}:"js"===n.type?await this.processJS(n):{path:n.path,content:n.content,mimeType:n.mimeType};let a=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===a&&s.has(t.path)){let e=s.get(t.path);i.set(t.path,e),t.blobUrl=e,s.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),s=URL.createObjectURL(e);i.set(t.path,s),t.blobUrl=s,this.fileHashes.set(t.path,a)}r.push(t)}for(let n of t){if("html"!==n.type)continue;let t=await this.processHTML(n,i),a=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===a&&s.has(t.path)){let e=s.get(t.path);i.set(t.path,e),t.blobUrl=e,s.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),s=URL.createObjectURL(e);i.set(t.path,s),t.blobUrl=s,this.fileHashes.set(t.path,a)}r.push(t)}let n=[...r];for(let r of t)if("css"===r.type){let t=await this.processCSS(r,i),a=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===a&&s.has(t.path)){let e=s.get(t.path);i.set(t.path,e),t.blobUrl=e,s.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),s=URL.createObjectURL(e);i.set(t.path,s),t.blobUrl=s,this.fileHashes.set(t.path,a)}n.push(t)}let a=this.generateRoutes(t);if(e)for(let[,e]of s)URL.revokeObjectURL(e);else e||this.cleanupBlobUrls();return this.blobUrls=i,{entryPoint:"/index.html",files:n,routes:a,blobUrls:this.blobUrls}}hashContent(e){let t=0;if(e instanceof ArrayBuffer){let s=new Uint8Array(e);for(let e=0;e // VFS Asset Interceptor - Auto-injected by OSW Studio (function() { const vfsBlobUrls = ${JSON.stringify(i)}; @@ -4150,7 +4150,7 @@ Project Structure: `),t.edgeFunctionCount>0&&(s+=`│ ├── edge-functions/ `),t.serverFunctionCount>0&&(s+=`│ ├── server-functions/ `),s+=`│ └── secrets/ -`),e)){let t=e.replace(/^Project Structure:\n/,"");s+=t}return s}},59821:(e,t,s)=>{s.d(t,{E:()=>o});var i=s(60687);s(43210);var r=s(24224),n=s(96241);let a=(0,r.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o({className:e,variant:t,...s}){return(0,i.jsx)("div",{className:(0,n.cn)(a({variant:t}),e),...s})}},63974:(e,t,s)=>{s.d(t,{TR:()=>m,bq:()=>u,eb:()=>f,gC:()=>h,l6:()=>c,s3:()=>d,yv:()=>p});var i=s(60687);s(43210);var r=s(72951),n=s(78272),a=s(13964),o=s(3589),l=s(96241);function c({...e}){return(0,i.jsx)(r.bL,{"data-slot":"select",...e})}function d({...e}){return(0,i.jsx)(r.YJ,{"data-slot":"select-group",...e})}function p({...e}){return(0,i.jsx)(r.WT,{"data-slot":"select-value",...e})}function u({className:e,size:t="default",children:s,...a}){return(0,i.jsxs)(r.l9,{"data-slot":"select-trigger","data-size":t,className:(0,l.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[s,(0,i.jsx)(r.In,{asChild:!0,children:(0,i.jsx)(n.A,{className:"size-4 opacity-50"})})]})}function h({className:e,children:t,position:s="popper",...n}){return(0,i.jsx)(r.ZL,{children:(0,i.jsxs)(r.UC,{"data-slot":"select-content",className:(0,l.cn)("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:s,...n,children:[(0,i.jsx)(g,{}),(0,i.jsx)(r.LM,{className:(0,l.cn)("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),(0,i.jsx)(y,{})]})})}function m({className:e,...t}){return(0,i.jsx)(r.JU,{"data-slot":"select-label",className:(0,l.cn)("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function f({className:e,children:t,...s}){return(0,i.jsxs)(r.q7,{"data-slot":"select-item",className:(0,l.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...s,children:[(0,i.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,i.jsx)(r.VF,{children:(0,i.jsx)(a.A,{className:"size-4"})})}),(0,i.jsx)(r.p4,{children:t})]})}function g({className:e,...t}){return(0,i.jsx)(r.PP,{"data-slot":"select-scroll-up-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,i.jsx)(o.A,{className:"size-4"})})}function y({className:e,...t}){return(0,i.jsx)(r.wn,{"data-slot":"select-scroll-down-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,i.jsx)(n.A,{className:"size-4"})})}},68269:(e,t,s)=>{s.d(t,{r8:()=>u,vfs:()=>h});var i=s(25495),r=s(94084),n=s.n(r),a=s(96241),o=s(24923),l=s(32623),c=s(22106),d=s(26091);class p{async init(){return new Promise((e,t)=>{let s=indexedDB.open("osw-studio-db",4);s.onerror=()=>t(s.error),s.onsuccess=()=>{this.db=s.result,e()},s.onupgradeneeded=e=>{let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}if(!t.objectStoreNames.contains("customTemplates")){let e=t.createObjectStore("customTemplates",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("importedAt","importedAt",{unique:!1})}if(!t.objectStoreNames.contains("skills")){let e=t.createObjectStore("skills",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!t.objectStoreNames.contains("debugEvents")){let e=t.createObjectStore("debugEvents",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}}})}async close(){this.db&&(this.db.close(),this.db=null)}getDB(){if(!this.db)throw Error("IndexedDB not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.add(e))}async getProject(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.get(e));return s?this.hydrateProject(s):null}async updateProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.put(e))}async deleteProject(e){let t=this.getDB();await this.deleteProjectFiles(e);let s=t.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(s.delete(e))}async listProjects(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.getAll()),i=s?.map(e=>this.hydrateProject(e))||[];return e&&e.length>0?i.map(t=>{let s={};return e.forEach(e=>{e in t&&(s[e]=t[e])}),s}):i}async createFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.add(e))}async getFile(e,t){let s=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(s.get([e,t]))||null}async updateFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.put(e))}async deleteFile(e,t){let s=await this.getFile(e,t);if(s){let e=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(e.delete(s.id))}}async listFiles(e){let t=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(t.getAll(e))||[]}async deleteProjectFiles(e){let t=await this.listFiles(e),s=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let e of t)await this.promisify(s.delete(e.id))}async createTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.add(e))}async getTreeNode(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(s.get([e,t]))||null}async updateTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.put(e))}async deleteTreeNode(e,t){let s=await this.getTreeNode(e,t);if(s){let e=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(e.delete(s.id))}}async getChildNodes(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(s.getAll(null===t?[e]:[e,t]))||[]}async getAllTreeNodes(e){let t=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(t.getAll(e))||[]}async saveCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.put(e))}async getCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),s=await this.promisify(t.get(e));return s?this.hydrateCustomTemplate(s):null}async getAllCustomTemplates(){let e=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(e.getAll())).map(e=>this.hydrateCustomTemplate(e))}async deleteCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.delete(e))}async createSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),s={...e,isBuiltIn:!1};await this.promisify(t.add(s))}async getSkill(e){let t=this.getDB().transaction(["skills"],"readonly").objectStore("skills"),s=await this.promisify(t.get(e));return s?this.hydrateSkill(s):null}async updateSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),s={...e,isBuiltIn:!1};await this.promisify(t.put(s))}async deleteSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills");await this.promisify(t.delete(e))}async getAllSkills(){let e=this.getDB().transaction(["skills"],"readonly").objectStore("skills");return(await this.promisify(e.getAll())).filter(e=>!e.isBuiltIn).map(e=>this.hydrateSkill(e))}promisify(e){return new Promise((t,s)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>s(e.error)})}hydrateProject(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date,lastSavedAt:e.lastSavedAt?new Date(e.lastSavedAt):null}}hydrateCustomTemplate(e){return{...e,importedAt:e.importedAt?new Date(e.importedAt):new Date}}hydrateSkill(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date}}constructor(){this.db=null}}class u{constructor(){this.initialized=!1,this.transientFiles=new Map,this.syncTimeouts=new Map,this.serverContextSiteId=null,this.serverContextMetadata=null,this.adapter=new p}async init(){this.initialized||(await this.adapter.init(),await this.mountTransientSkills(),this.initialized=!0)}getDatabase(){if(!(this.adapter instanceof p))throw Error("Direct database access only available with IndexedDBAdapter");return this.adapter.getDatabase()}async mountTransientSkills(){try{for(let e of(await d.skillsService.getEnabledSkills())){let t=`/.skills/${e.id}.md`,s={id:`transient-skill-${e.id}`,projectId:"transient",path:t,name:`${e.id}.md`,type:"text",content:e.content,mimeType:"text/markdown",size:new Blob([e.content]).size,createdAt:e.createdAt,updatedAt:e.updatedAt,metadata:{isTransient:!0,isBuiltIn:e.isBuiltIn}};this.transientFiles.set(t,s)}a.v.info(`[VFS] Mounted ${this.transientFiles.size} transient skill files`)}catch(e){a.v.error("[VFS] Failed to mount transient skills",e)}}isTransientPath(e){return e.startsWith("/.")}async reloadTransientSkills(){let e=new Map;for(let[t,s]of this.transientFiles)t.startsWith("/.server/")&&e.set(t,s);for(let[t,s]of(this.transientFiles.clear(),await this.mountTransientSkills(),e))this.transientFiles.set(t,s)}getServerContextSiteId(){return this.serverContextSiteId}hasServerContext(){return null!==this.serverContextSiteId}getServerContextMetadata(){return this.serverContextMetadata}async mountServerContext(e,t){try{this.unmountServerContext();let{getSQLiteAdapter:i}=await import("./adapters/server"),{generateEdgeFunctionFile:r,generateServerFunctionFile:n,generateSecretFile:o}=await s.e(7783).then(s.bind(s,47783)),l=i();await l.init();let c=l.getSiteDatabaseForAnalytics(e);if(!c)return void a.v.warn(`[VFS] Site database not available for ${e}`);let d=c.getSchemaForExport();this.mountTransientFile("/.server/db/schema.sql",d,!0);let p=c.listSecrets();for(let e of p)this.mountTransientFile(`/.server/secrets/${e.name}.json`,o(e),!1);let u=c.listFunctions();for(let e of u)this.mountTransientFile(`/.server/edge-functions/${e.name}.json`,r(e),!1);let h=c.listServerFunctions();for(let e of h)this.mountTransientFile(`/.server/server-functions/${e.name}.json`,n(e),!1);this.serverContextSiteId=e,this.serverContextMetadata={siteName:t,siteId:e,hasDatabase:!0,edgeFunctionCount:u.filter(e=>e.enabled).length,serverFunctionCount:h.filter(e=>e.enabled).length,secretCount:p.length},a.v.info(`[VFS] Mounted server context for site ${e} (${t})`)}catch(e){a.v.error("[VFS] Failed to mount server context",e)}}async fetchServerContextFromAPI(e,t){try{this.unmountServerContext();let s=await fetch(`/api/admin/sites/${e}/server-context`);if(!s.ok){let e=await s.json().catch(()=>({error:"Failed to fetch server context"}));throw Error(e.error||"Failed to fetch server context")}let i=await s.json();for(let e of i.files){let t={id:`transient-server-${e.path.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:e.path,name:e.path.split("/").pop()||"",type:"text",content:e.content,mimeType:e.path.endsWith(".sql")?"text/sql":e.path.endsWith(".json")?"application/json":e.path.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([e.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:e.isReadOnly}};this.transientFiles.set(e.path,t)}this.serverContextSiteId=e,this.serverContextMetadata=i.metadata,"undefined"!=typeof sessionStorage&&sessionStorage.setItem("vfs_serverContextSiteId",e),a.v.info(`[VFS] Mounted server context for site ${e} (${t}) via API`),window.dispatchEvent(new Event("filesChanged"))}catch(e){a.v.error("[VFS] Failed to fetch server context from API",e)}}unmountServerContext(){let e=[];for(let t of this.transientFiles.keys())t.startsWith("/.server/")&&(this.transientFiles.delete(t),e.push(t));this.serverContextSiteId&&(a.v.info(`[VFS] Unmounted server context (${e.length} files)`),this.serverContextSiteId=null,this.serverContextMetadata=null,"undefined"!=typeof sessionStorage&&sessionStorage.removeItem("vfs_serverContextSiteId"))}getTransientFilesInDirectory(e){let t=e.endsWith("/")?e:e+"/",s=[];for(let[e,i]of this.transientFiles)e.startsWith(t)&&s.push(i);return s}mountTransientFile(e,t,s=!0){let i={id:`transient-server-${e.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:e,name:e.split("/").pop()||"",type:"text",content:t,mimeType:e.endsWith(".sql")?"text/sql":e.endsWith(".json")?"application/json":e.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([t]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:s}};this.transientFiles.set(e,i)}async updateServerContextFile(e,t){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(a.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${e}`),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if("/.server/db/schema.sql"===e)throw Error(`Cannot modify ${e} - read-only file`);if(e.startsWith("/.server/secrets/")&&e.endsWith(".json"))return await this.updateSecretFromFile(e,t);if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json"))return await this.updateEdgeFunctionFromFile(e,t);if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json"))return await this.updateServerFunctionFromFile(e,t);throw Error(`Cannot modify ${e} - unrecognized server context path`)}async mutateServerContextViaAPI(e,t,s){if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");let i=await fetch(`/api/admin/sites/${this.serverContextSiteId}/server-context/mutate`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:e,path:t,content:s})}),r=await i.json();if(!r.success)throw Error(r.error||"Mutation failed");if("delete"===e)return this.transientFiles.delete(t),window.dispatchEvent(new Event("filesChanged")),{id:"deleted",projectId:"transient",path:t,name:t.split("/").pop()||"",type:"text",content:"",mimeType:"text/plain",size:0,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:!1}};if(r.file){let e=r.file.path;t!==e&&this.transientFiles.delete(t);let s={id:`transient-server-${e.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:e,name:e.split("/").pop()||"",type:"text",content:r.file.content,mimeType:e.endsWith(".json")?"application/json":e.endsWith(".sql")?"text/sql":"text/markdown",size:new Blob([r.file.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:r.file.isReadOnly}};return this.transientFiles.set(e,s),window.dispatchEvent(new Event("filesChanged")),s}throw Error("No file returned from mutation")}async updateEdgeFunctionFromFile(e,t){let i,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateEdgeFunctionData:n,generateEdgeFunctionFile:a}=await s.e(7783).then(s.bind(s,47783));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error(`Invalid JSON: ${e}`)}let o=n(i);if(!o.valid)throw Error(`Validation failed: ${o.errors.join("; ")}`);let l=i,c=r();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getFunctionByName(p);if(u){if(d.updateFunction(u.id,{name:l.name,code:l.code,method:l.method,description:l.description,enabled:l.enabled??!0,timeoutMs:l.timeoutMs??5e3}),l.name!==p){this.transientFiles.delete(e);let t=`/.server/edge-functions/${l.name}.json`,s=d.getFunctionByName(l.name);return this.mountTransientFile(t,a(s),!1),this.transientFiles.get(t)}}else d.createFunction({name:l.name,code:l.code,method:l.method,description:l.description,enabled:l.enabled??!0,timeoutMs:l.timeoutMs??5e3});let h=d.getFunctionByName(l.name);return this.mountTransientFile(e,a(h),!1),this.transientFiles.get(e)}async updateServerFunctionFromFile(e,t){let i,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateServerFunctionData:n,generateServerFunctionFile:a}=await s.e(7783).then(s.bind(s,47783));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error(`Invalid JSON: ${e}`)}let o=n(i);if(!o.valid)throw Error(`Validation failed: ${o.errors.join("; ")}`);let l=i,c=r();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getServerFunctionByName(p);if(u){if(d.updateServerFunction(u.id,{name:l.name,code:l.code,description:l.description,enabled:l.enabled??!0}),l.name!==p){this.transientFiles.delete(e);let t=`/.server/server-functions/${l.name}.json`,s=d.getServerFunctionByName(l.name);return this.mountTransientFile(t,a(s),!1),this.transientFiles.get(t)}}else d.createServerFunction({name:l.name,code:l.code,description:l.description,enabled:l.enabled??!0});let h=d.getServerFunctionByName(l.name);return this.mountTransientFile(e,a(h),!1),this.transientFiles.get(e)}async updateSecretFromFile(e,t){let i,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateSecretData:n,generateSecretFile:a}=await s.e(7783).then(s.bind(s,47783));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error(`Invalid JSON: ${e}`)}let o=n(i);if(!o.valid)throw Error(`Validation failed: ${o.errors.join("; ")}`);let l=i,c=r();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getSecretByName(p);if(u){if(d.updateSecretMetadata(u.id,{name:l.name,description:l.description||""}),l.name!==p){this.transientFiles.delete(e);let t=`/.server/secrets/${l.name}.json`,s=d.getSecretByName(l.name);return this.mountTransientFile(t,a(s),!1),this.transientFiles.get(t)}}else d.createSecretPlaceholder(l.name,l.description||"");let h=d.getSecretByName(l.name);return this.mountTransientFile(e,a(h),!1),this.transientFiles.get(e)}async createServerContextFile(e,t){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(a.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${e}`),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if(this.transientFiles.has(e))throw Error(`File already exists: ${e}`);if(e.startsWith("/.server/secrets/")&&e.endsWith(".json"))return await this.updateSecretFromFile(e,t);if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json"))return await this.updateEdgeFunctionFromFile(e,t);if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json"))return await this.updateServerFunctionFromFile(e,t);throw Error(`Cannot create ${e} - only secrets, edge functions, and server functions (.json) can be created`)}async deleteServerContextFile(e){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(a.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${e}`),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected");if("/.server/db/schema.sql"===e)throw Error(`Cannot delete ${e} - read-only file`);if(e.startsWith("/.server/secrets/")&&e.endsWith(".json")){let{getSQLiteAdapter:t}=await import("./adapters/server"),s=t();await s.init();let i=s.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!i)throw Error("Site database not available");let r=e.split("/").pop().replace(".json",""),n=i.getSecretByName(r);if(!n)throw Error(`Secret not found: ${r}`);i.deleteSecret(n.id),this.transientFiles.delete(e);return}if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json")){let{getSQLiteAdapter:t}=await import("./adapters/server"),s=t();await s.init();let i=s.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!i)throw Error("Site database not available");let r=e.split("/").pop().replace(".json",""),n=i.getFunctionByName(r);if(!n)throw Error(`Edge function not found: ${r}`);i.deleteFunction(n.id),this.transientFiles.delete(e);return}if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json")){let{getSQLiteAdapter:t}=await import("./adapters/server"),s=t();await s.init();let i=s.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!i)throw Error("Site database not available");let r=e.split("/").pop().replace(".json",""),n=i.getServerFunctionByName(r);if(!n)throw Error(`Server function not found: ${r}`);i.deleteServerFunction(n.id),this.transientFiles.delete(e);return}throw Error(`Cannot delete ${e} - read-only file`)}ensureInitialized(){if(!this.initialized)throw Error("VirtualFileSystem not initialized. Call init() first.")}triggerAutoSync(e){}clearSyncTimeout(e){let t=this.syncTimeouts.get(e);t&&(clearTimeout(t),this.syncTimeouts.delete(e),a.v.debug(`[VFS] Cleared sync timeout for project ${e}`))}async createFile(e,t,s){this.ensureInitialized();try{if((t=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim()).startsWith("/.server/"))return await this.createServerContextFile(t,s);if(await this.adapter.getFile(e,t))throw a.v.error("VFS: File already exists",{projectId:e,path:t}),Error(`File already exists: ${t}`);if(!(0,o.fu)(t))throw Error(`Unsupported file type: ${t}`);let r=(0,o.Gr)(t),n=s instanceof ArrayBuffer?s.byteLength:new Blob([s]).size,c=o.Q6[r];if(n>c)throw Error(`File too large. Maximum size for ${r} files is ${Math.round(c/1024/1024)}MB`);let d={id:(0,i.A)(),projectId:e,path:t,name:t.split("/").pop()||"",type:r,content:s,mimeType:(0,o.N$)(t),size:n,createdAt:new Date,updatedAt:new Date,metadata:{isEntry:"/index.html"===t}};return await this.adapter.createFile(d),await this.updateFileTree(e,t,"create"),l.$.markDirty(e),d}catch(e){throw e}}async readFile(e,t){if(this.ensureInitialized(),!e||"string"!=typeof e)throw a.v.error("VFS: Invalid projectId for readFile",{projectId:e,path:t}),Error("Invalid projectId provided");if(!t||"string"!=typeof t)throw a.v.error("VFS: Invalid path for readFile",{projectId:e,path:t}),Error("Invalid file path provided");let s=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(!s)throw a.v.error("VFS: Empty path after cleaning for readFile",{projectId:e,originalPath:t,cleanPath:s}),Error("Empty file path after cleaning");if(this.isTransientPath(s)){let e=this.transientFiles.get(s);if(e)return e;throw Error(`Transient file not found: ${s}`)}let i=await this.adapter.getFile(e,s);if(!i)throw a.v.error("VFS: File not found for read",{projectId:e,path:s,originalPath:t}),Error(`File not found: ${s}`);return i}async fileExists(e,t){this.ensureInitialized();try{if(this.isTransientPath(t))return this.transientFiles.has(t);return!!await this.adapter.getFile(e,t)}catch{return!1}}async updateFile(e,t,s){this.ensureInitialized();try{let i=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(i.includes("\n")||i.includes("@@")||i.includes("\\n")||i.length>200)throw a.v.error("VFS: Invalid path detected",{projectId:e,path:t.slice(0,100)+"..."}),Error(`Invalid file path: ${t.slice(0,50)}...`);if((t=i).startsWith("/.server/"))return await this.updateServerContextFile(t,s);let r=await this.adapter.getFile(e,t);if(!r)throw a.v.error("VFS: File not found for update",{projectId:e,path:t}),Error(`File not found: ${t}`);return r.content=s,r.size=s instanceof ArrayBuffer?s.byteLength:new Blob([s]).size,r.updatedAt=new Date,await this.adapter.updateFile(r),l.$.markDirty(e),r}catch(e){throw e}}async patchFile(e,t,s){this.ensureInitialized();let i=(await this.readFile(e,t)).content;for(let e of s){if(!i.includes(e.search))throw a.v.error("VFS: Pattern not found in file",{path:t,searchPattern:e.search.substring(0,100),contentSnippet:i.substring(0,300)}),Error(`Pattern not found in file: ${e.search.substring(0,50)}...`);i=i.replace(e.search,e.replace)}return await this.updateFile(e,t,i)}async deleteFile(e,t){this.ensureInitialized();try{await this.adapter.deleteFile(e,t),await this.updateFileTree(e,t,"delete"),l.$.markDirty(e)}catch(e){throw e}}async renameFile(e,t,s){this.ensureInitialized();let i=await this.readFile(e,t);return await this.deleteFile(e,t),await this.createFile(e,s,i.content)}async createDirectory(e,t){if(this.ensureInitialized(),await this.adapter.getTreeNode(e,t))return;let s=t.split("/").pop()||t,r={id:(0,i.A)(),projectId:e,path:t,name:s,type:"directory",parentPath:this.getParentPath(t),children:[]};await this.adapter.createTreeNode(r),l.$.markDirty(e)}async listDirectory(e,t,s){let i;this.ensureInitialized();let r=await this.adapter.listFiles(e);if(i="/"===t?r:r.filter(e=>{let s=e.path,i=t.endsWith("/")?t:t+"/";return s.startsWith(i)&&-1===s.slice(i.length).indexOf("/")}),s?.includeTransient){let e=Array.from(this.transientFiles.values());if("/"===t)i=[...i,...e];else{let s=t.endsWith("/")?t:t+"/";i=[...i,...e.filter(e=>e.path.startsWith(s)&&-1===e.path.slice(s.length).indexOf("/"))]}}return i}async getAllFilesAndDirectories(e,t){this.ensureInitialized();let s=[...await this.adapter.listFiles(e),...(await this.adapter.getAllTreeNodes(e)).filter(e=>"directory"===e.type).map(e=>({path:e.path,name:e.path.split("/").filter(Boolean).pop()||e.path,type:"directory"}))];return t?.includeTransient&&(s=[...s,...Array.from(this.transientFiles.values())]),s}async deleteDirectory(e,t){this.ensureInitialized();let s=await this.adapter.listFiles(e),i=t.endsWith("/")?t:t+"/";for(let t of s)t.path.startsWith(i)&&await this.deleteFile(e,t.path);await this.adapter.deleteTreeNode(e,t),l.$.markDirty(e)}async renameDirectory(e,t,s){this.ensureInitialized();let r=await this.adapter.getTreeNode(e,t);if(r){await this.adapter.deleteTreeNode(e,t);let n={id:(0,i.A)(),projectId:e,path:s,name:s.split("/").pop()||s,type:"directory",parentPath:this.getParentPath(s),children:r.children};await this.adapter.createTreeNode(n),l.$.markDirty(e)}let n=t.endsWith("/")?t:t+"/",a=s.endsWith("/")?s:s+"/";for(let t of(await this.adapter.listFiles(e)).filter(e=>e.path.startsWith(n))){let s=a+t.path.substring(n.length);await this.renameFile(e,t.path,s)}for(let s of(await this.adapter.getAllTreeNodes(e)).filter(e=>"directory"===e.type&&e.path.startsWith(n)&&e.path!==t)){let t=a+s.path.substring(n.length);await this.adapter.deleteTreeNode(e,s.path);let r={id:(0,i.A)(),projectId:e,path:t,name:t.split("/").pop()||t,type:"directory",parentPath:this.getParentPath(t),children:s.children};await this.adapter.createTreeNode(r)}}async moveFile(e,t,s){if(this.ensureInitialized(),await this.adapter.getFile(e,s))throw Error(`File already exists at destination: ${s}`);let i=await this.readFile(e,t),r=await this.createFile(e,s,i.content);return await this.deleteFile(e,t),r}async moveDirectory(e,t,s){this.ensureInitialized();let i=s.endsWith("/")?s:s+"/",r=t.endsWith("/")?t:t+"/";if(i.startsWith(r))throw Error("Cannot move a directory into itself");await this.renameDirectory(e,t,s)}async createProject(e,t){this.ensureInitialized();try{let s={id:(0,i.A)(),name:e,description:t,createdAt:new Date,updatedAt:new Date,settings:{},lastSavedCheckpointId:null,lastSavedAt:null,costTracking:{totalCost:0,providerBreakdown:{},sessionHistory:[]}};await this.adapter.createProject(s);let r={id:(0,i.A)(),projectId:s.id,path:"/",name:"/",type:"directory",parentPath:null,children:[]};return await this.adapter.createTreeNode(r),s}catch(e){throw e}}async getProject(e){this.ensureInitialized();let t=await this.adapter.getProject(e);if(!t)throw Error(`Project not found: ${e}`);return t}async updateProject(e,t=!1){this.ensureInitialized(),e.updatedAt=new Date,await this.adapter.updateProject(e)}async updateProjectCost(e,t){this.ensureInitialized();let s=await this.getProject(e);if(!s)throw Error(`Project not found: ${e}`);s.costTracking||(s.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),s.costTracking.totalCost+=t.cost,s.costTracking.providerBreakdown[t.provider]||(s.costTracking.providerBreakdown[t.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let i=s.costTracking.providerBreakdown[t.provider];i.totalCost+=t.cost,"delta"!==t.mode&&(i.requestCount+=1),i.lastUpdated=new Date,t.tokenUsage&&(i.tokenUsage.input+=t.tokenUsage.input,i.tokenUsage.output+=t.tokenUsage.output),t.sessionId&&"delta"!==t.mode&&(s.costTracking.sessionHistory||(s.costTracking.sessionHistory=[]),s.costTracking.sessionHistory.push({sessionId:t.sessionId,cost:t.cost,provider:t.provider,timestamp:new Date,tokenUsage:t.tokenUsage}),s.costTracking.sessionHistory.length>100&&(s.costTracking.sessionHistory=s.costTracking.sessionHistory.slice(-100))),await this.updateProject(s)}async applyProjectCostDelta(e,t){this.ensureInitialized();let s=await this.getProject(e);if(!s)throw Error(`Project not found: ${e}`);s.costTracking||(s.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),s.costTracking.totalCost+=t.costDelta,s.costTracking.providerBreakdown[t.provider]||(s.costTracking.providerBreakdown[t.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let i=s.costTracking.providerBreakdown[t.provider];i.totalCost+=t.costDelta,i.lastUpdated=new Date,t.tokenUsageDelta&&(i.tokenUsage.input+=t.tokenUsageDelta.input,i.tokenUsage.output+=t.tokenUsageDelta.output),t.sessionId&&(s.costTracking.sessionHistory||(s.costTracking.sessionHistory=[]),s.costTracking.sessionHistory.push({sessionId:t.sessionId,cost:t.costDelta,provider:t.provider,timestamp:new Date,tokenUsage:t.tokenUsageDelta,correction:!0}),s.costTracking.sessionHistory.length>100&&(s.costTracking.sessionHistory=s.costTracking.sessionHistory.slice(-100))),await this.updateProject(s)}async deleteProject(e){this.ensureInitialized(),await this.adapter.deleteProject(e)}async listProjects(){return this.ensureInitialized(),await this.adapter.listProjects()}async listFiles(e){return this.ensureInitialized(),await this.adapter.listFiles(e)}async getFileTree(e){return this.ensureInitialized(),await this.adapter.getTreeNode(e,"/")}async searchFiles(e,t,s){this.ensureInitialized();let i=await this.adapter.listFiles(e),{regex:r=!1,fileType:n,limit:a=20,searchIn:o="both"}=s||{},l=i;if(n){let e=n.startsWith(".")?n:`.${n}`;l=i.filter(t=>t.path.endsWith(e))}let c=r?e=>{try{return RegExp(t,"i").test(e)}catch{return e.toLowerCase().includes(t.toLowerCase())}}:e=>e.toLowerCase().includes(t.toLowerCase());return l.filter(e=>"filename"===o?c(e.name)||c(e.path):"content"===o?"string"==typeof e.content&&c(e.content):c(e.name)||c(e.path)||"string"==typeof e.content&&c(e.content)).slice(0,a)}async findReferences(e,t,s="any"){this.ensureInitialized();let i=await this.adapter.listFiles(e),r=[],n=[];switch(s){case"class":n.push(RegExp(`class=["'][^"']*\\b${t}\\b[^"']*["']`,"gi")),n.push(RegExp(`\\.${t}\\b`,"g")),n.push(RegExp(`classList\\.(add|remove|toggle|contains)\\(['"\`]${t}['"\`]`,"g"));break;case"id":n.push(RegExp(`id=["']${t}["']`,"gi")),n.push(RegExp(`#${t}\\b`,"g")),n.push(RegExp(`getElementById\\(['"\`]${t}['"\`]`,"g")),n.push(RegExp(`querySelector\\(['"\`]#${t}['"\`]`,"g"));break;case"function":n.push(RegExp(`function\\s+${t}\\s*\\(`,"g")),n.push(RegExp(`(?:const|let|var)\\s+${t}\\s*=\\s*(?:\\([^)]*\\)|[^=])\\s*=>`,"g")),n.push(RegExp(`${t}\\s*\\(`,"g"));break;case"variable":n.push(RegExp(`(?:const|let|var)\\s+${t}\\b`,"g")),n.push(RegExp(`\\b${t}\\b`,"g"));break;default:n.push(RegExp(`\\b${t}\\b`,"gi"))}for(let e of i){if("string"!=typeof e.content)continue;let t=[];e.content.split("\n").forEach((e,s)=>{for(let i of n)if(i.test(e)){t.push({line:s+1,text:e.trim()});break}}),t.length>0&&r.push({file:e,matches:t})}return r}async getFileStats(e,t){this.ensureInitialized();let s=await this.adapter.getFile(e,t);if(!s)throw Error(`File not found: ${t}`);let i=("string"==typeof s.content?s.content:"").split("\n");return{path:s.path,size:s.size,lines:i.length,type:s.type,preview:i.slice(0,10),lastModified:s.updatedAt}}async getProjectSize(e){return this.ensureInitialized(),(await this.adapter.listFiles(e)).reduce((e,t)=>e+t.size,0)}async getProjectStats(e){let t;this.ensureInitialized();let s=await this.adapter.listFiles(e),i=0,r={};for(let e of s){i+=e.size;let t=e.path.split(".").pop()?.toUpperCase()||"OTHER";r[t]=(r[t]||0)+1}return t=i<1024?`${i} B`:i<1048576?`${(i/1024).toFixed(1)} KB`:`${(i/1048576).toFixed(2)} MB`,{fileCount:s.length,totalSize:i,fileTypes:r,formattedSize:t}}async exportProject(e){return this.ensureInitialized(),{project:await this.getProject(e),files:await this.adapter.listFiles(e)}}async exportProjectAsZip(e){this.ensureInitialized();let t=new(n());try{let s=new c.B(this,e);for(let e of(await s.compileProject()).files){let s=e.path.startsWith("/")?e.path.slice(1):e.path;this.shouldExcludeFromExport(e.path)||(e.content,t.file(s,e.content))}s.cleanupBlobUrls()}catch(s){for(let i of(a.v.warn("Failed to compile Handlebars templates during export, falling back to raw files:",s),await this.adapter.listFiles(e))){let e=i.path.startsWith("/")?i.path.slice(1):i.path;this.shouldExcludeFromExport(i.path)||(i.content,t.file(e,i.content))}}return await t.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}})}shouldExcludeFromExport(e){return!!(e.endsWith(".hbs")||e.endsWith(".handlebars")||e.startsWith("/templates/"))||"/data.json"===e}async duplicateProject(e){this.ensureInitialized();let t=await this.getProject(e),s=await this.adapter.listFiles(e),i=`${t.name} (Copy)`.slice(0,50),r=await this.createProject(i,t.description);return await l.$.runWithSuppressedDirty(r.id,async()=>{for(let e of s)await this.createFile(r.id,e.path,e.content)}),r}async importProject(e){this.ensureInitialized();let t=await this.createProject(e.project.name,e.project.description);return await l.$.runWithSuppressedDirty(t.id,async()=>{for(let s of e.files)await this.createFile(t.id,s.path,s.content)}),t}getParentPath(e){if("/"===e)return null;let t=e.split("/").filter(Boolean);return 1===t.length?"/":(t.pop(),"/"+t.join("/"))}async updateFileTree(e,t,s){let i=this.getParentPath(t);if(null===i)return;let r=await this.adapter.getTreeNode(e,i);if(r||"create"!==s||(await this.createDirectory(e,i),r=await this.adapter.getTreeNode(e,i)),r){let e=r.children||[];if("create"!==s||e.includes(t)){if("delete"===s){let s=e.indexOf(t);s>-1&&e.splice(s,1)}}else e.push(t);r.children=e,await this.adapter.updateTreeNode(r)}}}let h=new u},68988:(e,t,s)=>{s.d(t,{p:()=>n});var i=s(60687);s(43210);var r=s(96241);function n({className:e,type:t,...s}){return(0,i.jsx)("input",{type:t,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex 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",e),...s})}},80262:(e,t,s)=>{s.d(t,{$7:()=>n,In:()=>a,N1:()=>r});let i=/^---\s*\n([\s\S]*?)\n---\s*\n([\s\S]*)$/;function r(e){let t=e.match(i);if(!t)throw Error("Invalid SKILL.md format: Missing YAML frontmatter");let[,s,r]=t;try{let e=function(e){let t=e.split("\n"),s={};for(let e of t){let t=e.trim();if(!t||t.startsWith("#"))continue;let i=t.indexOf(":");if(-1===i)continue;let r=t.slice(0,i).trim(),n=t.slice(i+1).trim();(n.startsWith('"')&&n.endsWith('"')||n.startsWith("'")&&n.endsWith("'"))&&(n=n.slice(1,-1)),"true"===n?n=!0:"false"===n?n=!1:isNaN(Number(n))||""===n||(n=Number(n)),s[r]=n}return s}(s);return function(e){if(!e.name||"string"!=typeof e.name)throw Error('Missing or invalid "name" field in frontmatter');if(!e.description||"string"!=typeof e.description)throw Error('Missing or invalid "description" field in frontmatter');if(!/^[a-z0-9-]+$/.test(e.name))throw Error('Skill name must be lowercase with hyphens only (e.g., "my-skill-name")');if(e.description.length>500)throw Error("Description must be 500 characters or less")}(e),{frontmatter:e,markdown:r.trim()}}catch(e){throw Error(`Failed to parse SKILL.md: ${e instanceof Error?e.message:"Unknown error"}`)}}function n(e,t){let s=[];for(let[t,i]of Object.entries(e))null!=i&&("string"==typeof i&&(i.includes(":")||i.includes("\n"))?s.push(`${t}: "${i}"`):s.push(`${t}: ${i}`));return`--- +`),e)){let t=e.replace(/^Project Structure:\n/,"");s+=t}return s}},59821:(e,t,s)=>{s.d(t,{E:()=>o});var i=s(60687);s(43210);var r=s(24224),n=s(96241);let a=(0,r.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o({className:e,variant:t,...s}){return(0,i.jsx)("div",{className:(0,n.cn)(a({variant:t}),e),...s})}},63974:(e,t,s)=>{s.d(t,{TR:()=>m,bq:()=>u,eb:()=>f,gC:()=>h,l6:()=>c,s3:()=>d,yv:()=>p});var i=s(60687);s(43210);var r=s(72951),n=s(78272),a=s(13964),o=s(3589),l=s(96241);function c({...e}){return(0,i.jsx)(r.bL,{"data-slot":"select",...e})}function d({...e}){return(0,i.jsx)(r.YJ,{"data-slot":"select-group",...e})}function p({...e}){return(0,i.jsx)(r.WT,{"data-slot":"select-value",...e})}function u({className:e,size:t="default",children:s,...a}){return(0,i.jsxs)(r.l9,{"data-slot":"select-trigger","data-size":t,className:(0,l.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[s,(0,i.jsx)(r.In,{asChild:!0,children:(0,i.jsx)(n.A,{className:"size-4 opacity-50"})})]})}function h({className:e,children:t,position:s="popper",...n}){return(0,i.jsx)(r.ZL,{children:(0,i.jsxs)(r.UC,{"data-slot":"select-content",className:(0,l.cn)("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:s,...n,children:[(0,i.jsx)(g,{}),(0,i.jsx)(r.LM,{className:(0,l.cn)("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),(0,i.jsx)(y,{})]})})}function m({className:e,...t}){return(0,i.jsx)(r.JU,{"data-slot":"select-label",className:(0,l.cn)("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function f({className:e,children:t,...s}){return(0,i.jsxs)(r.q7,{"data-slot":"select-item",className:(0,l.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...s,children:[(0,i.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,i.jsx)(r.VF,{children:(0,i.jsx)(a.A,{className:"size-4"})})}),(0,i.jsx)(r.p4,{children:t})]})}function g({className:e,...t}){return(0,i.jsx)(r.PP,{"data-slot":"select-scroll-up-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,i.jsx)(o.A,{className:"size-4"})})}function y({className:e,...t}){return(0,i.jsx)(r.wn,{"data-slot":"select-scroll-down-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,i.jsx)(n.A,{className:"size-4"})})}},68269:(e,t,s)=>{s.d(t,{r8:()=>u,vfs:()=>h});var i=s(25495),r=s(94084),n=s.n(r),a=s(96241),o=s(24923),l=s(32623),c=s(22106),d=s(26091);class p{async init(){return new Promise((e,t)=>{let s=indexedDB.open("osw-studio-db",4);s.onerror=()=>t(s.error),s.onsuccess=()=>{this.db=s.result,e()},s.onupgradeneeded=e=>{let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}if(!t.objectStoreNames.contains("customTemplates")){let e=t.createObjectStore("customTemplates",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("importedAt","importedAt",{unique:!1})}if(!t.objectStoreNames.contains("skills")){let e=t.createObjectStore("skills",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!t.objectStoreNames.contains("debugEvents")){let e=t.createObjectStore("debugEvents",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}}})}async close(){this.db&&(this.db.close(),this.db=null)}getDB(){if(!this.db)throw Error("IndexedDB not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.add(e))}async getProject(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.get(e));return s?this.hydrateProject(s):null}async updateProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.put(e))}async deleteProject(e){let t=this.getDB();await this.deleteProjectFiles(e);let s=t.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(s.delete(e))}async listProjects(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.getAll()),i=s?.map(e=>this.hydrateProject(e))||[];return e&&e.length>0?i.map(t=>{let s={};return e.forEach(e=>{e in t&&(s[e]=t[e])}),s}):i}async createFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.add(e))}async getFile(e,t){let s=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(s.get([e,t]))||null}async updateFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.put(e))}async deleteFile(e,t){let s=await this.getFile(e,t);if(s){let e=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(e.delete(s.id))}}async listFiles(e){let t=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(t.getAll(e))||[]}async deleteProjectFiles(e){let t=await this.listFiles(e),s=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let e of t)await this.promisify(s.delete(e.id))}async createTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.add(e))}async getTreeNode(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(s.get([e,t]))||null}async updateTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.put(e))}async deleteTreeNode(e,t){let s=await this.getTreeNode(e,t);if(s){let e=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(e.delete(s.id))}}async getChildNodes(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(s.getAll(null===t?[e]:[e,t]))||[]}async getAllTreeNodes(e){let t=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(t.getAll(e))||[]}async saveCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.put(e))}async getCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),s=await this.promisify(t.get(e));return s?this.hydrateCustomTemplate(s):null}async getAllCustomTemplates(){let e=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(e.getAll())).map(e=>this.hydrateCustomTemplate(e))}async deleteCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.delete(e))}async createSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),s={...e,isBuiltIn:!1};await this.promisify(t.add(s))}async getSkill(e){let t=this.getDB().transaction(["skills"],"readonly").objectStore("skills"),s=await this.promisify(t.get(e));return s?this.hydrateSkill(s):null}async updateSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),s={...e,isBuiltIn:!1};await this.promisify(t.put(s))}async deleteSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills");await this.promisify(t.delete(e))}async getAllSkills(){let e=this.getDB().transaction(["skills"],"readonly").objectStore("skills");return(await this.promisify(e.getAll())).filter(e=>!e.isBuiltIn).map(e=>this.hydrateSkill(e))}promisify(e){return new Promise((t,s)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>s(e.error)})}hydrateProject(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date,lastSavedAt:e.lastSavedAt?new Date(e.lastSavedAt):null}}hydrateCustomTemplate(e){return{...e,importedAt:e.importedAt?new Date(e.importedAt):new Date}}hydrateSkill(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date}}constructor(){this.db=null}}class u{constructor(){this.initialized=!1,this.transientFiles=new Map,this.syncTimeouts=new Map,this.serverContextSiteId=null,this.serverContextMetadata=null,this.adapter=new p}async init(){this.initialized||(await this.adapter.init(),await this.mountTransientSkills(),this.initialized=!0)}getDatabase(){if(!(this.adapter instanceof p))throw Error("Direct database access only available with IndexedDBAdapter");return this.adapter.getDatabase()}async mountTransientSkills(){try{for(let e of(await d.skillsService.getEnabledSkills())){let t=`/.skills/${e.id}.md`,s={id:`transient-skill-${e.id}`,projectId:"transient",path:t,name:`${e.id}.md`,type:"text",content:e.content,mimeType:"text/markdown",size:new Blob([e.content]).size,createdAt:e.createdAt,updatedAt:e.updatedAt,metadata:{isTransient:!0,isBuiltIn:e.isBuiltIn}};this.transientFiles.set(t,s)}a.v.info(`[VFS] Mounted ${this.transientFiles.size} transient skill files`)}catch(e){a.v.error("[VFS] Failed to mount transient skills",e)}}isTransientPath(e){return e.startsWith("/.")}async reloadTransientSkills(){let e=new Map;for(let[t,s]of this.transientFiles)t.startsWith("/.server/")&&e.set(t,s);for(let[t,s]of(this.transientFiles.clear(),await this.mountTransientSkills(),e))this.transientFiles.set(t,s)}getServerContextSiteId(){return this.serverContextSiteId}hasServerContext(){return null!==this.serverContextSiteId}getServerContextMetadata(){return this.serverContextMetadata}async mountServerContext(e,t){a.v.warn("[VFS] Server context only available in Server Mode")}async fetchServerContextFromAPI(e,t){try{this.unmountServerContext();let s=await fetch(`/api/admin/sites/${e}/server-context`);if(!s.ok){let e=await s.json().catch(()=>({error:"Failed to fetch server context"}));throw Error(e.error||"Failed to fetch server context")}let i=await s.json();for(let e of i.files){let t={id:`transient-server-${e.path.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:e.path,name:e.path.split("/").pop()||"",type:"text",content:e.content,mimeType:e.path.endsWith(".sql")?"text/sql":e.path.endsWith(".json")?"application/json":e.path.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([e.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:e.isReadOnly}};this.transientFiles.set(e.path,t)}this.serverContextSiteId=e,this.serverContextMetadata=i.metadata,"undefined"!=typeof sessionStorage&&sessionStorage.setItem("vfs_serverContextSiteId",e),a.v.info(`[VFS] Mounted server context for site ${e} (${t}) via API`),window.dispatchEvent(new Event("filesChanged"))}catch(e){a.v.error("[VFS] Failed to fetch server context from API",e)}}unmountServerContext(){let e=[];for(let t of this.transientFiles.keys())t.startsWith("/.server/")&&(this.transientFiles.delete(t),e.push(t));this.serverContextSiteId&&(a.v.info(`[VFS] Unmounted server context (${e.length} files)`),this.serverContextSiteId=null,this.serverContextMetadata=null,"undefined"!=typeof sessionStorage&&sessionStorage.removeItem("vfs_serverContextSiteId"))}getTransientFilesInDirectory(e){let t=e.endsWith("/")?e:e+"/",s=[];for(let[e,i]of this.transientFiles)e.startsWith(t)&&s.push(i);return s}mountTransientFile(e,t,s=!0){let i={id:`transient-server-${e.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:e,name:e.split("/").pop()||"",type:"text",content:t,mimeType:e.endsWith(".sql")?"text/sql":e.endsWith(".json")?"application/json":e.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([t]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:s}};this.transientFiles.set(e,i)}async updateServerContextFile(e,t){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(a.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${e}`),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if("/.server/db/schema.sql"===e)throw Error(`Cannot modify ${e} - read-only file`);if(e.startsWith("/.server/secrets/")&&e.endsWith(".json"))return await this.updateSecretFromFile(e,t);if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json"))return await this.updateEdgeFunctionFromFile(e,t);if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json"))return await this.updateServerFunctionFromFile(e,t);throw Error(`Cannot modify ${e} - unrecognized server context path`)}async mutateServerContextViaAPI(e,t,s){if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");let i=await fetch(`/api/admin/sites/${this.serverContextSiteId}/server-context/mutate`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:e,path:t,content:s})}),r=await i.json();if(!r.success)throw Error(r.error||"Mutation failed");if("delete"===e)return this.transientFiles.delete(t),window.dispatchEvent(new Event("filesChanged")),{id:"deleted",projectId:"transient",path:t,name:t.split("/").pop()||"",type:"text",content:"",mimeType:"text/plain",size:0,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:!1}};if(r.file){let e=r.file.path;t!==e&&this.transientFiles.delete(t);let s={id:`transient-server-${e.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:e,name:e.split("/").pop()||"",type:"text",content:r.file.content,mimeType:e.endsWith(".json")?"application/json":e.endsWith(".sql")?"text/sql":"text/markdown",size:new Blob([r.file.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:r.file.isReadOnly}};return this.transientFiles.set(e,s),window.dispatchEvent(new Event("filesChanged")),s}throw Error("No file returned from mutation")}async updateEdgeFunctionFromFile(e,t){let i,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateEdgeFunctionData:n,generateEdgeFunctionFile:a}=await s.e(7783).then(s.bind(s,47783));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error(`Invalid JSON: ${e}`)}let o=n(i);if(!o.valid)throw Error(`Validation failed: ${o.errors.join("; ")}`);let l=i,c=r();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getFunctionByName(p);if(u){if(d.updateFunction(u.id,{name:l.name,code:l.code,method:l.method,description:l.description,enabled:l.enabled??!0,timeoutMs:l.timeoutMs??5e3}),l.name!==p){this.transientFiles.delete(e);let t=`/.server/edge-functions/${l.name}.json`,s=d.getFunctionByName(l.name);return this.mountTransientFile(t,a(s),!1),this.transientFiles.get(t)}}else d.createFunction({name:l.name,code:l.code,method:l.method,description:l.description,enabled:l.enabled??!0,timeoutMs:l.timeoutMs??5e3});let h=d.getFunctionByName(l.name);return this.mountTransientFile(e,a(h),!1),this.transientFiles.get(e)}async updateServerFunctionFromFile(e,t){let i,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateServerFunctionData:n,generateServerFunctionFile:a}=await s.e(7783).then(s.bind(s,47783));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error(`Invalid JSON: ${e}`)}let o=n(i);if(!o.valid)throw Error(`Validation failed: ${o.errors.join("; ")}`);let l=i,c=r();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getServerFunctionByName(p);if(u){if(d.updateServerFunction(u.id,{name:l.name,code:l.code,description:l.description,enabled:l.enabled??!0}),l.name!==p){this.transientFiles.delete(e);let t=`/.server/server-functions/${l.name}.json`,s=d.getServerFunctionByName(l.name);return this.mountTransientFile(t,a(s),!1),this.transientFiles.get(t)}}else d.createServerFunction({name:l.name,code:l.code,description:l.description,enabled:l.enabled??!0});let h=d.getServerFunctionByName(l.name);return this.mountTransientFile(e,a(h),!1),this.transientFiles.get(e)}async updateSecretFromFile(e,t){let i,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateSecretData:n,generateSecretFile:a}=await s.e(7783).then(s.bind(s,47783));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error(`Invalid JSON: ${e}`)}let o=n(i);if(!o.valid)throw Error(`Validation failed: ${o.errors.join("; ")}`);let l=i,c=r();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getSecretByName(p);if(u){if(d.updateSecretMetadata(u.id,{name:l.name,description:l.description||""}),l.name!==p){this.transientFiles.delete(e);let t=`/.server/secrets/${l.name}.json`,s=d.getSecretByName(l.name);return this.mountTransientFile(t,a(s),!1),this.transientFiles.get(t)}}else d.createSecretPlaceholder(l.name,l.description||"");let h=d.getSecretByName(l.name);return this.mountTransientFile(e,a(h),!1),this.transientFiles.get(e)}async createServerContextFile(e,t){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(a.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${e}`),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if(this.transientFiles.has(e))throw Error(`File already exists: ${e}`);if(e.startsWith("/.server/secrets/")&&e.endsWith(".json"))return await this.updateSecretFromFile(e,t);if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json"))return await this.updateEdgeFunctionFromFile(e,t);if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json"))return await this.updateServerFunctionFromFile(e,t);throw Error(`Cannot create ${e} - only secrets, edge functions, and server functions (.json) can be created`)}async deleteServerContextFile(e){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(a.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${e}`),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected");if("/.server/db/schema.sql"===e)throw Error(`Cannot delete ${e} - read-only file`);if(e.startsWith("/.server/secrets/")&&e.endsWith(".json")){let{getSQLiteAdapter:t}=await import("./adapters/server"),s=t();await s.init();let i=s.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!i)throw Error("Site database not available");let r=e.split("/").pop().replace(".json",""),n=i.getSecretByName(r);if(!n)throw Error(`Secret not found: ${r}`);i.deleteSecret(n.id),this.transientFiles.delete(e);return}if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json")){let{getSQLiteAdapter:t}=await import("./adapters/server"),s=t();await s.init();let i=s.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!i)throw Error("Site database not available");let r=e.split("/").pop().replace(".json",""),n=i.getFunctionByName(r);if(!n)throw Error(`Edge function not found: ${r}`);i.deleteFunction(n.id),this.transientFiles.delete(e);return}if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json")){let{getSQLiteAdapter:t}=await import("./adapters/server"),s=t();await s.init();let i=s.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!i)throw Error("Site database not available");let r=e.split("/").pop().replace(".json",""),n=i.getServerFunctionByName(r);if(!n)throw Error(`Server function not found: ${r}`);i.deleteServerFunction(n.id),this.transientFiles.delete(e);return}throw Error(`Cannot delete ${e} - read-only file`)}ensureInitialized(){if(!this.initialized)throw Error("VirtualFileSystem not initialized. Call init() first.")}triggerAutoSync(e){}clearSyncTimeout(e){let t=this.syncTimeouts.get(e);t&&(clearTimeout(t),this.syncTimeouts.delete(e),a.v.debug(`[VFS] Cleared sync timeout for project ${e}`))}async createFile(e,t,s){this.ensureInitialized();try{if((t=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim()).startsWith("/.server/"))return await this.createServerContextFile(t,s);if(await this.adapter.getFile(e,t))throw a.v.error("VFS: File already exists",{projectId:e,path:t}),Error(`File already exists: ${t}`);if(!(0,o.fu)(t))throw Error(`Unsupported file type: ${t}`);let r=(0,o.Gr)(t),n=s instanceof ArrayBuffer?s.byteLength:new Blob([s]).size,c=o.Q6[r];if(n>c)throw Error(`File too large. Maximum size for ${r} files is ${Math.round(c/1024/1024)}MB`);let d={id:(0,i.A)(),projectId:e,path:t,name:t.split("/").pop()||"",type:r,content:s,mimeType:(0,o.N$)(t),size:n,createdAt:new Date,updatedAt:new Date,metadata:{isEntry:"/index.html"===t}};return await this.adapter.createFile(d),await this.updateFileTree(e,t,"create"),l.$.markDirty(e),d}catch(e){throw e}}async readFile(e,t){if(this.ensureInitialized(),!e||"string"!=typeof e)throw a.v.error("VFS: Invalid projectId for readFile",{projectId:e,path:t}),Error("Invalid projectId provided");if(!t||"string"!=typeof t)throw a.v.error("VFS: Invalid path for readFile",{projectId:e,path:t}),Error("Invalid file path provided");let s=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(!s)throw a.v.error("VFS: Empty path after cleaning for readFile",{projectId:e,originalPath:t,cleanPath:s}),Error("Empty file path after cleaning");if(this.isTransientPath(s)){let e=this.transientFiles.get(s);if(e)return e;throw Error(`Transient file not found: ${s}`)}let i=await this.adapter.getFile(e,s);if(!i)throw a.v.error("VFS: File not found for read",{projectId:e,path:s,originalPath:t}),Error(`File not found: ${s}`);return i}async fileExists(e,t){this.ensureInitialized();try{if(this.isTransientPath(t))return this.transientFiles.has(t);return!!await this.adapter.getFile(e,t)}catch{return!1}}async updateFile(e,t,s){this.ensureInitialized();try{let i=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(i.includes("\n")||i.includes("@@")||i.includes("\\n")||i.length>200)throw a.v.error("VFS: Invalid path detected",{projectId:e,path:t.slice(0,100)+"..."}),Error(`Invalid file path: ${t.slice(0,50)}...`);if((t=i).startsWith("/.server/"))return await this.updateServerContextFile(t,s);let r=await this.adapter.getFile(e,t);if(!r)throw a.v.error("VFS: File not found for update",{projectId:e,path:t}),Error(`File not found: ${t}`);return r.content=s,r.size=s instanceof ArrayBuffer?s.byteLength:new Blob([s]).size,r.updatedAt=new Date,await this.adapter.updateFile(r),l.$.markDirty(e),r}catch(e){throw e}}async patchFile(e,t,s){this.ensureInitialized();let i=(await this.readFile(e,t)).content;for(let e of s){if(!i.includes(e.search))throw a.v.error("VFS: Pattern not found in file",{path:t,searchPattern:e.search.substring(0,100),contentSnippet:i.substring(0,300)}),Error(`Pattern not found in file: ${e.search.substring(0,50)}...`);i=i.replace(e.search,e.replace)}return await this.updateFile(e,t,i)}async deleteFile(e,t){this.ensureInitialized();try{await this.adapter.deleteFile(e,t),await this.updateFileTree(e,t,"delete"),l.$.markDirty(e)}catch(e){throw e}}async renameFile(e,t,s){this.ensureInitialized();let i=await this.readFile(e,t);return await this.deleteFile(e,t),await this.createFile(e,s,i.content)}async createDirectory(e,t){if(this.ensureInitialized(),await this.adapter.getTreeNode(e,t))return;let s=t.split("/").pop()||t,r={id:(0,i.A)(),projectId:e,path:t,name:s,type:"directory",parentPath:this.getParentPath(t),children:[]};await this.adapter.createTreeNode(r),l.$.markDirty(e)}async listDirectory(e,t,s){let i;this.ensureInitialized();let r=await this.adapter.listFiles(e);if(i="/"===t?r:r.filter(e=>{let s=e.path,i=t.endsWith("/")?t:t+"/";return s.startsWith(i)&&-1===s.slice(i.length).indexOf("/")}),s?.includeTransient){let e=Array.from(this.transientFiles.values());if("/"===t)i=[...i,...e];else{let s=t.endsWith("/")?t:t+"/";i=[...i,...e.filter(e=>e.path.startsWith(s)&&-1===e.path.slice(s.length).indexOf("/"))]}}return i}async getAllFilesAndDirectories(e,t){this.ensureInitialized();let s=[...await this.adapter.listFiles(e),...(await this.adapter.getAllTreeNodes(e)).filter(e=>"directory"===e.type).map(e=>({path:e.path,name:e.path.split("/").filter(Boolean).pop()||e.path,type:"directory"}))];return t?.includeTransient&&(s=[...s,...Array.from(this.transientFiles.values())]),s}async deleteDirectory(e,t){this.ensureInitialized();let s=await this.adapter.listFiles(e),i=t.endsWith("/")?t:t+"/";for(let t of s)t.path.startsWith(i)&&await this.deleteFile(e,t.path);await this.adapter.deleteTreeNode(e,t),l.$.markDirty(e)}async renameDirectory(e,t,s){this.ensureInitialized();let r=await this.adapter.getTreeNode(e,t);if(r){await this.adapter.deleteTreeNode(e,t);let n={id:(0,i.A)(),projectId:e,path:s,name:s.split("/").pop()||s,type:"directory",parentPath:this.getParentPath(s),children:r.children};await this.adapter.createTreeNode(n),l.$.markDirty(e)}let n=t.endsWith("/")?t:t+"/",a=s.endsWith("/")?s:s+"/";for(let t of(await this.adapter.listFiles(e)).filter(e=>e.path.startsWith(n))){let s=a+t.path.substring(n.length);await this.renameFile(e,t.path,s)}for(let s of(await this.adapter.getAllTreeNodes(e)).filter(e=>"directory"===e.type&&e.path.startsWith(n)&&e.path!==t)){let t=a+s.path.substring(n.length);await this.adapter.deleteTreeNode(e,s.path);let r={id:(0,i.A)(),projectId:e,path:t,name:t.split("/").pop()||t,type:"directory",parentPath:this.getParentPath(t),children:s.children};await this.adapter.createTreeNode(r)}}async moveFile(e,t,s){if(this.ensureInitialized(),await this.adapter.getFile(e,s))throw Error(`File already exists at destination: ${s}`);let i=await this.readFile(e,t),r=await this.createFile(e,s,i.content);return await this.deleteFile(e,t),r}async moveDirectory(e,t,s){this.ensureInitialized();let i=s.endsWith("/")?s:s+"/",r=t.endsWith("/")?t:t+"/";if(i.startsWith(r))throw Error("Cannot move a directory into itself");await this.renameDirectory(e,t,s)}async createProject(e,t){this.ensureInitialized();try{let s={id:(0,i.A)(),name:e,description:t,createdAt:new Date,updatedAt:new Date,settings:{},lastSavedCheckpointId:null,lastSavedAt:null,costTracking:{totalCost:0,providerBreakdown:{},sessionHistory:[]}};await this.adapter.createProject(s);let r={id:(0,i.A)(),projectId:s.id,path:"/",name:"/",type:"directory",parentPath:null,children:[]};return await this.adapter.createTreeNode(r),s}catch(e){throw e}}async getProject(e){this.ensureInitialized();let t=await this.adapter.getProject(e);if(!t)throw Error(`Project not found: ${e}`);return t}async updateProject(e,t=!1){this.ensureInitialized(),e.updatedAt=new Date,await this.adapter.updateProject(e)}async updateProjectCost(e,t){this.ensureInitialized();let s=await this.getProject(e);if(!s)throw Error(`Project not found: ${e}`);s.costTracking||(s.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),s.costTracking.totalCost+=t.cost,s.costTracking.providerBreakdown[t.provider]||(s.costTracking.providerBreakdown[t.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let i=s.costTracking.providerBreakdown[t.provider];i.totalCost+=t.cost,"delta"!==t.mode&&(i.requestCount+=1),i.lastUpdated=new Date,t.tokenUsage&&(i.tokenUsage.input+=t.tokenUsage.input,i.tokenUsage.output+=t.tokenUsage.output),t.sessionId&&"delta"!==t.mode&&(s.costTracking.sessionHistory||(s.costTracking.sessionHistory=[]),s.costTracking.sessionHistory.push({sessionId:t.sessionId,cost:t.cost,provider:t.provider,timestamp:new Date,tokenUsage:t.tokenUsage}),s.costTracking.sessionHistory.length>100&&(s.costTracking.sessionHistory=s.costTracking.sessionHistory.slice(-100))),await this.updateProject(s)}async applyProjectCostDelta(e,t){this.ensureInitialized();let s=await this.getProject(e);if(!s)throw Error(`Project not found: ${e}`);s.costTracking||(s.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),s.costTracking.totalCost+=t.costDelta,s.costTracking.providerBreakdown[t.provider]||(s.costTracking.providerBreakdown[t.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let i=s.costTracking.providerBreakdown[t.provider];i.totalCost+=t.costDelta,i.lastUpdated=new Date,t.tokenUsageDelta&&(i.tokenUsage.input+=t.tokenUsageDelta.input,i.tokenUsage.output+=t.tokenUsageDelta.output),t.sessionId&&(s.costTracking.sessionHistory||(s.costTracking.sessionHistory=[]),s.costTracking.sessionHistory.push({sessionId:t.sessionId,cost:t.costDelta,provider:t.provider,timestamp:new Date,tokenUsage:t.tokenUsageDelta,correction:!0}),s.costTracking.sessionHistory.length>100&&(s.costTracking.sessionHistory=s.costTracking.sessionHistory.slice(-100))),await this.updateProject(s)}async deleteProject(e){this.ensureInitialized(),await this.adapter.deleteProject(e)}async listProjects(){return this.ensureInitialized(),await this.adapter.listProjects()}async listFiles(e){return this.ensureInitialized(),await this.adapter.listFiles(e)}async getFileTree(e){return this.ensureInitialized(),await this.adapter.getTreeNode(e,"/")}async searchFiles(e,t,s){this.ensureInitialized();let i=await this.adapter.listFiles(e),{regex:r=!1,fileType:n,limit:a=20,searchIn:o="both"}=s||{},l=i;if(n){let e=n.startsWith(".")?n:`.${n}`;l=i.filter(t=>t.path.endsWith(e))}let c=r?e=>{try{return RegExp(t,"i").test(e)}catch{return e.toLowerCase().includes(t.toLowerCase())}}:e=>e.toLowerCase().includes(t.toLowerCase());return l.filter(e=>"filename"===o?c(e.name)||c(e.path):"content"===o?"string"==typeof e.content&&c(e.content):c(e.name)||c(e.path)||"string"==typeof e.content&&c(e.content)).slice(0,a)}async findReferences(e,t,s="any"){this.ensureInitialized();let i=await this.adapter.listFiles(e),r=[],n=[];switch(s){case"class":n.push(RegExp(`class=["'][^"']*\\b${t}\\b[^"']*["']`,"gi")),n.push(RegExp(`\\.${t}\\b`,"g")),n.push(RegExp(`classList\\.(add|remove|toggle|contains)\\(['"\`]${t}['"\`]`,"g"));break;case"id":n.push(RegExp(`id=["']${t}["']`,"gi")),n.push(RegExp(`#${t}\\b`,"g")),n.push(RegExp(`getElementById\\(['"\`]${t}['"\`]`,"g")),n.push(RegExp(`querySelector\\(['"\`]#${t}['"\`]`,"g"));break;case"function":n.push(RegExp(`function\\s+${t}\\s*\\(`,"g")),n.push(RegExp(`(?:const|let|var)\\s+${t}\\s*=\\s*(?:\\([^)]*\\)|[^=])\\s*=>`,"g")),n.push(RegExp(`${t}\\s*\\(`,"g"));break;case"variable":n.push(RegExp(`(?:const|let|var)\\s+${t}\\b`,"g")),n.push(RegExp(`\\b${t}\\b`,"g"));break;default:n.push(RegExp(`\\b${t}\\b`,"gi"))}for(let e of i){if("string"!=typeof e.content)continue;let t=[];e.content.split("\n").forEach((e,s)=>{for(let i of n)if(i.test(e)){t.push({line:s+1,text:e.trim()});break}}),t.length>0&&r.push({file:e,matches:t})}return r}async getFileStats(e,t){this.ensureInitialized();let s=await this.adapter.getFile(e,t);if(!s)throw Error(`File not found: ${t}`);let i=("string"==typeof s.content?s.content:"").split("\n");return{path:s.path,size:s.size,lines:i.length,type:s.type,preview:i.slice(0,10),lastModified:s.updatedAt}}async getProjectSize(e){return this.ensureInitialized(),(await this.adapter.listFiles(e)).reduce((e,t)=>e+t.size,0)}async getProjectStats(e){let t;this.ensureInitialized();let s=await this.adapter.listFiles(e),i=0,r={};for(let e of s){i+=e.size;let t=e.path.split(".").pop()?.toUpperCase()||"OTHER";r[t]=(r[t]||0)+1}return t=i<1024?`${i} B`:i<1048576?`${(i/1024).toFixed(1)} KB`:`${(i/1048576).toFixed(2)} MB`,{fileCount:s.length,totalSize:i,fileTypes:r,formattedSize:t}}async exportProject(e){return this.ensureInitialized(),{project:await this.getProject(e),files:await this.adapter.listFiles(e)}}async exportProjectAsZip(e){this.ensureInitialized();let t=new(n());try{let s=new c.B(this,e);for(let e of(await s.compileProject()).files){let s=e.path.startsWith("/")?e.path.slice(1):e.path;this.shouldExcludeFromExport(e.path)||(e.content,t.file(s,e.content))}s.cleanupBlobUrls()}catch(s){for(let i of(a.v.warn("Failed to compile Handlebars templates during export, falling back to raw files:",s),await this.adapter.listFiles(e))){let e=i.path.startsWith("/")?i.path.slice(1):i.path;this.shouldExcludeFromExport(i.path)||(i.content,t.file(e,i.content))}}return await t.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}})}shouldExcludeFromExport(e){return!!(e.endsWith(".hbs")||e.endsWith(".handlebars")||e.startsWith("/templates/"))||"/data.json"===e}async duplicateProject(e){this.ensureInitialized();let t=await this.getProject(e),s=await this.adapter.listFiles(e),i=`${t.name} (Copy)`.slice(0,50),r=await this.createProject(i,t.description);return await l.$.runWithSuppressedDirty(r.id,async()=>{for(let e of s)await this.createFile(r.id,e.path,e.content)}),r}async importProject(e){this.ensureInitialized();let t=await this.createProject(e.project.name,e.project.description);return await l.$.runWithSuppressedDirty(t.id,async()=>{for(let s of e.files)await this.createFile(t.id,s.path,s.content)}),t}getParentPath(e){if("/"===e)return null;let t=e.split("/").filter(Boolean);return 1===t.length?"/":(t.pop(),"/"+t.join("/"))}async updateFileTree(e,t,s){let i=this.getParentPath(t);if(null===i)return;let r=await this.adapter.getTreeNode(e,i);if(r||"create"!==s||(await this.createDirectory(e,i),r=await this.adapter.getTreeNode(e,i)),r){let e=r.children||[];if("create"!==s||e.includes(t)){if("delete"===s){let s=e.indexOf(t);s>-1&&e.splice(s,1)}}else e.push(t);r.children=e,await this.adapter.updateTreeNode(r)}}}let h=new u},68988:(e,t,s)=>{s.d(t,{p:()=>n});var i=s(60687);s(43210);var r=s(96241);function n({className:e,type:t,...s}){return(0,i.jsx)("input",{type:t,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex 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",e),...s})}},80262:(e,t,s)=>{s.d(t,{$7:()=>n,In:()=>a,N1:()=>r});let i=/^---\s*\n([\s\S]*?)\n---\s*\n([\s\S]*)$/;function r(e){let t=e.match(i);if(!t)throw Error("Invalid SKILL.md format: Missing YAML frontmatter");let[,s,r]=t;try{let e=function(e){let t=e.split("\n"),s={};for(let e of t){let t=e.trim();if(!t||t.startsWith("#"))continue;let i=t.indexOf(":");if(-1===i)continue;let r=t.slice(0,i).trim(),n=t.slice(i+1).trim();(n.startsWith('"')&&n.endsWith('"')||n.startsWith("'")&&n.endsWith("'"))&&(n=n.slice(1,-1)),"true"===n?n=!0:"false"===n?n=!1:isNaN(Number(n))||""===n||(n=Number(n)),s[r]=n}return s}(s);return function(e){if(!e.name||"string"!=typeof e.name)throw Error('Missing or invalid "name" field in frontmatter');if(!e.description||"string"!=typeof e.description)throw Error('Missing or invalid "description" field in frontmatter');if(!/^[a-z0-9-]+$/.test(e.name))throw Error('Skill name must be lowercase with hyphens only (e.g., "my-skill-name")');if(e.description.length>500)throw Error("Description must be 500 characters or less")}(e),{frontmatter:e,markdown:r.trim()}}catch(e){throw Error(`Failed to parse SKILL.md: ${e instanceof Error?e.message:"Unknown error"}`)}}function n(e,t){let s=[];for(let[t,i]of Object.entries(e))null!=i&&("string"==typeof i&&(i.includes(":")||i.includes("\n"))?s.push(`${t}: "${i}"`):s.push(`${t}: ${i}`));return`--- ${s.join("\n")} --- diff --git a/.next/server/chunks/4079.js b/.next/server/chunks/4079.js deleted file mode 100644 index b00c00629a4228458ed9a0dd70ece67acc5e8046..0000000000000000000000000000000000000000 --- a/.next/server/chunks/4079.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict";exports.id=4079,exports.ids=[4079],exports.modules={23870:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let c=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();let c=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,n.randomFillSync)(s),a=0),s.slice(a,a+=16));if(c.length<16)throw Error("Random bytes length must be >= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=c[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(c)}},74384:(e,t,r)=>{r.d(t,{cv:()=>l,c2:()=>d,QH:()=>f,Rv:()=>m});var n=r(40371),o=r.n(n);let s=["sqlite_","_migrations","site_info","edge_functions","function_logs","server_functions","secrets","pageviews","interactions","sessions","files","file_tree_nodes"],a=["create","drop","alter","truncate"],i=["attach","detach","vacuum","reindex"];var c=r(2573);async function l(e,t,r){let n=Date.now(),l=[],d=!1,f={status:200,headers:{},body:""},m=function(e,t={}){let r=0,n=t.maxQueries??100,o=t.readOnly??!1,c=e=>{let t=e.toLowerCase().trim();for(let e of i)if(t.includes(e))throw Error(`SQL keyword "${e}" is not allowed`);for(let e of s)if(RegExp(`\\b${e.replace("_","_?")}\\w*\\b`,"i").test(t))throw Error(`Access to system table "${e}" is not allowed`);if(o){for(let e of a)if(t.startsWith(e))throw Error(`DDL statements (${e.toUpperCase()}) not allowed in read-only mode`)}if(++r>n)throw Error(`Query limit exceeded (max ${n} queries per execution)`)},l=(t,r)=>{c(t);try{let n=e.executeRawSQL(t,r);return n.rows.map(e=>{let t={};return n.columns.forEach((r,n)=>{t[r]=e[n]}),t})}catch(t){let e=t instanceof Error?t.message:"Query failed";throw Error(`Database error: ${e}`)}},u=(t,r)=>{if(c(t),o)throw Error("Database is in read-only mode");try{return{changes:e.executeRawSQL(t,r).rowsAffected,lastInsertRowid:0}}catch(t){let e=t instanceof Error?t.message:"Query failed";throw Error(`Database error: ${e}`)}};return{query:(e,t)=>l(e,t),run:(e,t)=>u(e,t),all:(e,t)=>l(e,t)}}(r),p=r.listServerFunctions().filter(e=>e.enabled),h={};if((0,c.yg)())try{for(let e of r.listSecretsWithValues())try{h[e.name]=(0,c.wu)(e.encryptedValue,e.iv,e.authTag)}catch{l.push(`[WARN] Failed to decrypt secret "${e.name}"`)}}catch(e){l.push(`[WARN] Failed to load secrets: ${e instanceof Error?e.message:String(e)}`)}let g={},y=o().createContext({request:t,db:m,Response:{json:(e,t=200)=>{if(d)return void l.push("[WARN] Response already set, ignoring subsequent Response.json() call");d=!0,f={status:t,headers:{"Content-Type":"application/json"},body:e}},text:(e,t=200)=>{if(d)return void l.push("[WARN] Response already set, ignoring subsequent Response.text() call");d=!0,f={status:t,headers:{"Content-Type":"text/plain"},body:e}},error:(e,t=500)=>{if(d)return void l.push("[WARN] Response already set, ignoring subsequent Response.error() call");d=!0,f={status:t,headers:{"Content-Type":"application/json"},body:{error:e}}}},server:g,secrets:{get:e=>h[e]??null,has:e=>e in h,list:()=>Object.keys(h)},fetch:globalThis.fetch,console:{log:(...e)=>{l.push(`[LOG] ${e.map(u).join(" ")}`)},error:(...e)=>{l.push(`[ERROR] ${e.map(u).join(" ")}`)},warn:(...e)=>{l.push(`[WARN] ${e.map(u).join(" ")}`)},info:(...e)=>{l.push(`[INFO] ${e.map(u).join(" ")}`)}},JSON,Date,Math,Array,Object,String,Number,Boolean,RegExp,Error,TypeError,RangeError,SyntaxError,Map,Set,WeakMap,WeakSet,Promise,Symbol,parseInt,parseFloat,isNaN,isFinite,encodeURIComponent,decodeURIComponent,encodeURI,decodeURI,atob,btoa,setTimeout:void 0,setInterval:void 0,setImmediate:void 0,clearTimeout:void 0,clearInterval:void 0,clearImmediate:void 0,require:void 0,module:void 0,exports:void 0,__dirname:void 0,__filename:void 0,process:void 0,Buffer:void 0,global:void 0,globalThis:void 0});for(let e of p)g[e.name]=(...t)=>{try{let r=` - (function(args) { - 'use strict'; - ${e.code} - }) - `;return new(o()).Script(r,{filename:`server-function:${e.name}`}).runInContext(y,{timeout:5e3})(t)}catch(r){let t=r instanceof Error?r.message:String(r);throw l.push(`[ERROR] Server function "${e.name}" failed: ${t}`),Error(`Server function "${e.name}" failed: ${t}`)}};try{let t=` - (async function() { - 'use strict'; - ${e.code} - })(); - `,r=new(o()).Script(t,{filename:`edge-function:${e.name}`}),s=Math.min(e.timeoutMs||5e3,3e4);return await r.runInContext(y,{timeout:s,breakOnSigint:!0}),d||(f={status:204,headers:{},body:""}),{response:f,logs:l,durationMs:Date.now()-n}}catch(t){var b;let e=(b=t)instanceof Error?b.message.includes("Script execution timed out")?"Function execution timed out":b.message.includes("is not defined")?`ReferenceError: ${b.message}`:b.message:String(b);return l.push(`[ERROR] ${e}`),{response:{status:500,headers:{"Content-Type":"application/json"},body:{error:e}},logs:l,durationMs:Date.now()-n,error:e}}}function u(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return String(e);if(e instanceof Error)return`${e.name}: ${e.message}`;try{return JSON.stringify(e,null,2)}catch{return String(e)}}function d(e){if(!e||0===e.trim().length)return"Function code cannot be empty";for(let{pattern:t,message:r}of[{pattern:/\beval\s*\(/,message:"eval() is not allowed"},{pattern:/\bFunction\s*\(/,message:"Function constructor is not allowed"},{pattern:/\bprocess\b/,message:"process object is not available"},{pattern:/\brequire\s*\(/,message:"require() is not available"},{pattern:/\bimport\s*\(/,message:"Dynamic import is not available"},{pattern:/\b__proto__\b/,message:"__proto__ access is not allowed"}])if(t.test(e))return r;try{new(o()).Script(`(async function() { ${e} })()`)}catch(e){if(e instanceof SyntaxError)return`Syntax error: ${e.message}`;return`Invalid code: ${e instanceof Error?e.message:String(e)}`}return null}function f(e){return e&&0!==e.trim().length?e.length>64?"Function name must be 64 characters or less":/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e)?["health","status","ping","api","admin","static"].includes(e)?`Function name "${e}" is reserved`:null:"Function name must be URL-safe (lowercase letters, numbers, hyphens only, cannot start or end with hyphen)":"Function name cannot be empty"}function m(e){return e&&0!==e.trim().length?e.length>64?"Function name must be 64 characters or less":/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e)?["break","case","catch","continue","debugger","default","delete","do","else","finally","for","function","if","in","instanceof","new","return","switch","this","throw","try","typeof","var","void","while","with","class","const","enum","export","extends","import","super","implements","interface","let","package","private","protected","public","static","yield","await","async"].includes(e)?`"${e}" is a reserved JavaScript keyword`:["db","fetch","console","args","request","Response","server","secrets"].includes(e)?`"${e}" is reserved and cannot be used as a server function name`:null:"Function name must be a valid identifier (letters, numbers, underscores; cannot start with number)":"Function name cannot be empty"}}}; \ No newline at end of file diff --git a/.next/server/chunks/7783.js b/.next/server/chunks/7783.js index 29a3cfd99e7ac93776dfa0da72649162f5335ae6..c7b1b7488a8ef2b50a073af249071bffeaa2b20b 100644 --- a/.next/server/chunks/7783.js +++ b/.next/server/chunks/7783.js @@ -1 +1 @@ -"use strict";exports.id=7783,exports.ids=[7783],exports.modules={47783:(e,t,n)=>{function i(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function s(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function a(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}n.d(t,{generateEdgeFunctionFile:()=>i,generateSecretFile:()=>a,generateServerFunctionFile:()=>s,validateEdgeFunctionData:()=>r,validateSecretData:()=>l,validateServerFunctionData:()=>d});let o=["db","fetch","console","args","request","Response","server","secrets"];function r(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let n=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?n.includes(e.method)||t.push(`Method must be one of: ${n.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function d(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?o.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function l(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}}}; \ No newline at end of file +"use strict";exports.id=7783,exports.ids=[7783],exports.modules={47783:(e,t,n)=>{function i(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function s(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function a(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}n.d(t,{generateEdgeFunctionFile:()=>i,generateSecretFile:()=>a,generateServerFunctionFile:()=>s,validateEdgeFunctionData:()=>r,validateSecretData:()=>l,validateServerFunctionData:()=>d});let o=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function r(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let n=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?n.includes(e.method)||t.push(`Method must be one of: ${n.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function d(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?o.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function l(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}}}; \ No newline at end of file diff --git a/.next/server/chunks/8274.js b/.next/server/chunks/8274.js new file mode 100644 index 0000000000000000000000000000000000000000..8cdd55f7b0ad5e9900d5629fbd13c4274bc262e6 --- /dev/null +++ b/.next/server/chunks/8274.js @@ -0,0 +1,27 @@ +"use strict";exports.id=8274,exports.ids=[8274],exports.modules={3149:(e,t,r)=>{r.a(e,async(e,o)=>{try{r.d(t,{QH:()=>f,Rv:()=>m,c2:()=>p,cv:()=>c});var n=r(5205),s=r(17915),i=r(56660),a=r(2573),l=e([n,s]);[n,s]=l.then?(await l)():l;let h=null;async function u(){return h||(h=(0,n.newQuickJSWASMModuleFromVariant)(s.default)),h}async function c(e,t,r){let o=Date.now(),n=[],s=!1,l={status:200,headers:{},body:""},c=(0,i.w)(r),p=r.listServerFunctions().filter(e=>e.enabled),f={};if((0,a.yg)())try{for(let e of r.listSecretsWithValues())try{f[e.name]=(0,a.wu)(e.encryptedValue,e.iv,e.authTag)}catch{n.push(`[WARN] Failed to decrypt secret "${e.name}"`)}}catch(e){n.push(`[WARN] Failed to load secrets: ${e instanceof Error?e.message:String(e)}`)}let m=(await u()).newRuntime();m.setMemoryLimit(0x4000000);let h=Math.min(e.timeoutMs||5e3,3e4),w=Date.now()+h;m.setInterruptHandler(()=>Date.now()>w);let g=m.newContext(),y={requestCount:0,pendingFetches:[]};try{var b,v,E=g,R={request:t,db:c,logs:n,decryptedSecrets:f,serverFunctions:p,setResponse:e=>{s?n.push("[WARN] Response already set, ignoring subsequent call"):(s=!0,l=e)},fetchState:y};let{request:r,db:i,logs:a,decryptedSecrets:u,serverFunctions:h,setResponse:F,fetchState:$}=R,S=d(E,r);E.setProp(E.global,"request",S),S.dispose(),function(e,t){let r=e.newObject(),o={log:"[LOG]",error:"[ERROR]",warn:"[WARN]",info:"[INFO]"};for(let n of["log","error","warn","info"]){let s=e.newFunction(n,(...r)=>{let s=r.map(t=>{var r=e.dump(t);if(null===r)return"null";if(void 0===r)return"undefined";if("string"==typeof r)return r;if("number"==typeof r||"boolean"==typeof r)return String(r);try{return JSON.stringify(r,null,2)}catch{return String(r)}});t.push(`${o[n]} ${s.join(" ")}`)});e.setProp(r,n,s),s.dispose()}e.setProp(e.global,"console",r),r.dispose()}(E,a),function(e,t){let r=e.newObject(),o=e.newFunction("json",(r,o)=>{let n=e.dump(r),s=o?e.dump(o):200;t({status:s,headers:{"Content-Type":"application/json"},body:n})});e.setProp(r,"json",o),o.dispose();let n=e.newFunction("text",(r,o)=>{let n=e.dump(r),s=o?e.dump(o):200;t({status:s,headers:{"Content-Type":"text/plain"},body:n})});e.setProp(r,"text",n),n.dispose();let s=e.newFunction("error",(r,o)=>{let n=e.dump(r),s=o?e.dump(o):500;t({status:s,headers:{"Content-Type":"application/json"},body:{error:n}})});e.setProp(r,"error",s),s.dispose(),e.setProp(e.global,"Response",r),r.dispose()}(E,F),function(e,t,r){let o=e.newObject(),n=e.newFunction("query",(o,n)=>{try{let r=e.dump(o),s=n?e.dump(n):void 0,i=t.query(r,s);return d(e,i)}catch(t){let e=t instanceof Error?t.message:String(t);throw r.push(`[ERROR] db.query failed: ${e}`),t}});e.setProp(o,"query",n),n.dispose();let s=e.newFunction("run",(o,n)=>{try{let r=e.dump(o),s=n?e.dump(n):void 0,i=t.run(r,s);return d(e,i)}catch(t){let e=t instanceof Error?t.message:String(t);throw r.push(`[ERROR] db.run failed: ${e}`),t}});e.setProp(o,"run",s),s.dispose();let i=e.newFunction("all",(o,n)=>{try{let r=e.dump(o),s=n?e.dump(n):void 0,i=t.all(r,s);return d(e,i)}catch(t){let e=t instanceof Error?t.message:String(t);throw r.push(`[ERROR] db.all failed: ${e}`),t}});e.setProp(o,"all",i),i.dispose(),e.setProp(e.global,"db",o),o.dispose()}(E,i,a),function(e,t){let r=e.newObject(),o=e.newFunction("get",r=>{let o=t[e.dump(r)];return void 0===o?e.null:e.newString(o)});e.setProp(r,"get",o),o.dispose();let n=e.newFunction("has",r=>e.dump(r)in t?e.true:e.false);e.setProp(r,"has",n),n.dispose();let s=e.newFunction("list",()=>d(e,Object.keys(t)));e.setProp(r,"list",s),s.dispose(),e.setProp(e.global,"secrets",r),r.dispose()}(E,u),function(e,t,r){let o=e.newObject();for(let n of t){let t=e.newFunction(n.name,(...t)=>{try{let r=t.map(t=>e.dump(t)),o=` + (function(args, db) { + 'use strict'; + ${n.code} + }) + `,s=e.evalCode(o,`server-function:${n.name}`);if(s.error){let t=e.dump(s.error);throw s.error.dispose(),Error(`Server function "${n.name}" error: ${t}`)}let i=s.value,a=d(e,r),l=e.getProp(e.global,"db"),u=e.callFunction(i,e.undefined,a,l);if(i.dispose(),a.dispose(),l.dispose(),u.error){let t=e.dump(u.error);throw u.error.dispose(),Error(`Server function "${n.name}" error: ${t}`)}let c=u.value,p=e.dump(c);return c.dispose(),d(e,p)}catch(t){let e=t instanceof Error?t.message:String(t);throw r.push(`[ERROR] Server function "${n.name}" failed: ${e}`),t}});e.setProp(o,n.name,t),t.dispose()}e.setProp(e.global,"server",o),o.dispose()}(E,h,a),function(e,t,r){let o=e.newFunction("fetch",(o,n)=>{try{let s,i=e.dump(o),a=n?e.dump(n):{};if(r.requestCount>=10)throw Error("Maximum fetch requests (10) exceeded");try{s=new URL(i).protocol}catch{throw Error("Invalid URL")}if(!["http:","https:"].includes(s))throw Error("Only http and https protocols are allowed");if(function(e){try{let t=new URL(e).hostname.toLowerCase();if("localhost"===t||"127.0.0.1"===t||"::1"===t||/^10\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(t)||/^172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3}$/.test(t)||/^192\.168\.\d{1,3}\.\d{1,3}$/.test(t)||/^169\.254\.\d{1,3}\.\d{1,3}$/.test(t))return!0;return!1}catch{return!0}}(i))throw Error("Requests to private/internal addresses are not allowed");r.requestCount++,t.push(`[INFO] fetch: ${a.method||"GET"} ${i}`);let l=` + (function() { + let _resolve, _reject; + const promise = new Promise((resolve, reject) => { + _resolve = resolve; + _reject = reject; + }); + promise._resolve = _resolve; + promise._reject = _reject; + return promise; + })() + `,u=e.evalCode(l,"fetch-promise");if(u.error){let t=e.dump(u.error);throw u.error.dispose(),Error(`Failed to create promise: ${t}`)}let c=u.value,p={promise:null,completed:!1};return p.promise=(async()=>{try{let t=new AbortController,r=setTimeout(()=>t.abort(),1e4),o={method:a.method||"GET",headers:a.headers,body:a.body?JSON.stringify(a.body):void 0,signal:t.signal},n=await globalThis.fetch(i,o);clearTimeout(r);let s=n.headers.get("content-length");if(s&&parseInt(s)>5242880)throw Error("Response too large (max 5MB)");let l=await n.text();if(l.length>5242880)throw Error("Response too large (max 5MB)");let u={};n.headers.forEach((e,t)=>{u[t]=e});let p={ok:n.ok,status:n.status,statusText:n.statusText,headers:u,url:n.url},f=e.getProp(c,"_resolve"),m=d(e,p),h=e.newFunction("json",()=>{try{return d(e,JSON.parse(l))}catch{throw Error("Failed to parse JSON")}});e.setProp(m,"json",h),h.dispose();let w=e.newFunction("text",()=>e.newString(l));e.setProp(m,"text",w),w.dispose(),e.callFunction(f,e.undefined,m),f.dispose(),m.dispose()}catch(s){let r=s instanceof Error?s.message:String(s);t.push(`[ERROR] fetch failed: ${r}`);let o=e.getProp(c,"_reject"),n=e.newString(r);e.callFunction(o,e.undefined,n),o.dispose(),n.dispose()}finally{p.completed=!0}})(),r.pendingFetches.push(p),c}catch(o){let r=o instanceof Error?o.message:String(o);throw t.push(`[ERROR] fetch failed: ${r}`),e.newError(r)}});e.setProp(e.global,"fetch",o),o.dispose()}(E,a,$),function(e){let t=e.newFunction("btoa",t=>{let r=e.dump(t),o=Buffer.from(r,"binary").toString("base64");return e.newString(o)});e.setProp(e.global,"btoa",t),t.dispose();let r=e.newFunction("atob",t=>{let r=e.dump(t),o=Buffer.from(r,"base64").toString("binary");return e.newString(o)});e.setProp(e.global,"atob",r),r.dispose()}(E);let P=(v=e.code,` + (function() { + 'use strict'; + try { + ${v} + } catch (error) { + const msg = error instanceof Error ? error.message : String(error); + Response.error(msg, 500); + } + })(); + `),x=g.evalCode(P,`edge-function:${e.name}`);if(x.error){let e=g.dump(x.error);throw x.error.dispose(),Error(e)}let O=x.value,j=!0;for(;j;){let e=y.pendingFetches.filter(e=>!e.completed&&null!==e.promise);e.length>0&&await Promise.race([Promise.all(e.map(e=>e.promise)),new Promise(e=>setTimeout(e,10))]);let t=m.executePendingJobs();if(t.error){let e=g.dump(t.error);throw t.error.dispose(),Error(e)}let r=t.value>0,o=y.pendingFetches.some(e=>!e.completed);if(j=r||o,Date.now()>w)throw Error("Function execution timed out")}return O.dispose(),s||(l={status:204,headers:{},body:""}),{response:l,logs:n,durationMs:Date.now()-o}}catch(t){let e=(b=t)instanceof Error?b.message.includes("interrupted")?"Function execution timed out":b.message.includes("memory")?"Function exceeded memory limit":b.message:String(b);return n.push(`[ERROR] ${e}`),{response:{status:500,headers:{"Content-Type":"application/json"},body:{error:e}},logs:n,durationMs:Date.now()-o,error:e}}finally{g.dispose(),m.dispose()}}function d(e,t){if(null===t)return e.null;if(void 0===t)return e.undefined;if("boolean"==typeof t)return t?e.true:e.false;if("number"==typeof t)return e.newNumber(t);if("string"==typeof t)return e.newString(t);if(Array.isArray(t)){let r=e.newArray();for(let o=0;o64?"Function name must be 64 characters or less":/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e)?["health","status","ping","api","admin","static"].includes(e)?`Function name "${e}" is reserved`:null:"Function name must be URL-safe (lowercase letters, numbers, hyphens only, cannot start or end with hyphen)":"Function name cannot be empty"}function m(e){return e&&0!==e.trim().length?e.length>64?"Function name must be 64 characters or less":/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e)?["break","case","catch","continue","debugger","default","delete","do","else","finally","for","function","if","in","instanceof","new","return","switch","this","throw","try","typeof","var","void","while","with","class","const","enum","export","extends","import","super","implements","interface","let","package","private","protected","public","static","yield","await","async"].includes(e)?`"${e}" is a reserved JavaScript keyword`:["db","fetch","console","args","request","Response","server","secrets","atob","btoa"].includes(e)?`"${e}" is reserved and cannot be used as a server function name`:null:"Function name must be a valid identifier (letters, numbers, underscores; cannot start with number)":"Function name cannot be empty"}o()}catch(e){o(e)}})},23870:(e,t,r)=>{r.d(t,{A:()=>l});var o=r(55511);let n={randomUUID:o.randomUUID},s=new Uint8Array(256),i=s.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let l=function(e,t,r){if(n.randomUUID&&!t&&!e)return n.randomUUID();let l=(e=e||{}).random??e.rng?.()??(i>s.length-16&&((0,o.randomFillSync)(s),i=0),s.slice(i,i+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=l[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(l)}},56660:(e,t,r)=>{r.d(t,{w:()=>i});let o=["sqlite_","_migrations","site_info","edge_functions","function_logs","server_functions","secrets","pageviews","interactions","sessions","files","file_tree_nodes"],n=["create","drop","alter","truncate"],s=["attach","detach","vacuum","reindex"];function i(e,t={}){let r=0,a=t.maxQueries??100,l=t.readOnly??!1,u=e=>{let t=e.toLowerCase().trim();for(let e of s)if(t.includes(e))throw Error(`SQL keyword "${e}" is not allowed`);for(let e of o)if(RegExp(`\\b${e.replace("_","_?")}\\w*\\b`,"i").test(t))throw Error(`Access to system table "${e}" is not allowed`);if(l){for(let e of n)if(t.startsWith(e))throw Error(`DDL statements (${e.toUpperCase()}) not allowed in read-only mode`)}if(++r>a)throw Error(`Query limit exceeded (max ${a} queries per execution)`)},c=(t,r)=>{u(t);try{let o=e.executeRawSQL(t,r);return o.rows.map(e=>{let t={};return o.columns.forEach((r,o)=>{t[r]=e[o]}),t})}catch(t){let e=t instanceof Error?t.message:"Query failed";throw Error(`Database error: ${e}`)}},d=(t,r)=>{if(u(t),l)throw Error("Database is in read-only mode");try{return{changes:e.executeRawSQL(t,r).rowsAffected,lastInsertRowid:0}}catch(t){let e=t instanceof Error?t.message:"Query failed";throw Error(`Database error: ${e}`)}};return{query:(e,t)=>c(e,t),run:(e,t)=>d(e,t),all:(e,t)=>c(e,t)}}}}; \ No newline at end of file diff --git a/.next/server/middleware-build-manifest.js b/.next/server/middleware-build-manifest.js index a38c11a195cb342cad6760e847e41a42a515c3b2..068818761f8dd957147189fb752a44cf6ecc97ca 100644 --- a/.next/server/middleware-build-manifest.js +++ b/.next/server/middleware-build-manifest.js @@ -1 +1 @@ -globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-0985c26455cd969f.js","static/chunks/4bd1b696-2683f5a71cc09935.js","static/chunks/1684-94ae6109893bd411.js","static/chunks/main-app-eac23abd81400eeb.js"],rootMainFilesTree:{},pages:{"/_app":["static/chunks/webpack-0985c26455cd969f.js","static/chunks/framework-744b75979ac08316.js","static/chunks/main-8e27881341b8ef31.js","static/chunks/pages/_app-5d1abe03d322390c.js"],"/_error":["static/chunks/webpack-0985c26455cd969f.js","static/chunks/framework-744b75979ac08316.js","static/chunks/main-8e27881341b8ef31.js","static/chunks/pages/_error-3b2a1d523de49635.js"]},ampFirstPages:[]},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"]; \ No newline at end of file +globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-e008b83f48726389.js","static/chunks/4bd1b696-2683f5a71cc09935.js","static/chunks/1684-94ae6109893bd411.js","static/chunks/main-app-eac23abd81400eeb.js"],rootMainFilesTree:{},pages:{"/_app":["static/chunks/webpack-e008b83f48726389.js","static/chunks/framework-744b75979ac08316.js","static/chunks/main-8e27881341b8ef31.js","static/chunks/pages/_app-5d1abe03d322390c.js"],"/_error":["static/chunks/webpack-e008b83f48726389.js","static/chunks/framework-744b75979ac08316.js","static/chunks/main-8e27881341b8ef31.js","static/chunks/pages/_error-3b2a1d523de49635.js"]},ampFirstPages:[]},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"]; \ No newline at end of file diff --git a/.next/server/middleware-manifest.json b/.next/server/middleware-manifest.json index de8c0f51fbc93f55ba883470e7faa964c8d2054c..9c615fd74d5df54c02376473ad469c206a80e1cf 100644 --- a/.next/server/middleware-manifest.json +++ b/.next/server/middleware-manifest.json @@ -17,11 +17,11 @@ "wasm": [], "assets": [], "env": { - "__NEXT_BUILD_ID": "jxLirYAMgdjIXymrVZyQd", - "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "ov0gS0438LlidDQjLhbZ2KSM67LwzzBzmxs9NPM6KWo=", - "__NEXT_PREVIEW_MODE_ID": "2b8f177ad9781c31c5ec548de53012dd", - "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "40802803100d3fd1a50ff65c1b614bf93770fad09f6d5d04c1ef82ce5dba9119", - "__NEXT_PREVIEW_MODE_SIGNING_KEY": "a218ecf14460efd0161e94dd6a9449e71fc65394feeb328b75dea173316d25c3" + "__NEXT_BUILD_ID": "WjFJhVBcz-sTdlqJMNSLk", + "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "scLRzmv9dK5DlN4s0WayJqhIluxV43aJKUaE3rxBo2M=", + "__NEXT_PREVIEW_MODE_ID": "0abf227cbebe69c02ba0fe81cef4fa81", + "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "6bb04a0def418bb657fd7556e9c4848aca5293af9f913260e84e525ad01ab902", + "__NEXT_PREVIEW_MODE_SIGNING_KEY": "b91d8ae2b6f89f4dc432df46a927171a914c7ce31cb971be999c32d64ea5138e" } } }, diff --git a/.next/server/middleware-react-loadable-manifest.js b/.next/server/middleware-react-loadable-manifest.js index caa697e50ed42ddd248efa4ceac82b10801f2c24..9444f782ba7dc27d6406b763ab377914ccb21eb3 100644 --- a/.next/server/middleware-react-loadable-manifest.js +++ b/.next/server/middleware-react-loadable-manifest.js @@ -1 +1 @@ -self.__REACT_LOADABLE_MANIFEST='{"components/file-explorer/index.tsx -> @/lib/vfs/skills":{"id":56746,"files":[]},"components/guided-tour/context.tsx -> @/lib/vfs":{"id":14250,"files":[]},"components/guided-tour/context.tsx -> @/lib/vfs/project-templates":{"id":18555,"files":[]},"components/heatmap-viewer/index.tsx -> @/lib/utils/screenshot":{"id":37940,"files":[]},"components/views/content-area.tsx -> @/lib/vfs":{"id":14250,"files":[]},"lib/llm/debug-events-state.ts -> @/lib/vfs":{"id":14250,"files":[]},"lib/vfs/adapters/factory.ts -> ./sqlite-adapter":{"id":30845,"files":["static/chunks/aaea2bcf.ecfc8abc06b729b3.js","static/chunks/9715.5b198f01a6fea451.js","static/chunks/845.03eaee8d92d2c75b.js"]},"lib/vfs/backup-service.ts -> @/lib/vfs":{"id":14250,"files":[]},"lib/vfs/cli-shell.ts -> ./index":{"id":14250,"files":[]},"lib/vfs/index.ts -> ./auto-sync":{"id":27709,"files":["static/chunks/7709.2822ccce19d5880e.js"]},"lib/vfs/index.ts -> ./server-context":{"id":9177,"files":["static/chunks/9177.4566ff4aed0feb5c.js"]}}'; \ No newline at end of file +self.__REACT_LOADABLE_MANIFEST='{"components/file-explorer/index.tsx -> @/lib/vfs/skills":{"id":56746,"files":[]},"components/guided-tour/context.tsx -> @/lib/vfs":{"id":14250,"files":[]},"components/guided-tour/context.tsx -> @/lib/vfs/project-templates":{"id":18555,"files":[]},"components/heatmap-viewer/index.tsx -> @/lib/utils/screenshot":{"id":37940,"files":[]},"components/views/content-area.tsx -> @/lib/vfs":{"id":14250,"files":[]},"lib/llm/debug-events-state.ts -> @/lib/vfs":{"id":14250,"files":[]},"lib/vfs/adapters/factory.ts -> ./sqlite-adapter":{"id":30845,"files":["static/chunks/aaea2bcf.ecfc8abc06b729b3.js","static/chunks/9715.5b198f01a6fea451.js","static/chunks/845.03eaee8d92d2c75b.js"]},"lib/vfs/backup-service.ts -> @/lib/vfs":{"id":14250,"files":[]},"lib/vfs/cli-shell.ts -> ./index":{"id":14250,"files":[]},"lib/vfs/index.ts -> ./auto-sync":{"id":27709,"files":["static/chunks/7709.a8a5b7a05b05f3e4.js"]},"lib/vfs/index.ts -> ./server-context":{"id":9177,"files":["static/chunks/9177.447ca5fc3e015eaf.js"]}}'; \ No newline at end of file diff --git a/.next/server/middleware.js b/.next/server/middleware.js index bc5474392c39ae0a2663ba7d19eaa8c9a931ff98..7ea9b5cd23976c48d0423909d75bcf6c430ea2ec 100644 --- a/.next/server/middleware.js +++ b/.next/server/middleware.js @@ -10,5 +10,5 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`}proces Read more: https://nextjs.org/docs/messages/middleware-request-page `)}}class g extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function. Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent - `)}}let b="_N_T_",m={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};function v(e){var t,r,n,i,a,o=[],s=0;function l(){for(;s=e.length)&&o.push(e.substring(t,e.length))}return o}function y(e){let t={},r=[];if(e)for(let[n,i]of e.entries())"set-cookie"===n.toLowerCase()?(r.push(...v(i)),t[n]=1===r.length?r[0]:r):t[n]=i;return t}function w(e){try{return String(new URL(String(e)))}catch(t){throw Object.defineProperty(Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}({...m,GROUP:{builtinReact:[m.reactServerComponents,m.actionBrowser],serverOnly:[m.reactServerComponents,m.actionBrowser,m.instrument,m.middleware],neutralTarget:[m.apiNode,m.apiEdge],clientOnly:[m.serverSideRendering,m.appPagesBrowser],bundled:[m.reactServerComponents,m.actionBrowser,m.serverSideRendering,m.appPagesBrowser,m.shared,m.instrument,m.middleware],appPages:[m.reactServerComponents,m.serverSideRendering,m.appPagesBrowser,m.actionBrowser]}});let _=Symbol("response"),S=Symbol("passThrough"),E=Symbol("waitUntil");class R{constructor(e,t){this[S]=!1,this[E]=t?{kind:"external",function:t}:{kind:"internal",promises:[]}}respondWith(e){this[_]||(this[_]=Promise.resolve(e))}passThroughOnException(){this[S]=!0}waitUntil(e){if("external"===this[E].kind)return(0,this[E].function)(e);this[E].promises.push(e)}}class O extends R{constructor(e){var t;super(e.request,null==(t=e.context)?void 0:t.waitUntil),this.sourcePage=e.page}get request(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}function x(e){return e.replace(/\/$/,"")||"/"}function C(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}function P(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=C(e);return""+t+r+n+i}function T(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=C(e);return""+r+t+n+i}function N(e,t){if("string"!=typeof e)return!1;let{pathname:r}=C(e);return r===t||r.startsWith(t+"/")}let A=new WeakMap;function k(e,t){let r;if(!t)return{pathname:e};let n=A.get(t);n||(n=t.map(e=>e.toLowerCase()),A.set(t,n));let i=e.split("/",2);if(!i[1])return{pathname:e};let a=i[1].toLowerCase(),o=n.indexOf(a);return o<0?{pathname:e}:(r=t[o],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}let I=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function M(e,t){return new URL(String(e).replace(I,"localhost"),t&&String(t).replace(I,"localhost"))}let j=Symbol("NextURLInternal");class D{constructor(e,t,r){let n,i;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,i=r||{}):i=r||t||{},this[j]={url:M(e,n??i.base),options:i,basePath:""},this.analyze()}analyze(){var e,t,r,n,i;let a=function(e,t){var r,n;let{basePath:i,i18n:a,trailingSlash:o}=null!=(r=t.nextConfig)?r:{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):o};i&&N(s.pathname,i)&&(s.pathname=function(e,t){if(!N(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}(s.pathname,i),s.basePath=i);let l=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],l="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(s.pathname=l)}if(a){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):k(s.pathname,a.locales);s.locale=e.detectedLocale,s.pathname=null!=(n=e.pathname)?n:s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(l):k(l,a.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}(this[j].url.pathname,{nextConfig:this[j].options.nextConfig,parseData:!0,i18nProvider:this[j].options.i18nProvider}),o=function(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}(this[j].url,this[j].options.headers);this[j].domainLocale=this[j].options.i18nProvider?this[j].options.i18nProvider.detectDomainLocale(o):function(e,t,r){if(e)for(let a of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=a.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===a.defaultLocale.toLowerCase()||(null==(i=a.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return a}}(null==(t=this[j].options.nextConfig)||null==(e=t.i18n)?void 0:e.domains,o);let s=(null==(r=this[j].domainLocale)?void 0:r.defaultLocale)||(null==(i=this[j].options.nextConfig)||null==(n=i.i18n)?void 0:n.defaultLocale);this[j].url.pathname=a.pathname,this[j].defaultLocale=s,this[j].basePath=a.basePath??"",this[j].buildId=a.buildId,this[j].locale=a.locale??s,this[j].trailingSlash=a.trailingSlash}formatPathname(){var e;let t;return t=function(e,t,r,n){if(!t||t===r)return e;let i=e.toLowerCase();return!n&&(N(i,"/api")||N(i,"/"+t.toLowerCase()))?e:P(e,"/"+t)}((e={basePath:this[j].basePath,buildId:this[j].buildId,defaultLocale:this[j].options.forceLocale?void 0:this[j].defaultLocale,locale:this[j].locale,pathname:this[j].url.pathname,trailingSlash:this[j].trailingSlash}).pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix),(e.buildId||!e.trailingSlash)&&(t=x(t)),e.buildId&&(t=T(P(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=P(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:T(t,"/"):x(t)}formatSearch(){return this[j].url.search}get buildId(){return this[j].buildId}set buildId(e){this[j].buildId=e}get locale(){return this[j].locale??""}set locale(e){var t,r;if(!this[j].locale||!(null==(r=this[j].options.nextConfig)||null==(t=r.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${e}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[j].locale=e}get defaultLocale(){return this[j].defaultLocale}get domainLocale(){return this[j].domainLocale}get searchParams(){return this[j].url.searchParams}get host(){return this[j].url.host}set host(e){this[j].url.host=e}get hostname(){return this[j].url.hostname}set hostname(e){this[j].url.hostname=e}get port(){return this[j].url.port}set port(e){this[j].url.port=e}get protocol(){return this[j].url.protocol}set protocol(e){this[j].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[j].url=M(e),this.analyze()}get origin(){return this[j].url.origin}get pathname(){return this[j].url.pathname}set pathname(e){this[j].url.pathname=e}get hash(){return this[j].url.hash}set hash(e){this[j].url.hash=e}get search(){return this[j].url.search}set search(e){this[j].url.search=e}get password(){return this[j].url.password}set password(e){this[j].url.password=e}get username(){return this[j].url.username}set username(e){this[j].url.username=e}get basePath(){return this[j].basePath}set basePath(e){this[j].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new D(String(this),this[j].options)}}var L=r(724);let U=Symbol("internal request");class $ extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);w(r),e instanceof Request?super(e,t):super(r,t);let n=new D(r,{headers:y(this.headers),nextConfig:t.nextConfig});this[U]={cookies:new L.RequestCookies(this.headers),nextUrl:n,url:n.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[U].cookies}get nextUrl(){return this[U].nextUrl}get page(){throw new f}get ua(){throw new g}get url(){return this[U].url}}class q{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}let W=Symbol("internal response"),H=new Set([301,302,303,307,308]);function B(e,t){var r;if(null==e||null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let r=[];for(let[n,i]of e.request.headers)t.set("x-middleware-request-"+n,i),r.push(n);t.set("x-middleware-override-headers",r.join(","))}}class K extends Response{constructor(e,t={}){super(e,t);let r=this.headers,n=new Proxy(new L.ResponseCookies(r),{get(e,n,i){switch(n){case"delete":case"set":return(...i)=>{let a=Reflect.apply(e[n],e,i),o=new Headers(r);return a instanceof L.ResponseCookies&&r.set("x-middleware-set-cookie",a.getAll().map(e=>(0,L.stringifyCookie)(e)).join(",")),B(t,o),a};default:return q.get(e,n,i)}}});this[W]={cookies:n,url:t.url?new D(t.url,{headers:y(r),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[W].cookies}static json(e,t){let r=Response.json(e,t);return new K(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!H.has(r))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let n="object"==typeof t?t:{},i=new Headers(null==n?void 0:n.headers);return i.set("Location",w(e)),new K(null,{...n,headers:i,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",w(e)),B(t,r),new K(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),B(e,t),new K(null,{...e,headers:t})}}function V(e,t){let r="string"==typeof t?new URL(t):t,n=new URL(e,t),i=n.origin===r.origin;return{url:i?n.toString().slice(r.origin.length):n.toString(),isRelative:i}}let z="Next-Router-Prefetch",G=["RSC","Next-Router-State-Tree",z,"Next-HMR-Refresh","Next-Router-Segment-Prefetch"],X="_rsc";class J extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new J}}class F extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,n){if("symbol"==typeof r)return q.get(t,r,n);let i=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===i);if(void 0!==a)return q.get(t,a,n)},set(t,r,n,i){if("symbol"==typeof r)return q.set(t,r,n,i);let a=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===a);return q.set(t,o??r,n,i)},has(t,r){if("symbol"==typeof r)return q.has(t,r);let n=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0!==i&&q.has(t,i)},deleteProperty(t,r){if("symbol"==typeof r)return q.deleteProperty(t,r);let n=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0===i||q.deleteProperty(t,i)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return J.callable;default:return q.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new F(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let Q=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class Y{disable(){throw Q}getStore(){}run(){throw Q}exit(){throw Q}enterWith(){throw Q}static bind(e){return e}}let Z="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function ee(){return Z?new Z:new Y}let et=ee(),er=ee();class en extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new en}}class ei{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return en.callable;default:return q.get(e,t,r)}}})}}let ea=Symbol.for("next.mutated.cookies");class eo{static wrap(e,t){let r=new L.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let n=[],i=new Set,a=()=>{let e=et.getStore();if(e&&(e.pathWasRevalidated=!0),n=r.getAll().filter(e=>i.has(e.name)),t){let e=[];for(let t of n){let r=new L.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},o=new Proxy(r,{get(e,t,r){switch(t){case ea:return n;case"delete":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),o}finally{a()}};case"set":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),o}finally{a()}};default:return q.get(e,t,r)}}});return o}}function es(e){if("action"!==function(e){let t=er.getStore();switch(!t&&function(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}(e),t.type){case"request":default:return t;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0})}}(e).phase)throw new en}var el=function(e){return e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404",e}(el||{}),ec=function(e){return e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents",e}(ec||{}),eu=function(e){return e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer",e}(eu||{}),ed=function(e){return e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch",e}(ed||{}),ep=function(e){return e.startServer="startServer.startServer",e}(ep||{}),eh=function(e){return e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult",e}(eh||{}),ef=function(e){return e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch",e}(ef||{}),eg=function(e){return e.executeRoute="Router.executeRoute",e}(eg||{}),eb=function(e){return e.runHandler="Node.runHandler",e}(eb||{}),em=function(e){return e.runHandler="AppRouteRouteHandlers.runHandler",e}(em||{}),ev=function(e){return e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport",e}(ev||{}),ey=function(e){return e.execute="Middleware.execute",e}(ey||{});let ew=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],e_=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"];function eS(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}let{context:eE,propagation:eR,trace:eO,SpanStatusCode:ex,SpanKind:eC,ROOT_CONTEXT:eP}=n=r(956);class eT extends Error{constructor(e,t){super(),this.bubble=e,this.result=t}}let eN=(e,t)=>{(function(e){return"object"==typeof e&&null!==e&&e instanceof eT})(t)&&t.bubble?e.setAttribute("next.bubble",!0):(t&&e.recordException(t),e.setStatus({code:ex.ERROR,message:null==t?void 0:t.message})),e.end()},eA=new Map,ek=n.createContextKey("next.rootSpanId"),eI=0,eM=()=>eI++,ej={set(e,t,r){e.push({key:t,value:r})}};class eD{getTracerInstance(){return eO.getTracer("next.js","0.0.1")}getContext(){return eE}getTracePropagationData(){let e=eE.active(),t=[];return eR.inject(e,t,ej),t}getActiveScopeSpan(){return eO.getSpan(null==eE?void 0:eE.active())}withPropagatedContext(e,t,r){let n=eE.active();if(eO.getSpanContext(n))return t();let i=eR.extract(n,e,r);return eE.with(i,t)}trace(...e){var t;let[r,n,i]=e,{fn:a,options:o}="function"==typeof n?{fn:n,options:{}}:{fn:i,options:{...n}},s=o.spanName??r;if(!ew.includes(r)&&"1"!==process.env.NEXT_OTEL_VERBOSE||o.hideSpan)return a();let l=this.getSpanContext((null==o?void 0:o.parentSpan)??this.getActiveScopeSpan()),c=!1;l?(null==(t=eO.getSpanContext(l))?void 0:t.isRemote)&&(c=!0):(l=(null==eE?void 0:eE.active())??eP,c=!0);let u=eM();return o.attributes={"next.span_name":s,"next.span_type":r,...o.attributes},eE.with(l.setValue(ek,u),()=>this.getTracerInstance().startActiveSpan(s,o,e=>{let t="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,n=()=>{eA.delete(u),t&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&e_.includes(r||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(r.split(".").pop()||"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}`,{start:t,end:performance.now()})};c&&eA.set(u,new Map(Object.entries(o.attributes??{})));try{if(a.length>1)return a(e,t=>eN(e,t));let t=a(e);if(eS(t))return t.then(t=>(e.end(),t)).catch(t=>{throw eN(e,t),t}).finally(n);return e.end(),n(),t}catch(t){throw eN(e,t),n(),t}}))}wrap(...e){let t=this,[r,n,i]=3===e.length?e:[e[0],{},e[1]];return ew.includes(r)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let e=n;"function"==typeof e&&"function"==typeof i&&(e=e.apply(this,arguments));let a=arguments.length-1,o=arguments[a];if("function"!=typeof o)return t.trace(r,e,()=>i.apply(this,arguments));{let n=t.getContext().bind(eE.active(),o);return t.trace(r,e,(e,t)=>(arguments[a]=function(e){return null==t||t(e),n.apply(this,arguments)},i.apply(this,arguments)))}}:i}startSpan(...e){let[t,r]=e,n=this.getSpanContext((null==r?void 0:r.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(t,r,n)}getSpanContext(e){return e?eO.setSpan(eE.active(),e):void 0}getRootSpanAttributes(){let e=eE.active().getValue(ek);return eA.get(e)}setRootSpanAttribute(e,t){let r=eE.active().getValue(ek),n=eA.get(r);n&&n.set(e,t)}}let eL=(()=>{let e=new eD;return()=>e})(),eU="__prerender_bypass";Symbol("__next_preview_data"),Symbol(eU);class e${constructor(e,t,r,n){var i;let a=e&&function(e,t){let r=F.from(e.headers);return{isOnDemandRevalidate:r.get("x-prerender-revalidate")===t.previewModeId,revalidateOnlyGenerated:r.has("x-prerender-revalidate-if-generated")}}(t,e).isOnDemandRevalidate,o=null==(i=r.get(eU))?void 0:i.value;this._isEnabled=!!(!a&&o&&e&&o===e.previewModeId),this._previewModeId=null==e?void 0:e.previewModeId,this._mutableCookies=n}get isEnabled(){return this._isEnabled}enable(){if(!this._previewModeId)throw Object.defineProperty(Error("Invariant: previewProps missing previewModeId this should never happen"),"__NEXT_ERROR_CODE",{value:"E93",enumerable:!1,configurable:!0});this._mutableCookies.set({name:eU,value:this._previewModeId,httpOnly:!0,sameSite:"none",secure:!0,path:"/"}),this._isEnabled=!0}disable(){this._mutableCookies.set({name:eU,value:"",httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:new Date(0)}),this._isEnabled=!1}}function eq(e,t){if("x-middleware-set-cookie"in e.headers&&"string"==typeof e.headers["x-middleware-set-cookie"]){let r=e.headers["x-middleware-set-cookie"],n=new Headers;for(let e of v(r))n.append("set-cookie",e);for(let e of new L.ResponseCookies(n).getAll())t.set(e)}}var eW=r(802),eH=r.n(eW);class eB extends Error{constructor(e,t){super("Invariant: "+(e.endsWith(".")?e:e+".")+" This is a bug in Next.js.",t),this.name="InvariantError"}}class eK{constructor(e,t){this.cache=new Map,this.sizes=new Map,this.totalSize=0,this.maxSize=e,this.calculateSize=t||(()=>1)}set(e,t){if(!e||!t)return;let r=this.calculateSize(t);if(r>this.maxSize)return void console.warn("Single item size exceeds maxSize");this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0),this.cache.set(e,t),this.sizes.set(e,r),this.totalSize+=r,this.touch(e)}has(e){return!!e&&(this.touch(e),!!this.cache.get(e))}get(e){if(!e)return;let t=this.cache.get(e);if(void 0!==t)return this.touch(e),t}touch(e){let t=this.cache.get(e);void 0!==t&&(this.cache.delete(e),this.cache.set(e,t),this.evictIfNecessary())}evictIfNecessary(){for(;this.totalSize>this.maxSize&&this.cache.size>0;)this.evictLeastRecentlyUsed()}evictLeastRecentlyUsed(){let e=this.cache.keys().next().value;if(void 0!==e){let t=this.sizes.get(e)||0;this.totalSize-=t,this.cache.delete(e),this.sizes.delete(e)}}reset(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}keys(){return[...this.cache.keys()]}remove(e){this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0,this.cache.delete(e),this.sizes.delete(e))}clear(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}get size(){return this.cache.size}get currentSize(){return this.totalSize}}r(356).Buffer,new eK(0x3200000,e=>e.size),process.env.NEXT_PRIVATE_DEBUG_CACHE&&console.debug.bind(console,"DefaultCacheHandler:"),process.env.NEXT_PRIVATE_DEBUG_CACHE,Symbol.for("@next/cache-handlers");let eV=Symbol.for("@next/cache-handlers-map"),ez=Symbol.for("@next/cache-handlers-set"),eG=globalThis;function eX(){if(eG[eV])return eG[eV].entries()}async function eJ(e,t){if(!e)return t();let r=eF(e);try{return await t()}finally{let t=function(e,t){let r=new Set(e.pendingRevalidatedTags),n=new Set(e.pendingRevalidateWrites);return{pendingRevalidatedTags:t.pendingRevalidatedTags.filter(e=>!r.has(e)),pendingRevalidates:Object.fromEntries(Object.entries(t.pendingRevalidates).filter(([t])=>!(t in e.pendingRevalidates))),pendingRevalidateWrites:t.pendingRevalidateWrites.filter(e=>!n.has(e))}}(r,eF(e));await eY(e,t)}}function eF(e){return{pendingRevalidatedTags:e.pendingRevalidatedTags?[...e.pendingRevalidatedTags]:[],pendingRevalidates:{...e.pendingRevalidates},pendingRevalidateWrites:e.pendingRevalidateWrites?[...e.pendingRevalidateWrites]:[]}}async function eQ(e,t){if(0===e.length)return;let r=[];t&&r.push(t.revalidateTag(e));let n=function(){if(eG[ez])return eG[ez].values()}();if(n)for(let t of n)r.push(t.expireTags(...e));await Promise.all(r)}async function eY(e,t){let r=(null==t?void 0:t.pendingRevalidatedTags)??e.pendingRevalidatedTags??[],n=(null==t?void 0:t.pendingRevalidates)??e.pendingRevalidates??{},i=(null==t?void 0:t.pendingRevalidateWrites)??e.pendingRevalidateWrites??[];return Promise.all([eQ(r,e.incrementalCache),...Object.values(n),...i])}let eZ=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class e0{disable(){throw eZ}getStore(){}run(){throw eZ}exit(){throw eZ}enterWith(){throw eZ}static bind(e){return e}}let e1="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage,e2=e1?new e1:new e0;class e5{constructor({waitUntil:e,onClose:t,onTaskError:r}){this.workUnitStores=new Set,this.waitUntil=e,this.onClose=t,this.onTaskError=r,this.callbackQueue=new(eH()),this.callbackQueue.pause()}after(e){if(eS(e))this.waitUntil||e4(),this.waitUntil(e.catch(e=>this.reportTaskError("promise",e)));else if("function"==typeof e)this.addCallback(e);else throw Object.defineProperty(Error("`after()`: Argument must be a promise or a function"),"__NEXT_ERROR_CODE",{value:"E50",enumerable:!1,configurable:!0})}addCallback(e){var t;this.waitUntil||e4();let r=er.getStore();r&&this.workUnitStores.add(r);let n=e2.getStore(),i=n?n.rootTaskSpawnPhase:null==r?void 0:r.phase;this.runCallbacksOnClosePromise||(this.runCallbacksOnClosePromise=this.runCallbacksOnClose(),this.waitUntil(this.runCallbacksOnClosePromise));let a=(t=async()=>{try{await e2.run({rootTaskSpawnPhase:i},()=>e())}catch(e){this.reportTaskError("function",e)}},e1?e1.bind(t):e0.bind(t));this.callbackQueue.add(a)}async runCallbacksOnClose(){return await new Promise(e=>this.onClose(e)),this.runCallbacks()}async runCallbacks(){if(0===this.callbackQueue.size)return;for(let e of this.workUnitStores)e.phase="after";let e=et.getStore();if(!e)throw Object.defineProperty(new eB("Missing workStore in AfterContext.runCallbacks"),"__NEXT_ERROR_CODE",{value:"E547",enumerable:!1,configurable:!0});return eJ(e,()=>(this.callbackQueue.start(),this.callbackQueue.onIdle()))}reportTaskError(e,t){if(console.error("promise"===e?"A promise passed to `after()` rejected:":"An error occurred in a function passed to `after()`:",t),this.onTaskError)try{null==this.onTaskError||this.onTaskError.call(this,t)}catch(e){console.error(Object.defineProperty(new eB("`onTaskError` threw while handling an error thrown from an `after` task",{cause:e}),"__NEXT_ERROR_CODE",{value:"E569",enumerable:!1,configurable:!0}))}}}function e4(){throw Object.defineProperty(Error("`after()` will not work correctly, because `waitUntil` is not available in the current environment."),"__NEXT_ERROR_CODE",{value:"E91",enumerable:!1,configurable:!0})}function e3(e){let t,r={then:(n,i)=>(t||(t=e()),t.then(e=>{r.value=e}).catch(()=>{}),t.then(n,i))};return r}class e6{onClose(e){if(this.isClosed)throw Object.defineProperty(Error("Cannot subscribe to a closed CloseController"),"__NEXT_ERROR_CODE",{value:"E365",enumerable:!1,configurable:!0});this.target.addEventListener("close",e),this.listeners++}dispatchClose(){if(this.isClosed)throw Object.defineProperty(Error("Cannot close a CloseController multiple times"),"__NEXT_ERROR_CODE",{value:"E229",enumerable:!1,configurable:!0});this.listeners>0&&this.target.dispatchEvent(new Event("close")),this.isClosed=!0}constructor(){this.target=new EventTarget,this.listeners=0,this.isClosed=!1}}function e9(){return{previewModeId:process.env.__NEXT_PREVIEW_MODE_ID,previewModeSigningKey:process.env.__NEXT_PREVIEW_MODE_SIGNING_KEY||"",previewModeEncryptionKey:process.env.__NEXT_PREVIEW_MODE_ENCRYPTION_KEY||""}}let e8=Symbol.for("@next/request-context"),e7=e=>{let t=["/layout"];if(e.startsWith("/")){let r=e.split("/");for(let e=1;e0;for(let t of e7(e))t=`${b}${t}`,n.push(t);if(t.pathname&&!i){let e=`${b}${t.pathname}`;n.push(e)}return{tags:n,expirationsByCacheKind:function(e){let t=new Map,r=eX();if(r)for(let[n,i]of r)"getExpiration"in i&&t.set(n,e3(async()=>i.getExpiration(...e)));return t}(n)}}class tt extends ${constructor(e){super(e.input,e.init),this.sourcePage=e.page}get request(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}waitUntil(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}let tr={keys:e=>Array.from(e.keys()),get:(e,t)=>e.get(t)??void 0},tn=(e,t)=>eL().withPropagatedContext(e.headers,t,tr),ti=!1;async function ta(e){var t;let n,i;if(!ti&&(ti=!0,"true"===process.env.NEXT_PRIVATE_TEST_PROXY)){let{interceptTestApis:e,wrapRequestHandler:t}=r(905);e(),tn=t(tn)}await d();let a=void 0!==globalThis.__BUILD_MANIFEST;e.request.url=e.request.url.replace(/\.rsc($|\?)/,"$1");let o=new D(e.request.url,{headers:e.request.headers,nextConfig:e.request.nextConfig});for(let e of[...o.searchParams.keys()]){let t=o.searchParams.getAll(e),r=function(e){for(let t of["nxtP","nxtI"])if(e!==t&&e.startsWith(t))return e.substring(t.length);return null}(e);if(r){for(let e of(o.searchParams.delete(r),t))o.searchParams.append(r,e);o.searchParams.delete(e)}}let s=o.buildId;o.buildId="";let l=function(e){let t=new Headers;for(let[r,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}(e.request.headers),c=l.has("x-nextjs-data"),u="1"===l.get("RSC");c&&"/index"===o.pathname&&(o.pathname="/");let p=new Map;if(!a)for(let e of G){let t=e.toLowerCase(),r=l.get(t);null!==r&&(p.set(t,r),l.delete(t))}let h=new tt({page:e.page,input:(function(e){let t="string"==typeof e,r=t?new URL(e):e;return r.searchParams.delete(X),t?r.toString():r})(o).toString(),init:{body:e.request.body,headers:l,method:e.request.method,nextConfig:e.request.nextConfig,signal:e.request.signal}});c&&Object.defineProperty(h,"__isData",{enumerable:!1,value:!0}),!globalThis.__incrementalCache&&e.IncrementalCache&&(globalThis.__incrementalCache=new e.IncrementalCache({appDir:!0,fetchCache:!0,minimalMode:!0,fetchCacheKeyPrefix:"",dev:!1,requestHeaders:e.request.headers,requestProtocol:"https",getPrerenderManifest:()=>({version:-1,routes:{},dynamicRoutes:{},notFoundRoutes:[],preview:e9()})}));let f=e.request.waitUntil??(null==(t=function(){let e=globalThis[e8];return null==e?void 0:e.get()}())?void 0:t.waitUntil),g=new O({request:h,page:e.page,context:f?{waitUntil:f}:void 0});if((n=await tn(h,()=>{if("/middleware"===e.page||"/src/middleware"===e.page){let t=g.waitUntil.bind(g),r=new e6;return eL().trace(ey.execute,{spanName:`middleware ${h.method} ${h.nextUrl.pathname}`,attributes:{"http.target":h.nextUrl.pathname,"http.method":h.method}},async()=>{try{var n,a,o,l,c,u;let d=e9(),p=await te("/",h.nextUrl,null),f=(c=h.nextUrl,u=e=>{i=e},function(e,t,r,n,i,a,o,s,l,c,u){function d(e){r&&r.setHeader("Set-Cookie",e)}let p={};return{type:"request",phase:e,implicitTags:a,url:{pathname:n.pathname,search:n.search??""},rootParams:i,get headers(){return p.headers||(p.headers=function(e){let t=F.from(e);for(let e of G)t.delete(e.toLowerCase());return F.seal(t)}(t.headers)),p.headers},get cookies(){if(!p.cookies){let e=new L.RequestCookies(F.from(t.headers));eq(t,e),p.cookies=ei.seal(e)}return p.cookies},set cookies(value){p.cookies=value},get mutableCookies(){if(!p.mutableCookies){let e=function(e,t){let r=new L.RequestCookies(F.from(e));return eo.wrap(r,t)}(t.headers,o||(r?d:void 0));eq(t,e),p.mutableCookies=e}return p.mutableCookies},get userspaceMutableCookies(){return p.userspaceMutableCookies||(p.userspaceMutableCookies=function(e){let t=new Proxy(e,{get(e,r,n){switch(r){case"delete":return function(...r){return es("cookies().delete"),e.delete(...r),t};case"set":return function(...r){return es("cookies().set"),e.set(...r),t};default:return q.get(e,r,n)}}});return t}(this.mutableCookies)),p.userspaceMutableCookies},get draftMode(){return p.draftMode||(p.draftMode=new e$(l,t,this.cookies,this.mutableCookies)),p.draftMode},renderResumeDataCache:s??null,isHmrRefresh:c,serverComponentsHmrCache:u||globalThis.__serverComponentsHmrCache}}("action",h,void 0,c,{},p,u,void 0,d,!1,void 0)),b=function({page:e,fallbackRouteParams:t,renderOpts:r,requestEndedState:n,isPrefetchRequest:i,buildId:a,previouslyRevalidatedTags:o}){var s;let l={isStaticGeneration:!r.shouldWaitOnAllReady&&!r.supportsDynamicResponse&&!r.isDraftMode&&!r.isPossibleServerAction,page:e,fallbackRouteParams:t,route:(s=e.split("/").reduce((e,t,r,n)=>t?"("===t[0]&&t.endsWith(")")||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t:e,"")).startsWith("/")?s:"/"+s,incrementalCache:r.incrementalCache||globalThis.__incrementalCache,cacheLifeProfiles:r.cacheLifeProfiles,isRevalidate:r.isRevalidate,isPrerendering:r.nextExport,fetchCache:r.fetchCache,isOnDemandRevalidate:r.isOnDemandRevalidate,isDraftMode:r.isDraftMode,requestEndedState:n,isPrefetchRequest:i,buildId:a,reactLoadableManifest:(null==r?void 0:r.reactLoadableManifest)||{},assetPrefix:(null==r?void 0:r.assetPrefix)||"",afterContext:function(e){let{waitUntil:t,onClose:r,onAfterTaskError:n}=e;return new e5({waitUntil:t,onClose:r,onTaskError:n})}(r),dynamicIOEnabled:r.experimental.dynamicIO,dev:r.dev??!1,previouslyRevalidatedTags:o,refreshTagsByCacheKind:function(){let e=new Map,t=eX();if(t)for(let[r,n]of t)"refreshTags"in n&&e.set(r,e3(async()=>n.refreshTags()));return e}()};return r.store=l,l}({page:"/",fallbackRouteParams:null,renderOpts:{cacheLifeProfiles:null==(a=e.request.nextConfig)||null==(n=a.experimental)?void 0:n.cacheLife,experimental:{isRoutePPREnabled:!1,dynamicIO:!1,authInterrupts:!!(null==(l=e.request.nextConfig)||null==(o=l.experimental)?void 0:o.authInterrupts)},supportsDynamicResponse:!0,waitUntil:t,onClose:r.onClose.bind(r),onAfterTaskError:void 0},requestEndedState:{ended:!1},isPrefetchRequest:h.headers.has(z),buildId:s??"",previouslyRevalidatedTags:[]});return await et.run(b,()=>er.run(f,e.handler,h,g))}finally{setTimeout(()=>{r.dispatchClose()},0)}})}return e.handler(h,g)}))&&!(n instanceof Response))throw Object.defineProperty(TypeError("Expected an instance of Response to be returned"),"__NEXT_ERROR_CODE",{value:"E567",enumerable:!1,configurable:!0});n&&i&&n.headers.set("set-cookie",i);let b=null==n?void 0:n.headers.get("x-middleware-rewrite");if(n&&b&&(u||!a)){let t=new D(b,{forceLocale:!0,headers:e.request.headers,nextConfig:e.request.nextConfig});a||t.host!==h.nextUrl.host||(t.buildId=s||t.buildId,n.headers.set("x-middleware-rewrite",String(t)));let{url:r,isRelative:i}=V(t.toString(),o.toString());!a&&c&&n.headers.set("x-nextjs-rewrite",r),u&&i&&(o.pathname!==t.pathname&&n.headers.set("x-nextjs-rewritten-path",t.pathname),o.search!==t.search&&n.headers.set("x-nextjs-rewritten-query",t.search.slice(1)))}let m=null==n?void 0:n.headers.get("Location");if(n&&m&&!a){let t=new D(m,{forceLocale:!1,headers:e.request.headers,nextConfig:e.request.nextConfig});n=new Response(n.body,n),t.host===o.host&&(t.buildId=s||t.buildId,n.headers.set("Location",t.toString())),c&&(n.headers.delete("Location"),n.headers.set("x-nextjs-redirect",V(t.toString(),o.toString()).url))}let v=n||K.next(),y=v.headers.get("x-middleware-override-headers"),w=[];if(y){for(let[e,t]of p)v.headers.set(`x-middleware-request-${e}`,t),w.push(e);w.length>0&&v.headers.set("x-middleware-override-headers",y+","+w.join(","))}return{response:v,waitUntil:("internal"===g[E].kind?Promise.all(g[E].promises).then(()=>{}):void 0)??Promise.resolve(),fetchMetrics:h.fetchMetrics}}r(280),"undefined"==typeof URLPattern||URLPattern;var to=r(815);new WeakMap;let ts="function"==typeof to.unstable_postpone;function tl(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}if(!1===function(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}(tl("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});RegExp(`\\n\\s+at __next_metadata_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_viewport_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_outlet_boundary__[\\n\\s]`),new WeakMap;let tc=new TextEncoder,tu=new TextDecoder;function td(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:tu.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=tu.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{var r=t;if(Uint8Array.fromBase64)return Uint8Array.fromBase64(r);let e=atob(r),n=new Uint8Array(e.length);for(let t=0;t{let r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new tb(`alg ${e} is not supported either by JOSE or your javascript runtime`)}},tS=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){let{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}};function tE(e,t="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function tR(e,t){return e.name===t}function tO(e){return parseInt(e.name.slice(4),10)}function tx(e,t,...r){if((r=r.filter(Boolean)).length>2){let t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}let tC=(e,...t)=>tx("Key must be ",e,...t);function tP(e,t,...r){return tx(`Key for the ${e} algorithm must be `,t,...r)}let tT=async(e,t,r)=>{if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw TypeError(tC(t,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}return!function(e,t,r){switch(t){case"HS256":case"HS384":case"HS512":{if(!tR(e.algorithm,"HMAC"))throw tE("HMAC");let r=parseInt(t.slice(2),10);if(tO(e.algorithm.hash)!==r)throw tE(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!tR(e.algorithm,"RSASSA-PKCS1-v1_5"))throw tE("RSASSA-PKCS1-v1_5");let r=parseInt(t.slice(2),10);if(tO(e.algorithm.hash)!==r)throw tE(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!tR(e.algorithm,"RSA-PSS"))throw tE("RSA-PSS");let r=parseInt(t.slice(2),10);if(tO(e.algorithm.hash)!==r)throw tE(`SHA-${r}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!tR(e.algorithm,"Ed25519"))throw tE("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!tR(e.algorithm,t))throw tE(t);break;case"ES256":case"ES384":case"ES512":{if(!tR(e.algorithm,"ECDSA"))throw tE("ECDSA");let r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw tE(r,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}var n=e,i=r;if(i&&!n.usages.includes(i))throw TypeError(`CryptoKey does not support this operation, its usages must include ${i}.`)}(t,e,r),t},tN=async(e,t,r,n)=>{let i=await tT(e,t,"verify");tS(e,i);let a=t_(e,i.algorithm);try{return await crypto.subtle.verify(a,i,r,n)}catch{return!1}},tA=(...e)=>{let t,r=e.filter(Boolean);if(0===r.length||1===r.length)return!0;for(let e of r){let r=Object.keys(e);if(!t||0===t.size){t=new Set(r);continue}for(let e of r){if(t.has(e))return!1;t.add(e)}}return!0},tk=e=>{if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};function tI(e){return e?.[Symbol.toStringTag]==="CryptoKey"}function tM(e){return e?.[Symbol.toStringTag]==="KeyObject"}let tj=e=>tI(e)||tM(e);function tD(e){return tk(e)&&"string"==typeof e.kty}let tL=e=>e?.[Symbol.toStringTag],tU=(e,t,r)=>{if(void 0!==t.use){let e;switch(r){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(t.use!==e)throw TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==t.alg&&t.alg!==e)throw TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(t.key_ops)){let n;switch(!0){case"sign"===r||"verify"===r:case"dir"===e:case e.includes("CBC-HS"):n=r;break;case e.startsWith("PBES2"):n="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):n=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===r?"wrapKey":"unwrapKey":r;break;case"encrypt"===r&&e.startsWith("RSA"):n="wrapKey";break;case"decrypt"===r:n=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(n&&t.key_ops?.includes?.(n)===!1)throw TypeError(`Invalid key for this operation, its "key_ops" must include "${n}" when present`)}return!0},t$=(e,t,r)=>{if(!(t instanceof Uint8Array)){if(tD(t)){if(function(e){return"oct"===e.kty&&"string"==typeof e.k}(t)&&tU(e,t,r))return;throw TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!tj(t))throw TypeError(tP(e,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==t.type)throw TypeError(`${tL(t)} instances for symmetric algorithms must be of type "secret"`)}},tq=(e,t,r)=>{if(tD(t))switch(r){case"decrypt":case"sign":if(function(e){return"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d)}(t)&&tU(e,t,r))return;throw TypeError("JSON Web Key for this operation be a private JWK");case"encrypt":case"verify":if(function(e){return"oct"!==e.kty&&void 0===e.d&&void 0===e.priv}(t)&&tU(e,t,r))return;throw TypeError("JSON Web Key for this operation be a public JWK")}if(!tj(t))throw TypeError(tP(e,t,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===t.type)throw TypeError(`${tL(t)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===t.type)switch(r){case"sign":throw TypeError(`${tL(t)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw TypeError(`${tL(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===t.type)switch(r){case"verify":throw TypeError(`${tL(t)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw TypeError(`${tL(t)} instances for asymmetric algorithm encryption must be of type "public"`)}},tW=(e,t,r)=>{e.startsWith("HS")||"dir"===e||e.startsWith("PBES2")||/^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e)||/^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e)?t$(e,t,r):tq(e,t,r)},tH=(e,t,r,n,i)=>{let a;if(void 0!==i.crit&&n?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||void 0===n.crit)return new Set;if(!Array.isArray(n.crit)||0===n.crit.length||n.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');for(let o of(a=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t,n.crit)){if(!a.has(o))throw new tb(`Extension Header Parameter "${o}" is not recognized`);if(void 0===i[o])throw new e(`Extension Header Parameter "${o}" is missing`);if(a.get(o)&&void 0===n[o])throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`)}return new Set(n.crit)},tB=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)},tK=async e=>{if(!e.alg)throw TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":t={name:e.alg},r=e.priv?["sign"]:["verify"];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new tb('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),n={...e};return"AKP"!==n.kty&&delete n.alg,delete n.use,crypto.subtle.importKey("jwk",n,t,e.ext??(!e.d&&!e.priv),e.key_ops??r)},tV=async(e,t,r,n=!1)=>{let a=(i||=new WeakMap).get(e);if(a?.[r])return a[r];let o=await tK({...t,alg:r});return n&&Object.freeze(e),a?a[r]=o:i.set(e,{[r]:o}),o},tz=(e,t)=>{let r,n=(i||=new WeakMap).get(e);if(n?.[t])return n[t];let a="public"===e.type,o=!!a;if("x25519"===e.asymmetricKeyType){switch(t){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}r=e.toCryptoKey(e.asymmetricKeyType,o,a?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==t&&"Ed25519"!==t)throw TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,o,[a?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(t!==e.asymmetricKeyType.toUpperCase())throw TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,o,[a?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let n;switch(t){case"RSA-OAEP":n="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":n="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":n="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":n="SHA-512";break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}if(t.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:n},o,a?["encrypt"]:["decrypt"]);r=e.toCryptoKey({name:t.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:n},o,[a?"verify":"sign"])}if("ec"===e.asymmetricKeyType){let n=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!n)throw TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===t&&"P-256"===n&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:n},o,[a?"verify":"sign"])),"ES384"===t&&"P-384"===n&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:n},o,[a?"verify":"sign"])),"ES512"===t&&"P-521"===n&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:n},o,[a?"verify":"sign"])),t.startsWith("ECDH-ES")&&(r=e.toCryptoKey({name:"ECDH",namedCurve:n},o,a?[]:["deriveBits"]))}if(!r)throw TypeError("given KeyObject instance cannot be used for this algorithm");return n?n[t]=r:i.set(e,{[t]:r}),r},tG=async(e,t)=>{if(e instanceof Uint8Array||tI(e))return e;if(tM(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return tz(e,t)}catch(e){if(e instanceof TypeError)throw e}let r=e.export({format:"jwk"});return tV(e,r,t)}if(tD(e))return e.k?td(e.k):tV(e,e,t,!0);throw Error("unreachable")};async function tX(e,t,r){let n,i;if(!tk(e))throw new tm("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new tm('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new tm("JWS Protected Header incorrect type");if(void 0===e.payload)throw new tm("JWS Payload missing");if("string"!=typeof e.signature)throw new tm("JWS Signature missing or incorrect type");if(void 0!==e.header&&!tk(e.header))throw new tm("JWS Unprotected Header incorrect type");let a={};if(e.protected)try{let t=td(e.protected);a=JSON.parse(tu.decode(t))}catch{throw new tm("JWS Protected Header is invalid")}if(!tA(a,e.header))throw new tm("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let o={...a,...e.header},s=tH(tm,new Map([["b64",!0]]),r?.crit,a,o),l=!0;if(s.has("b64")&&"boolean"!=typeof(l=a.b64))throw new tm('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:c}=o;if("string"!=typeof c||!c)throw new tm('JWS "alg" (Algorithm) Header Parameter missing or invalid');let u=r&&tB("algorithms",r.algorithms);if(u&&!u.has(c))throw new tg('"alg" (Algorithm) Header Parameter value not allowed');if(l){if("string"!=typeof e.payload)throw new tm("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new tm("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof t&&(t=await t(a,e),d=!0),tW(c,t,"verify");let p=function(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(tc.encode(e.protected??""),tc.encode("."),"string"==typeof e.payload?tc.encode(e.payload):e.payload);try{n=td(e.signature)}catch{throw new tm("Failed to base64url decode the signature")}let h=await tG(t,c);if(!await tN(c,h,n,p))throw new tw;if(l)try{i=td(e.payload)}catch{throw new tm("Failed to base64url decode the payload")}else i="string"==typeof e.payload?tc.encode(e.payload):e.payload;let f={payload:i};return(void 0!==e.protected&&(f.protectedHeader=a),void 0!==e.header&&(f.unprotectedHeader=e.header),d)?{...f,key:h}:f}async function tJ(e,t,r){if(e instanceof Uint8Array&&(e=tu.decode(e)),"string"!=typeof e)throw new tm("Compact JWS must be a string or Uint8Array");let{0:n,1:i,2:a,length:o}=e.split(".");if(3!==o)throw new tm("Invalid Compact JWS");let s=await tX({payload:i,protected:n,signature:a},t,r),l={payload:s.payload,protectedHeader:s.protectedHeader};return"function"==typeof t?{...l,key:s.key}:l}let tF=e=>Math.floor(e.getTime()/1e3),tQ=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,tY=e=>{let t,r=tQ.exec(e);if(!r||r[4]&&r[1])throw TypeError("Invalid time period format");let n=parseFloat(r[2]);switch(r[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":t=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":t=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":t=Math.round(3600*n);break;case"day":case"days":case"d":t=Math.round(86400*n);break;case"week":case"weeks":case"w":t=Math.round(604800*n);break;default:t=Math.round(0x1e187e0*n)}return"-"===r[1]||"ago"===r[4]?-t:t},tZ=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`,t0=(e,t)=>"string"==typeof e?t.includes(e):!!Array.isArray(e)&&t.some(Set.prototype.has.bind(new Set(e)));async function t1(e,t,r){let n=await tJ(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&!1===n.protectedHeader.b64)throw new tv("JWTs MUST NOT use unencoded payload");let i={payload:function(e,t,r={}){let n,i;try{n=JSON.parse(tu.decode(t))}catch{}if(!tk(n))throw new tv("JWT Claims Set must be a top-level JSON object");let{typ:a}=r;if(a&&("string"!=typeof e.typ||tZ(e.typ)!==tZ(a)))throw new th('unexpected "typ" JWT header value',n,"typ","check_failed");let{requiredClaims:o=[],issuer:s,subject:l,audience:c,maxTokenAge:u}=r,d=[...o];for(let e of(void 0!==u&&d.push("iat"),void 0!==c&&d.push("aud"),void 0!==l&&d.push("sub"),void 0!==s&&d.push("iss"),new Set(d.reverse())))if(!(e in n))throw new th(`missing required "${e}" claim`,n,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(n.iss))throw new th('unexpected "iss" claim value',n,"iss","check_failed");if(l&&n.sub!==l)throw new th('unexpected "sub" claim value',n,"sub","check_failed");if(c&&!t0(n.aud,"string"==typeof c?[c]:c))throw new th('unexpected "aud" claim value',n,"aud","check_failed");switch(typeof r.clockTolerance){case"string":i=tY(r.clockTolerance);break;case"number":i=r.clockTolerance;break;case"undefined":i=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:p}=r,h=tF(p||new Date);if((void 0!==n.iat||u)&&"number"!=typeof n.iat)throw new th('"iat" claim must be a number',n,"iat","invalid");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new th('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>h+i)throw new th('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new th('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=h-i)throw new tf('"exp" claim timestamp check failed',n,"exp","check_failed")}if(u){let e=h-n.iat;if(e-i>("number"==typeof u?u:tY(u)))throw new tf('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(e<0-i)throw new th('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return"function"==typeof t?{...i,key:n.key}:i}let t2={current:null},t5="function"==typeof to.cache?to.cache:e=>e,t4=console.warn;function t3(e){return function(...t){t4(e(...t))}}t5(e=>{try{t4(t2.current)}finally{t2.current=null}});let t6=new WeakMap,t9=t3(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})});function t8(){return this.getAll().map(e=>[e.name,e]).values()}function t7(e){for(let e of this.getAll())this.delete(e.name);return e}let re=new WeakMap,rt=t3(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})});function rr(){let e=workAsyncStorage.getStore(),t=workUnitAsyncStorage.getStore();switch((!e||!t)&&throwForMissingRequestStore("draftMode"),t.type){case"request":return rn(t.draftMode,e);case"cache":case"unstable-cache":let r=getDraftModeProviderForCacheScope(e,t);if(r)return rn(r,e);case"prerender":case"prerender-ppr":case"prerender-legacy":return ra(null);default:return t}}function rn(e,t){let r,n=ri.get(rr);return n||(r=ra(e),ri.set(e,r),r)}let ri=new WeakMap;function ra(e){let t=new ro(e),r=Promise.resolve(t);return Object.defineProperty(r,"isEnabled",{get:()=>t.isEnabled,set(e){Object.defineProperty(r,"isEnabled",{value:e,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0}),r.enable=t.enable.bind(t),r.disable=t.disable.bind(t),r}class ro{constructor(e){this._provider=e}get isEnabled(){return null!==this._provider&&this._provider.isEnabled}enable(){rl("draftMode().enable()"),null!==this._provider&&this._provider.enable()}disable(){rl("draftMode().disable()"),null!==this._provider&&this._provider.disable()}}let rs=t3(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`draftMode()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})});function rl(e){let t=workAsyncStorage.getStore(),r=workUnitAsyncStorage.getStore();if(t){if(r){if("cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside "use cache". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E246",enumerable:!1,configurable:!0});else if("unstable-cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside a function cached with "unstable_cache(...)". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E259",enumerable:!1,configurable:!0});else if("after"===r.phase)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside \`after\`. The enabled status of draftMode can be read inside \`after\` but you cannot enable or disable draftMode. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E348",enumerable:!1,configurable:!0})}if(t.dynamicShouldError)throw Object.defineProperty(new StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(r){if("prerender"===r.type){let n=Object.defineProperty(Error(`Route ${t.route} used ${e} without first calling \`await connection()\`. See more info here: https://nextjs.org/docs/messages/next-prerender-sync-headers`),"__NEXT_ERROR_CODE",{value:"E126",enumerable:!1,configurable:!0});abortAndThrowOnSynchronousRequestDataAccess(t.route,e,n,r)}else if("prerender-ppr"===r.type)postponeWithTracking(t.route,e,r.dynamicTracking);else if("prerender-legacy"===r.type){r.revalidate=0;let n=Object.defineProperty(new DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}}}}async function rc(e){try{let t=function(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}(),{payload:r}=await t1(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function ru(e){let{pathname:t}=e.nextUrl;if(t.startsWith("/api/admin"))return K.next();if(t.startsWith("/admin")){if("/admin/login"===t)return K.next();let r=e.cookies.get("osw_session")?.value;if(!r||!await rc(r)){let t=new URL("/admin/login",e.url);return K.redirect(t)}}return K.next()}let rd={matcher:["/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)"]},rp=(Object.values({NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401}),{...a}),rh=rp.middleware||rp.default,rf="/middleware";if("function"!=typeof rh)throw Object.defineProperty(Error(`The Middleware "${rf}" must export a \`middleware\` or a \`default\` function`),"__NEXT_ERROR_CODE",{value:"E120",enumerable:!1,configurable:!0});function rg(e){return ta({...e,page:rf,handler:async(...e)=>{try{return await rh(...e)}catch(i){let t=e[0],r=new URL(t.url),n=r.pathname+r.search;throw await c(i,{path:n,method:t.method,headers:Object.fromEntries(t.headers.entries())},{routerKind:"Pages Router",routePath:"/middleware",routeType:"middleware",revalidateReason:void 0}),i}}})}},201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getTestReqInfo:function(){return o},withRequest:function(){return a}});let n=new(r(521)).AsyncLocalStorage;function i(e,t){let r=t.header(e,"next-test-proxy-port");if(!r)return;let n=t.url(e);return{url:n,proxyPort:Number(r),testData:t.header(e,"next-test-data")||""}}function a(e,t,r){let a=i(e,t);return a?n.run(a,r):r()}function o(e,t){let r=n.getStore();return r||(e&&t?i(e,t):void 0)}},280:(e,t,r)=>{var n;(()=>{var i={226:function(i,a){!function(o,s){"use strict";var l="function",c="undefined",u="object",d="string",p="major",h="model",f="name",g="type",b="vendor",m="version",v="architecture",y="console",w="mobile",_="tablet",S="smarttv",E="wearable",R="embedded",O="Amazon",x="Apple",C="ASUS",P="BlackBerry",T="Browser",N="Chrome",A="Firefox",k="Google",I="Huawei",M="Microsoft",j="Motorola",D="Opera",L="Samsung",U="Sharp",$="Sony",q="Xiaomi",W="Zebra",H="Facebook",B="Chromium OS",K="Mac OS",V=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},z=function(e){for(var t={},r=0;r0?2===a.length?typeof a[1]==l?this[a[0]]=a[1].call(this,c):this[a[0]]=a[1]:3===a.length?typeof a[1]!==l||a[1].exec&&a[1].test?this[a[0]]=c?c.replace(a[1],a[2]):void 0:this[a[0]]=c?a[1].call(this,c,a[2]):void 0:4===a.length&&(this[a[0]]=c?a[3].call(this,c.replace(a[1],a[2])):s):this[a]=c||s;d+=2}},Q=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n2&&(e[h]="iPad",e[g]=_),e},this.getEngine=function(){var e={};return e[f]=s,e[m]=s,F.call(e,n,a.engine),e},this.getOS=function(){var e={};return e[f]=s,e[m]=s,F.call(e,n,a.os),y&&!e[f]&&i&&"Unknown"!=i.platform&&(e[f]=i.platform.replace(/chrome os/i,B).replace(/macos/i,K)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===d&&e.length>350?J(e,350):e,this},this.setUA(n),this};ee.VERSION="1.0.35",ee.BROWSER=z([f,m,p]),ee.CPU=z([v]),ee.DEVICE=z([h,b,g,y,w,S,_,E,R]),ee.ENGINE=ee.OS=z([f,m]),typeof a!==c?(i.exports&&(a=i.exports=ee),a.UAParser=ee):r.amdO?void 0===(n=(function(){return ee}).call(t,r,t,e))||(e.exports=n):typeof o!==c&&(o.UAParser=ee);var et=typeof o!==c&&(o.jQuery||o.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:this)}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}},n=!0;try{i[e].call(r.exports,r,r.exports,o),n=!1}finally{n&&delete a[e]}return r.exports}o.ab="//",e.exports=o(226)})()},356:e=>{"use strict";e.exports=require("node:buffer")},521:e=>{"use strict";e.exports=require("node:async_hooks")},552:(e,t,r)=>{"use strict";var n=r(356).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleFetch:function(){return s},interceptFetch:function(){return l},reader:function(){return a}});let i=r(201),a={url:e=>e.url,header:(e,t)=>e.headers.get(t)};async function o(e,t){let{url:r,method:i,headers:a,body:o,cache:s,credentials:l,integrity:c,mode:u,redirect:d,referrer:p,referrerPolicy:h}=t;return{testData:e,api:"fetch",request:{url:r,method:i,headers:[...Array.from(a),["next-test-stack",function(){let e=(Error().stack??"").split("\n");for(let t=1;t0){e=e.slice(t);break}return(e=(e=(e=e.filter(e=>!e.includes("/next/dist/"))).slice(0,5)).map(e=>e.replace("webpack-internal:///(rsc)/","").trim())).join(" ")}()]],body:o?n.from(await t.arrayBuffer()).toString("base64"):null,cache:s,credentials:l,integrity:c,mode:u,redirect:d,referrer:p,referrerPolicy:h}}}async function s(e,t){let r=(0,i.getTestReqInfo)(t,a);if(!r)return e(t);let{testData:s,proxyPort:l}=r,c=await o(s,t),u=await e(`http://localhost:${l}`,{method:"POST",body:JSON.stringify(c),next:{internal:!0}});if(!u.ok)throw Object.defineProperty(Error(`Proxy request failed: ${u.status}`),"__NEXT_ERROR_CODE",{value:"E146",enumerable:!1,configurable:!0});let d=await u.json(),{api:p}=d;switch(p){case"continue":return e(t);case"abort":case"unhandled":throw Object.defineProperty(Error(`Proxy request aborted [${t.method} ${t.url}]`),"__NEXT_ERROR_CODE",{value:"E145",enumerable:!1,configurable:!0})}let{status:h,headers:f,body:g}=d.response;return new Response(g?n.from(g,"base64"):null,{status:h,headers:new Headers(f)})}function l(e){return r.g.fetch=function(t,r){var n;return(null==r||null==(n=r.next)?void 0:n.internal)?e(t,r):s(e,new Request(t,r))},()=>{r.g.fetch=e}}},724:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};function o(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function s(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function l(e){if(!e)return;let[[t,r],...n]=s(e),{domain:i,expires:a,httponly:o,maxage:l,path:d,samesite:p,secure:h,partitioned:f,priority:g}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var b,m,v={name:t,value:decodeURIComponent(r),domain:i,...a&&{expires:new Date(a)},...o&&{httpOnly:!0},..."string"==typeof l&&{maxAge:Number(l)},path:d,...p&&{sameSite:c.includes(b=(b=p).toLowerCase())?b:void 0},...h&&{secure:!0},...g&&{priority:u.includes(m=(m=g).toLowerCase())?m:void 0},...f&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{RequestCookies:()=>d,ResponseCookies:()=>p,parseCookie:()=>s,parseSetCookie:()=>l,stringifyCookie:()=>o}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=r(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);var c=["strict","lax","none"],u=["low","medium","high"],d=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of s(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>o(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>o(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},p=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;let i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(let e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,a,o=[],s=0;function l(){for(;s=e.length)&&o.push(e.substring(t,e.length))}return o}(i)){let t=l(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,i=this._parsed;return i.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=o(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(o).join("; ")}}},802:e=>{(()=>{"use strict";var t={993:e=>{var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,o){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new i(n,a||e,o),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i{e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},574:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let n=0,i=e.length;for(;i>0;){let a=i/2|0,o=n+a;0>=r(e[o],t)?(n=++o,i-=a+1):i=a}return n}},821:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let n=r(574);class i{constructor(){this._queue=[]}enqueue(e,t){let r={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(r);let i=n.default(this._queue,r,(e,t)=>t.priority-e.priority);this._queue.splice(i,0,r)}dequeue(){let e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}t.default=i},816:(e,t,r)=>{let n=r(213);class i extends Error{constructor(e){super(e),this.name="TimeoutError"}}let a=(e,t,r)=>new Promise((a,o)=>{if("number"!=typeof t||t<0)throw TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void a(e);let s=setTimeout(()=>{if("function"==typeof r){try{a(r())}catch(e){o(e)}return}let n="string"==typeof r?r:`Promise timed out after ${t} milliseconds`,s=r instanceof Error?r:new i(n);"function"==typeof e.cancel&&e.cancel(),o(s)},t);n(e.then(a,o),()=>{clearTimeout(s)})});e.exports=a,e.exports.default=a,e.exports.TimeoutError=i}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},o=!0;try{t[e](a,a.exports,n),o=!1}finally{o&&delete r[e]}return a.exports}n.ab="//";var i={};(()=>{Object.defineProperty(i,"__esModule",{value:!0});let e=n(993),t=n(816),r=n(821),a=()=>{},o=new t.TimeoutError;class s extends e{constructor(e){var t,n,i,o;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=a,this._resolveIdle=a,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:r.default},e)).intervalCap&&e.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!=(n=null==(t=e.intervalCap)?void 0:t.toString())?n:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!=(o=null==(i=e.interval)?void 0:i.toString())?o:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){let e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){let t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,r={}){return new Promise((n,i)=>{let a=async()=>{this._pendingCount++,this._intervalCount++;try{let a=void 0===this._timeout&&void 0===r.timeout?e():t.default(Promise.resolve(e()),void 0===r.timeout?this._timeout:r.timeout,()=>{(void 0===r.throwOnTimeout?this._throwOnTimeout:r.throwOnTimeout)&&i(o)});n(await a)}catch(e){i(e)}this._next()};this._queue.enqueue(a,r),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused&&(this._isPaused=!1,this._processQueue()),this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{let t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{let t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}i.default=s})(),e.exports=i})()},815:(e,t,r)=>{"use strict";e.exports=r(35)},890:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var i={},a=t.split(n),o=(r||{}).decode||e,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{interceptTestApis:function(){return a},wrapRequestHandler:function(){return o}});let n=r(201),i=r(552);function a(){return(0,i.interceptFetch)(r.g.fetch)}function o(e){return(t,r)=>(0,n.withRequest)(t,i.reader,()=>e(t,r))}},956:(e,t,r)=>{(()=>{"use strict";var t={491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextAPI=void 0;let n=r(223),i=r(172),a=r(930),o="context",s=new n.NoopContextManager;class l{constructor(){}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalContextManager(e){return(0,i.registerGlobal)(o,e,a.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,i.getGlobal)(o)||s}disable(){this._getContextManager().disable(),(0,i.unregisterGlobal)(o,a.DiagAPI.instance())}}t.ContextAPI=l},930:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagAPI=void 0;let n=r(56),i=r(912),a=r(957),o=r(172);class s{constructor(){function e(e){return function(...t){let r=(0,o.getGlobal)("diag");if(r)return r[e](...t)}}let t=this;t.setLogger=(e,r={logLevel:a.DiagLogLevel.INFO})=>{var n,s,l;if(e===t){let e=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!=(n=e.stack)?n:e.message),!1}"number"==typeof r&&(r={logLevel:r});let c=(0,o.getGlobal)("diag"),u=(0,i.createLogLevelDiagLogger)(null!=(s=r.logLevel)?s:a.DiagLogLevel.INFO,e);if(c&&!r.suppressOverrideMessage){let e=null!=(l=Error().stack)?l:"";c.warn(`Current logger will be overwritten from ${e}`),u.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,o.registerGlobal)("diag",u,t,!0)},t.disable=()=>{(0,o.unregisterGlobal)("diag",t)},t.createComponentLogger=e=>new n.DiagComponentLogger(e),t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}static instance(){return this._instance||(this._instance=new s),this._instance}}t.DiagAPI=s},653:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MetricsAPI=void 0;let n=r(660),i=r(172),a=r(930),o="metrics";class s{constructor(){}static getInstance(){return this._instance||(this._instance=new s),this._instance}setGlobalMeterProvider(e){return(0,i.registerGlobal)(o,e,a.DiagAPI.instance())}getMeterProvider(){return(0,i.getGlobal)(o)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,i.unregisterGlobal)(o,a.DiagAPI.instance())}}t.MetricsAPI=s},181:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropagationAPI=void 0;let n=r(172),i=r(874),a=r(194),o=r(277),s=r(369),l=r(930),c="propagation",u=new i.NoopTextMapPropagator;class d{constructor(){this.createBaggage=s.createBaggage,this.getBaggage=o.getBaggage,this.getActiveBaggage=o.getActiveBaggage,this.setBaggage=o.setBaggage,this.deleteBaggage=o.deleteBaggage}static getInstance(){return this._instance||(this._instance=new d),this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(c,e,l.DiagAPI.instance())}inject(e,t,r=a.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=a.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(c,l.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(c)||u}}t.PropagationAPI=d},997:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceAPI=void 0;let n=r(172),i=r(846),a=r(139),o=r(607),s=r(930),l="trace";class c{constructor(){this._proxyTracerProvider=new i.ProxyTracerProvider,this.wrapSpanContext=a.wrapSpanContext,this.isSpanContextValid=a.isSpanContextValid,this.deleteSpan=o.deleteSpan,this.getSpan=o.getSpan,this.getActiveSpan=o.getActiveSpan,this.getSpanContext=o.getSpanContext,this.setSpan=o.setSpan,this.setSpanContext=o.setSpanContext}static getInstance(){return this._instance||(this._instance=new c),this._instance}setGlobalTracerProvider(e){let t=(0,n.registerGlobal)(l,this._proxyTracerProvider,s.DiagAPI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return(0,n.getGlobal)(l)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(l,s.DiagAPI.instance()),this._proxyTracerProvider=new i.ProxyTracerProvider}}t.TraceAPI=c},277:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;let n=r(491),i=(0,r(780).createContextKey)("OpenTelemetry Baggage Key");function a(e){return e.getValue(i)||void 0}t.getBaggage=a,t.getActiveBaggage=function(){return a(n.ContextAPI.getInstance().active())},t.setBaggage=function(e,t){return e.setValue(i,t)},t.deleteBaggage=function(e){return e.deleteValue(i)}},993:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaggageImpl=void 0;class r{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map(([e,t])=>[e,t])}setEntry(e,t){let n=new r(this._entries);return n._entries.set(e,t),n}removeEntry(e){let t=new r(this._entries);return t._entries.delete(e),t}removeEntries(...e){let t=new r(this._entries);for(let r of e)t._entries.delete(r);return t}clear(){return new r}}t.BaggageImpl=r},830:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataSymbol=void 0,t.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataFromString=t.createBaggage=void 0;let n=r(930),i=r(993),a=r(830),o=n.DiagAPI.instance();t.createBaggage=function(e={}){return new i.BaggageImpl(new Map(Object.entries(e)))},t.baggageEntryMetadataFromString=function(e){return"string"!=typeof e&&(o.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:a.baggageEntryMetadataSymbol,toString:()=>e}}},67:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.context=void 0,t.context=r(491).ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopContextManager=void 0;let n=r(780);class i{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=i},780:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONTEXT=t.createContextKey=void 0,t.createContextKey=function(e){return Symbol.for(e)};class r{constructor(e){let t=this;t._currentContext=e?new Map(e):new Map,t.getValue=e=>t._currentContext.get(e),t.setValue=(e,n)=>{let i=new r(t._currentContext);return i._currentContext.set(e,n),i},t.deleteValue=e=>{let n=new r(t._currentContext);return n._currentContext.delete(e),n}}}t.ROOT_CONTEXT=new r},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.diag=void 0,t.diag=r(930).DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagComponentLogger=void 0;let n=r(172);class i{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return a("debug",this._namespace,e)}error(...e){return a("error",this._namespace,e)}info(...e){return a("info",this._namespace,e)}warn(...e){return a("warn",this._namespace,e)}verbose(...e){return a("verbose",this._namespace,e)}}function a(e,t,r){let i=(0,n.getGlobal)("diag");if(i)return r.unshift(t),i[e](...r)}t.DiagComponentLogger=i},972:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagConsoleLogger=void 0;let r=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class n{constructor(){for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.createLogLevelDiagLogger=void 0;let n=r(957);t.createLogLevelDiagLogger=function(e,t){function r(r,n){let i=t[r];return"function"==typeof i&&e>=n?i.bind(t):function(){}}return en.DiagLogLevel.ALL&&(e=n.DiagLogLevel.ALL),t=t||{},{error:r("error",n.DiagLogLevel.ERROR),warn:r("warn",n.DiagLogLevel.WARN),info:r("info",n.DiagLogLevel.INFO),debug:r("debug",n.DiagLogLevel.DEBUG),verbose:r("verbose",n.DiagLogLevel.VERBOSE)}}},957:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;let n=r(200),i=r(521),a=r(130),o=i.VERSION.split(".")[0],s=Symbol.for(`opentelemetry.js.api.${o}`),l=n._globalThis;t.registerGlobal=function(e,t,r,n=!1){var a;let o=l[s]=null!=(a=l[s])?a:{version:i.VERSION};if(!n&&o[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(t.stack||t.message),!1}if(o.version!==i.VERSION){let t=Error(`@opentelemetry/api: Registration of version v${o.version} for ${e} does not match previously registered API v${i.VERSION}`);return r.error(t.stack||t.message),!1}return o[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${i.VERSION}.`),!0},t.getGlobal=function(e){var t,r;let n=null==(t=l[s])?void 0:t.version;if(n&&(0,a.isCompatible)(n))return null==(r=l[s])?void 0:r[e]},t.unregisterGlobal=function(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${i.VERSION}.`);let r=l[s];r&&delete r[e]}},130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCompatible=t._makeCompatibilityCheck=void 0;let n=r(521),i=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function a(e){let t=new Set([e]),r=new Set,n=e.match(i);if(!n)return()=>!1;let a={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=a.prerelease)return function(t){return t===e};function o(e){return r.add(e),!1}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;let n=e.match(i);if(!n)return o(e);let s={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=s.prerelease||a.major!==s.major)return o(e);if(0===a.major)return a.minor===s.minor&&a.patch<=s.patch?(t.add(e),!0):o(e);return a.minor<=s.minor?(t.add(e),!0):o(e)}}t._makeCompatibilityCheck=a,t.isCompatible=a(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.metrics=void 0,t.metrics=r(653).MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class r{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=r;class n{}t.NoopMetric=n;class i extends n{add(e,t){}}t.NoopCounterMetric=i;class a extends n{add(e,t){}}t.NoopUpDownCounterMetric=a;class o extends n{record(e,t){}}t.NoopHistogramMetric=o;class s{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=s;class l extends s{}t.NoopObservableCounterMetric=l;class c extends s{}t.NoopObservableGaugeMetric=c;class u extends s{}t.NoopObservableUpDownCounterMetric=u,t.NOOP_METER=new r,t.NOOP_COUNTER_METRIC=new i,t.NOOP_HISTOGRAM_METRIC=new o,t.NOOP_UP_DOWN_COUNTER_METRIC=new a,t.NOOP_OBSERVABLE_COUNTER_METRIC=new l,t.NOOP_OBSERVABLE_GAUGE_METRIC=new c,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new u,t.createNoopMeter=function(){return t.NOOP_METER}},660:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;let n=r(102);class i{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=i,t.NOOP_METER_PROVIDER=new i},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(46),t)},651:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._globalThis=void 0,t._globalThis="object"==typeof globalThis?globalThis:r.g},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.propagation=void 0,t.propagation=r(181).PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTextMapPropagator=void 0;class r{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=r},194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextMapSetter=t.defaultTextMapGetter=void 0,t.defaultTextMapGetter={get(e,t){if(null!=e)return e[t]},keys:e=>null==e?[]:Object.keys(e)},t.defaultTextMapSetter={set(e,t,r){null!=e&&(e[t]=r)}}},845:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.trace=void 0,t.trace=r(997).TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NonRecordingSpan=void 0;let n=r(476);class i{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}}t.NonRecordingSpan=i},614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracer=void 0;let n=r(491),i=r(607),a=r(403),o=r(139),s=n.ContextAPI.getInstance();class l{startSpan(e,t,r=s.active()){var n;if(null==t?void 0:t.root)return new a.NonRecordingSpan;let l=r&&(0,i.getSpanContext)(r);return"object"==typeof(n=l)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,o.isSpanContextValid)(l)?new a.NonRecordingSpan(l):new a.NonRecordingSpan}startActiveSpan(e,t,r,n){let a,o,l;if(arguments.length<2)return;2==arguments.length?l=t:3==arguments.length?(a=t,l=r):(a=t,o=r,l=n);let c=null!=o?o:s.active(),u=this.startSpan(e,a,c),d=(0,i.setSpan)(c,u);return s.with(d,l,void 0,u)}}t.NoopTracer=l},124:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracerProvider=void 0;let n=r(614);class i{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=i},125:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracer=void 0;let n=new(r(614)).NoopTracer;class i{constructor(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){let i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):n}}t.ProxyTracer=i},846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracerProvider=void 0;let n=r(125),i=new(r(124)).NoopTracerProvider;class a{getTracer(e,t,r){var i;return null!=(i=this.getDelegateTracer(e,t,r))?i:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return null!=(e=this._delegate)?e:i}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return null==(n=this._delegate)?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=a},996:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;let n=r(780),i=r(403),a=r(491),o=(0,n.createContextKey)("OpenTelemetry Context Key SPAN");function s(e){return e.getValue(o)||void 0}function l(e,t){return e.setValue(o,t)}t.getSpan=s,t.getActiveSpan=function(){return s(a.ContextAPI.getInstance().active())},t.setSpan=l,t.deleteSpan=function(e){return e.deleteValue(o)},t.setSpanContext=function(e,t){return l(e,new i.NonRecordingSpan(t))},t.getSpanContext=function(e){var t;return null==(t=s(e))?void 0:t.spanContext()}},325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceStateImpl=void 0;let n=r(564);class i{constructor(e){this._internalState=new Map,e&&this._parse(e)}set(e,t){let r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,t)=>(e.push(t+"="+this.get(t)),e),[]).join(",")}_parse(e){!(e.length>512)&&(this._internalState=e.split(",").reverse().reduce((e,t)=>{let r=t.trim(),i=r.indexOf("=");if(-1!==i){let a=r.slice(0,i),o=r.slice(i+1,t.length);(0,n.validateKey)(a)&&(0,n.validateValue)(o)&&e.set(a,o)}return e},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new i;return e._internalState=new Map(this._internalState),e}}t.TraceStateImpl=i},564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateValue=t.validateKey=void 0;let r="[_0-9a-z-*/]",n=`[a-z]${r}{0,255}`,i=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`,a=RegExp(`^(?:${n}|${i})$`),o=/^[ -~]{0,255}[!-~]$/,s=/,|=/;t.validateKey=function(e){return a.test(e)},t.validateValue=function(e){return o.test(e)&&!s.test(e)}},98:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTraceState=void 0;let n=r(325);t.createTraceState=function(e){return new n.TraceStateImpl(e)}},476:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;let n=r(475);t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;let n=r(476),i=r(403),a=/^([0-9a-f]{32})$/i,o=/^[0-9a-f]{16}$/i;function s(e){return a.test(e)&&e!==n.INVALID_TRACEID}function l(e){return o.test(e)&&e!==n.INVALID_SPANID}t.isValidTraceId=s,t.isValidSpanId=l,t.isSpanContextValid=function(e){return s(e.traceId)&&l(e.spanId)},t.wrapSpanContext=function(e){return new i.NonRecordingSpan(e)}},847:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="1.6.0"}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}},o=!0;try{t[e].call(a.exports,a,a.exports,i),o=!1}finally{o&&delete n[e]}return a.exports}i.ab="//";var a={};(()=>{Object.defineProperty(a,"__esModule",{value:!0}),a.trace=a.propagation=a.metrics=a.diag=a.context=a.INVALID_SPAN_CONTEXT=a.INVALID_TRACEID=a.INVALID_SPANID=a.isValidSpanId=a.isValidTraceId=a.isSpanContextValid=a.createTraceState=a.TraceFlags=a.SpanStatusCode=a.SpanKind=a.SamplingDecision=a.ProxyTracerProvider=a.ProxyTracer=a.defaultTextMapSetter=a.defaultTextMapGetter=a.ValueType=a.createNoopMeter=a.DiagLogLevel=a.DiagConsoleLogger=a.ROOT_CONTEXT=a.createContextKey=a.baggageEntryMetadataFromString=void 0;var e=i(369);Object.defineProperty(a,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var t=i(780);Object.defineProperty(a,"createContextKey",{enumerable:!0,get:function(){return t.createContextKey}}),Object.defineProperty(a,"ROOT_CONTEXT",{enumerable:!0,get:function(){return t.ROOT_CONTEXT}});var r=i(972);Object.defineProperty(a,"DiagConsoleLogger",{enumerable:!0,get:function(){return r.DiagConsoleLogger}});var n=i(957);Object.defineProperty(a,"DiagLogLevel",{enumerable:!0,get:function(){return n.DiagLogLevel}});var o=i(102);Object.defineProperty(a,"createNoopMeter",{enumerable:!0,get:function(){return o.createNoopMeter}});var s=i(901);Object.defineProperty(a,"ValueType",{enumerable:!0,get:function(){return s.ValueType}});var l=i(194);Object.defineProperty(a,"defaultTextMapGetter",{enumerable:!0,get:function(){return l.defaultTextMapGetter}}),Object.defineProperty(a,"defaultTextMapSetter",{enumerable:!0,get:function(){return l.defaultTextMapSetter}});var c=i(125);Object.defineProperty(a,"ProxyTracer",{enumerable:!0,get:function(){return c.ProxyTracer}});var u=i(846);Object.defineProperty(a,"ProxyTracerProvider",{enumerable:!0,get:function(){return u.ProxyTracerProvider}});var d=i(996);Object.defineProperty(a,"SamplingDecision",{enumerable:!0,get:function(){return d.SamplingDecision}});var p=i(357);Object.defineProperty(a,"SpanKind",{enumerable:!0,get:function(){return p.SpanKind}});var h=i(847);Object.defineProperty(a,"SpanStatusCode",{enumerable:!0,get:function(){return h.SpanStatusCode}});var f=i(475);Object.defineProperty(a,"TraceFlags",{enumerable:!0,get:function(){return f.TraceFlags}});var g=i(98);Object.defineProperty(a,"createTraceState",{enumerable:!0,get:function(){return g.createTraceState}});var b=i(139);Object.defineProperty(a,"isSpanContextValid",{enumerable:!0,get:function(){return b.isSpanContextValid}}),Object.defineProperty(a,"isValidTraceId",{enumerable:!0,get:function(){return b.isValidTraceId}}),Object.defineProperty(a,"isValidSpanId",{enumerable:!0,get:function(){return b.isValidSpanId}});var m=i(476);Object.defineProperty(a,"INVALID_SPANID",{enumerable:!0,get:function(){return m.INVALID_SPANID}}),Object.defineProperty(a,"INVALID_TRACEID",{enumerable:!0,get:function(){return m.INVALID_TRACEID}}),Object.defineProperty(a,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return m.INVALID_SPAN_CONTEXT}});let v=i(67);Object.defineProperty(a,"context",{enumerable:!0,get:function(){return v.context}});let y=i(506);Object.defineProperty(a,"diag",{enumerable:!0,get:function(){return y.diag}});let w=i(886);Object.defineProperty(a,"metrics",{enumerable:!0,get:function(){return w.metrics}});let _=i(939);Object.defineProperty(a,"propagation",{enumerable:!0,get:function(){return _.propagation}});let S=i(845);Object.defineProperty(a,"trace",{enumerable:!0,get:function(){return S.trace}}),a.default={context:v.context,diag:y.diag,metrics:w.metrics,propagation:_.propagation,trace:S.trace}})(),e.exports=a})()}},e=>{var t=e(e.s=44);(_ENTRIES="undefined"==typeof _ENTRIES?{}:_ENTRIES).middleware_middleware=t}]); + `)}}let b="_N_T_",m={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};function v(e){var t,r,n,i,a,o=[],s=0;function l(){for(;s=e.length)&&o.push(e.substring(t,e.length))}return o}function y(e){let t={},r=[];if(e)for(let[n,i]of e.entries())"set-cookie"===n.toLowerCase()?(r.push(...v(i)),t[n]=1===r.length?r[0]:r):t[n]=i;return t}function w(e){try{return String(new URL(String(e)))}catch(t){throw Object.defineProperty(Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}({...m,GROUP:{builtinReact:[m.reactServerComponents,m.actionBrowser],serverOnly:[m.reactServerComponents,m.actionBrowser,m.instrument,m.middleware],neutralTarget:[m.apiNode,m.apiEdge],clientOnly:[m.serverSideRendering,m.appPagesBrowser],bundled:[m.reactServerComponents,m.actionBrowser,m.serverSideRendering,m.appPagesBrowser,m.shared,m.instrument,m.middleware],appPages:[m.reactServerComponents,m.serverSideRendering,m.appPagesBrowser,m.actionBrowser]}});let _=Symbol("response"),S=Symbol("passThrough"),E=Symbol("waitUntil");class R{constructor(e,t){this[S]=!1,this[E]=t?{kind:"external",function:t}:{kind:"internal",promises:[]}}respondWith(e){this[_]||(this[_]=Promise.resolve(e))}passThroughOnException(){this[S]=!0}waitUntil(e){if("external"===this[E].kind)return(0,this[E].function)(e);this[E].promises.push(e)}}class O extends R{constructor(e){var t;super(e.request,null==(t=e.context)?void 0:t.waitUntil),this.sourcePage=e.page}get request(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}function x(e){return e.replace(/\/$/,"")||"/"}function C(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}function P(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=C(e);return""+t+r+n+i}function T(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=C(e);return""+r+t+n+i}function A(e,t){if("string"!=typeof e)return!1;let{pathname:r}=C(e);return r===t||r.startsWith(t+"/")}let N=new WeakMap;function k(e,t){let r;if(!t)return{pathname:e};let n=N.get(t);n||(n=t.map(e=>e.toLowerCase()),N.set(t,n));let i=e.split("/",2);if(!i[1])return{pathname:e};let a=i[1].toLowerCase(),o=n.indexOf(a);return o<0?{pathname:e}:(r=t[o],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}let I=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function M(e,t){return new URL(String(e).replace(I,"localhost"),t&&String(t).replace(I,"localhost"))}let j=Symbol("NextURLInternal");class D{constructor(e,t,r){let n,i;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,i=r||{}):i=r||t||{},this[j]={url:M(e,n??i.base),options:i,basePath:""},this.analyze()}analyze(){var e,t,r,n,i;let a=function(e,t){var r,n;let{basePath:i,i18n:a,trailingSlash:o}=null!=(r=t.nextConfig)?r:{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):o};i&&A(s.pathname,i)&&(s.pathname=function(e,t){if(!A(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}(s.pathname,i),s.basePath=i);let l=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],l="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(s.pathname=l)}if(a){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):k(s.pathname,a.locales);s.locale=e.detectedLocale,s.pathname=null!=(n=e.pathname)?n:s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(l):k(l,a.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}(this[j].url.pathname,{nextConfig:this[j].options.nextConfig,parseData:!0,i18nProvider:this[j].options.i18nProvider}),o=function(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}(this[j].url,this[j].options.headers);this[j].domainLocale=this[j].options.i18nProvider?this[j].options.i18nProvider.detectDomainLocale(o):function(e,t,r){if(e)for(let a of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=a.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===a.defaultLocale.toLowerCase()||(null==(i=a.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return a}}(null==(t=this[j].options.nextConfig)||null==(e=t.i18n)?void 0:e.domains,o);let s=(null==(r=this[j].domainLocale)?void 0:r.defaultLocale)||(null==(i=this[j].options.nextConfig)||null==(n=i.i18n)?void 0:n.defaultLocale);this[j].url.pathname=a.pathname,this[j].defaultLocale=s,this[j].basePath=a.basePath??"",this[j].buildId=a.buildId,this[j].locale=a.locale??s,this[j].trailingSlash=a.trailingSlash}formatPathname(){var e;let t;return t=function(e,t,r,n){if(!t||t===r)return e;let i=e.toLowerCase();return!n&&(A(i,"/api")||A(i,"/"+t.toLowerCase()))?e:P(e,"/"+t)}((e={basePath:this[j].basePath,buildId:this[j].buildId,defaultLocale:this[j].options.forceLocale?void 0:this[j].defaultLocale,locale:this[j].locale,pathname:this[j].url.pathname,trailingSlash:this[j].trailingSlash}).pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix),(e.buildId||!e.trailingSlash)&&(t=x(t)),e.buildId&&(t=T(P(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=P(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:T(t,"/"):x(t)}formatSearch(){return this[j].url.search}get buildId(){return this[j].buildId}set buildId(e){this[j].buildId=e}get locale(){return this[j].locale??""}set locale(e){var t,r;if(!this[j].locale||!(null==(r=this[j].options.nextConfig)||null==(t=r.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${e}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[j].locale=e}get defaultLocale(){return this[j].defaultLocale}get domainLocale(){return this[j].domainLocale}get searchParams(){return this[j].url.searchParams}get host(){return this[j].url.host}set host(e){this[j].url.host=e}get hostname(){return this[j].url.hostname}set hostname(e){this[j].url.hostname=e}get port(){return this[j].url.port}set port(e){this[j].url.port=e}get protocol(){return this[j].url.protocol}set protocol(e){this[j].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[j].url=M(e),this.analyze()}get origin(){return this[j].url.origin}get pathname(){return this[j].url.pathname}set pathname(e){this[j].url.pathname=e}get hash(){return this[j].url.hash}set hash(e){this[j].url.hash=e}get search(){return this[j].url.search}set search(e){this[j].url.search=e}get password(){return this[j].url.password}set password(e){this[j].url.password=e}get username(){return this[j].url.username}set username(e){this[j].url.username=e}get basePath(){return this[j].basePath}set basePath(e){this[j].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new D(String(this),this[j].options)}}var L=r(724);let U=Symbol("internal request");class $ extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);w(r),e instanceof Request?super(e,t):super(r,t);let n=new D(r,{headers:y(this.headers),nextConfig:t.nextConfig});this[U]={cookies:new L.RequestCookies(this.headers),nextUrl:n,url:n.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[U].cookies}get nextUrl(){return this[U].nextUrl}get page(){throw new f}get ua(){throw new g}get url(){return this[U].url}}class q{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}let W=Symbol("internal response"),H=new Set([301,302,303,307,308]);function B(e,t){var r;if(null==e||null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let r=[];for(let[n,i]of e.request.headers)t.set("x-middleware-request-"+n,i),r.push(n);t.set("x-middleware-override-headers",r.join(","))}}class K extends Response{constructor(e,t={}){super(e,t);let r=this.headers,n=new Proxy(new L.ResponseCookies(r),{get(e,n,i){switch(n){case"delete":case"set":return(...i)=>{let a=Reflect.apply(e[n],e,i),o=new Headers(r);return a instanceof L.ResponseCookies&&r.set("x-middleware-set-cookie",a.getAll().map(e=>(0,L.stringifyCookie)(e)).join(",")),B(t,o),a};default:return q.get(e,n,i)}}});this[W]={cookies:n,url:t.url?new D(t.url,{headers:y(r),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[W].cookies}static json(e,t){let r=Response.json(e,t);return new K(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!H.has(r))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let n="object"==typeof t?t:{},i=new Headers(null==n?void 0:n.headers);return i.set("Location",w(e)),new K(null,{...n,headers:i,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",w(e)),B(t,r),new K(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),B(e,t),new K(null,{...e,headers:t})}}function V(e,t){let r="string"==typeof t?new URL(t):t,n=new URL(e,t),i=n.origin===r.origin;return{url:i?n.toString().slice(r.origin.length):n.toString(),isRelative:i}}let z="Next-Router-Prefetch",G=["RSC","Next-Router-State-Tree",z,"Next-HMR-Refresh","Next-Router-Segment-Prefetch"],X="_rsc";class J extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new J}}class F extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,n){if("symbol"==typeof r)return q.get(t,r,n);let i=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===i);if(void 0!==a)return q.get(t,a,n)},set(t,r,n,i){if("symbol"==typeof r)return q.set(t,r,n,i);let a=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===a);return q.set(t,o??r,n,i)},has(t,r){if("symbol"==typeof r)return q.has(t,r);let n=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0!==i&&q.has(t,i)},deleteProperty(t,r){if("symbol"==typeof r)return q.deleteProperty(t,r);let n=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0===i||q.deleteProperty(t,i)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return J.callable;default:return q.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new F(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let Q=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class Y{disable(){throw Q}getStore(){}run(){throw Q}exit(){throw Q}enterWith(){throw Q}static bind(e){return e}}let Z="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function ee(){return Z?new Z:new Y}let et=ee(),er=ee();class en extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new en}}class ei{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return en.callable;default:return q.get(e,t,r)}}})}}let ea=Symbol.for("next.mutated.cookies");class eo{static wrap(e,t){let r=new L.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let n=[],i=new Set,a=()=>{let e=et.getStore();if(e&&(e.pathWasRevalidated=!0),n=r.getAll().filter(e=>i.has(e.name)),t){let e=[];for(let t of n){let r=new L.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},o=new Proxy(r,{get(e,t,r){switch(t){case ea:return n;case"delete":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),o}finally{a()}};case"set":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),o}finally{a()}};default:return q.get(e,t,r)}}});return o}}function es(e){if("action"!==function(e){let t=er.getStore();switch(!t&&function(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}(e),t.type){case"request":default:return t;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0})}}(e).phase)throw new en}var el=function(e){return e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404",e}(el||{}),ec=function(e){return e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents",e}(ec||{}),eu=function(e){return e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer",e}(eu||{}),ed=function(e){return e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch",e}(ed||{}),ep=function(e){return e.startServer="startServer.startServer",e}(ep||{}),eh=function(e){return e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult",e}(eh||{}),ef=function(e){return e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch",e}(ef||{}),eg=function(e){return e.executeRoute="Router.executeRoute",e}(eg||{}),eb=function(e){return e.runHandler="Node.runHandler",e}(eb||{}),em=function(e){return e.runHandler="AppRouteRouteHandlers.runHandler",e}(em||{}),ev=function(e){return e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport",e}(ev||{}),ey=function(e){return e.execute="Middleware.execute",e}(ey||{});let ew=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],e_=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"];function eS(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}let{context:eE,propagation:eR,trace:eO,SpanStatusCode:ex,SpanKind:eC,ROOT_CONTEXT:eP}=n=r(956);class eT extends Error{constructor(e,t){super(),this.bubble=e,this.result=t}}let eA=(e,t)=>{(function(e){return"object"==typeof e&&null!==e&&e instanceof eT})(t)&&t.bubble?e.setAttribute("next.bubble",!0):(t&&e.recordException(t),e.setStatus({code:ex.ERROR,message:null==t?void 0:t.message})),e.end()},eN=new Map,ek=n.createContextKey("next.rootSpanId"),eI=0,eM=()=>eI++,ej={set(e,t,r){e.push({key:t,value:r})}};class eD{getTracerInstance(){return eO.getTracer("next.js","0.0.1")}getContext(){return eE}getTracePropagationData(){let e=eE.active(),t=[];return eR.inject(e,t,ej),t}getActiveScopeSpan(){return eO.getSpan(null==eE?void 0:eE.active())}withPropagatedContext(e,t,r){let n=eE.active();if(eO.getSpanContext(n))return t();let i=eR.extract(n,e,r);return eE.with(i,t)}trace(...e){var t;let[r,n,i]=e,{fn:a,options:o}="function"==typeof n?{fn:n,options:{}}:{fn:i,options:{...n}},s=o.spanName??r;if(!ew.includes(r)&&"1"!==process.env.NEXT_OTEL_VERBOSE||o.hideSpan)return a();let l=this.getSpanContext((null==o?void 0:o.parentSpan)??this.getActiveScopeSpan()),c=!1;l?(null==(t=eO.getSpanContext(l))?void 0:t.isRemote)&&(c=!0):(l=(null==eE?void 0:eE.active())??eP,c=!0);let u=eM();return o.attributes={"next.span_name":s,"next.span_type":r,...o.attributes},eE.with(l.setValue(ek,u),()=>this.getTracerInstance().startActiveSpan(s,o,e=>{let t="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,n=()=>{eN.delete(u),t&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&e_.includes(r||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(r.split(".").pop()||"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}`,{start:t,end:performance.now()})};c&&eN.set(u,new Map(Object.entries(o.attributes??{})));try{if(a.length>1)return a(e,t=>eA(e,t));let t=a(e);if(eS(t))return t.then(t=>(e.end(),t)).catch(t=>{throw eA(e,t),t}).finally(n);return e.end(),n(),t}catch(t){throw eA(e,t),n(),t}}))}wrap(...e){let t=this,[r,n,i]=3===e.length?e:[e[0],{},e[1]];return ew.includes(r)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let e=n;"function"==typeof e&&"function"==typeof i&&(e=e.apply(this,arguments));let a=arguments.length-1,o=arguments[a];if("function"!=typeof o)return t.trace(r,e,()=>i.apply(this,arguments));{let n=t.getContext().bind(eE.active(),o);return t.trace(r,e,(e,t)=>(arguments[a]=function(e){return null==t||t(e),n.apply(this,arguments)},i.apply(this,arguments)))}}:i}startSpan(...e){let[t,r]=e,n=this.getSpanContext((null==r?void 0:r.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(t,r,n)}getSpanContext(e){return e?eO.setSpan(eE.active(),e):void 0}getRootSpanAttributes(){let e=eE.active().getValue(ek);return eN.get(e)}setRootSpanAttribute(e,t){let r=eE.active().getValue(ek),n=eN.get(r);n&&n.set(e,t)}}let eL=(()=>{let e=new eD;return()=>e})(),eU="__prerender_bypass";Symbol("__next_preview_data"),Symbol(eU);class e${constructor(e,t,r,n){var i;let a=e&&function(e,t){let r=F.from(e.headers);return{isOnDemandRevalidate:r.get("x-prerender-revalidate")===t.previewModeId,revalidateOnlyGenerated:r.has("x-prerender-revalidate-if-generated")}}(t,e).isOnDemandRevalidate,o=null==(i=r.get(eU))?void 0:i.value;this._isEnabled=!!(!a&&o&&e&&o===e.previewModeId),this._previewModeId=null==e?void 0:e.previewModeId,this._mutableCookies=n}get isEnabled(){return this._isEnabled}enable(){if(!this._previewModeId)throw Object.defineProperty(Error("Invariant: previewProps missing previewModeId this should never happen"),"__NEXT_ERROR_CODE",{value:"E93",enumerable:!1,configurable:!0});this._mutableCookies.set({name:eU,value:this._previewModeId,httpOnly:!0,sameSite:"none",secure:!0,path:"/"}),this._isEnabled=!0}disable(){this._mutableCookies.set({name:eU,value:"",httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:new Date(0)}),this._isEnabled=!1}}function eq(e,t){if("x-middleware-set-cookie"in e.headers&&"string"==typeof e.headers["x-middleware-set-cookie"]){let r=e.headers["x-middleware-set-cookie"],n=new Headers;for(let e of v(r))n.append("set-cookie",e);for(let e of new L.ResponseCookies(n).getAll())t.set(e)}}var eW=r(802),eH=r.n(eW);class eB extends Error{constructor(e,t){super("Invariant: "+(e.endsWith(".")?e:e+".")+" This is a bug in Next.js.",t),this.name="InvariantError"}}class eK{constructor(e,t){this.cache=new Map,this.sizes=new Map,this.totalSize=0,this.maxSize=e,this.calculateSize=t||(()=>1)}set(e,t){if(!e||!t)return;let r=this.calculateSize(t);if(r>this.maxSize)return void console.warn("Single item size exceeds maxSize");this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0),this.cache.set(e,t),this.sizes.set(e,r),this.totalSize+=r,this.touch(e)}has(e){return!!e&&(this.touch(e),!!this.cache.get(e))}get(e){if(!e)return;let t=this.cache.get(e);if(void 0!==t)return this.touch(e),t}touch(e){let t=this.cache.get(e);void 0!==t&&(this.cache.delete(e),this.cache.set(e,t),this.evictIfNecessary())}evictIfNecessary(){for(;this.totalSize>this.maxSize&&this.cache.size>0;)this.evictLeastRecentlyUsed()}evictLeastRecentlyUsed(){let e=this.cache.keys().next().value;if(void 0!==e){let t=this.sizes.get(e)||0;this.totalSize-=t,this.cache.delete(e),this.sizes.delete(e)}}reset(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}keys(){return[...this.cache.keys()]}remove(e){this.cache.has(e)&&(this.totalSize-=this.sizes.get(e)||0,this.cache.delete(e),this.sizes.delete(e))}clear(){this.cache.clear(),this.sizes.clear(),this.totalSize=0}get size(){return this.cache.size}get currentSize(){return this.totalSize}}r(356).Buffer,new eK(0x3200000,e=>e.size),process.env.NEXT_PRIVATE_DEBUG_CACHE&&console.debug.bind(console,"DefaultCacheHandler:"),process.env.NEXT_PRIVATE_DEBUG_CACHE,Symbol.for("@next/cache-handlers");let eV=Symbol.for("@next/cache-handlers-map"),ez=Symbol.for("@next/cache-handlers-set"),eG=globalThis;function eX(){if(eG[eV])return eG[eV].entries()}async function eJ(e,t){if(!e)return t();let r=eF(e);try{return await t()}finally{let t=function(e,t){let r=new Set(e.pendingRevalidatedTags),n=new Set(e.pendingRevalidateWrites);return{pendingRevalidatedTags:t.pendingRevalidatedTags.filter(e=>!r.has(e)),pendingRevalidates:Object.fromEntries(Object.entries(t.pendingRevalidates).filter(([t])=>!(t in e.pendingRevalidates))),pendingRevalidateWrites:t.pendingRevalidateWrites.filter(e=>!n.has(e))}}(r,eF(e));await eY(e,t)}}function eF(e){return{pendingRevalidatedTags:e.pendingRevalidatedTags?[...e.pendingRevalidatedTags]:[],pendingRevalidates:{...e.pendingRevalidates},pendingRevalidateWrites:e.pendingRevalidateWrites?[...e.pendingRevalidateWrites]:[]}}async function eQ(e,t){if(0===e.length)return;let r=[];t&&r.push(t.revalidateTag(e));let n=function(){if(eG[ez])return eG[ez].values()}();if(n)for(let t of n)r.push(t.expireTags(...e));await Promise.all(r)}async function eY(e,t){let r=(null==t?void 0:t.pendingRevalidatedTags)??e.pendingRevalidatedTags??[],n=(null==t?void 0:t.pendingRevalidates)??e.pendingRevalidates??{},i=(null==t?void 0:t.pendingRevalidateWrites)??e.pendingRevalidateWrites??[];return Promise.all([eQ(r,e.incrementalCache),...Object.values(n),...i])}let eZ=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class e0{disable(){throw eZ}getStore(){}run(){throw eZ}exit(){throw eZ}enterWith(){throw eZ}static bind(e){return e}}let e1="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage,e2=e1?new e1:new e0;class e5{constructor({waitUntil:e,onClose:t,onTaskError:r}){this.workUnitStores=new Set,this.waitUntil=e,this.onClose=t,this.onTaskError=r,this.callbackQueue=new(eH()),this.callbackQueue.pause()}after(e){if(eS(e))this.waitUntil||e4(),this.waitUntil(e.catch(e=>this.reportTaskError("promise",e)));else if("function"==typeof e)this.addCallback(e);else throw Object.defineProperty(Error("`after()`: Argument must be a promise or a function"),"__NEXT_ERROR_CODE",{value:"E50",enumerable:!1,configurable:!0})}addCallback(e){var t;this.waitUntil||e4();let r=er.getStore();r&&this.workUnitStores.add(r);let n=e2.getStore(),i=n?n.rootTaskSpawnPhase:null==r?void 0:r.phase;this.runCallbacksOnClosePromise||(this.runCallbacksOnClosePromise=this.runCallbacksOnClose(),this.waitUntil(this.runCallbacksOnClosePromise));let a=(t=async()=>{try{await e2.run({rootTaskSpawnPhase:i},()=>e())}catch(e){this.reportTaskError("function",e)}},e1?e1.bind(t):e0.bind(t));this.callbackQueue.add(a)}async runCallbacksOnClose(){return await new Promise(e=>this.onClose(e)),this.runCallbacks()}async runCallbacks(){if(0===this.callbackQueue.size)return;for(let e of this.workUnitStores)e.phase="after";let e=et.getStore();if(!e)throw Object.defineProperty(new eB("Missing workStore in AfterContext.runCallbacks"),"__NEXT_ERROR_CODE",{value:"E547",enumerable:!1,configurable:!0});return eJ(e,()=>(this.callbackQueue.start(),this.callbackQueue.onIdle()))}reportTaskError(e,t){if(console.error("promise"===e?"A promise passed to `after()` rejected:":"An error occurred in a function passed to `after()`:",t),this.onTaskError)try{null==this.onTaskError||this.onTaskError.call(this,t)}catch(e){console.error(Object.defineProperty(new eB("`onTaskError` threw while handling an error thrown from an `after` task",{cause:e}),"__NEXT_ERROR_CODE",{value:"E569",enumerable:!1,configurable:!0}))}}}function e4(){throw Object.defineProperty(Error("`after()` will not work correctly, because `waitUntil` is not available in the current environment."),"__NEXT_ERROR_CODE",{value:"E91",enumerable:!1,configurable:!0})}function e3(e){let t,r={then:(n,i)=>(t||(t=e()),t.then(e=>{r.value=e}).catch(()=>{}),t.then(n,i))};return r}class e6{onClose(e){if(this.isClosed)throw Object.defineProperty(Error("Cannot subscribe to a closed CloseController"),"__NEXT_ERROR_CODE",{value:"E365",enumerable:!1,configurable:!0});this.target.addEventListener("close",e),this.listeners++}dispatchClose(){if(this.isClosed)throw Object.defineProperty(Error("Cannot close a CloseController multiple times"),"__NEXT_ERROR_CODE",{value:"E229",enumerable:!1,configurable:!0});this.listeners>0&&this.target.dispatchEvent(new Event("close")),this.isClosed=!0}constructor(){this.target=new EventTarget,this.listeners=0,this.isClosed=!1}}function e9(){return{previewModeId:process.env.__NEXT_PREVIEW_MODE_ID,previewModeSigningKey:process.env.__NEXT_PREVIEW_MODE_SIGNING_KEY||"",previewModeEncryptionKey:process.env.__NEXT_PREVIEW_MODE_ENCRYPTION_KEY||""}}let e8=Symbol.for("@next/request-context"),e7=e=>{let t=["/layout"];if(e.startsWith("/")){let r=e.split("/");for(let e=1;e0;for(let t of e7(e))t=`${b}${t}`,n.push(t);if(t.pathname&&!i){let e=`${b}${t.pathname}`;n.push(e)}return{tags:n,expirationsByCacheKind:function(e){let t=new Map,r=eX();if(r)for(let[n,i]of r)"getExpiration"in i&&t.set(n,e3(async()=>i.getExpiration(...e)));return t}(n)}}class tt extends ${constructor(e){super(e.input,e.init),this.sourcePage=e.page}get request(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}waitUntil(){throw Object.defineProperty(new h({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}let tr={keys:e=>Array.from(e.keys()),get:(e,t)=>e.get(t)??void 0},tn=(e,t)=>eL().withPropagatedContext(e.headers,t,tr),ti=!1;async function ta(e){var t;let n,i;if(!ti&&(ti=!0,"true"===process.env.NEXT_PRIVATE_TEST_PROXY)){let{interceptTestApis:e,wrapRequestHandler:t}=r(905);e(),tn=t(tn)}await d();let a=void 0!==globalThis.__BUILD_MANIFEST;e.request.url=e.request.url.replace(/\.rsc($|\?)/,"$1");let o=new D(e.request.url,{headers:e.request.headers,nextConfig:e.request.nextConfig});for(let e of[...o.searchParams.keys()]){let t=o.searchParams.getAll(e),r=function(e){for(let t of["nxtP","nxtI"])if(e!==t&&e.startsWith(t))return e.substring(t.length);return null}(e);if(r){for(let e of(o.searchParams.delete(r),t))o.searchParams.append(r,e);o.searchParams.delete(e)}}let s=o.buildId;o.buildId="";let l=function(e){let t=new Headers;for(let[r,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}(e.request.headers),c=l.has("x-nextjs-data"),u="1"===l.get("RSC");c&&"/index"===o.pathname&&(o.pathname="/");let p=new Map;if(!a)for(let e of G){let t=e.toLowerCase(),r=l.get(t);null!==r&&(p.set(t,r),l.delete(t))}let h=new tt({page:e.page,input:(function(e){let t="string"==typeof e,r=t?new URL(e):e;return r.searchParams.delete(X),t?r.toString():r})(o).toString(),init:{body:e.request.body,headers:l,method:e.request.method,nextConfig:e.request.nextConfig,signal:e.request.signal}});c&&Object.defineProperty(h,"__isData",{enumerable:!1,value:!0}),!globalThis.__incrementalCache&&e.IncrementalCache&&(globalThis.__incrementalCache=new e.IncrementalCache({appDir:!0,fetchCache:!0,minimalMode:!0,fetchCacheKeyPrefix:"",dev:!1,requestHeaders:e.request.headers,requestProtocol:"https",getPrerenderManifest:()=>({version:-1,routes:{},dynamicRoutes:{},notFoundRoutes:[],preview:e9()})}));let f=e.request.waitUntil??(null==(t=function(){let e=globalThis[e8];return null==e?void 0:e.get()}())?void 0:t.waitUntil),g=new O({request:h,page:e.page,context:f?{waitUntil:f}:void 0});if((n=await tn(h,()=>{if("/middleware"===e.page||"/src/middleware"===e.page){let t=g.waitUntil.bind(g),r=new e6;return eL().trace(ey.execute,{spanName:`middleware ${h.method} ${h.nextUrl.pathname}`,attributes:{"http.target":h.nextUrl.pathname,"http.method":h.method}},async()=>{try{var n,a,o,l,c,u;let d=e9(),p=await te("/",h.nextUrl,null),f=(c=h.nextUrl,u=e=>{i=e},function(e,t,r,n,i,a,o,s,l,c,u){function d(e){r&&r.setHeader("Set-Cookie",e)}let p={};return{type:"request",phase:e,implicitTags:a,url:{pathname:n.pathname,search:n.search??""},rootParams:i,get headers(){return p.headers||(p.headers=function(e){let t=F.from(e);for(let e of G)t.delete(e.toLowerCase());return F.seal(t)}(t.headers)),p.headers},get cookies(){if(!p.cookies){let e=new L.RequestCookies(F.from(t.headers));eq(t,e),p.cookies=ei.seal(e)}return p.cookies},set cookies(value){p.cookies=value},get mutableCookies(){if(!p.mutableCookies){let e=function(e,t){let r=new L.RequestCookies(F.from(e));return eo.wrap(r,t)}(t.headers,o||(r?d:void 0));eq(t,e),p.mutableCookies=e}return p.mutableCookies},get userspaceMutableCookies(){return p.userspaceMutableCookies||(p.userspaceMutableCookies=function(e){let t=new Proxy(e,{get(e,r,n){switch(r){case"delete":return function(...r){return es("cookies().delete"),e.delete(...r),t};case"set":return function(...r){return es("cookies().set"),e.set(...r),t};default:return q.get(e,r,n)}}});return t}(this.mutableCookies)),p.userspaceMutableCookies},get draftMode(){return p.draftMode||(p.draftMode=new e$(l,t,this.cookies,this.mutableCookies)),p.draftMode},renderResumeDataCache:s??null,isHmrRefresh:c,serverComponentsHmrCache:u||globalThis.__serverComponentsHmrCache}}("action",h,void 0,c,{},p,u,void 0,d,!1,void 0)),b=function({page:e,fallbackRouteParams:t,renderOpts:r,requestEndedState:n,isPrefetchRequest:i,buildId:a,previouslyRevalidatedTags:o}){var s;let l={isStaticGeneration:!r.shouldWaitOnAllReady&&!r.supportsDynamicResponse&&!r.isDraftMode&&!r.isPossibleServerAction,page:e,fallbackRouteParams:t,route:(s=e.split("/").reduce((e,t,r,n)=>t?"("===t[0]&&t.endsWith(")")||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t:e,"")).startsWith("/")?s:"/"+s,incrementalCache:r.incrementalCache||globalThis.__incrementalCache,cacheLifeProfiles:r.cacheLifeProfiles,isRevalidate:r.isRevalidate,isPrerendering:r.nextExport,fetchCache:r.fetchCache,isOnDemandRevalidate:r.isOnDemandRevalidate,isDraftMode:r.isDraftMode,requestEndedState:n,isPrefetchRequest:i,buildId:a,reactLoadableManifest:(null==r?void 0:r.reactLoadableManifest)||{},assetPrefix:(null==r?void 0:r.assetPrefix)||"",afterContext:function(e){let{waitUntil:t,onClose:r,onAfterTaskError:n}=e;return new e5({waitUntil:t,onClose:r,onTaskError:n})}(r),dynamicIOEnabled:r.experimental.dynamicIO,dev:r.dev??!1,previouslyRevalidatedTags:o,refreshTagsByCacheKind:function(){let e=new Map,t=eX();if(t)for(let[r,n]of t)"refreshTags"in n&&e.set(r,e3(async()=>n.refreshTags()));return e}()};return r.store=l,l}({page:"/",fallbackRouteParams:null,renderOpts:{cacheLifeProfiles:null==(a=e.request.nextConfig)||null==(n=a.experimental)?void 0:n.cacheLife,experimental:{isRoutePPREnabled:!1,dynamicIO:!1,authInterrupts:!!(null==(l=e.request.nextConfig)||null==(o=l.experimental)?void 0:o.authInterrupts)},supportsDynamicResponse:!0,waitUntil:t,onClose:r.onClose.bind(r),onAfterTaskError:void 0},requestEndedState:{ended:!1},isPrefetchRequest:h.headers.has(z),buildId:s??"",previouslyRevalidatedTags:[]});return await et.run(b,()=>er.run(f,e.handler,h,g))}finally{setTimeout(()=>{r.dispatchClose()},0)}})}return e.handler(h,g)}))&&!(n instanceof Response))throw Object.defineProperty(TypeError("Expected an instance of Response to be returned"),"__NEXT_ERROR_CODE",{value:"E567",enumerable:!1,configurable:!0});n&&i&&n.headers.set("set-cookie",i);let b=null==n?void 0:n.headers.get("x-middleware-rewrite");if(n&&b&&(u||!a)){let t=new D(b,{forceLocale:!0,headers:e.request.headers,nextConfig:e.request.nextConfig});a||t.host!==h.nextUrl.host||(t.buildId=s||t.buildId,n.headers.set("x-middleware-rewrite",String(t)));let{url:r,isRelative:i}=V(t.toString(),o.toString());!a&&c&&n.headers.set("x-nextjs-rewrite",r),u&&i&&(o.pathname!==t.pathname&&n.headers.set("x-nextjs-rewritten-path",t.pathname),o.search!==t.search&&n.headers.set("x-nextjs-rewritten-query",t.search.slice(1)))}let m=null==n?void 0:n.headers.get("Location");if(n&&m&&!a){let t=new D(m,{forceLocale:!1,headers:e.request.headers,nextConfig:e.request.nextConfig});n=new Response(n.body,n),t.host===o.host&&(t.buildId=s||t.buildId,n.headers.set("Location",t.toString())),c&&(n.headers.delete("Location"),n.headers.set("x-nextjs-redirect",V(t.toString(),o.toString()).url))}let v=n||K.next(),y=v.headers.get("x-middleware-override-headers"),w=[];if(y){for(let[e,t]of p)v.headers.set(`x-middleware-request-${e}`,t),w.push(e);w.length>0&&v.headers.set("x-middleware-override-headers",y+","+w.join(","))}return{response:v,waitUntil:("internal"===g[E].kind?Promise.all(g[E].promises).then(()=>{}):void 0)??Promise.resolve(),fetchMetrics:h.fetchMetrics}}r(280),"undefined"==typeof URLPattern||URLPattern;var to=r(815);new WeakMap;let ts="function"==typeof to.unstable_postpone;function tl(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}if(!1===function(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}(tl("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});RegExp(`\\n\\s+at __next_metadata_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_viewport_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_outlet_boundary__[\\n\\s]`),new WeakMap;let tc=new TextEncoder,tu=new TextDecoder;function td(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:tu.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=tu.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{var r=t;if(Uint8Array.fromBase64)return Uint8Array.fromBase64(r);let e=atob(r),n=new Uint8Array(e.length);for(let t=0;t{let r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new tb(`alg ${e} is not supported either by JOSE or your javascript runtime`)}},tS=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){let{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}};function tE(e,t="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function tR(e,t){return e.name===t}function tO(e){return parseInt(e.name.slice(4),10)}function tx(e,t,...r){if((r=r.filter(Boolean)).length>2){let t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}let tC=(e,...t)=>tx("Key must be ",e,...t);function tP(e,t,...r){return tx(`Key for the ${e} algorithm must be `,t,...r)}let tT=async(e,t,r)=>{if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw TypeError(tC(t,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}return!function(e,t,r){switch(t){case"HS256":case"HS384":case"HS512":{if(!tR(e.algorithm,"HMAC"))throw tE("HMAC");let r=parseInt(t.slice(2),10);if(tO(e.algorithm.hash)!==r)throw tE(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!tR(e.algorithm,"RSASSA-PKCS1-v1_5"))throw tE("RSASSA-PKCS1-v1_5");let r=parseInt(t.slice(2),10);if(tO(e.algorithm.hash)!==r)throw tE(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!tR(e.algorithm,"RSA-PSS"))throw tE("RSA-PSS");let r=parseInt(t.slice(2),10);if(tO(e.algorithm.hash)!==r)throw tE(`SHA-${r}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!tR(e.algorithm,"Ed25519"))throw tE("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!tR(e.algorithm,t))throw tE(t);break;case"ES256":case"ES384":case"ES512":{if(!tR(e.algorithm,"ECDSA"))throw tE("ECDSA");let r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw tE(r,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}var n=e,i=r;if(i&&!n.usages.includes(i))throw TypeError(`CryptoKey does not support this operation, its usages must include ${i}.`)}(t,e,r),t},tA=async(e,t,r,n)=>{let i=await tT(e,t,"verify");tS(e,i);let a=t_(e,i.algorithm);try{return await crypto.subtle.verify(a,i,r,n)}catch{return!1}},tN=(...e)=>{let t,r=e.filter(Boolean);if(0===r.length||1===r.length)return!0;for(let e of r){let r=Object.keys(e);if(!t||0===t.size){t=new Set(r);continue}for(let e of r){if(t.has(e))return!1;t.add(e)}}return!0},tk=e=>{if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};function tI(e){return e?.[Symbol.toStringTag]==="CryptoKey"}function tM(e){return e?.[Symbol.toStringTag]==="KeyObject"}let tj=e=>tI(e)||tM(e);function tD(e){return tk(e)&&"string"==typeof e.kty}let tL=e=>e?.[Symbol.toStringTag],tU=(e,t,r)=>{if(void 0!==t.use){let e;switch(r){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(t.use!==e)throw TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==t.alg&&t.alg!==e)throw TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(t.key_ops)){let n;switch(!0){case"sign"===r||"verify"===r:case"dir"===e:case e.includes("CBC-HS"):n=r;break;case e.startsWith("PBES2"):n="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):n=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===r?"wrapKey":"unwrapKey":r;break;case"encrypt"===r&&e.startsWith("RSA"):n="wrapKey";break;case"decrypt"===r:n=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(n&&t.key_ops?.includes?.(n)===!1)throw TypeError(`Invalid key for this operation, its "key_ops" must include "${n}" when present`)}return!0},t$=(e,t,r)=>{if(!(t instanceof Uint8Array)){if(tD(t)){if(function(e){return"oct"===e.kty&&"string"==typeof e.k}(t)&&tU(e,t,r))return;throw TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!tj(t))throw TypeError(tP(e,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==t.type)throw TypeError(`${tL(t)} instances for symmetric algorithms must be of type "secret"`)}},tq=(e,t,r)=>{if(tD(t))switch(r){case"decrypt":case"sign":if(function(e){return"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d)}(t)&&tU(e,t,r))return;throw TypeError("JSON Web Key for this operation be a private JWK");case"encrypt":case"verify":if(function(e){return"oct"!==e.kty&&void 0===e.d&&void 0===e.priv}(t)&&tU(e,t,r))return;throw TypeError("JSON Web Key for this operation be a public JWK")}if(!tj(t))throw TypeError(tP(e,t,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===t.type)throw TypeError(`${tL(t)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===t.type)switch(r){case"sign":throw TypeError(`${tL(t)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw TypeError(`${tL(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===t.type)switch(r){case"verify":throw TypeError(`${tL(t)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw TypeError(`${tL(t)} instances for asymmetric algorithm encryption must be of type "public"`)}},tW=(e,t,r)=>{e.startsWith("HS")||"dir"===e||e.startsWith("PBES2")||/^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e)||/^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e)?t$(e,t,r):tq(e,t,r)},tH=(e,t,r,n,i)=>{let a;if(void 0!==i.crit&&n?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||void 0===n.crit)return new Set;if(!Array.isArray(n.crit)||0===n.crit.length||n.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');for(let o of(a=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t,n.crit)){if(!a.has(o))throw new tb(`Extension Header Parameter "${o}" is not recognized`);if(void 0===i[o])throw new e(`Extension Header Parameter "${o}" is missing`);if(a.get(o)&&void 0===n[o])throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`)}return new Set(n.crit)},tB=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)},tK=async e=>{if(!e.alg)throw TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":t={name:e.alg},r=e.priv?["sign"]:["verify"];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new tb('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new tb('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),n={...e};return"AKP"!==n.kty&&delete n.alg,delete n.use,crypto.subtle.importKey("jwk",n,t,e.ext??(!e.d&&!e.priv),e.key_ops??r)},tV=async(e,t,r,n=!1)=>{let a=(i||=new WeakMap).get(e);if(a?.[r])return a[r];let o=await tK({...t,alg:r});return n&&Object.freeze(e),a?a[r]=o:i.set(e,{[r]:o}),o},tz=(e,t)=>{let r,n=(i||=new WeakMap).get(e);if(n?.[t])return n[t];let a="public"===e.type,o=!!a;if("x25519"===e.asymmetricKeyType){switch(t){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}r=e.toCryptoKey(e.asymmetricKeyType,o,a?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==t&&"Ed25519"!==t)throw TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,o,[a?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(t!==e.asymmetricKeyType.toUpperCase())throw TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,o,[a?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let n;switch(t){case"RSA-OAEP":n="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":n="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":n="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":n="SHA-512";break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}if(t.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:n},o,a?["encrypt"]:["decrypt"]);r=e.toCryptoKey({name:t.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:n},o,[a?"verify":"sign"])}if("ec"===e.asymmetricKeyType){let n=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!n)throw TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===t&&"P-256"===n&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:n},o,[a?"verify":"sign"])),"ES384"===t&&"P-384"===n&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:n},o,[a?"verify":"sign"])),"ES512"===t&&"P-521"===n&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:n},o,[a?"verify":"sign"])),t.startsWith("ECDH-ES")&&(r=e.toCryptoKey({name:"ECDH",namedCurve:n},o,a?[]:["deriveBits"]))}if(!r)throw TypeError("given KeyObject instance cannot be used for this algorithm");return n?n[t]=r:i.set(e,{[t]:r}),r},tG=async(e,t)=>{if(e instanceof Uint8Array||tI(e))return e;if(tM(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return tz(e,t)}catch(e){if(e instanceof TypeError)throw e}let r=e.export({format:"jwk"});return tV(e,r,t)}if(tD(e))return e.k?td(e.k):tV(e,e,t,!0);throw Error("unreachable")};async function tX(e,t,r){let n,i;if(!tk(e))throw new tm("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new tm('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new tm("JWS Protected Header incorrect type");if(void 0===e.payload)throw new tm("JWS Payload missing");if("string"!=typeof e.signature)throw new tm("JWS Signature missing or incorrect type");if(void 0!==e.header&&!tk(e.header))throw new tm("JWS Unprotected Header incorrect type");let a={};if(e.protected)try{let t=td(e.protected);a=JSON.parse(tu.decode(t))}catch{throw new tm("JWS Protected Header is invalid")}if(!tN(a,e.header))throw new tm("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let o={...a,...e.header},s=tH(tm,new Map([["b64",!0]]),r?.crit,a,o),l=!0;if(s.has("b64")&&"boolean"!=typeof(l=a.b64))throw new tm('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:c}=o;if("string"!=typeof c||!c)throw new tm('JWS "alg" (Algorithm) Header Parameter missing or invalid');let u=r&&tB("algorithms",r.algorithms);if(u&&!u.has(c))throw new tg('"alg" (Algorithm) Header Parameter value not allowed');if(l){if("string"!=typeof e.payload)throw new tm("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new tm("JWS Payload must be a string or an Uint8Array instance");let d=!1;"function"==typeof t&&(t=await t(a,e),d=!0),tW(c,t,"verify");let p=function(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(tc.encode(e.protected??""),tc.encode("."),"string"==typeof e.payload?tc.encode(e.payload):e.payload);try{n=td(e.signature)}catch{throw new tm("Failed to base64url decode the signature")}let h=await tG(t,c);if(!await tA(c,h,n,p))throw new tw;if(l)try{i=td(e.payload)}catch{throw new tm("Failed to base64url decode the payload")}else i="string"==typeof e.payload?tc.encode(e.payload):e.payload;let f={payload:i};return(void 0!==e.protected&&(f.protectedHeader=a),void 0!==e.header&&(f.unprotectedHeader=e.header),d)?{...f,key:h}:f}async function tJ(e,t,r){if(e instanceof Uint8Array&&(e=tu.decode(e)),"string"!=typeof e)throw new tm("Compact JWS must be a string or Uint8Array");let{0:n,1:i,2:a,length:o}=e.split(".");if(3!==o)throw new tm("Invalid Compact JWS");let s=await tX({payload:i,protected:n,signature:a},t,r),l={payload:s.payload,protectedHeader:s.protectedHeader};return"function"==typeof t?{...l,key:s.key}:l}let tF=e=>Math.floor(e.getTime()/1e3),tQ=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,tY=e=>{let t,r=tQ.exec(e);if(!r||r[4]&&r[1])throw TypeError("Invalid time period format");let n=parseFloat(r[2]);switch(r[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":t=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":t=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":t=Math.round(3600*n);break;case"day":case"days":case"d":t=Math.round(86400*n);break;case"week":case"weeks":case"w":t=Math.round(604800*n);break;default:t=Math.round(0x1e187e0*n)}return"-"===r[1]||"ago"===r[4]?-t:t},tZ=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`,t0=(e,t)=>"string"==typeof e?t.includes(e):!!Array.isArray(e)&&t.some(Set.prototype.has.bind(new Set(e)));async function t1(e,t,r){let n=await tJ(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&!1===n.protectedHeader.b64)throw new tv("JWTs MUST NOT use unencoded payload");let i={payload:function(e,t,r={}){let n,i;try{n=JSON.parse(tu.decode(t))}catch{}if(!tk(n))throw new tv("JWT Claims Set must be a top-level JSON object");let{typ:a}=r;if(a&&("string"!=typeof e.typ||tZ(e.typ)!==tZ(a)))throw new th('unexpected "typ" JWT header value',n,"typ","check_failed");let{requiredClaims:o=[],issuer:s,subject:l,audience:c,maxTokenAge:u}=r,d=[...o];for(let e of(void 0!==u&&d.push("iat"),void 0!==c&&d.push("aud"),void 0!==l&&d.push("sub"),void 0!==s&&d.push("iss"),new Set(d.reverse())))if(!(e in n))throw new th(`missing required "${e}" claim`,n,e,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(n.iss))throw new th('unexpected "iss" claim value',n,"iss","check_failed");if(l&&n.sub!==l)throw new th('unexpected "sub" claim value',n,"sub","check_failed");if(c&&!t0(n.aud,"string"==typeof c?[c]:c))throw new th('unexpected "aud" claim value',n,"aud","check_failed");switch(typeof r.clockTolerance){case"string":i=tY(r.clockTolerance);break;case"number":i=r.clockTolerance;break;case"undefined":i=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:p}=r,h=tF(p||new Date);if((void 0!==n.iat||u)&&"number"!=typeof n.iat)throw new th('"iat" claim must be a number',n,"iat","invalid");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new th('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>h+i)throw new th('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new th('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=h-i)throw new tf('"exp" claim timestamp check failed',n,"exp","check_failed")}if(u){let e=h-n.iat;if(e-i>("number"==typeof u?u:tY(u)))throw new tf('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(e<0-i)throw new th('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return"function"==typeof t?{...i,key:n.key}:i}let t2={current:null},t5="function"==typeof to.cache?to.cache:e=>e,t4=console.warn;function t3(e){return function(...t){t4(e(...t))}}t5(e=>{try{t4(t2.current)}finally{t2.current=null}});let t6=new WeakMap,t9=t3(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})});function t8(){return this.getAll().map(e=>[e.name,e]).values()}function t7(e){for(let e of this.getAll())this.delete(e.name);return e}let re=new WeakMap,rt=t3(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})});function rr(){let e=workAsyncStorage.getStore(),t=workUnitAsyncStorage.getStore();switch((!e||!t)&&throwForMissingRequestStore("draftMode"),t.type){case"request":return rn(t.draftMode,e);case"cache":case"unstable-cache":let r=getDraftModeProviderForCacheScope(e,t);if(r)return rn(r,e);case"prerender":case"prerender-ppr":case"prerender-legacy":return ra(null);default:return t}}function rn(e,t){let r,n=ri.get(rr);return n||(r=ra(e),ri.set(e,r),r)}let ri=new WeakMap;function ra(e){let t=new ro(e),r=Promise.resolve(t);return Object.defineProperty(r,"isEnabled",{get:()=>t.isEnabled,set(e){Object.defineProperty(r,"isEnabled",{value:e,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0}),r.enable=t.enable.bind(t),r.disable=t.disable.bind(t),r}class ro{constructor(e){this._provider=e}get isEnabled(){return null!==this._provider&&this._provider.isEnabled}enable(){rl("draftMode().enable()"),null!==this._provider&&this._provider.enable()}disable(){rl("draftMode().disable()"),null!==this._provider&&this._provider.disable()}}let rs=t3(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`draftMode()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})});function rl(e){let t=workAsyncStorage.getStore(),r=workUnitAsyncStorage.getStore();if(t){if(r){if("cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside "use cache". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E246",enumerable:!1,configurable:!0});else if("unstable-cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside a function cached with "unstable_cache(...)". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E259",enumerable:!1,configurable:!0});else if("after"===r.phase)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside \`after\`. The enabled status of draftMode can be read inside \`after\` but you cannot enable or disable draftMode. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E348",enumerable:!1,configurable:!0})}if(t.dynamicShouldError)throw Object.defineProperty(new StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(r){if("prerender"===r.type){let n=Object.defineProperty(Error(`Route ${t.route} used ${e} without first calling \`await connection()\`. See more info here: https://nextjs.org/docs/messages/next-prerender-sync-headers`),"__NEXT_ERROR_CODE",{value:"E126",enumerable:!1,configurable:!0});abortAndThrowOnSynchronousRequestDataAccess(t.route,e,n,r)}else if("prerender-ppr"===r.type)postponeWithTracking(t.route,e,r.dynamicTracking);else if("prerender-legacy"===r.type){r.revalidate=0;let n=Object.defineProperty(new DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}}}}async function rc(e){try{let t=function(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}(),{payload:r}=await t1(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function ru(e){let{pathname:t}=e.nextUrl;return t.startsWith("/api/admin")?K.json({error:"Admin API is only available in Server mode"},{status:404}):t.startsWith("/admin")?K.redirect(new URL("/",e.url)):K.next()}let rd={matcher:["/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)"]},rp=(Object.values({NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401}),{...a}),rh=rp.middleware||rp.default,rf="/middleware";if("function"!=typeof rh)throw Object.defineProperty(Error(`The Middleware "${rf}" must export a \`middleware\` or a \`default\` function`),"__NEXT_ERROR_CODE",{value:"E120",enumerable:!1,configurable:!0});function rg(e){return ta({...e,page:rf,handler:async(...e)=>{try{return await rh(...e)}catch(i){let t=e[0],r=new URL(t.url),n=r.pathname+r.search;throw await c(i,{path:n,method:t.method,headers:Object.fromEntries(t.headers.entries())},{routerKind:"Pages Router",routePath:"/middleware",routeType:"middleware",revalidateReason:void 0}),i}}})}},201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getTestReqInfo:function(){return o},withRequest:function(){return a}});let n=new(r(521)).AsyncLocalStorage;function i(e,t){let r=t.header(e,"next-test-proxy-port");if(!r)return;let n=t.url(e);return{url:n,proxyPort:Number(r),testData:t.header(e,"next-test-data")||""}}function a(e,t,r){let a=i(e,t);return a?n.run(a,r):r()}function o(e,t){let r=n.getStore();return r||(e&&t?i(e,t):void 0)}},280:(e,t,r)=>{var n;(()=>{var i={226:function(i,a){!function(o,s){"use strict";var l="function",c="undefined",u="object",d="string",p="major",h="model",f="name",g="type",b="vendor",m="version",v="architecture",y="console",w="mobile",_="tablet",S="smarttv",E="wearable",R="embedded",O="Amazon",x="Apple",C="ASUS",P="BlackBerry",T="Browser",A="Chrome",N="Firefox",k="Google",I="Huawei",M="Microsoft",j="Motorola",D="Opera",L="Samsung",U="Sharp",$="Sony",q="Xiaomi",W="Zebra",H="Facebook",B="Chromium OS",K="Mac OS",V=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},z=function(e){for(var t={},r=0;r0?2===a.length?typeof a[1]==l?this[a[0]]=a[1].call(this,c):this[a[0]]=a[1]:3===a.length?typeof a[1]!==l||a[1].exec&&a[1].test?this[a[0]]=c?c.replace(a[1],a[2]):void 0:this[a[0]]=c?a[1].call(this,c,a[2]):void 0:4===a.length&&(this[a[0]]=c?a[3].call(this,c.replace(a[1],a[2])):s):this[a]=c||s;d+=2}},Q=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n2&&(e[h]="iPad",e[g]=_),e},this.getEngine=function(){var e={};return e[f]=s,e[m]=s,F.call(e,n,a.engine),e},this.getOS=function(){var e={};return e[f]=s,e[m]=s,F.call(e,n,a.os),y&&!e[f]&&i&&"Unknown"!=i.platform&&(e[f]=i.platform.replace(/chrome os/i,B).replace(/macos/i,K)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===d&&e.length>350?J(e,350):e,this},this.setUA(n),this};ee.VERSION="1.0.35",ee.BROWSER=z([f,m,p]),ee.CPU=z([v]),ee.DEVICE=z([h,b,g,y,w,S,_,E,R]),ee.ENGINE=ee.OS=z([f,m]),typeof a!==c?(i.exports&&(a=i.exports=ee),a.UAParser=ee):r.amdO?void 0===(n=(function(){return ee}).call(t,r,t,e))||(e.exports=n):typeof o!==c&&(o.UAParser=ee);var et=typeof o!==c&&(o.jQuery||o.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:this)}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}},n=!0;try{i[e].call(r.exports,r,r.exports,o),n=!1}finally{n&&delete a[e]}return r.exports}o.ab="//",e.exports=o(226)})()},356:e=>{"use strict";e.exports=require("node:buffer")},521:e=>{"use strict";e.exports=require("node:async_hooks")},552:(e,t,r)=>{"use strict";var n=r(356).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleFetch:function(){return s},interceptFetch:function(){return l},reader:function(){return a}});let i=r(201),a={url:e=>e.url,header:(e,t)=>e.headers.get(t)};async function o(e,t){let{url:r,method:i,headers:a,body:o,cache:s,credentials:l,integrity:c,mode:u,redirect:d,referrer:p,referrerPolicy:h}=t;return{testData:e,api:"fetch",request:{url:r,method:i,headers:[...Array.from(a),["next-test-stack",function(){let e=(Error().stack??"").split("\n");for(let t=1;t0){e=e.slice(t);break}return(e=(e=(e=e.filter(e=>!e.includes("/next/dist/"))).slice(0,5)).map(e=>e.replace("webpack-internal:///(rsc)/","").trim())).join(" ")}()]],body:o?n.from(await t.arrayBuffer()).toString("base64"):null,cache:s,credentials:l,integrity:c,mode:u,redirect:d,referrer:p,referrerPolicy:h}}}async function s(e,t){let r=(0,i.getTestReqInfo)(t,a);if(!r)return e(t);let{testData:s,proxyPort:l}=r,c=await o(s,t),u=await e(`http://localhost:${l}`,{method:"POST",body:JSON.stringify(c),next:{internal:!0}});if(!u.ok)throw Object.defineProperty(Error(`Proxy request failed: ${u.status}`),"__NEXT_ERROR_CODE",{value:"E146",enumerable:!1,configurable:!0});let d=await u.json(),{api:p}=d;switch(p){case"continue":return e(t);case"abort":case"unhandled":throw Object.defineProperty(Error(`Proxy request aborted [${t.method} ${t.url}]`),"__NEXT_ERROR_CODE",{value:"E145",enumerable:!1,configurable:!0})}let{status:h,headers:f,body:g}=d.response;return new Response(g?n.from(g,"base64"):null,{status:h,headers:new Headers(f)})}function l(e){return r.g.fetch=function(t,r){var n;return(null==r||null==(n=r.next)?void 0:n.internal)?e(t,r):s(e,new Request(t,r))},()=>{r.g.fetch=e}}},724:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};function o(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function s(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function l(e){if(!e)return;let[[t,r],...n]=s(e),{domain:i,expires:a,httponly:o,maxage:l,path:d,samesite:p,secure:h,partitioned:f,priority:g}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var b,m,v={name:t,value:decodeURIComponent(r),domain:i,...a&&{expires:new Date(a)},...o&&{httpOnly:!0},..."string"==typeof l&&{maxAge:Number(l)},path:d,...p&&{sameSite:c.includes(b=(b=p).toLowerCase())?b:void 0},...h&&{secure:!0},...g&&{priority:u.includes(m=(m=g).toLowerCase())?m:void 0},...f&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(a,{RequestCookies:()=>d,ResponseCookies:()=>p,parseCookie:()=>s,parseSetCookie:()=>l,stringifyCookie:()=>o}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=r(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);var c=["strict","lax","none"],u=["low","medium","high"],d=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of s(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>o(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>o(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},p=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;let i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(let e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,a,o=[],s=0;function l(){for(;s=e.length)&&o.push(e.substring(t,e.length))}return o}(i)){let t=l(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,i=this._parsed;return i.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=o(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(o).join("; ")}}},802:e=>{(()=>{"use strict";var t={993:e=>{var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,o){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new i(n,a||e,o),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i{e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},574:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let n=0,i=e.length;for(;i>0;){let a=i/2|0,o=n+a;0>=r(e[o],t)?(n=++o,i-=a+1):i=a}return n}},821:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let n=r(574);class i{constructor(){this._queue=[]}enqueue(e,t){let r={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(r);let i=n.default(this._queue,r,(e,t)=>t.priority-e.priority);this._queue.splice(i,0,r)}dequeue(){let e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}t.default=i},816:(e,t,r)=>{let n=r(213);class i extends Error{constructor(e){super(e),this.name="TimeoutError"}}let a=(e,t,r)=>new Promise((a,o)=>{if("number"!=typeof t||t<0)throw TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void a(e);let s=setTimeout(()=>{if("function"==typeof r){try{a(r())}catch(e){o(e)}return}let n="string"==typeof r?r:`Promise timed out after ${t} milliseconds`,s=r instanceof Error?r:new i(n);"function"==typeof e.cancel&&e.cancel(),o(s)},t);n(e.then(a,o),()=>{clearTimeout(s)})});e.exports=a,e.exports.default=a,e.exports.TimeoutError=i}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},o=!0;try{t[e](a,a.exports,n),o=!1}finally{o&&delete r[e]}return a.exports}n.ab="//";var i={};(()=>{Object.defineProperty(i,"__esModule",{value:!0});let e=n(993),t=n(816),r=n(821),a=()=>{},o=new t.TimeoutError;class s extends e{constructor(e){var t,n,i,o;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=a,this._resolveIdle=a,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:r.default},e)).intervalCap&&e.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!=(n=null==(t=e.intervalCap)?void 0:t.toString())?n:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!=(o=null==(i=e.interval)?void 0:i.toString())?o:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){let e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){let t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,r={}){return new Promise((n,i)=>{let a=async()=>{this._pendingCount++,this._intervalCount++;try{let a=void 0===this._timeout&&void 0===r.timeout?e():t.default(Promise.resolve(e()),void 0===r.timeout?this._timeout:r.timeout,()=>{(void 0===r.throwOnTimeout?this._throwOnTimeout:r.throwOnTimeout)&&i(o)});n(await a)}catch(e){i(e)}this._next()};this._queue.enqueue(a,r),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused&&(this._isPaused=!1,this._processQueue()),this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{let t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{let t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}i.default=s})(),e.exports=i})()},815:(e,t,r)=>{"use strict";e.exports=r(35)},890:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var i={},a=t.split(n),o=(r||{}).decode||e,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{interceptTestApis:function(){return a},wrapRequestHandler:function(){return o}});let n=r(201),i=r(552);function a(){return(0,i.interceptFetch)(r.g.fetch)}function o(e){return(t,r)=>(0,n.withRequest)(t,i.reader,()=>e(t,r))}},956:(e,t,r)=>{(()=>{"use strict";var t={491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextAPI=void 0;let n=r(223),i=r(172),a=r(930),o="context",s=new n.NoopContextManager;class l{constructor(){}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalContextManager(e){return(0,i.registerGlobal)(o,e,a.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,i.getGlobal)(o)||s}disable(){this._getContextManager().disable(),(0,i.unregisterGlobal)(o,a.DiagAPI.instance())}}t.ContextAPI=l},930:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagAPI=void 0;let n=r(56),i=r(912),a=r(957),o=r(172);class s{constructor(){function e(e){return function(...t){let r=(0,o.getGlobal)("diag");if(r)return r[e](...t)}}let t=this;t.setLogger=(e,r={logLevel:a.DiagLogLevel.INFO})=>{var n,s,l;if(e===t){let e=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!=(n=e.stack)?n:e.message),!1}"number"==typeof r&&(r={logLevel:r});let c=(0,o.getGlobal)("diag"),u=(0,i.createLogLevelDiagLogger)(null!=(s=r.logLevel)?s:a.DiagLogLevel.INFO,e);if(c&&!r.suppressOverrideMessage){let e=null!=(l=Error().stack)?l:"";c.warn(`Current logger will be overwritten from ${e}`),u.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,o.registerGlobal)("diag",u,t,!0)},t.disable=()=>{(0,o.unregisterGlobal)("diag",t)},t.createComponentLogger=e=>new n.DiagComponentLogger(e),t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}static instance(){return this._instance||(this._instance=new s),this._instance}}t.DiagAPI=s},653:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MetricsAPI=void 0;let n=r(660),i=r(172),a=r(930),o="metrics";class s{constructor(){}static getInstance(){return this._instance||(this._instance=new s),this._instance}setGlobalMeterProvider(e){return(0,i.registerGlobal)(o,e,a.DiagAPI.instance())}getMeterProvider(){return(0,i.getGlobal)(o)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,i.unregisterGlobal)(o,a.DiagAPI.instance())}}t.MetricsAPI=s},181:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropagationAPI=void 0;let n=r(172),i=r(874),a=r(194),o=r(277),s=r(369),l=r(930),c="propagation",u=new i.NoopTextMapPropagator;class d{constructor(){this.createBaggage=s.createBaggage,this.getBaggage=o.getBaggage,this.getActiveBaggage=o.getActiveBaggage,this.setBaggage=o.setBaggage,this.deleteBaggage=o.deleteBaggage}static getInstance(){return this._instance||(this._instance=new d),this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(c,e,l.DiagAPI.instance())}inject(e,t,r=a.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=a.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(c,l.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(c)||u}}t.PropagationAPI=d},997:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceAPI=void 0;let n=r(172),i=r(846),a=r(139),o=r(607),s=r(930),l="trace";class c{constructor(){this._proxyTracerProvider=new i.ProxyTracerProvider,this.wrapSpanContext=a.wrapSpanContext,this.isSpanContextValid=a.isSpanContextValid,this.deleteSpan=o.deleteSpan,this.getSpan=o.getSpan,this.getActiveSpan=o.getActiveSpan,this.getSpanContext=o.getSpanContext,this.setSpan=o.setSpan,this.setSpanContext=o.setSpanContext}static getInstance(){return this._instance||(this._instance=new c),this._instance}setGlobalTracerProvider(e){let t=(0,n.registerGlobal)(l,this._proxyTracerProvider,s.DiagAPI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return(0,n.getGlobal)(l)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(l,s.DiagAPI.instance()),this._proxyTracerProvider=new i.ProxyTracerProvider}}t.TraceAPI=c},277:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;let n=r(491),i=(0,r(780).createContextKey)("OpenTelemetry Baggage Key");function a(e){return e.getValue(i)||void 0}t.getBaggage=a,t.getActiveBaggage=function(){return a(n.ContextAPI.getInstance().active())},t.setBaggage=function(e,t){return e.setValue(i,t)},t.deleteBaggage=function(e){return e.deleteValue(i)}},993:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaggageImpl=void 0;class r{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map(([e,t])=>[e,t])}setEntry(e,t){let n=new r(this._entries);return n._entries.set(e,t),n}removeEntry(e){let t=new r(this._entries);return t._entries.delete(e),t}removeEntries(...e){let t=new r(this._entries);for(let r of e)t._entries.delete(r);return t}clear(){return new r}}t.BaggageImpl=r},830:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataSymbol=void 0,t.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataFromString=t.createBaggage=void 0;let n=r(930),i=r(993),a=r(830),o=n.DiagAPI.instance();t.createBaggage=function(e={}){return new i.BaggageImpl(new Map(Object.entries(e)))},t.baggageEntryMetadataFromString=function(e){return"string"!=typeof e&&(o.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:a.baggageEntryMetadataSymbol,toString:()=>e}}},67:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.context=void 0,t.context=r(491).ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopContextManager=void 0;let n=r(780);class i{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=i},780:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONTEXT=t.createContextKey=void 0,t.createContextKey=function(e){return Symbol.for(e)};class r{constructor(e){let t=this;t._currentContext=e?new Map(e):new Map,t.getValue=e=>t._currentContext.get(e),t.setValue=(e,n)=>{let i=new r(t._currentContext);return i._currentContext.set(e,n),i},t.deleteValue=e=>{let n=new r(t._currentContext);return n._currentContext.delete(e),n}}}t.ROOT_CONTEXT=new r},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.diag=void 0,t.diag=r(930).DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagComponentLogger=void 0;let n=r(172);class i{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return a("debug",this._namespace,e)}error(...e){return a("error",this._namespace,e)}info(...e){return a("info",this._namespace,e)}warn(...e){return a("warn",this._namespace,e)}verbose(...e){return a("verbose",this._namespace,e)}}function a(e,t,r){let i=(0,n.getGlobal)("diag");if(i)return r.unshift(t),i[e](...r)}t.DiagComponentLogger=i},972:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagConsoleLogger=void 0;let r=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class n{constructor(){for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.createLogLevelDiagLogger=void 0;let n=r(957);t.createLogLevelDiagLogger=function(e,t){function r(r,n){let i=t[r];return"function"==typeof i&&e>=n?i.bind(t):function(){}}return en.DiagLogLevel.ALL&&(e=n.DiagLogLevel.ALL),t=t||{},{error:r("error",n.DiagLogLevel.ERROR),warn:r("warn",n.DiagLogLevel.WARN),info:r("info",n.DiagLogLevel.INFO),debug:r("debug",n.DiagLogLevel.DEBUG),verbose:r("verbose",n.DiagLogLevel.VERBOSE)}}},957:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;let n=r(200),i=r(521),a=r(130),o=i.VERSION.split(".")[0],s=Symbol.for(`opentelemetry.js.api.${o}`),l=n._globalThis;t.registerGlobal=function(e,t,r,n=!1){var a;let o=l[s]=null!=(a=l[s])?a:{version:i.VERSION};if(!n&&o[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(t.stack||t.message),!1}if(o.version!==i.VERSION){let t=Error(`@opentelemetry/api: Registration of version v${o.version} for ${e} does not match previously registered API v${i.VERSION}`);return r.error(t.stack||t.message),!1}return o[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${i.VERSION}.`),!0},t.getGlobal=function(e){var t,r;let n=null==(t=l[s])?void 0:t.version;if(n&&(0,a.isCompatible)(n))return null==(r=l[s])?void 0:r[e]},t.unregisterGlobal=function(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${i.VERSION}.`);let r=l[s];r&&delete r[e]}},130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCompatible=t._makeCompatibilityCheck=void 0;let n=r(521),i=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function a(e){let t=new Set([e]),r=new Set,n=e.match(i);if(!n)return()=>!1;let a={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=a.prerelease)return function(t){return t===e};function o(e){return r.add(e),!1}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;let n=e.match(i);if(!n)return o(e);let s={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=s.prerelease||a.major!==s.major)return o(e);if(0===a.major)return a.minor===s.minor&&a.patch<=s.patch?(t.add(e),!0):o(e);return a.minor<=s.minor?(t.add(e),!0):o(e)}}t._makeCompatibilityCheck=a,t.isCompatible=a(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.metrics=void 0,t.metrics=r(653).MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class r{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=r;class n{}t.NoopMetric=n;class i extends n{add(e,t){}}t.NoopCounterMetric=i;class a extends n{add(e,t){}}t.NoopUpDownCounterMetric=a;class o extends n{record(e,t){}}t.NoopHistogramMetric=o;class s{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=s;class l extends s{}t.NoopObservableCounterMetric=l;class c extends s{}t.NoopObservableGaugeMetric=c;class u extends s{}t.NoopObservableUpDownCounterMetric=u,t.NOOP_METER=new r,t.NOOP_COUNTER_METRIC=new i,t.NOOP_HISTOGRAM_METRIC=new o,t.NOOP_UP_DOWN_COUNTER_METRIC=new a,t.NOOP_OBSERVABLE_COUNTER_METRIC=new l,t.NOOP_OBSERVABLE_GAUGE_METRIC=new c,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new u,t.createNoopMeter=function(){return t.NOOP_METER}},660:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;let n=r(102);class i{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=i,t.NOOP_METER_PROVIDER=new i},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(46),t)},651:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._globalThis=void 0,t._globalThis="object"==typeof globalThis?globalThis:r.g},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.propagation=void 0,t.propagation=r(181).PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTextMapPropagator=void 0;class r{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=r},194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextMapSetter=t.defaultTextMapGetter=void 0,t.defaultTextMapGetter={get(e,t){if(null!=e)return e[t]},keys:e=>null==e?[]:Object.keys(e)},t.defaultTextMapSetter={set(e,t,r){null!=e&&(e[t]=r)}}},845:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.trace=void 0,t.trace=r(997).TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NonRecordingSpan=void 0;let n=r(476);class i{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}}t.NonRecordingSpan=i},614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracer=void 0;let n=r(491),i=r(607),a=r(403),o=r(139),s=n.ContextAPI.getInstance();class l{startSpan(e,t,r=s.active()){var n;if(null==t?void 0:t.root)return new a.NonRecordingSpan;let l=r&&(0,i.getSpanContext)(r);return"object"==typeof(n=l)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,o.isSpanContextValid)(l)?new a.NonRecordingSpan(l):new a.NonRecordingSpan}startActiveSpan(e,t,r,n){let a,o,l;if(arguments.length<2)return;2==arguments.length?l=t:3==arguments.length?(a=t,l=r):(a=t,o=r,l=n);let c=null!=o?o:s.active(),u=this.startSpan(e,a,c),d=(0,i.setSpan)(c,u);return s.with(d,l,void 0,u)}}t.NoopTracer=l},124:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracerProvider=void 0;let n=r(614);class i{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=i},125:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracer=void 0;let n=new(r(614)).NoopTracer;class i{constructor(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){let i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):n}}t.ProxyTracer=i},846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracerProvider=void 0;let n=r(125),i=new(r(124)).NoopTracerProvider;class a{getTracer(e,t,r){var i;return null!=(i=this.getDelegateTracer(e,t,r))?i:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return null!=(e=this._delegate)?e:i}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return null==(n=this._delegate)?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=a},996:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;let n=r(780),i=r(403),a=r(491),o=(0,n.createContextKey)("OpenTelemetry Context Key SPAN");function s(e){return e.getValue(o)||void 0}function l(e,t){return e.setValue(o,t)}t.getSpan=s,t.getActiveSpan=function(){return s(a.ContextAPI.getInstance().active())},t.setSpan=l,t.deleteSpan=function(e){return e.deleteValue(o)},t.setSpanContext=function(e,t){return l(e,new i.NonRecordingSpan(t))},t.getSpanContext=function(e){var t;return null==(t=s(e))?void 0:t.spanContext()}},325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceStateImpl=void 0;let n=r(564);class i{constructor(e){this._internalState=new Map,e&&this._parse(e)}set(e,t){let r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,t)=>(e.push(t+"="+this.get(t)),e),[]).join(",")}_parse(e){!(e.length>512)&&(this._internalState=e.split(",").reverse().reduce((e,t)=>{let r=t.trim(),i=r.indexOf("=");if(-1!==i){let a=r.slice(0,i),o=r.slice(i+1,t.length);(0,n.validateKey)(a)&&(0,n.validateValue)(o)&&e.set(a,o)}return e},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new i;return e._internalState=new Map(this._internalState),e}}t.TraceStateImpl=i},564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateValue=t.validateKey=void 0;let r="[_0-9a-z-*/]",n=`[a-z]${r}{0,255}`,i=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`,a=RegExp(`^(?:${n}|${i})$`),o=/^[ -~]{0,255}[!-~]$/,s=/,|=/;t.validateKey=function(e){return a.test(e)},t.validateValue=function(e){return o.test(e)&&!s.test(e)}},98:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTraceState=void 0;let n=r(325);t.createTraceState=function(e){return new n.TraceStateImpl(e)}},476:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;let n=r(475);t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;let n=r(476),i=r(403),a=/^([0-9a-f]{32})$/i,o=/^[0-9a-f]{16}$/i;function s(e){return a.test(e)&&e!==n.INVALID_TRACEID}function l(e){return o.test(e)&&e!==n.INVALID_SPANID}t.isValidTraceId=s,t.isValidSpanId=l,t.isSpanContextValid=function(e){return s(e.traceId)&&l(e.spanId)},t.wrapSpanContext=function(e){return new i.NonRecordingSpan(e)}},847:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="1.6.0"}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}},o=!0;try{t[e].call(a.exports,a,a.exports,i),o=!1}finally{o&&delete n[e]}return a.exports}i.ab="//";var a={};(()=>{Object.defineProperty(a,"__esModule",{value:!0}),a.trace=a.propagation=a.metrics=a.diag=a.context=a.INVALID_SPAN_CONTEXT=a.INVALID_TRACEID=a.INVALID_SPANID=a.isValidSpanId=a.isValidTraceId=a.isSpanContextValid=a.createTraceState=a.TraceFlags=a.SpanStatusCode=a.SpanKind=a.SamplingDecision=a.ProxyTracerProvider=a.ProxyTracer=a.defaultTextMapSetter=a.defaultTextMapGetter=a.ValueType=a.createNoopMeter=a.DiagLogLevel=a.DiagConsoleLogger=a.ROOT_CONTEXT=a.createContextKey=a.baggageEntryMetadataFromString=void 0;var e=i(369);Object.defineProperty(a,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var t=i(780);Object.defineProperty(a,"createContextKey",{enumerable:!0,get:function(){return t.createContextKey}}),Object.defineProperty(a,"ROOT_CONTEXT",{enumerable:!0,get:function(){return t.ROOT_CONTEXT}});var r=i(972);Object.defineProperty(a,"DiagConsoleLogger",{enumerable:!0,get:function(){return r.DiagConsoleLogger}});var n=i(957);Object.defineProperty(a,"DiagLogLevel",{enumerable:!0,get:function(){return n.DiagLogLevel}});var o=i(102);Object.defineProperty(a,"createNoopMeter",{enumerable:!0,get:function(){return o.createNoopMeter}});var s=i(901);Object.defineProperty(a,"ValueType",{enumerable:!0,get:function(){return s.ValueType}});var l=i(194);Object.defineProperty(a,"defaultTextMapGetter",{enumerable:!0,get:function(){return l.defaultTextMapGetter}}),Object.defineProperty(a,"defaultTextMapSetter",{enumerable:!0,get:function(){return l.defaultTextMapSetter}});var c=i(125);Object.defineProperty(a,"ProxyTracer",{enumerable:!0,get:function(){return c.ProxyTracer}});var u=i(846);Object.defineProperty(a,"ProxyTracerProvider",{enumerable:!0,get:function(){return u.ProxyTracerProvider}});var d=i(996);Object.defineProperty(a,"SamplingDecision",{enumerable:!0,get:function(){return d.SamplingDecision}});var p=i(357);Object.defineProperty(a,"SpanKind",{enumerable:!0,get:function(){return p.SpanKind}});var h=i(847);Object.defineProperty(a,"SpanStatusCode",{enumerable:!0,get:function(){return h.SpanStatusCode}});var f=i(475);Object.defineProperty(a,"TraceFlags",{enumerable:!0,get:function(){return f.TraceFlags}});var g=i(98);Object.defineProperty(a,"createTraceState",{enumerable:!0,get:function(){return g.createTraceState}});var b=i(139);Object.defineProperty(a,"isSpanContextValid",{enumerable:!0,get:function(){return b.isSpanContextValid}}),Object.defineProperty(a,"isValidTraceId",{enumerable:!0,get:function(){return b.isValidTraceId}}),Object.defineProperty(a,"isValidSpanId",{enumerable:!0,get:function(){return b.isValidSpanId}});var m=i(476);Object.defineProperty(a,"INVALID_SPANID",{enumerable:!0,get:function(){return m.INVALID_SPANID}}),Object.defineProperty(a,"INVALID_TRACEID",{enumerable:!0,get:function(){return m.INVALID_TRACEID}}),Object.defineProperty(a,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return m.INVALID_SPAN_CONTEXT}});let v=i(67);Object.defineProperty(a,"context",{enumerable:!0,get:function(){return v.context}});let y=i(506);Object.defineProperty(a,"diag",{enumerable:!0,get:function(){return y.diag}});let w=i(886);Object.defineProperty(a,"metrics",{enumerable:!0,get:function(){return w.metrics}});let _=i(939);Object.defineProperty(a,"propagation",{enumerable:!0,get:function(){return _.propagation}});let S=i(845);Object.defineProperty(a,"trace",{enumerable:!0,get:function(){return S.trace}}),a.default={context:v.context,diag:y.diag,metrics:w.metrics,propagation:_.propagation,trace:S.trace}})(),e.exports=a})()}},e=>{var t=e(e.s=44);(_ENTRIES="undefined"==typeof _ENTRIES?{}:_ENTRIES).middleware_middleware=t}]); //# sourceMappingURL=middleware.js.map \ No newline at end of file diff --git a/.next/server/pages/404.html b/.next/server/pages/404.html index 6702c7506e1af4fe39c9327f180400da9393926f..467edb2e7836fcb4920e5bf34fffc7dc5104888b 100644 --- a/.next/server/pages/404.html +++ b/.next/server/pages/404.html @@ -1 +1 @@ -404: This page could not be found.Open Source Web Studio | Agentic AI Development 🎨

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Open Source Web Studio | Agentic AI Development 🎨

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/pages/500.html b/.next/server/pages/500.html index 2306b129e7a7a345cbe519a91cb2dbcf6a027af3..ea80758f3e8de8f9278deee3c72e92b19f9d0cc0 100644 --- a/.next/server/pages/500.html +++ b/.next/server/pages/500.html @@ -1 +1 @@ -500: Internal Server Error

500

Internal Server Error.

\ No newline at end of file +500: Internal Server Error

500

Internal Server Error.

\ No newline at end of file diff --git a/.next/server/server-reference-manifest.json b/.next/server/server-reference-manifest.json index f45099417f476adb966e28e0511c3a20c8704b23..12a7c9850a2687fd849f5802fbb6b50db4b644e2 100644 --- a/.next/server/server-reference-manifest.json +++ b/.next/server/server-reference-manifest.json @@ -1 +1 @@ -{"node":{},"edge":{},"encryptionKey":"ov0gS0438LlidDQjLhbZ2KSM67LwzzBzmxs9NPM6KWo="} \ No newline at end of file +{"node":{},"edge":{},"encryptionKey":"scLRzmv9dK5DlN4s0WayJqhIluxV43aJKUaE3rxBo2M="} \ No newline at end of file diff --git a/.next/server/webpack-runtime.js b/.next/server/webpack-runtime.js index d58c81d3889dd386cb8025ceb2d690174ccb8242..8ec8243888ad0ab786c8cf8cb5552d026adbb117 100644 --- a/.next/server/webpack-runtime.js +++ b/.next/server/webpack-runtime.js @@ -1 +1 @@ -(()=>{"use strict";var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}},u=!0;try{e[o].call(a.exports,a,a.exports,t),u=!1}finally{u&&delete r[o]}return a.exports}t.m=e,t.amdO={},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);t.r(a);var u={};e=e||[null,r({}),r([]),r(r)];for(var f=2&n&&o;"object"==typeof f&&!~e.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach(e=>u[e]=()=>o[e]);return u.default=()=>o,t.d(a,u),a}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".js",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.X=(e,r,o)=>{var n=r;o||(r=e,o=()=>t(t.s=n)),r.map(t.e,t);var a=o();return void 0===a?e:a},t.nc=void 0,(()=>{var e={7311:1},r=r=>{var o=r.modules,n=r.ids,a=r.runtime;for(var u in o)t.o(o,u)&&(t.m[u]=o[u]);a&&a(t);for(var f=0;f{e[o]||(7311!=o?r(require("./chunks/"+t.u(o))):e[o]=1)},module.exports=t,t.C=r})()})(); \ No newline at end of file +(()=>{"use strict";var e={},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var n=r[o]={exports:{}},u=!0;try{e[o].call(n.exports,n,n.exports,t),u=!1}finally{u&&delete r[o]}return n.exports}t.m=e,t.amdO={},(()=>{var e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",r="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",o="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",a=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},n=t=>t.map(t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var n=[];n.d=0,t.then(e=>{u[r]=e,a(n)},e=>{u[o]=e,a(n)});var u={};return u[e]=e=>e(n),u}}var f={};return f[e]=e=>{},f[r]=t,f});t.a=(t,u,f)=>{f&&((p=[]).d=-1);var p,c,l,i,d=new Set,s=t.exports,b=new Promise((e,r)=>{i=r,l=e});b[r]=s,b[e]=e=>(p&&e(p),d.forEach(e),b.catch(e=>{})),t.exports=b,u(t=>{c=n(t);var a,u=()=>c.map(e=>{if(e[o])throw e[o];return e[r]}),f=new Promise(r=>{(a=()=>r(u)).r=0;var t=e=>e!==p&&!d.has(e)&&(d.add(e),e&&!e.d&&(a.r++,e.push(a)));c.map(r=>r[e](t))});return a.r?f:u()},e=>(e?i(b[o]=e):l(s),a(p))),p&&p.d<0&&(p.d=0)}})(),t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,a){if(1&a&&(o=this(o)),8&a||"object"==typeof o&&o&&(4&a&&o.__esModule||16&a&&"function"==typeof o.then))return o;var n=Object.create(null);t.r(n);var u={};e=e||[null,r({}),r([]),r(r)];for(var f=2&a&&o;"object"==typeof f&&!~e.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach(e=>u[e]=()=>o[e]);return u.default=()=>o,t.d(n,u),n}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".js",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.X=(e,r,o)=>{var a=r;o||(r=e,o=()=>t(t.s=a)),r.map(t.e,t);var n=o();return void 0===n?e:n},t.nc=void 0,(()=>{var e={7311:1},r=r=>{var o=r.modules,a=r.ids,n=r.runtime;for(var u in o)t.o(o,u)&&(t.m[u]=o[u]);n&&n(t);for(var f=0;f{e[o]||(7311!=o?r(require("./chunks/"+t.u(o))):e[o]=1)},module.exports=t,t.C=r})()})(); \ No newline at end of file diff --git a/.next/static/jxLirYAMgdjIXymrVZyQd/_buildManifest.js b/.next/static/WjFJhVBcz-sTdlqJMNSLk/_buildManifest.js similarity index 100% rename from .next/static/jxLirYAMgdjIXymrVZyQd/_buildManifest.js rename to .next/static/WjFJhVBcz-sTdlqJMNSLk/_buildManifest.js diff --git a/.next/static/jxLirYAMgdjIXymrVZyQd/_ssgManifest.js b/.next/static/WjFJhVBcz-sTdlqJMNSLk/_ssgManifest.js similarity index 100% rename from .next/static/jxLirYAMgdjIXymrVZyQd/_ssgManifest.js rename to .next/static/WjFJhVBcz-sTdlqJMNSLk/_ssgManifest.js diff --git a/.next/static/chunks/4750-9bf07235c095a27e.js b/.next/static/chunks/4750-9bf07235c095a27e.js new file mode 100644 index 0000000000000000000000000000000000000000..886599b8c691dc0355547f0daaf371b575d90d67 --- /dev/null +++ b/.next/static/chunks/4750-9bf07235c095a27e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4750],{5221:(e,t,n)=>{n.d(t,{g:()=>s});var i=n(95155);function s(e){let{width:t=64,height:n=64,className:s}=e;return(0,i.jsx)("div",{style:{width:t,height:n},className:s,dangerouslySetInnerHTML:{__html:'\n\n\n\n\n\n\n\n'}})}},14250:(e,t,n)=>{n.d(t,{r8:()=>u,vfs:()=>h});var i=n(51368),s=n(59311),a=n.n(s),r=n(53999),o=n(35337),l=n(87015),c=n(43902),d=n(56746);class p{async init(){return new Promise((e,t)=>{let n=indexedDB.open("osw-studio-db",4);n.onerror=()=>t(n.error),n.onsuccess=()=>{this.db=n.result,e()},n.onupgradeneeded=e=>{let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}if(!t.objectStoreNames.contains("customTemplates")){let e=t.createObjectStore("customTemplates",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("importedAt","importedAt",{unique:!1})}if(!t.objectStoreNames.contains("skills")){let e=t.createObjectStore("skills",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!t.objectStoreNames.contains("debugEvents")){let e=t.createObjectStore("debugEvents",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}}})}async close(){this.db&&(this.db.close(),this.db=null)}getDB(){if(!this.db)throw Error("IndexedDB not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.add(e))}async getProject(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),n=await this.promisify(t.get(e));return n?this.hydrateProject(n):null}async updateProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.put(e))}async deleteProject(e){let t=this.getDB();await this.deleteProjectFiles(e);let n=t.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(n.delete(e))}async listProjects(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),n=await this.promisify(t.getAll()),i=(null==n?void 0:n.map(e=>this.hydrateProject(e)))||[];return e&&e.length>0?i.map(t=>{let n={};return e.forEach(e=>{e in t&&(n[e]=t[e])}),n}):i}async createFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.add(e))}async getFile(e,t){let n=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(n.get([e,t]))||null}async updateFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.put(e))}async deleteFile(e,t){let n=await this.getFile(e,t);if(n){let e=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(e.delete(n.id))}}async listFiles(e){let t=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(t.getAll(e))||[]}async deleteProjectFiles(e){let t=await this.listFiles(e),n=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let e of t)await this.promisify(n.delete(e.id))}async createTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.add(e))}async getTreeNode(e,t){let n=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(n.get([e,t]))||null}async updateTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.put(e))}async deleteTreeNode(e,t){let n=await this.getTreeNode(e,t);if(n){let e=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(e.delete(n.id))}}async getChildNodes(e,t){let n=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(n.getAll(null===t?[e]:[e,t]))||[]}async getAllTreeNodes(e){let t=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(t.getAll(e))||[]}async saveCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.put(e))}async getCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),n=await this.promisify(t.get(e));return n?this.hydrateCustomTemplate(n):null}async getAllCustomTemplates(){let e=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(e.getAll())).map(e=>this.hydrateCustomTemplate(e))}async deleteCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.delete(e))}async createSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),n={...e,isBuiltIn:!1};await this.promisify(t.add(n))}async getSkill(e){let t=this.getDB().transaction(["skills"],"readonly").objectStore("skills"),n=await this.promisify(t.get(e));return n?this.hydrateSkill(n):null}async updateSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),n={...e,isBuiltIn:!1};await this.promisify(t.put(n))}async deleteSkill(e){let t=this.getDB().transaction(["skills"],"readwrite").objectStore("skills");await this.promisify(t.delete(e))}async getAllSkills(){let e=this.getDB().transaction(["skills"],"readonly").objectStore("skills");return(await this.promisify(e.getAll())).filter(e=>!e.isBuiltIn).map(e=>this.hydrateSkill(e))}promisify(e){return new Promise((t,n)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>n(e.error)})}hydrateProject(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date,lastSavedAt:e.lastSavedAt?new Date(e.lastSavedAt):null}}hydrateCustomTemplate(e){return{...e,importedAt:e.importedAt?new Date(e.importedAt):new Date}}hydrateSkill(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date}}constructor(){this.db=null}}class u{async init(){this.initialized||(await this.adapter.init(),await this.mountTransientSkills(),this.initialized=!0)}getDatabase(){if(!(this.adapter instanceof p))throw Error("Direct database access only available with IndexedDBAdapter");return this.adapter.getDatabase()}async mountTransientSkills(){try{for(let e of(await d.skillsService.getEnabledSkills())){let t="/.skills/".concat(e.id,".md"),n={id:"transient-skill-".concat(e.id),projectId:"transient",path:t,name:"".concat(e.id,".md"),type:"text",content:e.content,mimeType:"text/markdown",size:new Blob([e.content]).size,createdAt:e.createdAt,updatedAt:e.updatedAt,metadata:{isTransient:!0,isBuiltIn:e.isBuiltIn}};this.transientFiles.set(t,n)}r.v.info("[VFS] Mounted ".concat(this.transientFiles.size," transient skill files"))}catch(e){r.v.error("[VFS] Failed to mount transient skills",e)}}isTransientPath(e){return e.startsWith("/.")}async reloadTransientSkills(){let e=new Map;for(let[t,n]of this.transientFiles)t.startsWith("/.server/")&&e.set(t,n);for(let[t,n]of(this.transientFiles.clear(),await this.mountTransientSkills(),e))this.transientFiles.set(t,n);window.dispatchEvent(new Event("filesChanged"))}getServerContextSiteId(){return this.serverContextSiteId}hasServerContext(){return null!==this.serverContextSiteId}getServerContextMetadata(){return this.serverContextMetadata}async mountServerContext(e,t){r.v.warn("[VFS] Server context only available in Server Mode")}async fetchServerContextFromAPI(e,t){try{this.unmountServerContext();let n=await fetch("/api/admin/sites/".concat(e,"/server-context"));if(!n.ok){let e=await n.json().catch(()=>({error:"Failed to fetch server context"}));throw Error(e.error||"Failed to fetch server context")}let i=await n.json();for(let e of i.files){let t={id:"transient-server-".concat(e.path.replace(/[^a-z0-9]/gi,"-")),projectId:"transient",path:e.path,name:e.path.split("/").pop()||"",type:"text",content:e.content,mimeType:e.path.endsWith(".sql")?"text/sql":e.path.endsWith(".json")?"application/json":e.path.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([e.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:e.isReadOnly}};this.transientFiles.set(e.path,t)}this.serverContextSiteId=e,this.serverContextMetadata=i.metadata,"undefined"!=typeof sessionStorage&&sessionStorage.setItem("vfs_serverContextSiteId",e),r.v.info("[VFS] Mounted server context for site ".concat(e," (").concat(t,") via API")),window.dispatchEvent(new Event("filesChanged"))}catch(e){r.v.error("[VFS] Failed to fetch server context from API",e)}}unmountServerContext(){let e=[];for(let t of this.transientFiles.keys())t.startsWith("/.server/")&&(this.transientFiles.delete(t),e.push(t));this.serverContextSiteId&&(r.v.info("[VFS] Unmounted server context (".concat(e.length," files)")),this.serverContextSiteId=null,this.serverContextMetadata=null,"undefined"!=typeof sessionStorage&&sessionStorage.removeItem("vfs_serverContextSiteId"),window.dispatchEvent(new Event("filesChanged")))}getTransientFilesInDirectory(e){let t=e.endsWith("/")?e:e+"/",n=[];for(let[e,i]of this.transientFiles)e.startsWith(t)&&n.push(i);return n}mountTransientFile(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i={id:"transient-server-".concat(e.replace(/[^a-z0-9]/gi,"-")),projectId:"transient",path:e,name:e.split("/").pop()||"",type:"text",content:t,mimeType:e.endsWith(".sql")?"text/sql":e.endsWith(".json")?"application/json":e.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([t]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:n}};this.transientFiles.set(e,i)}async updateServerContextFile(e,t){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(r.v.info("[VFS] Recovered serverContextSiteId from sessionStorage: ".concat(e)),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if("/.server/db/schema.sql"===e)throw Error("Cannot modify ".concat(e," - read-only file"));return await this.mutateServerContextViaAPI("update",e,t)}async mutateServerContextViaAPI(e,t,n){if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");let i=await fetch("/api/admin/sites/".concat(this.serverContextSiteId,"/server-context/mutate"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:e,path:t,content:n})}),s=await i.json();if(!s.success)throw Error(s.error||"Mutation failed");if("delete"===e)return this.transientFiles.delete(t),window.dispatchEvent(new Event("filesChanged")),{id:"deleted",projectId:"transient",path:t,name:t.split("/").pop()||"",type:"text",content:"",mimeType:"text/plain",size:0,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:!1}};if(s.file){let e=s.file.path;t!==e&&this.transientFiles.delete(t);let n={id:"transient-server-".concat(e.replace(/[^a-z0-9]/gi,"-")),projectId:"transient",path:e,name:e.split("/").pop()||"",type:"text",content:s.file.content,mimeType:e.endsWith(".json")?"application/json":e.endsWith(".sql")?"text/sql":"text/markdown",size:new Blob([s.file.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:s.file.isReadOnly}};return this.transientFiles.set(e,n),window.dispatchEvent(new Event("filesChanged")),n}throw Error("No file returned from mutation")}async updateEdgeFunctionFromFile(e,t){var i,s,a,r;let o,{getSQLiteAdapter:l}=await import("./adapters/server"),{validateEdgeFunctionData:c,generateEdgeFunctionFile:d}=await n.e(9177).then(n.bind(n,9177));try{o=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error("Invalid JSON: ".concat(e))}let p=c(o);if(!p.valid)throw Error("Validation failed: ".concat(p.errors.join("; ")));let u=o,h=l();await h.init();let m=h.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!m)throw Error("Site database not available");let f=e.split("/").pop().replace(".json",""),g=m.getFunctionByName(f);if(g){if(m.updateFunction(g.id,{name:u.name,code:u.code,method:u.method,description:u.description,enabled:null==(i=u.enabled)||i,timeoutMs:null!=(s=u.timeoutMs)?s:5e3}),u.name!==f){this.transientFiles.delete(e);let t="/.server/edge-functions/".concat(u.name,".json"),n=m.getFunctionByName(u.name);return this.mountTransientFile(t,d(n),!1),this.transientFiles.get(t)}}else m.createFunction({name:u.name,code:u.code,method:u.method,description:u.description,enabled:null==(a=u.enabled)||a,timeoutMs:null!=(r=u.timeoutMs)?r:5e3});let y=m.getFunctionByName(u.name);return this.mountTransientFile(e,d(y),!1),window.dispatchEvent(new Event("filesChanged")),this.transientFiles.get(e)}async updateServerFunctionFromFile(e,t){var i,s;let a,{getSQLiteAdapter:r}=await import("./adapters/server"),{validateServerFunctionData:o,generateServerFunctionFile:l}=await n.e(9177).then(n.bind(n,9177));try{a=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error("Invalid JSON: ".concat(e))}let c=o(a);if(!c.valid)throw Error("Validation failed: ".concat(c.errors.join("; ")));let d=a,p=r();await p.init();let u=p.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!u)throw Error("Site database not available");let h=e.split("/").pop().replace(".json",""),m=u.getServerFunctionByName(h);if(m){if(u.updateServerFunction(m.id,{name:d.name,code:d.code,description:d.description,enabled:null==(i=d.enabled)||i}),d.name!==h){this.transientFiles.delete(e);let t="/.server/server-functions/".concat(d.name,".json"),n=u.getServerFunctionByName(d.name);return this.mountTransientFile(t,l(n),!1),this.transientFiles.get(t)}}else u.createServerFunction({name:d.name,code:d.code,description:d.description,enabled:null==(s=d.enabled)||s});let f=u.getServerFunctionByName(d.name);return this.mountTransientFile(e,l(f),!1),window.dispatchEvent(new Event("filesChanged")),this.transientFiles.get(e)}async updateSecretFromFile(e,t){let i,{getSQLiteAdapter:s}=await import("./adapters/server"),{validateSecretData:a,generateSecretFile:r}=await n.e(9177).then(n.bind(n,9177));try{i=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);throw Error("Invalid JSON: ".concat(e))}let o=a(i);if(!o.valid)throw Error("Validation failed: ".concat(o.errors.join("; ")));let l=i,c=s();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let p=e.split("/").pop().replace(".json",""),u=d.getSecretByName(p);if(u){if(d.updateSecretMetadata(u.id,{name:l.name,description:l.description||""}),l.name!==p){this.transientFiles.delete(e);let t="/.server/secrets/".concat(l.name,".json"),n=d.getSecretByName(l.name);return this.mountTransientFile(t,r(n),!1),this.transientFiles.get(t)}}else d.createSecretPlaceholder(l.name,l.description||"");let h=d.getSecretByName(l.name);return this.mountTransientFile(e,r(h),!1),window.dispatchEvent(new Event("filesChanged")),this.transientFiles.get(e)}async createServerContextFile(e,t){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(r.v.info("[VFS] Recovered serverContextSiteId from sessionStorage: ".concat(e)),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if(this.transientFiles.has(e))throw Error("File already exists: ".concat(e));return await this.mutateServerContextViaAPI("create",e,t)}async deleteServerContextFile(e){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let e=sessionStorage.getItem("vfs_serverContextSiteId");e&&(r.v.info("[VFS] Recovered serverContextSiteId from sessionStorage: ".concat(e)),this.serverContextSiteId=e)}if(!this.serverContextSiteId)throw Error("No site selected");if("/.server/db/schema.sql"===e)throw Error("Cannot delete ".concat(e," - read-only file"));await this.mutateServerContextViaAPI("delete",e)}ensureInitialized(){if(!this.initialized)throw Error("VirtualFileSystem not initialized. Call init() first.")}triggerAutoSync(e){}clearSyncTimeout(e){let t=this.syncTimeouts.get(e);t&&(clearTimeout(t),this.syncTimeouts.delete(e),r.v.debug("[VFS] Cleared sync timeout for project ".concat(e)))}async createFile(e,t,n){this.ensureInitialized();try{if((t=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim()).startsWith("/.server/"))return await this.createServerContextFile(t,n);if(await this.adapter.getFile(e,t))throw r.v.error("VFS: File already exists",{projectId:e,path:t}),Error("File already exists: ".concat(t));if(!(0,o.fu)(t))throw Error("Unsupported file type: ".concat(t));let s=(0,o.Gr)(t),a=n instanceof ArrayBuffer?n.byteLength:new Blob([n]).size,c=o.Q6[s];if(a>c)throw Error("File too large. Maximum size for ".concat(s," files is ").concat(Math.round(c/1024/1024),"MB"));let d={id:(0,i.A)(),projectId:e,path:t,name:t.split("/").pop()||"",type:s,content:n,mimeType:(0,o.N$)(t),size:a,createdAt:new Date,updatedAt:new Date,metadata:{isEntry:"/index.html"===t}};return await this.adapter.createFile(d),await this.updateFileTree(e,t,"create"),l.$.markDirty(e),window.dispatchEvent(new Event("filesChanged")),d}catch(e){throw e}}async readFile(e,t){if(this.ensureInitialized(),!e||"string"!=typeof e)throw r.v.error("VFS: Invalid projectId for readFile",{projectId:e,path:t}),Error("Invalid projectId provided");if(!t||"string"!=typeof t)throw r.v.error("VFS: Invalid path for readFile",{projectId:e,path:t}),Error("Invalid file path provided");let n=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(!n)throw r.v.error("VFS: Empty path after cleaning for readFile",{projectId:e,originalPath:t,cleanPath:n}),Error("Empty file path after cleaning");if(this.isTransientPath(n)){let e=this.transientFiles.get(n);if(e)return e;throw Error("Transient file not found: ".concat(n))}let i=await this.adapter.getFile(e,n);if(!i)throw r.v.error("VFS: File not found for read",{projectId:e,path:n,originalPath:t}),Error("File not found: ".concat(n));return i}async fileExists(e,t){this.ensureInitialized();try{if(this.isTransientPath(t))return this.transientFiles.has(t);return!!await this.adapter.getFile(e,t)}catch(e){return!1}}async updateFile(e,t,n){this.ensureInitialized();try{let i=t.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(i.includes("\n")||i.includes("@@")||i.includes("\\n")||i.length>200)throw r.v.error("VFS: Invalid path detected",{projectId:e,path:t.slice(0,100)+"..."}),Error("Invalid file path: ".concat(t.slice(0,50),"..."));if((t=i).startsWith("/.server/"))return await this.updateServerContextFile(t,n);let s=await this.adapter.getFile(e,t);if(!s)throw r.v.error("VFS: File not found for update",{projectId:e,path:t}),Error("File not found: ".concat(t));s.content=n,s.size=n instanceof ArrayBuffer?n.byteLength:new Blob([n]).size,s.updatedAt=new Date,await this.adapter.updateFile(s),l.$.markDirty(e);{let n={projectId:e,path:t};window.dispatchEvent(new CustomEvent("fileContentChanged",{detail:n})),window.dispatchEvent(new Event("filesChanged"))}return s}catch(e){throw e}}async patchFile(e,t,n){this.ensureInitialized();let i=(await this.readFile(e,t)).content;for(let e of n){if(!i.includes(e.search))throw r.v.error("VFS: Pattern not found in file",{path:t,searchPattern:e.search.substring(0,100),contentSnippet:i.substring(0,300)}),Error("Pattern not found in file: ".concat(e.search.substring(0,50),"..."));i=i.replace(e.search,e.replace)}return await this.updateFile(e,t,i)}async deleteFile(e,t){this.ensureInitialized();try{await this.adapter.deleteFile(e,t),await this.updateFileTree(e,t,"delete"),l.$.markDirty(e)}catch(e){throw e}}async renameFile(e,t,n){this.ensureInitialized();let i=await this.readFile(e,t);return await this.deleteFile(e,t),await this.createFile(e,n,i.content)}async createDirectory(e,t){if(this.ensureInitialized(),await this.adapter.getTreeNode(e,t))return;let n=t.split("/").pop()||t,s={id:(0,i.A)(),projectId:e,path:t,name:n,type:"directory",parentPath:this.getParentPath(t),children:[]};await this.adapter.createTreeNode(s),l.$.markDirty(e),window.dispatchEvent(new Event("filesChanged"))}async listDirectory(e,t,n){let i;this.ensureInitialized();let s=await this.adapter.listFiles(e);if(i="/"===t?s:s.filter(e=>{let n=e.path,i=t.endsWith("/")?t:t+"/";return n.startsWith(i)&&-1===n.slice(i.length).indexOf("/")}),null==n?void 0:n.includeTransient){let e=Array.from(this.transientFiles.values());if("/"===t)i=[...i,...e];else{let n=t.endsWith("/")?t:t+"/";i=[...i,...e.filter(e=>e.path.startsWith(n)&&-1===e.path.slice(n.length).indexOf("/"))]}}return i}async getAllFilesAndDirectories(e,t){this.ensureInitialized();let n=[...await this.adapter.listFiles(e),...(await this.adapter.getAllTreeNodes(e)).filter(e=>"directory"===e.type).map(e=>({path:e.path,name:e.path.split("/").filter(Boolean).pop()||e.path,type:"directory"}))];return(null==t?void 0:t.includeTransient)&&(n=[...n,...Array.from(this.transientFiles.values())]),n}async deleteDirectory(e,t){this.ensureInitialized();let n=await this.adapter.listFiles(e),i=t.endsWith("/")?t:t+"/";for(let t of n)t.path.startsWith(i)&&await this.deleteFile(e,t.path);await this.adapter.deleteTreeNode(e,t),l.$.markDirty(e),window.dispatchEvent(new Event("filesChanged"))}async renameDirectory(e,t,n){this.ensureInitialized();let s=await this.adapter.getTreeNode(e,t);if(s){await this.adapter.deleteTreeNode(e,t);let a={id:(0,i.A)(),projectId:e,path:n,name:n.split("/").pop()||n,type:"directory",parentPath:this.getParentPath(n),children:s.children};await this.adapter.createTreeNode(a),l.$.markDirty(e)}let a=t.endsWith("/")?t:t+"/",r=n.endsWith("/")?n:n+"/";for(let t of(await this.adapter.listFiles(e)).filter(e=>e.path.startsWith(a))){let n=r+t.path.substring(a.length);await this.renameFile(e,t.path,n)}for(let n of(await this.adapter.getAllTreeNodes(e)).filter(e=>"directory"===e.type&&e.path.startsWith(a)&&e.path!==t)){let t=r+n.path.substring(a.length);await this.adapter.deleteTreeNode(e,n.path);let s={id:(0,i.A)(),projectId:e,path:t,name:t.split("/").pop()||t,type:"directory",parentPath:this.getParentPath(t),children:n.children};await this.adapter.createTreeNode(s)}window.dispatchEvent(new Event("filesChanged"))}async moveFile(e,t,n){if(this.ensureInitialized(),await this.adapter.getFile(e,n))throw Error("File already exists at destination: ".concat(n));let i=await this.readFile(e,t),s=await this.createFile(e,n,i.content);return await this.deleteFile(e,t),s}async moveDirectory(e,t,n){this.ensureInitialized();let i=n.endsWith("/")?n:n+"/",s=t.endsWith("/")?t:t+"/";if(i.startsWith(s))throw Error("Cannot move a directory into itself");await this.renameDirectory(e,t,n),window.dispatchEvent(new Event("filesChanged"))}async createProject(e,t){this.ensureInitialized();try{let n={id:(0,i.A)(),name:e,description:t,createdAt:new Date,updatedAt:new Date,settings:{},lastSavedCheckpointId:null,lastSavedAt:null,costTracking:{totalCost:0,providerBreakdown:{},sessionHistory:[]}};await this.adapter.createProject(n);let s={id:(0,i.A)(),projectId:n.id,path:"/",name:"/",type:"directory",parentPath:null,children:[]};return await this.adapter.createTreeNode(s),n}catch(e){throw e}}async getProject(e){this.ensureInitialized();let t=await this.adapter.getProject(e);if(!t)throw Error("Project not found: ".concat(e));return t}async updateProject(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1],this.ensureInitialized(),e.updatedAt=new Date,await this.adapter.updateProject(e)}async updateProjectCost(e,t){this.ensureInitialized();let n=await this.getProject(e);if(!n)throw Error("Project not found: ".concat(e));n.costTracking||(n.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),n.costTracking.totalCost+=t.cost,n.costTracking.providerBreakdown[t.provider]||(n.costTracking.providerBreakdown[t.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let i=n.costTracking.providerBreakdown[t.provider];i.totalCost+=t.cost,"delta"!==t.mode&&(i.requestCount+=1),i.lastUpdated=new Date,t.tokenUsage&&(i.tokenUsage.input+=t.tokenUsage.input,i.tokenUsage.output+=t.tokenUsage.output),t.sessionId&&"delta"!==t.mode&&(n.costTracking.sessionHistory||(n.costTracking.sessionHistory=[]),n.costTracking.sessionHistory.push({sessionId:t.sessionId,cost:t.cost,provider:t.provider,timestamp:new Date,tokenUsage:t.tokenUsage}),n.costTracking.sessionHistory.length>100&&(n.costTracking.sessionHistory=n.costTracking.sessionHistory.slice(-100))),await this.updateProject(n)}async applyProjectCostDelta(e,t){this.ensureInitialized();let n=await this.getProject(e);if(!n)throw Error("Project not found: ".concat(e));n.costTracking||(n.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),n.costTracking.totalCost+=t.costDelta,n.costTracking.providerBreakdown[t.provider]||(n.costTracking.providerBreakdown[t.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let i=n.costTracking.providerBreakdown[t.provider];i.totalCost+=t.costDelta,i.lastUpdated=new Date,t.tokenUsageDelta&&(i.tokenUsage.input+=t.tokenUsageDelta.input,i.tokenUsage.output+=t.tokenUsageDelta.output),t.sessionId&&(n.costTracking.sessionHistory||(n.costTracking.sessionHistory=[]),n.costTracking.sessionHistory.push({sessionId:t.sessionId,cost:t.costDelta,provider:t.provider,timestamp:new Date,tokenUsage:t.tokenUsageDelta,correction:!0}),n.costTracking.sessionHistory.length>100&&(n.costTracking.sessionHistory=n.costTracking.sessionHistory.slice(-100))),await this.updateProject(n)}async deleteProject(e){this.ensureInitialized(),await this.adapter.deleteProject(e)}async listProjects(){return this.ensureInitialized(),await this.adapter.listProjects()}async listFiles(e){return this.ensureInitialized(),await this.adapter.listFiles(e)}async getFileTree(e){return this.ensureInitialized(),await this.adapter.getTreeNode(e,"/")}async searchFiles(e,t,n){this.ensureInitialized();let i=await this.adapter.listFiles(e),{regex:s=!1,fileType:a,limit:r=20,searchIn:o="both"}=n||{},l=i;if(a){let e=a.startsWith(".")?a:".".concat(a);l=i.filter(t=>t.path.endsWith(e))}let c=s?e=>{try{return RegExp(t,"i").test(e)}catch(n){return e.toLowerCase().includes(t.toLowerCase())}}:e=>e.toLowerCase().includes(t.toLowerCase());return l.filter(e=>"filename"===o?c(e.name)||c(e.path):"content"===o?"string"==typeof e.content&&c(e.content):c(e.name)||c(e.path)||"string"==typeof e.content&&c(e.content)).slice(0,r)}async findReferences(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"any";this.ensureInitialized();let i=await this.adapter.listFiles(e),s=[],a=[];switch(n){case"class":a.push(RegExp("class=[\"'][^\"']*\\b".concat(t,"\\b[^\"']*[\"']"),"gi")),a.push(RegExp("\\.".concat(t,"\\b"),"g")),a.push(RegExp("classList\\.(add|remove|toggle|contains)\\(['\"`]".concat(t,"['\"`]"),"g"));break;case"id":a.push(RegExp("id=[\"']".concat(t,"[\"']"),"gi")),a.push(RegExp("#".concat(t,"\\b"),"g")),a.push(RegExp("getElementById\\(['\"`]".concat(t,"['\"`]"),"g")),a.push(RegExp("querySelector\\(['\"`]#".concat(t,"['\"`]"),"g"));break;case"function":a.push(RegExp("function\\s+".concat(t,"\\s*\\("),"g")),a.push(RegExp("(?:const|let|var)\\s+".concat(t,"\\s*=\\s*(?:\\([^)]*\\)|[^=])\\s*=>"),"g")),a.push(RegExp("".concat(t,"\\s*\\("),"g"));break;case"variable":a.push(RegExp("(?:const|let|var)\\s+".concat(t,"\\b"),"g")),a.push(RegExp("\\b".concat(t,"\\b"),"g"));break;default:a.push(RegExp("\\b".concat(t,"\\b"),"gi"))}for(let e of i){if("string"!=typeof e.content)continue;let t=[];e.content.split("\n").forEach((e,n)=>{for(let i of a)if(i.test(e)){t.push({line:n+1,text:e.trim()});break}}),t.length>0&&s.push({file:e,matches:t})}return s}async getFileStats(e,t){this.ensureInitialized();let n=await this.adapter.getFile(e,t);if(!n)throw Error("File not found: ".concat(t));let i=("string"==typeof n.content?n.content:"").split("\n");return{path:n.path,size:n.size,lines:i.length,type:n.type,preview:i.slice(0,10),lastModified:n.updatedAt}}async getProjectSize(e){return this.ensureInitialized(),(await this.adapter.listFiles(e)).reduce((e,t)=>e+t.size,0)}async getProjectStats(e){let t;this.ensureInitialized();let n=await this.adapter.listFiles(e),i=0,s={};for(let e of n){var a;i+=e.size;let t=(null==(a=e.path.split(".").pop())?void 0:a.toUpperCase())||"OTHER";s[t]=(s[t]||0)+1}return t=i<1024?"".concat(i," B"):i<1048576?"".concat((i/1024).toFixed(1)," KB"):"".concat((i/1048576).toFixed(2)," MB"),{fileCount:n.length,totalSize:i,fileTypes:s,formattedSize:t}}async exportProject(e){return this.ensureInitialized(),{project:await this.getProject(e),files:await this.adapter.listFiles(e)}}async exportProjectAsZip(e){this.ensureInitialized();let t=new(a());try{let n=new c.B(this,e);for(let e of(await n.compileProject()).files){let n=e.path.startsWith("/")?e.path.slice(1):e.path;this.shouldExcludeFromExport(e.path)||(e.content,t.file(n,e.content))}n.cleanupBlobUrls()}catch(n){for(let i of(r.v.warn("Failed to compile Handlebars templates during export, falling back to raw files:",n),await this.adapter.listFiles(e))){let e=i.path.startsWith("/")?i.path.slice(1):i.path;this.shouldExcludeFromExport(i.path)||(i.content,t.file(e,i.content))}}return await t.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}})}shouldExcludeFromExport(e){return!!(e.endsWith(".hbs")||e.endsWith(".handlebars")||e.startsWith("/templates/"))||"/data.json"===e}async duplicateProject(e){this.ensureInitialized();let t=await this.getProject(e),n=await this.adapter.listFiles(e),i="".concat(t.name," (Copy)").slice(0,50),s=await this.createProject(i,t.description);return await l.$.runWithSuppressedDirty(s.id,async()=>{for(let e of n)await this.createFile(s.id,e.path,e.content)}),s}async importProject(e){this.ensureInitialized();let t=await this.createProject(e.project.name,e.project.description);return await l.$.runWithSuppressedDirty(t.id,async()=>{for(let n of e.files)await this.createFile(t.id,n.path,n.content)}),t}getParentPath(e){if("/"===e)return null;let t=e.split("/").filter(Boolean);return 1===t.length?"/":(t.pop(),"/"+t.join("/"))}async updateFileTree(e,t,n){let i=this.getParentPath(t);if(null===i)return;let s=await this.adapter.getTreeNode(e,i);if(s||"create"!==n||(await this.createDirectory(e,i),s=await this.adapter.getTreeNode(e,i)),s){let e=s.children||[];if("create"!==n||e.includes(t)){if("delete"===n){let n=e.indexOf(t);n>-1&&e.splice(n,1)}}else e.push(t);s.children=e,await this.adapter.updateTreeNode(s),window.dispatchEvent(new Event("filesChanged"))}}constructor(){this.initialized=!1,this.transientFiles=new Map,this.syncTimeouts=new Map,this.serverContextSiteId=null,this.serverContextMetadata=null,this.adapter=new p}}let h=new u},28202:(e,t,n)=>{n.d(t,{s:()=>s});class i{getSettings(){let e=localStorage.getItem(this.STORAGE_KEY);if(!e)return{};let t=JSON.parse(e);return("autoSave"in t||"autoSaveInterval"in t)&&(delete t.autoSave,delete t.autoSaveInterval,localStorage.setItem(this.STORAGE_KEY,JSON.stringify(t))),t}setSetting(e,t){let n=this.getSettings();n[e]=t,localStorage.setItem(this.STORAGE_KEY,JSON.stringify(n))}hasSeenTour(){return!!this.getSettings().hasSeenGuidedTour}setHasSeenTour(e){this.setSetting("hasSeenGuidedTour",e)}getLastSeenVersion(){return this.getSettings().lastSeenVersion||null}setLastSeenVersion(e){this.setSetting("lastSeenVersion",e)}getApiKey(){let e=this.getSelectedProvider();return e?this.getProviderApiKey(e):this.getSettings().openRouterApiKey||null}setApiKey(e){let t=this.getSelectedProvider();t&&this.setProviderApiKey(t,e),this.setSetting("openRouterApiKey",e)}getDefaultModel(){let e=this.getSelectedProvider();return e?this.getProviderModel(e)||this.getProviderDefaultModel(e):this.getSettings().defaultModel||"deepseek/deepseek-chat"}setDefaultModel(e){let t=this.getSelectedProvider();t&&this.setProviderModel(t,e),this.setSetting("defaultModel",e)}getSelectedProvider(){return this.getSettings().selectedProvider||"openrouter"}setSelectedProvider(e){this.setSetting("selectedProvider",e)}getProviderApiKey(e){var t;let n=this.getSettings();return(null==(t=n.providerKeys)?void 0:t[e])?n.providerKeys[e]:"openrouter"===e&&n.openRouterApiKey?n.openRouterApiKey:null}setProviderApiKey(e,t){let n=this.getSettings().providerKeys||{};n[e]=t,this.setSetting("providerKeys",n),"openrouter"===e&&this.setSetting("openRouterApiKey",t)}getProviderModel(e){var t;let n=this.getSettings();return(null==(t=n.providerModels)?void 0:t[e])?n.providerModels[e]:"openrouter"===e&&n.defaultModel?n.defaultModel:null}setProviderModel(e,t){let n=this.getSettings().providerModels||{};n[e]=t,this.setSetting("providerModels",n),"openrouter"===e&&this.setSetting("defaultModel",t)}getModelPricing(e,t){var n,i;let s=null==(n=this.getSettings().modelPricing)?void 0:n[e];return s&&(s[t]||s["".concat(e,"/").concat(t)]||(t.includes("/")?s[null!=(i=t.split("/").pop())?i:""]:null))||null}setModelPricing(e,t,n){let i={...this.getSettings().modelPricing||{}},s={...i[e]||{}};s[t]=n,i[e]=s,this.setSetting("modelPricing",i)}setProviderPricing(e,t){if(!t||0===Object.keys(t).length)return;let n={...this.getSettings().modelPricing||{}},i={...n[e]||{}};for(let[e,n]of Object.entries(t))i[e]=n;n[e]=i,this.setSetting("modelPricing",n)}clearProviderPricing(e){var t;if(!e)return void this.setSetting("modelPricing",{});let n=this.getSettings();if(!(null==(t=n.modelPricing)?void 0:t[e]))return;let i={...n.modelPricing||{}};delete i[e],this.setSetting("modelPricing",i)}getProviderDefaultModel(e){switch(e){case"openrouter":default:return"deepseek/deepseek-chat";case"openai":return"gpt-4o-mini";case"anthropic":return"claude-3-5-haiku-20241022";case"groq":return"llama-3.3-70b-versatile";case"gemini":return"gemini-1.5-flash";case"ollama":return"llama3.2:latest";case"lmstudio":return"local-model";case"sambanova":return"Meta-Llama-3.3-70B-Instruct"}}getTheme(){return this.getSettings().theme||"dark"}setTheme(e){this.setSetting("theme",e)}clearSettings(){localStorage.removeItem(this.STORAGE_KEY)}getCostSettings(){return this.getSettings().costSettings||{showCosts:!0,warningThreshold:80}}setCostSettings(e){this.setSetting("costSettings",e),window.dispatchEvent(new CustomEvent("osw-studio-cost-settings-changed"))}getCurrentSession(){let e=this.getSettings().currentSession;return e?{...e,startTime:new Date(e.startTime)}:null}startNewSession(){let e={sessionId:Date.now().toString(),startTime:new Date,totalCost:0,messageCount:0,providerBreakdown:{}};return this.setSetting("currentSession",e),e}updateSessionCost(e,t){let n=this.getCurrentSession();n||(n=this.startNewSession()),n.totalCost+=t,n.messageCount+=1;let i=e.provider||"unknown";n.providerBreakdown[i]||(n.providerBreakdown[i]={cost:0,tokenUsage:{input:0,output:0},requestCount:0}),n.providerBreakdown[i].cost+=t,n.providerBreakdown[i].tokenUsage.input+=e.promptTokens,n.providerBreakdown[i].tokenUsage.output+=e.completionTokens,n.providerBreakdown[i].requestCount+=1;let s=this.getSettings().lifetimeCosts||{total:0,byProvider:{}};s.total+=t,s.byProvider[i]=(s.byProvider[i]||0)+t,this.setSetting("currentSession",n),this.setSetting("lifetimeCosts",s)}adjustSessionCost(e,t,n){if(!t&&!n)return;let i=this.getCurrentSession();if(!i)return;let s=e||"unknown";i.totalCost+=t,i.providerBreakdown[s]||(i.providerBreakdown[s]={cost:0,tokenUsage:{input:0,output:0},requestCount:0}),i.providerBreakdown[s].cost+=t,n&&(i.providerBreakdown[s].tokenUsage.input+=n.input,i.providerBreakdown[s].tokenUsage.output+=n.output);let a=this.getSettings().lifetimeCosts||{total:0,byProvider:{}};a.total+=t,a.byProvider[s]=(a.byProvider[s]||0)+t,this.setSetting("currentSession",i),this.setSetting("lifetimeCosts",a)}getLifetimeCosts(){return this.getSettings().lifetimeCosts||{total:0,byProvider:{}}}resetLifetimeCosts(){this.setSetting("lifetimeCosts",{total:0,byProvider:{},lastReset:new Date})}checkCostLimits(){let e=this.getCostSettings(),t=this.getCurrentSession();if(!t||!e.dailyLimit)return{warning:!1,exceeded:!1};let n=t.totalCost/e.dailyLimit*100;return n>=100?{warning:!1,exceeded:!0,message:"Daily limit of $".concat(e.dailyLimit.toFixed(2)," exceeded")}:e.warningThreshold&&n>=e.warningThreshold?{warning:!0,exceeded:!1,message:"".concat(n.toFixed(0),"% of daily limit used ($").concat(t.totalCost.toFixed(2)," of $").concat(e.dailyLimit.toFixed(2),")")}:{warning:!1,exceeded:!1}}getCachedModels(e){var t;let n=null==(t=this.getSettings().modelCache)?void 0:t[e];return n?new Date>new Date(n.expiresAt)?(this.clearModelCache(e),null):n:null}setCachedModels(e,t){let n=this.getSettings(),i=new Date,s=new Date(i.getTime()+864e5),a=n.modelCache||{};a[e]={models:t,timestamp:i.toISOString(),expiresAt:s.toISOString()},this.setSetting("modelCache",a)}clearModelCache(e){if(e){let t=this.getSettings().modelCache||{};delete t[e],this.setSetting("modelCache",t)}else this.setSetting("modelCache",{})}isCacheValid(e){return null!==this.getCachedModels(e)}getReasoningEnabled(e){var t,n;return null!=(n=null==(t=this.getSettings().reasoningEnabled)?void 0:t[e])&&n}setReasoningEnabled(e,t){let n={...this.getSettings().reasoningEnabled||{}};n[e]=t,this.setSetting("reasoningEnabled",n),window.dispatchEvent(new CustomEvent("osw-studio-reasoning-changed",{detail:{modelId:e,enabled:t}}))}constructor(){this.STORAGE_KEY="osw-studio-settings"}}let s=new i},33216:(e,t,n)=>{n.d(t,{$7:()=>a,In:()=>r,N1:()=>s});let i=/^---\s*\n([\s\S]*?)\n---\s*\n([\s\S]*)$/;function s(e){let t=e.match(i);if(!t)throw Error("Invalid SKILL.md format: Missing YAML frontmatter");let[,n,s]=t;try{let e=function(e){let t=e.split("\n"),n={};for(let e of t){let t=e.trim();if(!t||t.startsWith("#"))continue;let i=t.indexOf(":");if(-1===i)continue;let s=t.slice(0,i).trim(),a=t.slice(i+1).trim();(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))&&(a=a.slice(1,-1)),"true"===a?a=!0:"false"===a?a=!1:isNaN(Number(a))||""===a||(a=Number(a)),n[s]=a}return n}(n);return function(e){if(!e.name||"string"!=typeof e.name)throw Error('Missing or invalid "name" field in frontmatter');if(!e.description||"string"!=typeof e.description)throw Error('Missing or invalid "description" field in frontmatter');if(!/^[a-z0-9-]+$/.test(e.name))throw Error('Skill name must be lowercase with hyphens only (e.g., "my-skill-name")');if(e.description.length>500)throw Error("Description must be 500 characters or less")}(e),{frontmatter:e,markdown:s.trim()}}catch(e){throw Error("Failed to parse SKILL.md: ".concat(e instanceof Error?e.message:"Unknown error"))}}function a(e,t){let n=[];for(let[t,i]of Object.entries(e))null!=i&&("string"==typeof i&&(i.includes(":")||i.includes("\n"))?n.push("".concat(t,': "').concat(i,'"')):n.push("".concat(t,": ").concat(i)));return"---\n".concat(n.join("\n"),"\n---\n\n").concat(t.trim(),"\n")}function r(e,t){return a({name:e.toLowerCase().replace(/\s+/g,"-"),description:t},"# ".concat(e,"\n\n## Purpose\n[Describe what this skill helps with]\n\n## Guidelines\n- Guideline 1\n- Guideline 2\n- Guideline 3\n\n## Examples\n[Provide code examples or usage patterns]\n\n## Best Practices\n[List best practices and recommendations]\n"))}},35337:(e,t,n)=>{n.d(t,{Gr:()=>a,N$:()=>r,N2:()=>l,Q6:()=>s,fu:()=>o});let i={html:["html","htm"],css:["css"],js:["js","mjs","jsx"],json:["json"],text:["txt","md","xml","svg"],template:["hbs","handlebars"],image:["png","jpg","jpeg","gif","webp","ico","bmp"],video:["mp4","webm","ogg"]},s={text:5242880,html:5242880,css:5242880,js:5242880,json:5242880,template:5242880,image:0xa00000,video:0x3200000,binary:0xa00000};function a(e){var t;let n=null==(t=e.split(".").pop())?void 0:t.toLowerCase();for(let[e,t]of Object.entries(i))if(t.includes(n||""))return e;return"text"}function r(e){var t;return({html:"text/html",htm:"text/html",css:"text/css",js:"application/javascript",mjs:"application/javascript",jsx:"application/javascript",json:"application/json",txt:"text/plain",md:"text/markdown",xml:"application/xml",svg:"image/svg+xml",hbs:"text/x-handlebars-template",handlebars:"text/x-handlebars-template",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",ico:"image/x-icon",bmp:"image/bmp",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg"})[(null==(t=e.split(".").pop())?void 0:t.toLowerCase())||""]||"application/octet-stream"}function o(e){var t;let n=null==(t=e.split(".").pop())?void 0:t.toLowerCase();for(let e of Object.values(i))if(e.includes(n||""))return!0;return!1}let l=[{value:"personal",label:"Personal Use Only",description:"Cannot be resold or used commercially"},{value:"commercial",label:"Commercial Use",description:"Can be used in commercial projects, cannot resell template"},{value:"mit",label:"MIT License",description:"Use freely, must include copyright notice"},{value:"apache-2.0",label:"Apache 2.0",description:"Similar to MIT, with patent protection"},{value:"gpl-3.0",label:"GPL 3.0",description:"Open source, derivatives must also be GPL"},{value:"bsd-3-clause",label:"BSD 3-Clause",description:"Permissive, cannot use author name for promotion"},{value:"cc-by-4.0",label:"CC BY 4.0",description:"Free use with attribution"},{value:"cc-by-sa-4.0",label:"CC BY-SA 4.0",description:"Free use with attribution, share-alike"},{value:"cc-by-nc-4.0",label:"CC BY-NC 4.0",description:"Free for non-commercial use with attribution"},{value:"unlicense",label:"Unlicense (Public Domain)",description:"No restrictions, completely free to use"},{value:"all-rights-reserved",label:"All Rights Reserved",description:"Most restrictive, requires explicit permission"},{value:"custom",label:"Custom License",description:"Specify your own terms"}]},37150:(e,t,n)=>{n.d(t,{Y:()=>r});var i=n(14250),s=n(53999);class a{arrayBufferToBase64(e){let t=new Uint8Array(e),n="";for(let e=0;e{let n=this.getDB().transaction([this.storeName],"readonly").objectStore(this.storeName).getAll();n.onsuccess=()=>{let t=n.result;for(let e of(this.checkpointMetadata.clear(),t)){var i;let t={id:e.id,timestamp:e.timestamp,description:e.description,projectId:e.projectId,kind:e.kind||"auto",baseRevisionId:null!=(i=e.baseRevisionId)?i:null};this.checkpointMetadata.set(e.id,t)}e()},n.onerror=()=>{s.v.error("Failed to load checkpoint metadata from DB"),t(n.error)}})}async loadSingleCheckpointFromDB(e){return new Promise((t,n)=>{let i=this.getDB().transaction([this.storeName],"readonly").objectStore(this.storeName).get(e);i.onsuccess=()=>{var e;let n=i.result;if(!n)return void t(null);t({id:n.id,timestamp:n.timestamp,description:n.description,projectId:n.projectId,kind:n.kind||"auto",baseRevisionId:null!=(e=n.baseRevisionId)?e:null,files:new Map(n.files),directories:new Set(n.directories)})},i.onerror=()=>{s.v.error("Failed to load checkpoint from DB"),n(i.error)}})}async saveCheckpointToDB(e){var t;await this.initDB();let n={...e,files:Array.from(e.files.entries()),directories:Array.from(e.directories),kind:e.kind,baseRevisionId:null!=(t=e.baseRevisionId)?t:null};return new Promise((e,t)=>{let i=this.getDB().transaction([this.storeName],"readwrite").objectStore(this.storeName).put(n);i.onsuccess=()=>e(),i.onerror=()=>{s.v.error("Failed to save checkpoint to DB"),t(i.error)}})}async deleteCheckpointFromDB(e){return await this.initDB(),new Promise((t,n)=>{let i=this.getDB().transaction([this.storeName],"readwrite").objectStore(this.storeName).delete(e);i.onsuccess=()=>t(),i.onerror=()=>{s.v.error("Failed to delete checkpoint from DB"),n(i.error)}})}async createCheckpoint(e,t){var n;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};await this.initDB(),await i.vfs.init();let r=await i.vfs.listDirectory(e,"/"),o=new Map,l=new Set;for(let t of r){let n=t.path.split("/").filter(Boolean);for(let e=1;e<=n.length-1;e++){let t="/"+n.slice(0,e).join("/");l.add(t)}if("string"==typeof t.content)o.set(t.path,t.content);else if(t.content instanceof ArrayBuffer){let e=this.arrayBufferToBase64(t.content);o.set(t.path,{data:e,encoding:"base64"})}else try{let n=await i.vfs.readFile(e,t.path);if("string"==typeof n.content)o.set(t.path,n.content);else if(n.content instanceof ArrayBuffer){let e=this.arrayBufferToBase64(n.content);o.set(t.path,{data:e,encoding:"base64"})}}catch(e){s.v.error("Failed to read file for checkpoint: ".concat(t.path),e)}}let c={id:"cp_".concat(Date.now()),timestamp:new Date().toISOString(),description:t,files:o,directories:l,projectId:e,kind:a.kind||"auto",baseRevisionId:null!=(n=a.baseRevisionId)?n:null};if(a.replaceId&&(this.checkpointMetadata.delete(a.replaceId),await this.deleteCheckpointFromDB(a.replaceId)),"manual"===c.kind){let t=Array.from(this.checkpointMetadata.values()).find(t=>t.projectId===e&&"manual"===t.kind);t&&t.id!==a.replaceId&&(this.checkpointMetadata.delete(t.id),await this.deleteCheckpointFromDB(t.id))}let d={id:c.id,timestamp:c.timestamp,description:c.description,projectId:c.projectId,kind:c.kind,baseRevisionId:c.baseRevisionId};this.checkpointMetadata.set(c.id,d),this.currentCheckpoint=c.id,await this.saveCheckpointToDB(c);let p=Array.from(this.checkpointMetadata.values()).filter(t=>t.projectId===e&&"auto"===t.kind).sort((e,t)=>new Date(e.timestamp).getTime()-new Date(t.timestamp).getTime());if(p.length>10)for(let e of p.slice(0,p.length-10))this.checkpointMetadata.delete(e.id),await this.deleteCheckpointFromDB(e.id);return await this.enforceGlobalLimit(),c}async restoreCheckpoint(e){if("string"!=typeof e)return s.v.error("[Checkpoint] Invalid checkpoint ID type:",typeof e,e),!1;if(!e.startsWith("cp_")||e.length<6)return s.v.error("[Checkpoint] Invalid checkpoint ID format:",e),!1;await this.initDB();let t=await this.loadSingleCheckpointFromDB(e);if(!t)return s.v.error("[Checkpoint] Checkpoint not found in database: ".concat(e)),!1;await i.vfs.init();try{let n=await i.vfs.listDirectory(t.projectId,"/"),s=new Set;for(let e of n){let t=e.path.split("/").filter(Boolean);for(let e=1;e<=t.length-1;e++){let n="/"+t.slice(0,e).join("/");s.add(n)}}for(let e of n)t.files.has(e.path)||await i.vfs.deleteFile(t.projectId,e.path);for(let e of Array.from(s).filter(e=>!t.directories||!t.directories.has(e)).sort((e,t)=>t.length-e.length))try{await i.vfs.deleteDirectory(t.projectId,e)}catch(e){}if(t.directories){for(let e of Array.from(t.directories).sort((e,t)=>e.length-t.length))if(!s.has(e))try{await i.vfs.createDirectory(t.projectId,e)}catch(e){}}for(let[e,s]of t.files){let a;a="object"==typeof s&&"base64"===s.encoding?this.base64ToArrayBuffer(s.data):s,n.some(t=>t.path===e)?await i.vfs.updateFile(t.projectId,e,a):await i.vfs.createFile(t.projectId,e,a)}return this.currentCheckpoint=e,!0}catch(e){return s.v.error("Failed to restore checkpoint:",e),!1}}async getCheckpoints(e){return await this.initDB(),Array.from(this.checkpointMetadata.values()).filter(t=>t.projectId===e).sort((e,t)=>t.timestamp.localeCompare(e.timestamp))}getCurrentCheckpoint(){return this.currentCheckpoint&&this.checkpointMetadata.get(this.currentCheckpoint)||null}async checkpointExists(e){return!!e&&"string"==typeof e&&(await this.initDB(),this.checkpointMetadata.has(e))}async clearCheckpoints(e){await this.initDB();let t=[];for(let[n,i]of this.checkpointMetadata)i.projectId===e&&(this.checkpointMetadata.delete(n),t.push(n));for(let e of t)await this.deleteCheckpointFromDB(e);this.currentCheckpoint=null}async clearAutoCheckpoints(e){await this.initDB();let t=await this.getAllStoredCheckpoints(),n=new Set;for(let i of t)i.projectId===e&&"auto"===i.kind&&n.add(i.id);let i=[];for(let[t,s]of this.checkpointMetadata)s.projectId===e&&n.has(t)&&i.push(t);for(let e of i)this.checkpointMetadata.delete(e),await this.deleteCheckpointFromDB(e);this.currentCheckpoint&&i.includes(this.currentCheckpoint)&&(this.currentCheckpoint=null),i.length>0&&s.v.debug("[CheckpointManager] Cleared ".concat(i.length," auto-checkpoints for project ").concat(e))}async getAllStoredCheckpoints(){return new Promise((e,t)=>{let n=this.getDB().transaction([this.storeName],"readonly").objectStore(this.storeName).getAll();n.onsuccess=()=>{e(n.result)},n.onerror=()=>{s.v.error("Failed to get stored checkpoints"),t(n.error)}})}unloadProject(e){let t=0;for(let[n,i]of this.checkpointMetadata)i.projectId===e&&(this.checkpointMetadata.delete(n),t++);this.currentCheckpoint&&(this.checkpointMetadata.get(this.currentCheckpoint)||(this.currentCheckpoint=null)),t>0&&s.v.debug("[CheckpointManager] Unloaded ".concat(t," checkpoint metadata for project ").concat(e," from memory"))}async enforceGlobalLimit(){if(this.checkpointMetadata.size<=this.MAX_TOTAL_CHECKPOINTS)return;let e=Array.from(this.checkpointMetadata.values()).sort((e,t)=>new Date(e.timestamp).getTime()-new Date(t.timestamp).getTime()).slice(0,this.checkpointMetadata.size-this.MAX_TOTAL_CHECKPOINTS);for(let t of e)this.checkpointMetadata.delete(t.id),await this.deleteCheckpointFromDB(t.id);e.length>0&&s.v.debug("[CheckpointManager] Enforced global limit, deleted ".concat(e.length," old checkpoints"))}constructor(){this.checkpointMetadata=new Map,this.currentCheckpoint=null,this.storeName="checkpoints",this.isInitialized=!1,this.MAX_TOTAL_CHECKPOINTS=50}}let r=new a},43091:(e,t,n)=>{n.d(t,{V:()=>r,b:()=>o});var i=n(28202);let s="openrouter";function a(e){if(!e)return;let t=Number(e);if(Number.isFinite(t)&&!(t<=0))return t<.01?1e6*t:t}function r(e,t){if(!Array.isArray(t)||0===t.length)return;let n={};for(let i of t){if(!(null==i?void 0:i.pricing))continue;let t={input:i.pricing.input,output:i.pricing.output,reasoning:i.pricing.reasoning};Number.isFinite(t.input)&&Number.isFinite(t.output)&&(n[i.id]=t,n["".concat(e,"/").concat(i.id)]=t)}if(e===s)for(let[e,t]of Object.entries(n)){let i=e.split("/").pop();i&&!n[i]&&(n[i]=t)}Object.keys(n).length>0&&i.s.setProviderPricing(e,n)}function o(e){if(!Array.isArray(e)||0===e.length)return;let t={};for(let i of e){var n,r,o;let e=a(null==(n=i.pricing)?void 0:n.prompt),l=a(null==(r=i.pricing)?void 0:r.completion),c=a(null==(o=i.pricing)?void 0:o.internal_reasoning);if(void 0===e||void 0===l)continue;let d={input:e,output:l,reasoning:c};t[i.id]=d,t["".concat(s,"/").concat(i.id)]=d,i.canonical_slug&&(t[i.canonical_slug]=d)}Object.keys(t).length>0&&i.s.setProviderPricing(s,t)}},43902:(e,t,n)=>{n.d(t,{B:()=>a});var i=n(66126),s=n.n(i);class a{registerHelpers(){this.handlebars.registerHelper("eq",(e,t)=>e===t),this.handlebars.registerHelper("ne",(e,t)=>e!==t),this.handlebars.registerHelper("lt",(e,t)=>ee>t),this.handlebars.registerHelper("lte",(e,t)=>e<=t),this.handlebars.registerHelper("gte",(e,t)=>e>=t),this.handlebars.registerHelper("and",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.every(e=>e)}),this.handlebars.registerHelper("or",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.some(e=>e)}),this.handlebars.registerHelper("not",e=>!e),this.handlebars.registerHelper("add",(e,t)=>e+t),this.handlebars.registerHelper("subtract",(e,t)=>e-t),this.handlebars.registerHelper("multiply",(e,t)=>e*t),this.handlebars.registerHelper("divide",(e,t)=>e/t),this.handlebars.registerHelper("uppercase",e=>null==e?void 0:e.toUpperCase()),this.handlebars.registerHelper("lowercase",e=>null==e?void 0:e.toLowerCase()),this.handlebars.registerHelper("concat",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.join("")}),this.handlebars.registerHelper("json",e=>JSON.stringify(e,null,2)),this.handlebars.registerHelper("formatDate",e=>new Date(e).toLocaleDateString()),this.handlebars.registerHelper("limit",(e,t)=>null==e?void 0:e.slice(0,t))}async registerPartials(){if(!this.partialsRegistered)try{for(let e of(await this.vfs.getAllFilesAndDirectories(this.projectId)).filter(e=>"content"in e&&e.path.startsWith("/templates/")&&(e.path.endsWith(".hbs")||e.path.endsWith(".handlebars")))){let t=e.content,n=e.path.replace(/^\/templates\//,"").replace(/\.hbs$/,"").replace(/\.handlebars$/,"");this.handlebars.registerPartial(n,t);let i=n.split("/").pop();if(i&&this.handlebars.registerPartial(i,t),n.includes("/")){let e=n.replace(/\//g,"-");this.handlebars.registerPartial(e,t)}}this.partialsRegistered=!0}catch(e){}}async compileTemplate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.templateCache.get(e);if(!n)try{let t=(await this.vfs.readFile(this.projectId,e)).content;n=this.handlebars.compile(t),this.templateCache.set(e,n)}catch(t){return console.error("Failed to compile template ".concat(e,":"),t),""}return n(t)}async compileProject(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];await this.registerPartials();let t=await this.vfs.listDirectory(this.projectId,"/"),n=new Map(this.blobUrls),i=new Map,s=[];for(let a of t){let t;if("template"===a.type||"html"===a.type||"css"===a.type)continue;t="image"===a.type||"video"===a.type?{path:a.path,content:a.content,mimeType:a.mimeType}:"js"===a.type?await this.processJS(a):{path:a.path,content:a.content,mimeType:a.mimeType};let r=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===r&&n.has(t.path)){let e=n.get(t.path);i.set(t.path,e),t.blobUrl=e,n.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),n=URL.createObjectURL(e);i.set(t.path,n),t.blobUrl=n,this.fileHashes.set(t.path,r)}s.push(t)}for(let a of t){if("html"!==a.type)continue;let t=await this.processHTML(a,i),r=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===r&&n.has(t.path)){let e=n.get(t.path);i.set(t.path,e),t.blobUrl=e,n.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),n=URL.createObjectURL(e);i.set(t.path,n),t.blobUrl=n,this.fileHashes.set(t.path,r)}s.push(t)}let a=[...s];for(let s of t)if("css"===s.type){let t=await this.processCSS(s,i),r=this.hashContent(t.content),o=this.fileHashes.get(t.path);if(e&&o===r&&n.has(t.path)){let e=n.get(t.path);i.set(t.path,e),t.blobUrl=e,n.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),n=URL.createObjectURL(e);i.set(t.path,n),t.blobUrl=n,this.fileHashes.set(t.path,r)}a.push(t)}let r=this.generateRoutes(t);if(e)for(let[,e]of n)URL.revokeObjectURL(e);else e||this.cleanupBlobUrls();return this.blobUrls=i,{entryPoint:"/index.html",files:a,routes:r,blobUrls:this.blobUrls}}hashContent(e){let t=0;if(e instanceof ArrayBuffer){let n=new Uint8Array(e);for(let e=0;e\n// VFS Asset Interceptor - Auto-injected by OSW Studio\n(function() {\n const vfsBlobUrls = ".concat(JSON.stringify(i),";\n const siteId = ").concat(JSON.stringify(s),";\n\n // Helper function to resolve VFS paths to blob URLs\n function resolveVfsUrl(url) {\n if (!url || typeof url !== 'string') return url;\n if (url.startsWith('/assets/') && vfsBlobUrls[url]) {\n return vfsBlobUrls[url];\n }\n return url;\n }\n\n // Helper function to check if a URL looks like an edge function call\n function isEdgeFunctionUrl(url) {\n if (!url || typeof url !== 'string' || !siteId) return false;\n // Skip external URLs, blob URLs, data URLs, and hash-only URLs\n if (url.startsWith('http://') || url.startsWith('https://') ||\n url.startsWith('blob:') || url.startsWith('data:') ||\n url.startsWith('//') || url.startsWith('#')) {\n return false;\n }\n // Skip if already an API path\n if (url.startsWith('/api/')) return false;\n // Skip if it has a file extension (likely an asset)\n const pathWithoutQuery = url.split('?')[0].split('#')[0];\n const lastSegment = pathWithoutQuery.split('/').pop() || '';\n if (lastSegment.includes('.')) return false;\n // This looks like an edge function path\n return true;\n }\n\n // Helper function to convert an edge function URL to the API endpoint\n function toEdgeFunctionApiUrl(url) {\n if (!siteId) return url;\n // Normalize the path\n let path = url;\n if (!path.startsWith('/')) path = '/' + path;\n // Remove leading slash for the function name\n const functionPath = path.substring(1);\n // Return the API endpoint URL\n return '/api/sites/' + siteId + '/functions/' + functionPath;\n }\n \n // Intercept Image src setter to handle ALL image loading\n const originalSrcDescriptor = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src');\n Object.defineProperty(HTMLImageElement.prototype, 'src', {\n get: function() {\n return originalSrcDescriptor.get.call(this);\n },\n set: function(value) {\n const resolvedUrl = resolveVfsUrl(value);\n return originalSrcDescriptor.set.call(this, resolvedUrl);\n },\n enumerable: true,\n configurable: true\n });\n \n // Intercept setAttribute for src attributes\n const originalSetAttribute = Element.prototype.setAttribute;\n Element.prototype.setAttribute = function(name, value) {\n if ((name === 'src' || name === 'href') && this instanceof HTMLImageElement) {\n value = resolveVfsUrl(value);\n }\n return originalSetAttribute.call(this, name, value);\n };\n \n // Intercept innerHTML to catch template-generated images\n const originalInnerHTMLDescriptor = Object.getOwnPropertyDescriptor(Element.prototype, 'innerHTML');\n Object.defineProperty(Element.prototype, 'innerHTML', {\n get: function() {\n return originalInnerHTMLDescriptor.get.call(this);\n },\n set: function(value) {\n if (typeof value === 'string' && value.includes('/assets/')) {\n // Replace asset URLs in the HTML string before setting\n const srcRegex = new RegExp('src=[\"\\']([^\"\\']*/assets/[^\"\\']*)[\"\\']', 'g');\n value = value.replace(srcRegex, function(match, url) {\n const resolvedUrl = resolveVfsUrl(url);\n if (resolvedUrl !== url) {\n return match.replace(url, resolvedUrl);\n }\n return match;\n });\n }\n return originalInnerHTMLDescriptor.set.call(this, value);\n },\n enumerable: true,\n configurable: true\n });\n \n // Intercept Image constructor\n const OriginalImage = window.Image;\n window.Image = function(...args) {\n const img = new OriginalImage(...args);\n // Override src setter for this instance too\n const descriptor = Object.getOwnPropertyDescriptor(img, 'src') || \n Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src');\n if (descriptor) {\n Object.defineProperty(img, 'src', {\n get: descriptor.get,\n set: function(value) {\n const resolvedUrl = resolveVfsUrl(value);\n return originalSrcDescriptor.set.call(this, resolvedUrl);\n },\n enumerable: true,\n configurable: true\n });\n }\n return img;\n };\n // Preserve original Image properties\n Object.setPrototypeOf(window.Image, OriginalImage);\n window.Image.prototype = OriginalImage.prototype;\n \n // Intercept createElement for img elements\n const originalCreateElement = document.createElement;\n document.createElement = function(tagName, options) {\n const element = originalCreateElement.call(this, tagName, options);\n if (tagName.toLowerCase() === 'img') {\n const originalSrcDescriptor = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src');\n Object.defineProperty(element, 'src', {\n get: function() {\n return originalSrcDescriptor.get.call(this);\n },\n set: function(value) {\n const resolvedUrl = resolveVfsUrl(value);\n return originalSrcDescriptor.set.call(this, resolvedUrl);\n },\n enumerable: true,\n configurable: true\n });\n }\n return element;\n };\n \n // Intercept fetch requests to VFS assets and edge functions\n const originalFetch = window.fetch;\n window.fetch = function(input, init) {\n const url = typeof input === 'string' ? input : input.url;\n\n // First check if this is an edge function call\n if (isEdgeFunctionUrl(url)) {\n const apiUrl = toEdgeFunctionApiUrl(url);\n // Use the parent window's origin for the API call\n const fullApiUrl = window.parent ? window.parent.location.origin + apiUrl : apiUrl;\n return originalFetch(fullApiUrl, init);\n }\n\n // Then check for VFS asset resolution\n const resolvedUrl = resolveVfsUrl(url);\n if (resolvedUrl !== url) {\n return originalFetch(resolvedUrl, init);\n }\n\n return originalFetch(input, init);\n };\n \n // Intercept XMLHttpRequest for older code and edge functions\n const OriginalXHR = window.XMLHttpRequest;\n window.XMLHttpRequest = function() {\n const xhr = new OriginalXHR();\n const originalOpen = xhr.open;\n\n xhr.open = function(method, url, ...args) {\n let finalUrl = url;\n\n // Check for edge function first\n if (isEdgeFunctionUrl(url)) {\n const apiUrl = toEdgeFunctionApiUrl(url);\n finalUrl = window.parent ? window.parent.location.origin + apiUrl : apiUrl;\n } else {\n finalUrl = resolveVfsUrl(url);\n }\n\n return originalOpen.call(this, method, finalUrl, ...args);\n };\n\n return xhr;\n };\n\n // Intercept form submissions for edge functions\n if (siteId) {\n document.addEventListener('submit', function(e) {\n const form = e.target;\n if (!(form instanceof HTMLFormElement)) return;\n\n const action = form.getAttribute('action') || '';\n if (isEdgeFunctionUrl(action)) {\n e.preventDefault();\n e.stopPropagation();\n\n const apiUrl = toEdgeFunctionApiUrl(action);\n const fullApiUrl = window.parent ? window.parent.location.origin + apiUrl : apiUrl;\n const method = (form.method || 'GET').toUpperCase();\n\n // Collect form data\n const formData = new FormData(form);\n\n // Convert to JSON for edge functions\n const data = {};\n formData.forEach(function(value, key) {\n data[key] = value;\n });\n\n // Make the fetch request\n fetch(fullApiUrl, {\n method: method,\n headers: {\n 'Content-Type': 'application/json'\n },\n body: method !== 'GET' ? JSON.stringify(data) : undefined\n })\n .then(function(response) {\n return response.json().catch(function() {\n return response.text();\n });\n })\n .then(function(result) {\n // Dispatch custom event with the result\n const event = new CustomEvent('edge-function-response', {\n detail: { action: action, result: result }\n });\n form.dispatchEvent(event);\n document.dispatchEvent(event);\n\n // Result available for custom event handlers if needed\n void result;\n })\n .catch(function(error) {\n console.error('[Edge Function] Error:', error);\n const event = new CustomEvent('edge-function-error', {\n detail: { action: action, error: error.message }\n });\n form.dispatchEvent(event);\n document.dispatchEvent(event);\n });\n }\n }, true);\n }\n \n // Process any existing images in the DOM when ready\n function processExistingImages() {\n const images = document.querySelectorAll('img[src*=\"/assets/\"]');\n images.forEach(img => {\n const currentSrc = img.src;\n const resolvedSrc = resolveVfsUrl(currentSrc);\n if (resolvedSrc !== currentSrc) {\n img.src = resolvedSrc;\n }\n });\n }\n \n // Use MutationObserver to catch dynamically added images\n function setupMutationObserver() {\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(mutation) {\n mutation.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) { // Element node\n if (node.tagName === 'IMG' && node.src && node.src.includes('/assets/')) {\n const resolvedSrc = resolveVfsUrl(node.src);\n if (resolvedSrc !== node.src) {\n node.src = resolvedSrc;\n }\n }\n // Also check children\n const childImages = node.querySelectorAll && node.querySelectorAll('img[src*=\"/assets/\"]');\n if (childImages) {\n childImages.forEach(img => {\n const resolvedSrc = resolveVfsUrl(img.src);\n if (resolvedSrc !== img.src) {\n img.src = resolvedSrc;\n }\n });\n }\n }\n });\n });\n });\n \n observer.observe(document.body || document.documentElement, {\n childList: true,\n subtree: true\n });\n }\n }\n \n // Setup everything when DOM is ready\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', function() {\n processExistingImages();\n setupMutationObserver();\n });\n } else {\n processExistingImages();\n setupMutationObserver();\n }\n})();\n<\/script>");return n=n.includes("")?n.replace("",a+"\n"):n.includes("")?n.replace("",a+"\n"):a+"\n"+n,{path:e.path,content:n,mimeType:e.mimeType}}extractPartialReferences(e){let t,n=/\{\{>\s*([\w-]+)\s*(?:\s+[^}]*)?\}\}/g,i=new Set;for(;null!==(t=n.exec(e));)i.add(t[1]);return Array.from(i)}registerErrorStubsForMissingPartials(e){for(let t of e)if(!this.handlebars.partials[t]){let e='
\n ⚠️ Missing partial: "'.concat(t,'"\n

Create file in /templates/ directory (e.g., /templates/').concat(t,".hbs or /templates/components/").concat(t,".hbs)

\n
");this.handlebars.registerPartial(t,e)}}async processHandlebarsTemplates(e){await this.registerPartials();try{let t=this.detectInvalidHandlebarsPatterns(e);if(t.length>0){let n=t.map(e=>"❌ ".concat(e.error,"\n\uD83D\uDCA1 ").concat(e.suggestion)).join("\n\n");return'\x3c!-- Handlebars Syntax Error --\x3e\n
\n

⚠️ Handlebars Template Error

\n
'.concat(n,"
\n
\n\x3c!-- Original content:\n").concat(e,"\n--\x3e")}let n=this.extractPartialReferences(e);this.registerErrorStubsForMissingPartials(n);let i={};try{let e=await this.vfs.readFile(this.projectId,"/data.json");i=JSON.parse(e.content)}catch(e){}return this.handlebars.compile(e)(i)}catch(n){console.error("VirtualServer: Error processing Handlebars templates:",n);let t=n instanceof Error?n.message:String(n);return'\x3c!-- Handlebars Compilation Error --\x3e\n
\n

⚠️ Handlebars Template Error

\n

Error: '.concat(t,"

\n

Common fixes:

\n
    \n
  • Check for typos in helper names and partial references
  • \n
  • Ensure all opening tags have matching closing tags
  • \n
  • Verify partial names exist in /templates/ directory
  • \n
  • Use {{> partialName}} syntax, not (> partialName)
  • \n
\n
\n\x3c!-- Original content:\n").concat(e,"\n--\x3e")}}detectInvalidHandlebarsPatterns(e){let t=[];return/\w+\s*=\s*\(\s*>\s*[\w-]+\s*\)/g.test(e)&&t.push({error:"Invalid syntax: Using (> partial) as parameter value",suggestion:"Use string-based dynamic partials: content=\"partial-name\" then {{> (lookup this 'content')}}"}),/\{\{\s*>\s*\(\s*>\s*[\w-]+\s*\)\s*\}\}/g.test(e)&&t.push({error:"Invalid syntax: Double partial reference {{> (> partial)}}",suggestion:"Use {{> partialName}} for static partials or {{> (lookup data 'partialName')}} for dynamic"}),/\{\{\s*>\s*[\w-]+\s+\w+\s*=\s*[^"'\s}][^}]*\s[^}]*(?:\s|}})/g.test(e)&&t.push({error:"Missing quotes in parameter values",suggestion:'Wrap parameter values in quotes: title="My Title" not title=My Title'}),t}async processCSS(e,t){let n=e.content;return n=await this.processUrlReferences(n,t),{path:e.path,content:n,mimeType:e.mimeType}}async processJS(e){let t=e.content;return{path:e.path,content:t,mimeType:e.mimeType}}isAssetReference(e){let t=e.split("?")[0].split("#")[0];return[".css",".js",".jsx",".ts",".tsx",".png",".jpg",".jpeg",".gif",".svg",".ico",".webp",".woff",".woff2",".ttf",".otf",".eot",".mp4",".webm",".ogg",".mp3",".wav",".pdf",".zip",".json",".xml"].includes(t.substring(t.lastIndexOf(".")).toLowerCase())}async processInternalReferences(e,t){let n=await this.vfs.listDirectory(this.projectId,"/"),i=t||this.blobUrls,s=e;for(let e of[/href="([^"]+)"/g,/src="([^"]+)"/g,/href='([^']+)'/g,/src='([^']+)'/g])s=s.replace(e,(e,t)=>{if(t.startsWith("http")||t.startsWith("data:")||t.startsWith("//")||t.startsWith("blob:")||t.startsWith("#")||e.includes("href=")&&!this.isAssetReference(t))return e;let s=this.normalizePath(t);if(n.some(e=>e.path===s)){let n=i.get(s);if(n)return e.replace(t,n)}return e});return s}async processUrlReferences(e,t){return e.replace(/url\(['"]?([^'")]+)['"]?\)/g,(e,n)=>{if(n.startsWith("http")||n.startsWith("data:")||n.startsWith("//")||n.startsWith("blob:"))return e;let i=this.normalizePath(n),s=t.get(i);return s?"url('".concat(s,"')"):e})}normalizePath(e){return(e.startsWith("./")&&(e=e.slice(2)),e.startsWith("/")||(e="/"+e),e.endsWith("/"))?e+"index.html":e.includes(".")?e:e+".html"}generateRoutes(e){return e.filter(e=>"html"===e.type).map(e=>{let t=e.content.match(/([^<]+)<\/title>/i),n=t?t[1]:e.name.replace(".html",""),i=e.path.replace(".html","")||"/";return{path:"/index"===i?"/":i,file:e.path,title:n}})}extractTitle(e){let t=e.match(/<title>([^<]+)<\/title>/i);return t?t[1]:"Untitled Page"}cleanupBlobUrls(){for(let e of this.blobUrls.values())URL.revokeObjectURL(e);this.blobUrls.clear(),this.templateCache.clear(),this.partialsRegistered=!1}async getCompiledFile(e){try{let t=await this.vfs.readFile(this.projectId,e);if("html"===t.type)return await this.processHTML(t,this.blobUrls);if("css"===t.type)return await this.processCSS(t,new Map);if("js"===t.type)return await this.processJS(t);else return{path:t.path,content:t.content,mimeType:t.mimeType}}catch(e){return null}}constructor(e,t,n,i){this.blobUrls=new Map,this.fileHashes=new Map,this.templateCache=new Map,this.partialsRegistered=!1,this.vfs=e,this.projectId=t,this.siteId=i,this.baseUrl=window.location.origin,n&&(this.blobUrls=new Map(n)),this.handlebars=s().create(),this.registerHelpers()}}},49241:(e,t,n)=>{function i(e){return e.length>1e5?e.slice(0,1e5)+"\n… [truncated]":e}function s(e){if(!e)return e;if(e.startsWith("/workspace")){let t=e.slice(10);e=t.length?t:"/"}return e.startsWith("/")||(e="/"+e),e}async function a(e,t,n){if("/"===n||!n)return;let i=n.split("/").filter(Boolean),s="";for(let n=0;n<i.length;n++){s="/"+i.slice(0,n+1).join("/");try{await e.createDirectory(t,s)}catch(e){}}}async function r(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t||"string"!=typeof t)return{stdout:"",stderr:"Invalid project ID provided",exitCode:2};if(!n||0===n.length)return{stdout:"",stderr:"No command provided",exitCode:2};let s=n.filter(e=>null!=e&&""!==e);if(0===s.length)return{stdout:"",stderr:"No valid command arguments provided",exitCode:2};if(s.some(e=>"&&"===e)){let n=[],a=[];for(let e of s)"&&"===e?a.length>0&&(n.push(a),a=[]):a.push(e);a.length>0&&n.push(a);let r=[],l=[];for(let s of n){let n=await o(e,t,s,i);if(n.stdout&&r.push(n.stdout),n.stderr&&l.push(n.stderr),0!==n.exitCode)return{stdout:r.join("\n"),stderr:l.join("\n"),exitCode:n.exitCode}}return{stdout:r.join("\n"),stderr:l.join("\n"),exitCode:0}}return o(e,t,s,i)}async function o(e,t,n){if(arguments.length>3&&void 0!==arguments[3]&&arguments[3],n.some(e=>"|"===e||e.includes("|")))return{stdout:"",stderr:'Pipes (|) are not supported in the VFS shell. Commands run independently.\n\nInstead of piping commands, use the appropriate flags:\n head -n 20 /file.txt (first 20 lines)\n tail -n 20 /file.txt (last 20 lines)\n rg -C 3 "pattern" /file (search with context)',exitCode:2};let[r,...o]=n;try{switch(r){case"ls":{let n=new Set,a=[];for(let e of o)e&&e.startsWith("-")?n.add(e):e&&a.push(e);let r=n.has("-R")||n.has("-r"),l=s(a[0])||"/";if(r){let n=await e.getAllFilesAndDirectories(t,{includeTransient:!0}),s="/"===l?"/":l.endsWith("/")?l:l+"/",a=n.filter(e=>e.path===l||e.path.startsWith(s)).map(e=>e.path).sort().join("\n");return{stdout:i(a),stderr:"",exitCode:0}}{let n=(await e.listDirectory(t,l,{includeTransient:!0})).map(e=>e.path).sort().join("\n");return{stdout:i(n),stderr:"",exitCode:0}}}case"tree":{let n=1/0,a="/";for(let e=0;e<o.length;e++){let t=o[e];"-L"===t&&o[e+1]?n=parseInt(o[++e])||1/0:t.startsWith("-")||(a=t)}let r=s(a)||"/",l=await e.getAllFilesAndDirectories(t,{includeTransient:!0}),c=new Set,d=new Set;for(let e of l){let t=e.path;if("/"!==r&&!t.startsWith(r+"/")&&t!==r)continue;c.add(t),"type"in e&&"directory"===e.type&&d.add(t);let n=t.split("/").filter(Boolean),i="";for(let e=0;e<n.length-1;e++)i+="/"+n[e],c.has(i)||(c.add(i),d.add(i))}let p=Array.from(c).filter(e=>"/"===r?"/"!==e:e.startsWith(r+"/")||e===r).sort(),u={name:"/"===r?".":r.split("/").pop()||".",path:r,isDir:!0,children:[]},h=new Map;for(let e of(h.set("/"===r?"":r,u),p)){if(e===r)continue;let t=("/"===r?e:e.slice(r.length)).split("/").filter(Boolean);if(t.length>n)continue;let i=t[t.length-1],s="/"===r?"/"+t.slice(0,-1).join("/"):r+"/"+t.slice(0,-1).join("/"),a="/"===s?"":s.replace(/\/$/,""),o={name:i,path:e,isDir:d.has(e),children:[]};(h.get(a)||u).children.push(o),h.set(e,o)}let m=[r];return!function e(t,n,i,s){if(!s){let e=t.isDir?"/":"";m.push(n+(i?"└── ":"├── ")+t.name+e)}let a=s?"":n+(i?" ":"│ ");t.children.sort((e,t)=>e.isDir!==t.isDir?e.isDir?-1:1:e.name.localeCompare(t.name));for(let n=0;n<t.children.length;n++)e(t.children[n],a,n===t.children.length-1,!1)}(u,"",!0,!0),{stdout:i(m.join("\n")),stderr:"",exitCode:0}}case"cat":{let n=o.filter(e=>e&&!e.startsWith("-")).map(e=>s(e));if(0===n.length)return{stdout:"",stderr:"cat: missing file path",exitCode:2};if(n.length>5)return{stdout:"",stderr:"cat: too many files. You requested ".concat(n.length," files, but cat supports a maximum of ").concat(5," files at a time. Please split into multiple cat calls."),exitCode:2};let a=[],r=!1,l=[];for(let i of n){if(!i){l.push("cat: invalid path"),r=!0;continue}if(i.startsWith("/-")){l.push('cat: invalid path "'.concat(i,'" (looks like an option)')),r=!0;continue}try{let s=await e.readFile(t,i);"string"!=typeof s.content?(l.push("cat: ".concat(i,": binary or non-text file")),r=!0):n.length>1?a.push("=== ".concat(i," ===\n").concat(s.content)):a.push(s.content)}catch(t){let e=t instanceof Error?t.message:String(t);l.push("cat: ".concat(i,": ").concat(e)),r=!0}}let c=a.join("\n\n"),d=l.join("\n");return{stdout:i(c),stderr:d,exitCode:+!!r}}case"head":{let n=10,a="";for(let e=0;e<o.length;e++){let t=o[e];"-n"===t&&o[e+1]?n=parseInt(o[++e])||10:t.startsWith("-")||(a=t)}let r=s(a);if(!r)return{stdout:"",stderr:"head: missing file path",exitCode:2};try{let s=await e.readFile(t,r);if("string"!=typeof s.content)return{stdout:"",stderr:"head: ".concat(r,": binary file"),exitCode:1};let a=s.content.split(/\r?\n/).slice(0,n).join("\n");return{stdout:i(a),stderr:"",exitCode:0}}catch(e){return{stdout:"",stderr:"head: ".concat(r,": ").concat((null==e?void 0:e.message)||"file not found"),exitCode:1}}}case"tail":{let n=10,a="";for(let e=0;e<o.length;e++){let t=o[e];"-n"===t&&o[e+1]?n=parseInt(o[++e])||10:t.startsWith("-")||(a=t)}let r=s(a);if(!r)return{stdout:"",stderr:"tail: missing file path",exitCode:2};try{let s=await e.readFile(t,r);if("string"!=typeof s.content)return{stdout:"",stderr:"tail: ".concat(r,": binary file"),exitCode:1};let a=s.content.split(/\r?\n/).slice(-n).join("\n");return{stdout:i(a),stderr:"",exitCode:0}}catch(e){return{stdout:"",stderr:"tail: ".concat(r,": ").concat((null==e?void 0:e.message)||"file not found"),exitCode:1}}}case"grep":{let n,a={n:!1,i:!1,r:!1,F:!1},r=[];for(let e of o)if(e.startsWith("-"))for(let t of e.slice(1))t in a&&(a[t]=!0);else r.push(e);let l=r[0],c=s(r[1])||"/";if(!l)return{stdout:"",stderr:'grep: missing pattern\n\nUsage: grep [FLAGS] PATTERN [PATH]\n\nSupported flags:\n -n Show line numbers\n -i Case insensitive search\n -F Treat pattern as literal string (not regex)\n\nExamples:\n {"cmd": ["grep", "searchterm", "/path"]}\n {"cmd": ["grep", "-n", "pattern", "/file.txt"]}\n {"cmd": ["grep", "-i", "TODO", "/"]}\n {"cmd": ["grep", "-F", "exact.string", "/src"]}\n\nNote: grep always searches recursively. For context around matches, use rg (ripgrep) instead.',exitCode:2};if(a.F){let e=l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");n=new RegExp(e,a.i?"i":"")}else n=new RegExp(l,a.i?"i":"");let d=await e.getAllFilesAndDirectories(t,{includeTransient:!0}),p="/"===c?"/":c.endsWith("/")?c:c+"/",u=[];for(let e of d){if("type"in e&&"directory"===e.type||!e.path.startsWith(p)&&e.path!==c||"string"!=typeof e.content)continue;let t=e.content.split(/\r?\n/);for(let i=0;i<t.length;i++){let s=t[i];n.test(s)&&u.push("".concat(e.path).concat(a.n?":"+(i+1):"",":").concat(s))}}let h=u.join("\n");if(0===u.length){let e="/"===c?"workspace root":c;return{stdout:"",stderr:'grep: pattern "'.concat(l,'" not found in ').concat(e),exitCode:1}}return{stdout:i(h),stderr:"",exitCode:0}}case"rg":{let n={n:!0,i:!1,C:0,A:0,B:0},a=[];for(let e=0;e<o.length;e++){let t=o[e];if(t.startsWith("-")&&t.length>1&&!/^-\d+$/.test(t)){let i=t.slice(1);for(let t=0;t<i.length;t++){let s=i[t];if("n"===s)n.n=!0;else if("i"===s)n.i=!0;else if("C"===s){n.C=parseInt(o[++e])||2;break}else if("A"===s){n.A=parseInt(o[++e])||2;break}else if("B"===s){n.B=parseInt(o[++e])||2;break}}}else a.push(t)}let r=a[0],l=s(a[1])||"/";if(!r)return{stdout:"",stderr:'rg: missing pattern\n\nUsage: rg [FLAGS] PATTERN [PATH]\n\nSupported flags:\n -C NUM Show NUM lines of context (before and after)\n -A NUM Show NUM lines after each match\n -B NUM Show NUM lines before each match\n -i Case insensitive search\n -n Show line numbers (enabled by default)\n\nExamples:\n {"cmd": ["rg", "searchterm", "/"]}\n {"cmd": ["rg", "-C", "3", "pattern", "/"]}\n {"cmd": ["rg", "-A", "5", "-B", "2", "function", "/src"]}\n {"cmd": ["rg", "-i", "todo", "/"]}\n\nTip: Use -C for balanced context. PATH defaults to / if omitted.',exitCode:2};let c=new RegExp(r,n.i?"i":""),d=await e.getAllFilesAndDirectories(t,{includeTransient:!0}),p="/"===l?"/":l.endsWith("/")?l:l+"/",u=[];for(let e of d){if("type"in e&&"directory"===e.type||!e.path.startsWith(p)&&e.path!==l||"string"!=typeof e.content)continue;let t=e.content.split(/\r?\n/),i=new Set;for(let e=0;e<t.length;e++)c.test(t[e])&&i.add(e);if(0===i.size)continue;let s=new Set,a=n.C||n.B,r=n.C||n.A;for(let e of i)for(let n=Math.max(0,e-a);n<=Math.min(t.length-1,e+r);n++)s.add(n);let o=Array.from(s).sort((e,t)=>e-t);for(let s of(u.length>0&&u.push(""),o)){let a=n.n?"".concat(s+1,":"):"";i.has(s),u.push("".concat(e.path,":").concat(a).concat(t[s]))}}if(0===u.length){let e="/"===l?"workspace root":l;return{stdout:"",stderr:'rg: pattern "'.concat(r,'" not found in ').concat(e),exitCode:1}}return{stdout:i(u.join("\n")),stderr:"",exitCode:0}}case"find":{let n,a,r,l;for(let e=0;e<o.length;e++){let t=o[e];if(t){if("-name"===t){a=o[e+1],e++;continue}if("-type"===t){let t=o[e+1];("f"===t||"d"===t)&&(r=t),e++;continue}if("-maxdepth"===t){e++;continue}t.startsWith("-")||n||(n=t)}}let c=s(n)||"/",d=await e.getAllFilesAndDirectories(t,{includeTransient:!0}),p="/"===c?"/":c.endsWith("/")?c:c+"/",u=a?(l=a,RegExp("^"+l.replace(/[.+^${}()|\[\]\\]/g,"\\$&").replace(/\*/g,".*")+"$")):null,h=d.filter(e=>e.path===c||e.path.startsWith(p)).filter(e=>"f"===r?!("type"in e)||"directory"!==e.type:"d"!==r||"type"in e&&"directory"===e.type).map(e=>e.path).filter(e=>!u||u.test(e.split("/").pop()||e)).sort();return{stdout:i(h.join("\n")),stderr:"",exitCode:0}}case"mkdir":{let n=o.includes("-p"),i=o.filter(e=>e&&"-p"!==e).map(e=>s(e));if(0===i.length)return{stdout:"",stderr:"mkdir: missing operand",exitCode:2};let r=!1,l=[];for(let s of i)if(s){if(s.startsWith("/.server/")){l.push("mkdir: cannot create '".concat(s,"': server context directories are auto-generated")),r=!0;continue}try{n?await a(e,t,s):await e.createDirectory(t,s)}catch(e){r=!0,l.push("mkdir: cannot create directory '".concat(s,"': ").concat((null==e?void 0:e.message)||"unknown error"))}}return{stdout:"",stderr:l.join("\n"),exitCode:+!!r}}case"touch":{let n=o.filter(e=>e&&!e.startsWith("-")).map(e=>s(e));if(0===n.length)return{stdout:"",stderr:"touch: missing file operand",exitCode:2};let i=!1,a=[];for(let s of n)if(s)try{await e.readFile(t,s)}catch(n){try{await e.createFile(t,s,"")}catch(e){i=!0,a.push("touch: cannot touch '".concat(s,"': ").concat((null==e?void 0:e.message)||"cannot create file"))}}return{stdout:"",stderr:a.join("\n"),exitCode:+!!i}}case"rm":{let n=!1,a=!1,r=!1,l=[];for(let e of o)e&&e.startsWith("-")?((e.includes("r")||e.includes("R"))&&(n=!0),e.includes("f")&&(a=!0),e.includes("v")&&(r=!0)):e&&l.push(e);if(0===l.length)return{stdout:"",stderr:"rm: missing operand",exitCode:2};let c=!1,d=[],p=[];for(let i of l){let o=s(i);if(!o){a||(c=!0);continue}if(o.startsWith("/.server/")){try{await e.deleteServerContextFile(o),r&&d.push("removed '".concat(o,"'"))}catch(e){if(!a){c=!0;let t="rm: cannot remove '".concat(o,"': ").concat((null==e?void 0:e.message)||"unknown error");p.push(t),r&&d.push(t)}}continue}try{await e.deleteFile(t,o),r&&d.push("removed '".concat(o,"'"))}catch(i){if(n)try{await e.deleteDirectory(t,o),r&&d.push("removed directory '".concat(o,"'"))}catch(e){if(!a){c=!0;let e="rm: cannot remove '".concat(o,"': No such file or directory");p.push(e),r&&d.push(e)}}else if(!a){c=!0;let e="rm: cannot remove '".concat(o,"': Is a directory (use -r to remove directories)");p.push(e),r&&d.push(e)}}}let u=r?d.join("\n"):"",h=c?p.join("\n"):"";return{stdout:i(u),stderr:h,exitCode:+!!c}}case"mv":{let[n,i]=o,a=s(n),r=s(i);if(!a||!r)return{stdout:"",stderr:"mv: missing operands",exitCode:2};try{return await e.renameFile(t,a,r),{stdout:"",stderr:"",exitCode:0}}catch(n){return await e.renameDirectory(t,a,r),{stdout:"",stderr:"",exitCode:0}}}case"cp":{let n=o.includes("-r"),[i,r]=o.filter(e=>"-r"!==e);if(i=s(i),r=s(r),!i||!r)return{stdout:"",stderr:"cp: missing operands",exitCode:2};try{let n=await e.readFile(t,i),s=(n.content,n.content);try{await e.createFile(t,r,s)}catch(n){await e.updateFile(t,r,s)}return{stdout:"",stderr:"",exitCode:0}}catch(l){if(!n)return{stdout:"",stderr:"cp: -r required for directories",exitCode:1};let s=await e.getAllFilesAndDirectories(t,{includeTransient:!0}),o=i.endsWith("/")?i:i+"/";for(let n of s)if((!("type"in n)||"directory"!==n.type)&&(n.path===i||n.path.startsWith(o))){let s=n.path.slice(i.length),o=(r.endsWith("/")?r.slice(0,-1):r)+s;await a(e,t,o.split("/").slice(0,-1).join("/"));let l=(n.content,n.content);try{await e.createFile(t,o,l)}catch(n){await e.updateFile(t,o,l)}}return{stdout:"",stderr:"",exitCode:0}}}case"echo":{let n=o.indexOf(">");if(-1===n)return{stdout:i(o.join(" ")),stderr:"",exitCode:0};let r=o.slice(0,n).join(" "),l=o[n+1],c=s(l);if(!c)return{stdout:"",stderr:"echo: missing file path after >",exitCode:2};try{let n=c.split("/").slice(0,-1).join("/")||"/";"/"!==n&&await a(e,t,n);try{await e.createFile(t,c,r)}catch(n){await e.updateFile(t,c,r)}return{stdout:"",stderr:"",exitCode:0}}catch(e){return{stdout:"",stderr:"echo: ".concat(c,": ").concat((null==e?void 0:e.message)||"cannot write file"),exitCode:1}}}case"sqlite3":return{stdout:"",stderr:"sqlite3: requires Server Mode with a published site\n\nThe sqlite3 command requires:\n1. Server Mode (not Browser Mode)\n2. A site to be selected and published\n\nIf you are in Server Mode with a published site, this error indicates the site context is not set.\nPlease ensure the site is selected in the workspace before using sqlite3.\n\nAlternative: Use edge functions for database access via db.query() and db.run()",exitCode:1};default:return{stdout:"",stderr:"".concat(r,": command not found").concat("bash"===r?'\nDon\'t use "bash" as a command - call the shell tool directly with your command.\nWrong: {"cmd": ["bash", "-c", "ls -la"]}\nRight: {"cmd": ["ls", "-la"]}\n':"",'\n\nSupported commands: ls, tree, cat, head, tail, rg, grep, find, mkdir, touch, rm, mv, cp, echo, sqlite3\n\nCorrect shell tool usage:\n {"cmd": ["ls", "/"]} - List files\n {"cmd": ["ls", "-R", "/"]} - List files recursively\n {"cmd": ["tree", "/", "-L", "2"]} - Show directory tree (max depth 2)\n {"cmd": ["cat", "/file.txt"]} - Read entire file\n {"cmd": ["head", "-n", "20", "/file.txt"]} - Read first 20 lines\n {"cmd": ["tail", "-n", "20", "/file.txt"]} - Read last 20 lines\n {"cmd": ["rg", "-C", "3", "pattern", "/"]} - Search with 3 lines context (recommended)\n {"cmd": ["rg", "-A", "2", "-B", "1", "pattern"]} - Search with custom context\n {"cmd": ["grep", "-n", "pattern", "/file.txt"]} - Search with line numbers\n {"cmd": ["grep", "-F", "literal", "/file.txt"]} - Search literal string\n {"cmd": ["find", "/", "-name", "*.js"]} - Find files by name\n {"cmd": ["mkdir", "-p", "/path/to/dir"]} - Create directory (with parents)\n {"cmd": ["touch", "/file.txt"]} - Create empty file\n {"cmd": ["rm", "-rf", "/dirname"]} - Delete directory recursively\n {"cmd": ["mv", "/old.txt", "/new.txt"]} - Move/rename files\n {"cmd": ["cp", "-r", "/src", "/dest"]} - Copy files/directories\n {"cmd": ["echo", "Hello World"]} - Output text\n {"cmd": ["echo", "content", ">", "/file.txt"]} - Write text to file\n {"cmd": ["sqlite3", "SELECT * FROM users"]} - Execute SQL (Server Mode)\n {"cmd": ["sqlite3", "-json", "SELECT * FROM products"]} - SQL output as JSON\n\nNote: Use json_patch tool for file editing. Use rg (ripgrep) instead of grep for better context management.\nNote: sqlite3 is only available in Server Mode and when a site context is selected.'),exitCode:127}}}catch(e){return{stdout:"",stderr:(null==e?void 0:e.message)||String(e),exitCode:1}}}n.d(t,{_:()=>l});let l={execute:async(e,t)=>{let{vfs:i}=await Promise.resolve().then(n.bind(n,14250));await i.init();let s=await r(i,e,t);return{success:0===s.exitCode,stdout:s.stdout,stderr:s.stderr}}}},51052:(e,t,n)=>{n.d(t,{m:()=>s});var i=n(56746);async function s(e,t,n){return t?r(e,n):await o(e,n)}function a(e){let t='\n\n\uD83D\uDDA5️ SERVER CONTEXT - Site "'.concat(e.siteName,'":\n');return t+="This project is linked to a site with server-side features.\n\n",t+="Available Server Features:\n",e.hasDatabase&&(t+="• Database: SQLite database accessible via sqlite3 shell command\n"),e.edgeFunctionCount>0&&(t+="• Edge Functions: ".concat(e.edgeFunctionCount," endpoint(s) in /.server/edge-functions/*.json\n")),e.serverFunctionCount>0&&(t+="• Server Functions: ".concat(e.serverFunctionCount," helper(s) in /.server/server-functions/*.json\n")),t+="• Secrets: ".concat(e.secretCount," secret(s) in /.server/secrets/*.json\n"),e.hasDatabase&&(t+="\n## \uD83D\uDDC4️ DATABASE COMMANDS (sqlite3)\n",t+="Use the sqlite3 shell command to query/modify the site database:\n\n",t+="⚠️ CRITICAL: Put the COMPLETE SQL query in double quotes after sqlite3. Examples:\n\n",t+=" # List all tables\n",t+=" sqlite3 \"SELECT name FROM sqlite_master WHERE type='table'\"\n\n",t+=" # Query data\n",t+=' sqlite3 "SELECT * FROM products"\n',t+=' sqlite3 "SELECT * FROM users WHERE active = 1"\n\n',t+=" # Create table\n",t+=' sqlite3 "CREATE TABLE IF NOT EXISTS products (id INTEGER PRIMARY KEY, name TEXT, price REAL)"\n\n',t+=" # Insert data\n",t+=" sqlite3 \"INSERT INTO products (name, price) VALUES ('Widget', 9.99)\"\n\n",t+=" # JSON output\n",t+=' sqlite3 -json "SELECT * FROM products"\n\n',t+=" # Get table schema\n",t+=" sqlite3 \"SELECT sql FROM sqlite_master WHERE name='products'\"\n\n",t+="COMMON MISTAKES TO AVOID:\n",t+='❌ sqlite3 ".tables" <- Don\'t use dot commands\n',t+="❌ sqlite3 \"SELECT * FROM <- Don't truncate queries\n",t+='✅ sqlite3 "SELECT * FROM products" <- Complete SQL in quotes\n\n',t+="Current schema: cat /.server/db/schema.sql\n"),t+="\n## Creating Secrets\n",t+="Use json_patch to create /.server/secrets/{NAME}.json:\n",t+=' json_patch /.server/secrets/STRIPE_API_KEY.json rewrite \'{"name":"STRIPE_API_KEY","description":"Stripe secret key"}\'\n',t+="User sets the value in admin panel. Use in edge functions: secrets.get('STRIPE_API_KEY')\n",t+="\n## Creating Edge Functions\n",t+="Use json_patch (preferred) to create /.server/edge-functions/{name}.json:\n",t+=' json_patch /.server/edge-functions/list-products.json rewrite \'{"name":"list-products","method":"GET","enabled":true,"code":"Response.json(db.query(\\"SELECT * FROM products\\"));"}\'\n',t+="\n## Creating Server Functions\n",t+=' json_patch /.server/server-functions/formatPrice.json rewrite \'{"name":"formatPrice","enabled":true,"code":"const [amount, currency] = args; return currency + amount.toFixed(2);"}\'\n',t+="\nNote: echo also works for simple JSON, but json_patch handles escaping better for complex code.\n"}async function r(e,t){let n="You are an AI assistant that helps users with their coding projects. You work in a sandboxed virtual file system.\n\n\uD83D\uDD12 CHAT MODE - READ-ONLY EXPLORATION AND PLANNING\n\nYou have access ONLY to the 'shell' tool with READ-ONLY commands.\nYOU CANNOT EDIT FILES IN CHAT MODE.\nFocus on exploring the codebase, analyzing code, and discussing approaches.\n\n⚠️ TOOL CALLING - CRITICAL:\nYou MUST invoke tools using the function calling mechanism - NEVER output tool syntax as text.\nWhen you want to run a command, call the shell tool directly - do not write JSON or code blocks describing the command.\n\nWRONG: Writing ```shell\\nls -la\\n``` as text in your response\nRIGHT: Invoke the shell tool with cmd=\"ls -la /\"\n\nThe shell tool accepts a 'cmd' parameter as either a string or array:\n• String: \"ls -la /\"\n• Array: [\"ls\", \"-la\", \"/\"]\n\nExamples of commands you can run:\n• ls -la /\n• rg -C 3 'pattern' /\n• head -n 50 /index.html\n• tree -L 2 /\n\n⚠️ CRITICAL: MINIMIZE TOKEN USAGE - AVOID CAT\nDO NOT use 'cat' to read entire files unless absolutely necessary!\n• cat wastes 10-50x more tokens than alternatives\n• You will exceed context limits and fail tasks\n• ALWAYS try these first:\n 1. rg -C 5 'searchterm' / (search with context - best for finding code)\n 2. head -n 50 /file (sample start of file)\n 3. tail -n 50 /file (sample end of file)\n 4. tree -L 2 / (see project structure)\n• ONLY use cat when:\n - File is known to be small (<100 lines)\n - You genuinely need to see the ENTIRE file\n - Other tools have failed to find what you need\n\nFILE READING DECISION FLOWCHART - FOLLOW THIS ORDER:\nWhen you need to read/inspect files, ALWAYS follow this priority:\n\n1. **SEARCHING for specific code/patterns?**\n ✅ USE: rg -C 5 'pattern' /path\n ✅ EXAMPLE: rg -C 3 'function handleClick' /\n Why: Shows matches with surrounding context, saves 8-10x tokens\n\n2. **EXPLORING a file's structure/beginning?**\n ✅ USE: head -n 50 /file.js\n ✅ EXAMPLE: head -n 100 /components/App.tsx\n Why: Sample without reading entire file, saves 10-50x tokens\n\n3. **CHECKING end of file (logs, recent additions)?**\n ✅ USE: tail -n 50 /file.js\n ✅ EXAMPLE: tail -n 100 /utils/helpers.js\n Why: Sample end without reading entire file\n\n4. **UNDERSTANDING project structure?**\n ✅ USE: tree -L 2 /\n ✅ EXAMPLE: tree -L 3 /src\n Why: Visual overview without reading files\n\n5. **NEED ENTIRE FILE** (LAST RESORT ONLY):\n ⚠️ USE: cat /file.js (ONLY IF file is small <100 lines OR alternatives failed)\n ❌ DON'T: cat /large-component.tsx (will waste massive tokens)\n\nAvailable Commands (READ-ONLY):\n- Search with context: rg [-C num] [-A num] [-B num] [-n] [-i] [pattern] [path] ← PREFER THIS FOR SEARCH\n- Read file head: head [-n lines] [filepath] ← PREFER THIS\n- Read file tail: tail [-n lines] [filepath] ← PREFER THIS\n- Directory tree: tree [path] [-L depth] ← PREFER THIS\n- List files: ls [-R] [path]\n- Read entire files: cat [filepath] ← AVOID (use only for small files)\n- Search (basic, no context): grep [-n] [-i] [-F] [pattern] [path] ← Use rg instead for context\n- Find files: find [path] -name [pattern]\n- Database queries (Server Mode): sqlite3 \"SELECT * FROM table\" ← Full SQL in double quotes\n\n⚠️ IMPORTANT: grep does NOT support -A, -B, or -C flags. For context around matches, use rg (ripgrep)!\n\n❌ DISABLED IN CHAT MODE:\n- mkdir, touch, mv, rm, cp, echo > (all write operations)\n- json_patch tool (not available)\n- evaluation tool (not available)\n\nImportant Notes:\n- All paths are relative to the project root (/)\n- ALWAYS use targeted reads: `rg -C 5`, `head -n 50`, or `tail -n 50` (NOT cat!)\n- Reuse snippets from earlier in the conversation when possible\n- ALWAYS invoke tools via function calling - NEVER write tool calls as text or markdown\n- Focus on exploration, analysis, and planning - no file modifications\n",s=await i.skillsService.getEnabledSkillsMetadata();if(s.length>0){for(let e of(n+="\n\n\uD83D\uDCDA SKILLS - READ BEFORE BUILDING:\n",n+="Skills contain best practices and patterns. CHECK the relevant skill BEFORE starting work:\n\n",s))n+="- ".concat(e.path,": ").concat(e.description,"\n");n+="\n⚡ WORKFLOW: When a skill matches your task, run: cat /.skills/<skill-name>.md FIRST, then proceed.\n"}if(t&&(n+=a(t)),(e||s.length>0||t)&&(n+="\n\nProject Structure:\n",s.length>0&&(n+="├── .skills/\n",s.forEach((e,i)=>{let a=i===s.length-1&&!t,r=e.path.split("/").pop();n+="│ ".concat(a?"└── ":"├── ").concat(r,"\n")})),t&&(n+="├── .server/\n",n+="│ ├── README.md\n",t.hasDatabase&&(n+="│ ├── db/\n",n+="│ │ └── schema.sql\n"),t.edgeFunctionCount>0&&(n+="│ ├── edge-functions/\n"),t.serverFunctionCount>0&&(n+="│ ├── server-functions/\n"),n+="│ └── secrets/\n"),e)){let t=e.replace(/^Project Structure:\n/,"");n+=t}return n}async function o(e,t){let n='You are an AI assistant that helps users with their coding projects. You work in a sandboxed virtual file system.\n\n\uD83D\uDEA8 PLATFORM CONSTRAINTS - READ THIS FIRST:\n\nThis is a STATIC WEBSITE builder - you can ONLY create client-side HTML/CSS/JS:\n• ❌ NO backend code (no Node.js, Python, PHP, Ruby, etc.)\n• ❌ NO server-side rendering (no Express, Next.js API routes, etc.)\n• ❌ NO databases or server-side storage\n• ✅ ONLY static files that run in the browser (HTML, CSS, vanilla JS)\n\nHANDLEBARS IS BUILD-TIME, NOT RUNTIME:\n• Handlebars templates are compiled AUTOMATICALLY when the preview loads\n• DO NOT write JavaScript code to compile or render Handlebars templates\n• DO NOT import Handlebars library or use Handlebars.compile() in your JS\n• Just create .hbs files and use {{> partial}} syntax - the system handles compilation\n\nROUTING IS AUTOMATIC:\n• Navigation works with standard HTML links: <a href="/about.html">About</a>\n• Supports directory-based routing: /about/ → /about/index.html\n• You can organize pages either way:\n - Direct: /about.html\n - Directory: /about/index.html (accessed as /about/ or /about)\n• DO NOT create routing logic (no History API, hash routing, or SPA routers)\n• DO NOT write JavaScript to handle page navigation\n• Create separate .html files for each page - the preview handles routing\n\nDIRECTORY INDEX RESOLUTION:\n• When a path ends with / or has no extension, the system tries:\n 1. Direct file: /about → /about.html\n 2. Directory index: /about → /about/index.html (fallback)\n• This allows clean URLs and organized file structures\n• Example: /products/ automatically serves /products/index.html\n\nWHAT YOU CAN BUILD:\n• Multi-page websites with .html files\n• Interactive features with vanilla JavaScript (DOM manipulation, fetch API, localStorage)\n• Reusable components with Handlebars templates (.hbs files)\n• Responsive layouts with CSS\n• Client-side data visualization, forms, animations, etc.\n\n⚠️ TOOL CALLING - CRITICAL:\nYou MUST invoke tools using the function calling mechanism - NEVER output tool syntax as text.\nWhen you want to run a command, call the shell tool directly - do not write JSON or code blocks describing the command.\n\nWRONG: Writing ```shell\\nls -la\\n``` as text in your response\nRIGHT: Invoke the shell tool with cmd="ls -la /"\n\nThe shell tool accepts a \'cmd\' parameter as either a string or array:\n• String: "ls -la /"\n• Array: ["ls", "-la", "/"]\n\nExamples of commands you can run:\n• ls -la /\n• rg -C 3 \'pattern\' /\n• head -n 50 /index.html\n• tree -L 2 /\n\n⚠️ CRITICAL: MINIMIZE TOKEN USAGE - AVOID CAT\nDO NOT use \'cat\' to read entire files unless absolutely necessary!\n• cat wastes 10-50x more tokens than alternatives\n• You will exceed context limits and fail tasks\n• ALWAYS try these first:\n 1. rg -C 5 \'searchterm\' / (search with context - best for finding code)\n 2. head -n 50 /file (sample start of file)\n 3. tail -n 50 /file (sample end of file)\n 4. tree -L 2 / (see project structure)\n• ONLY use cat when:\n - File is known to be small (<100 lines)\n - You genuinely need to see the ENTIRE file\n - Other tools have failed to find what you need\n\nFILE READING DECISION FLOWCHART - FOLLOW THIS ORDER:\nWhen you need to read/inspect files, ALWAYS follow this priority:\n\n1. **SEARCHING for specific code/patterns?**\n ✅ USE: rg -C 5 \'pattern\' /path\n ✅ EXAMPLE: rg -C 3 \'function handleClick\' /\n Why: Shows matches with surrounding context, saves 8-10x tokens\n\n2. **EXPLORING a file\'s structure/beginning?**\n ✅ USE: head -n 50 /file.js\n ✅ EXAMPLE: head -n 100 /components/App.tsx\n Why: Sample without reading entire file, saves 10-50x tokens\n\n3. **CHECKING end of file (logs, recent additions)?**\n ✅ USE: tail -n 50 /file.js\n ✅ EXAMPLE: tail -n 100 /utils/helpers.js\n Why: Sample end without reading entire file\n\n4. **UNDERSTANDING project structure?**\n ✅ USE: tree -L 2 /\n ✅ EXAMPLE: tree -L 3 /src\n Why: Visual overview without reading files\n\n5. **NEED ENTIRE FILE** (LAST RESORT ONLY):\n ⚠️ USE: cat /file.js (ONLY IF file is small <100 lines OR alternatives failed)\n ❌ DON\'T: cat /large-component.tsx (will waste massive tokens)\n\nAvailable Commands for the shell tool:\n- Search with context: rg [-C num] [-A num] [-B num] [-n] [-i] [pattern] [path] ← PREFER THIS FOR SEARCH\n- Read file head: head [-n lines] [filepath] ← PREFER THIS\n- Read file tail: tail [-n lines] [filepath] ← PREFER THIS\n- Directory tree: tree [path] [-L depth] ← PREFER THIS\n- List files: ls [-R] [path]\n- Read entire files: cat [filepath] ← AVOID (use only for small files)\n- Search (basic, no context): grep [-n] [-i] [-F] [pattern] [path] ← Use rg instead for context\n- Find files: find [path] -name [pattern]\n- Create directories: mkdir [-p] [path1] [path2] ... ← Supports multiple paths and brace expansion\n- Create empty files: touch [file1] [file2] ... ← Supports multiple files and brace expansion\n- Move/rename: mv [source] [dest]\n- Remove files/directories: rm [-rf] [path1] [path2] ... ← Supports multiple paths\n- Copy: cp [-r] [source] [dest]\n- Output text: echo [text]\n- Write to file: echo [text] > [filepath]\n- Edit files: Use json_patch tool for reliable file editing\n- Database queries (Server Mode): sqlite3 "SQL QUERY" ← Full SQL in double quotes\n\n⚠️ IMPORTANT: grep does NOT support -A, -B, or -C flags. For context around matches, use rg (ripgrep)!\n\nBash Brace Expansion:\nThe shell supports brace expansion like real bash - use {a,b,c} to expand into multiple arguments:\n- mkdir -p templates/{layout,components,pages} ← Creates 3 directories\n- touch src/{index,app,utils}.js ← Creates 3 files\n- Combines with paths: mkdir -p src/{components,utils}/{common,helpers}\n\nFile Editing with json_patch:\n\n⚠️ CRITICAL WORKFLOW - YOU MUST FOLLOW THIS ORDER:\n1. Ensure you have an up-to-date snippet before editing (use `rg -C 5`, `head -n 50`, or `tail -n 50` FIRST; avoid `cat` unless file is small)\n2. Study the exact content to identify unique strings for replacement\n3. Use the json_patch tool with precise string operations\n\n⚠️ TOKEN LIMITS - PROGRESSIVE FILE BUILDING:\n- Your output is limited to ~4000 tokens (~16,000 characters)\n- Large files (500+ lines) in one REWRITE will hit this limit and get truncated\n- The system can auto-continue truncated operations, but prevention is better\n\n**LARGE FILE STRATEGY - BUILD PROGRESSIVELY:**\n\nWhen creating files >200 lines, use this approach:\n\nSTEP 1: Create skeleton structure first (small REWRITE)\nExample for CSS:\n{"file_path": "/styles/main.css", "operations": [{"type": "rewrite", "content": "/* ==========================================================================\\n Main Stylesheet\\n ========================================================================== */\\n\\n/* Base Styles */\\n\\n/* Layout */\\n\\n/* Components */\\n\\n/* Utilities */\\n"}]}\n\nSTEP 2: Fill sections with UPDATE operations\n{"file_path": "/styles/main.css", "operations": [{"type": "update", "oldStr": "/* Base Styles */\\n", "newStr": "/* Base Styles */\\n\\n*, *::before, *::after { box-sizing: border-box; }\\nhtml { font-size: 16px; }\\nbody { margin: 0; font-family: system-ui, sans-serif; }\\n"}]}\n\n**TOKEN BUDGETS PER OPERATION:**\n- REWRITE: Keep content under 2000 characters (~500 tokens)\n- UPDATE: Keep oldStr + newStr combined under 1500 characters\n\n**ALTERNATIVE: Split into multiple files**\nInstead of one 1000-line style.css, create:\n- /styles/base.css (reset, typography)\n- /styles/layout.css (grid, containers)\n- /styles/components.css (buttons, cards)\n- /styles/utilities.css (helpers)\n\nThen import all in your HTML:\n<link rel="stylesheet" href="/styles/base.css">\n<link rel="stylesheet" href="/styles/layout.css">\n\x3c!-- etc. --\x3e\n\nThe json_patch tool uses simple JSON operations for reliable file editing.\n\n⚠️ CRITICAL: Make ONE json_patch call per response. Do NOT batch multiple file operations in a single response - this causes truncation errors. Write one file, wait for confirmation, then write the next.\n\nOperation Types:\n1. UPDATE: Replace exact strings (oldStr must be unique in file)\n2. REWRITE: Replace entire file content\n3. REPLACE_ENTITY: Replace semantic code entities by opening pattern\n\nExamples:\n\nUpdate specific content:\n{\n "file_path": "/index.html",\n "operations": [\n {\n "type": "update",\n "oldStr": "<title>Old Title",\n "newStr": "New Title"\n }\n ]\n}\n\nAdd content by expanding existing text:\n{\n "file_path": "/app.js",\n "operations": [\n {\n "type": "update",\n "oldStr": "const items = [];",\n "newStr": "const items = [];\nconst newItems = [];"\n }\n ]\n}\n\nReplace entire file (better for large changes):\n{\n "file_path": "/README.md",\n "operations": [\n {\n "type": "rewrite",\n "content": "# New Project\n\nComplete new file content here."\n }\n ]\n}\n\nSmall targeted update (safer approach):\n{\n "file_path": "/index.html",\n "operations": [\n {\n "type": "update",\n "oldStr": "

Ajankohtaista

",\n "newStr": "

News Gallery

"\n }\n ]\n}\n\nReplace HTML element (robust approach):\n{\n "file_path": "/index.html",\n "operations": [\n {\n "type": "replace_entity",\n "selector": "
",\n "replacement": "
\n \x3c!-- Your new content here --\x3e\n
",\n "entity_type": "html_element"\n }\n ]\n}\n\nReplace section content (also robust):\n{\n "file_path": "/components/contact.tsx",\n "operations": [\n {\n "type": "replace_entity",\n "selector": "
",\n "replacement": "
\n

Get In Touch

\n

Contact us at info@example.com

\n
",\n "entity_type": "html_element"\n }\n ]\n}\n\nReplace React component:\n{\n "file_path": "/components/button.tsx",\n "operations": [\n {\n "type": "replace_entity",\n "selector": "const Button: React.FC = ({",\n "replacement": "const Button: React.FC = ({ children, onClick, variant = \'primary\' }) => {\\n return (\\n \\n );\\n}",\n "entity_type": "react_component"\n }\n ]\n}\n\nReplace JavaScript function:\n{\n "file_path": "/utils/helpers.js",\n "operations": [\n {\n "type": "replace_entity",\n "selector": "function calculateTotal(",\n "replacement": "function calculateTotal(items, tax = 0.1) {\n const subtotal = items.reduce((sum, item) => sum + item.price, 0);\n return subtotal * (1 + tax);\n}",\n "entity_type": "function"\n }\n ]\n}\n\nCRITICAL RULES:\n• oldStr MUST match exactly what you just inspected in the file output\n• Copy the EXACT text from the file - including quotes, spaces, newlines\n• JSON escaping (like ") is ONLY for JSON syntax - the tool handles this automatically\n• DO NOT add escape characters (for example an extra \\ before `<` or `>`) that aren\'t present in the file\n• oldStr MUST be unique - if it appears multiple times, include more context\n• For replace_entity selectors, copy the opening pattern without leading indentation or trailing whitespace; start at the first non-space character you saw in the file\n• Before you run json_patch, confirm the snippet is unique (use `rg -n "snippet"` or `rg -C 5 "snippet"`). If it appears more than once, capture additional context\n• When uncertain, use \'rewrite\' operation for complete file replacement\n• Multiple operations are applied sequentially\n\n⚠️ COMMON FAILURE: LARGE TEXT BLOCKS\n• DON\'T try to match huge blocks of content (50+ lines)\n• Large blocks often have tiny differences that cause failures\n• For large changes, use smaller targeted updates OR \'rewrite\' entire file\n• If oldStr keeps failing, make it smaller and more specific\n\n⚠️ OPERATION TYPE PRIORITY (use in this order):\n\n1. **FIRST CHOICE - "replace_entity"** for:\n • HTML elements: `
`, `