@surething/cockpit 1.0.188 → 1.0.189
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +28 -25
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +20 -0
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +2 -2
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +26 -8
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/load/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/save/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -0
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/skills/content/route.js +1 -0
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/skills/content/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/skills/route.js +1 -0
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/skills/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/page.js +13 -13
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +8 -7
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +28 -25
- package/.next-prod/server/chunks/1661.js +1 -0
- package/.next-prod/server/chunks/2325.js +1 -1
- package/.next-prod/server/chunks/2338.js +1 -0
- package/.next-prod/server/chunks/4098.js +1 -1
- package/.next-prod/server/chunks/459.js +1 -0
- package/.next-prod/server/chunks/5394.js +1 -1
- package/.next-prod/server/chunks/6043.js +4 -0
- package/.next-prod/server/chunks/7122.js +1 -0
- package/.next-prod/server/chunks/7514.js +1 -1
- package/.next-prod/server/functions-config-manifest.json +3 -0
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +2 -2
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/KErTlLLQlubS82IizAx-5/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/3530-49f50405e2b2a8c2.js +14 -0
- package/.next-prod/static/chunks/3743-66d6d2ef6629c733.js +4 -0
- package/.next-prod/static/chunks/6108-df36466c7d900315.js +1 -0
- package/.next-prod/static/chunks/6148-ceb1b58ea7be6767.js +1 -0
- package/.next-prod/static/chunks/6878-b27072ccf7fd4eba.js +1 -0
- package/.next-prod/static/chunks/9062-a330afa1af7f133e.js +1 -0
- package/.next-prod/static/chunks/app/_global-error/page-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/app/page-e0d663a97bc29595.js +1 -0
- package/.next-prod/static/chunks/app/project/page-ff9fb0aaf89c8457.js +29 -0
- package/.next-prod/static/chunks/app/review/[id]/{page-559260ff9227d0b4.js → page-be83af23e89a03f9.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-f626fdfbc87b7a2c.js +1 -0
- package/.next-prod/static/css/75f39a8350e8177f.css +3 -0
- package/.next-prod/trace +13 -12
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/skills/[id]/route.ts +350 -0
- package/.next-prod/types/app/api/skills/content/route.ts +350 -0
- package/.next-prod/types/app/api/skills/route.ts +350 -0
- package/.next-prod/types/routes.d.ts +4 -1
- package/.next-prod/types/validator.ts +27 -0
- package/bin/cock-browser.mjs +65 -1
- package/chrome-extension/automation.js +36 -0
- package/chrome-extension/background.js +49 -2
- package/dist/{chunk-KLV3PBIZ.mjs → chunk-ZDTXJE6Z.mjs} +1 -0
- package/dist/scheduledTasks.mjs +1 -1
- package/dist/wsServer.mjs +1 -1
- package/package.json +1 -1
- package/.next-prod/server/chunks/4042.js +0 -1
- package/.next-prod/server/chunks/6062.js +0 -1
- package/.next-prod/server/chunks/7284.js +0 -1
- package/.next-prod/static/_gYuZ_hBlVHw7RvEBSdgN/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/1593-d845ec6e5c8de67e.js +0 -1
- package/.next-prod/static/chunks/2072-f08fabf0a6541d15.js +0 -4
- package/.next-prod/static/chunks/3530-6d8abfd0e950d439.js +0 -14
- package/.next-prod/static/chunks/5493-83d6a5ec42d6cbb3.js +0 -1
- package/.next-prod/static/chunks/app/_global-error/page-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/app/page-cc2b332242bc2c93.js +0 -1
- package/.next-prod/static/chunks/app/project/page-b867dec5473dadac.js +0 -25
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6f58f82d7dc6888f.js +0 -1
- package/.next-prod/static/css/bbd65867698c479b.css +0 -3
- /package/.next-prod/static/{_gYuZ_hBlVHw7RvEBSdgN → KErTlLLQlubS82IizAx-5}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
(()=>{var a={};a.id=2951,a.ids=[2951],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},44236:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h,dynamic:()=>f,generateMetadata:()=>g});var d=c(5735),e=c(79436);let f="force-dynamic";async function g({params:a}){let{id:b}=await a;return{title:`Review - ${b}`}}async function h({params:a}){let{id:b}=await a;return(0,d.jsx)(e.ReviewPage,{reviewId:b})}},55511:a=>{"use strict";a.exports=require("crypto")},61598:(a,b,c)=>{Promise.resolve().then(c.bind(c,81729))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63129:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>C.default,__next_app__:()=>K,handler:()=>M,routeModule:()=>L});var d=c(7553),e=c(84006),f=c(67798),g=c(34775),h=c(99373),i=c(73461),j=c(1020),k=c(26349),l=c(54365),m=c(16023),n=c(63747),o=c(24235),p=c(23938),q=c(261),r=c(66758),s=c(77243),t=c(26713),u=c(37527),v=c(22820),w=c(88216),x=c(47929),y=c(79551),z=c(89125),A=c(86439),B=c(77068),C=c(81227),D=c(61287),E=c(81494),F=c(70722),G=c(70753),H=c(43954),I={};for(let a in D)0>["default","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(I[a]=()=>D[a]);c.d(b,I);let J={children:["",{children:["review",{children:["[id]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,44236)),"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page.tsx"]}]},{}]},{metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}}]},{layout:[()=>Promise.resolve().then(c.bind(c,76537)),"/home/runner/work/cockpit/cockpit/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.bind(c,81227)),"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}}]}.children,K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/review/[id]/page",pathname:"/review/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:J},distDir:".next-prod",relativeProjectDir:""});async function M(a,b,d){var I;L.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let N=!!(0,h.getRequestMeta)(a,"minimalMode"),O="/review/[id]/page";"/index"===O&&(O="/");let P=await L.prepare(a,b,{srcPage:O,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,parsedUrl:ae,interceptionRoutePatterns:af,deploymentId:ag}=P,ah=(0,q.normalizeAppPath)(O),{isOnDemandRevalidate:ai}=P,aj=ad.experimental.ppr&&!ad.cacheComponents&&(0,H.isInterceptionRouteAppPath)(aa)?null:L.match(aa,$),ak=!!$.routes[aa],al=a.headers["user-agent"]||"",am=(0,t.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],aq=(0,r.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr);if(!(0,h.getRequestMeta)(a,"postponed")&&ar&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,h.addRequestMeta)(a,"postponed",c)}let as=ar&&(null==(I=$.routes[ah]??$.dynamicRoutes[ah])?void 0:I.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?(0,h.getRequestMeta)(a,"postponed"):void 0,aw=as&&ap&&!ao;N&&(aw=aw&&!!av);let ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=(!an||!as)&&(!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots)),az=!!((aj||ak||$.routes[ah])&&!(an&&as)),aA=as&&!0===ad.cacheComponents,aB=!0===L.isDev||!az||"string"==typeof av||(aA&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aw&&!N:aw),aC=an&&as,aD=null;_||!az||aB||aq||av||aw||(aD=aa);let aE=aD;!aE&&L.isDev&&(aE=aa),L.isDev||_||!az||!ap||aw||(0,k.d)(a.headers);let aF={...D,tree:J,GlobalError:C.default,handler:M,routeModule:L,__next_app__:K};X&&Y&&(0,o.setManifestsSingleton)({page:O,clientReferenceManifest:Y,serverActionsManifest:X});let aG=a.method||"GET",aH=(0,g.getTracer)(),aI=aH.getActiveScopeSpan(),aJ=async()=>((null==ac?void 0:ac.render404)?await ac.render404(a,b,ae,!1):b.end("This page could not be found"),null);try{let f=L.getVaryHeader(aa,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aH.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aG} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aG} ${O}`)})},m=(0,h.getRequestMeta)(a,"incrementalCache"),o=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let l={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aF,Component:(0,j.T)(aF),params:S,routeModule:L,page:O,postponed:f,shouldWaitOnAllReady:aC,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||aB,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,setCacheStatus:null==ac?void 0:ac.setCacheStatus,setIsrStatus:null==ac?void 0:ac.setIsrStatus,setReactDebugChannel:null==ac?void 0:ac.setReactDebugChannel,sendErrorsToBrowser:null==ac?void 0:ac.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),L.relativeProjectDir),isDraftMode:_,botType:am,isOnDemandRevalidate:ai,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,images:ad.images,previewProps:$.preview,deploymentId:ag,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:m,cacheLifeProfiles:ad.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...at||au?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:at}:{},cacheComponents:!!ad.cacheComponents,experimental:{isRoutePPREnabled:as,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ad.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,B.parseMaxPostponedStateSize)(ad.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>L.onRequestError(a,b,d,e,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}};at&&(l.renderOpts.nextExport=!0,l.renderOpts.supportsDynamicResponse=!1,l.renderOpts.isDebugDynamicAccesses=at),i&&(l.renderOpts.supportsDynamicResponse=!1);let n=await k(e,l),{metadata:o}=n,{cacheControl:p,headers:q={},fetchTags:r,fetchMetrics:s}=o;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,az&&(null==p?void 0:p.revalidate)===0&&!L.isDev&&!as){let a=o.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
-
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:n,headers:q,rscData:o.flightData,postponed:o.postponed,status:o.statusCode,segmentData:o.segmentData},cacheControl:p}},p=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===L.isDev,q=c||b.writableEnded;if(ai&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(k=(0,v.parseFallbackField)(aj.fallback)),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(al)&&(!as||an)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!N&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aE&&!q&&!_&&T&&(l||!ak)){if((l||aj)&&k===v.FallbackMode.NOT_FOUND){if(ad.experimental.adapterPath)return await aJ();throw new A.NoFallbackError}if(as&&(ad.cacheComponents?!aw:!ap)){let b=l&&"string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:ah,c=l&&(null==aj?void 0:aj.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,L):null,f=await L.handleResponse({cacheKey:b,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:as,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:c,forceStaticRender:!1}),waitUntil:d.waitUntil,isMinimalMode:N});if(null===f)return null;if(f)return delete f.cacheControl,f}}let r=ai||g||!av?void 0:av;if(aA&&!N&&m&&aw&&!j){let b=await m.get(aa,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,G.scheduleOnNextTick)(async()=>{let b=L.getResponseCache(a);try{await b.revalidate(aa,m,as,!1,a=>p({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(at&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=l&&(null==aj?void 0:aj.fallbackRouteParams)&&(0,h.getRequestMeta)(a,"renderFallbackShell")?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,L):null;return o({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},q=async c=>{var f,g,i,j,k;let l,m=await L.handleResponse({cacheKey:aD,responseGenerator:a=>p({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil,isMinimalMode:N});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!m){if(aD)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;az&&!aw&&(!n||ao)&&(N||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(av)l={revalidate:0,expire:void 0};else if(aw)l={revalidate:0,expire:void 0};else if(!L.isDev)if(_)l={revalidate:0,expire:void 0};else if(az){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];N&&az&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aA?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(q.headers){let a={...q.headers};for(let[c,d]of(N&&az||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=q.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(N&&az&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||ap&&as||(b.statusCode=q.status),!N&&q.status&&E.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),n&&!aw&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(ad.cacheComponents)return b.statusCode=404,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new F.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(!n||N||ap)return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:m.cacheControl});if(at)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let A=new TransformStream;return v.push(A.readable),o({span:c,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(A.writable)}).catch(a=>{A.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aI)return await aH.withPropagatedContext(a.headers,()=>aH.trace(i.BaseServerSpan.handleRequest,{spanName:`${aG} ${O}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aG,"http.target":a.url}},q));await q(aI)}catch(b){throw b instanceof A.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:O,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:az,isOnDemandRevalidate:ai})},!1,ac),b}}},66326:(a,b,c)=>{Promise.resolve().then(c.bind(c,79436))},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},79327:a=>{"use strict";a.exports=require("node:process")},79436:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewPage() from the server but ReviewPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx","ReviewPage")},81729:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>z});var d=c(48249),e=c(67484),f=c(44384),g=c(44741),h=c(30068),i=c(3532),j=c(90500);function k({selectedText:a,position:b,onSubmit:c,onCancel:g}){let{t:h}=(0,f.Bd)(),[i,j]=(0,e.useState)(""),k=(0,e.useRef)(null),l=(0,e.useRef)(null),m=()=>{let a=i.trim();a&&c(a)},n=a.length>60?a.slice(0,57)+"...":a;return(0,d.jsxs)("div",{ref:l,className:"absolute z-50 w-96 bg-card border border-border rounded-lg shadow-lg",style:{top:b.top,left:Math.max(8,b.left-192)},children:[(0,d.jsxs)("div",{className:"px-3 pt-3 pb-2",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-1",children:h("review.selectedText")}),(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r truncate",children:n})]}),(0,d.jsx)("div",{className:"px-3 pb-2",children:(0,d.jsx)("textarea",{ref:k,value:i,onChange:a=>j(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),m())},placeholder:h("review.addCommentPlaceholder"),className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:4})}),(0,d.jsxs)("div",{className:"px-3 pb-3 flex items-center justify-between",children:[(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:h("review.enterSubmitHint")}),(0,d.jsxs)("div",{className:"flex gap-1",children:[(0,d.jsx)("button",{onClick:g,className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:h("common.cancel")}),(0,d.jsx)("button",{onClick:m,disabled:!i.trim(),className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:h("review.commentBtn")})]})]})]})}let l={bg:"rgba(234, 179, 8, 0.15)",bgActive:"rgba(234, 179, 8, 0.4)",bgPending:"rgba(234, 179, 8, 0.3)",border:"rgba(234, 179, 8, 0.7)",borderPending:"rgba(234, 179, 8, 0.9)"},m={bg:"rgba(234, 179, 8, 0.1)",bgActive:"rgba(234, 179, 8, 0.3)",bgPending:"rgba(234, 179, 8, 0.2)",border:"rgba(234, 179, 8, 0.5)",borderPending:"rgba(234, 179, 8, 0.7)"};function n({rects:a,activeCommentId:b,pendingCommentId:c,isDark:e}){if(0===a.length)return null;let f=e?m:l;return(0,d.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:0,overflow:"visible",pointerEvents:"none",zIndex:5},children:a.map((a,e)=>{let g=a.commentId===b,h=a.commentId===c,i=f.bg;return h?i=f.bgPending:g&&(i=f.bgActive),(0,d.jsx)("div",{"data-comment-id":a.commentId,style:{position:"absolute",top:a.top,left:a.left,width:a.width,height:a.height,backgroundColor:i,borderBottom:`1px solid ${h?f.borderPending:f.border}`,borderRadius:1,pointerEvents:"none"}},`${a.commentId}-${e}`)})})}let o=[j.W];function p({content:a,comments:b,activeCommentId:c,isActive:f,onAddComment:j,onHighlightClick:l,scrollToHighlightRef:m}){let{resolvedTheme:p}=(0,i.D)(),q=(0,e.useRef)(null),r=(0,e.useRef)(null),[s,t]=(0,e.useState)(null),{rects:u,scrollToHighlight:v}=function(a,b,c,d){let[f,g]=(0,e.useState)([]),h=(0,e.useRef)(0),i=(0,e.useRef)(c);(0,e.useCallback)(()=>{h.current&&cancelAnimationFrame(h.current),h.current=requestAnimationFrame(()=>{let c=a.current,d=b.current;if(!c||!d)return;let e=function(a,b,c){let d=[],e=b.getBoundingClientRect(),f=function(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0;for(;c.nextNode();){let a=c.currentNode,e=a.textContent?.length||0;b.push({node:a,start:d,end:d+e}),d+=e}return b}(a);if(0===f.length)return d;for(let a of c){let{startOffset:c,endOffset:g}=a.anchor;if(c>=g)continue;let h=null,i=0,j=null,k=0;for(let{node:a,start:b,end:d}of f)if(!h&&c>=b&&c<d&&(h=a,i=c-b),g>b&&g<=d){j=a,k=g-b;break}if(!h||!j)continue;let l=document.createRange();try{l.setStart(h,i),l.setEnd(j,k)}catch{continue}for(let c of l.getClientRects())c.width<1||c.height<1||d.push({commentId:a.id,top:c.top-e.top+b.scrollTop,left:c.left-e.left+b.scrollLeft,width:c.width,height:c.height})}return d}(c,d,i.current);g(a=>a.length===e.length&&a.every((a,b)=>a.commentId===e[b].commentId&&.5>Math.abs(a.top-e[b].top)&&.5>Math.abs(a.left-e[b].left)&&.5>Math.abs(a.width-e[b].width)&&.5>Math.abs(a.height-e[b].height))?a:e)})},[a,b]);let j=(0,e.useCallback)(a=>{let c=b.current;if(!c)return;let d=f.find(b=>b.commentId===a);if(!d)return;let e=c.clientHeight;c.scrollTo({top:d.top-e/2+d.height/2,behavior:"smooth"})},[b,f]);return{rects:f,scrollToHighlight:j}}(q,r,(0,e.useMemo)(()=>s?[...b,{id:"__pending__",author:"",authorId:"",content:"",anchor:s.anchor,createdAt:0,replies:[]}]:b,[b,s]),0),w=(0,e.useRef)(u),x=(0,e.useCallback)(a=>{let b=window.getSelection(),c=b&&!b.isCollapsed;if(c&&f&&q.current){let c=b.getRangeAt(0);if(q.current.contains(c.startContainer)&&q.current.contains(c.endContainer)){let d=function(a,b){let c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0,e=-1,f=-1;for(;c.nextNode();){let a=c.currentNode,g=a.textContent?.length||0;if(a===b.startContainer&&(e=d+b.startOffset),a===b.endContainer){f=d+b.endOffset;break}d+=g}if(-1===e||-1===f||e>=f)return null;let g=a.textContent?.slice(e,f)||"";return g.trim()?{startOffset:e,endOffset:f,selectedText:g}:null}(q.current,c);if(d){let c=r.current??q.current.parentElement,e=c.getBoundingClientRect();t({anchor:d,position:{top:a.clientY-e.top+c.scrollTop+8,left:a.clientX-e.left}}),b.removeAllRanges();return}}}if(!c&&!s){let b=r.current;if(!b)return;let c=b.getBoundingClientRect(),d=a.clientX-c.left+b.scrollLeft,e=a.clientY-c.top+b.scrollTop;for(let a of w.current)if("__pending__"!==a.commentId&&d>=a.left&&d<=a.left+a.width&&e>=a.top&&e<=a.top+a.height)return void l(a.commentId)}},[f,s,l]),y=(0,e.useCallback)(a=>{s&&(j(a,s.anchor),t(null),window.getSelection()?.removeAllRanges())},[s,j]),z=(0,e.useCallback)(()=>{t(null),window.getSelection()?.removeAllRanges()},[]);return(0,d.jsxs)("div",{className:"h-full flex bg-card",children:[(0,d.jsx)(h.l,{content:a,containerRef:r}),(0,d.jsxs)("div",{ref:r,className:"flex-1 overflow-auto relative",onMouseUp:x,children:[(0,d.jsx)("div",{ref:q,className:"p-6 review-markdown-container",children:(0,d.jsx)(g.T,{content:a,rehypePlugins:o})}),(0,d.jsx)(n,{rects:u,activeCommentId:c,pendingCommentId:s?"__pending__":null,isDark:"dark"===p}),s&&(0,d.jsx)(k,{selectedText:s.anchor.selectedText,position:s.position,onSubmit:y,onCancel:z})]})]})}var q=c(41564);function r(a){let b=new Date(a),c=Math.floor((new Date().getTime()-b.getTime())/6e4);if(c<1)return q.A.t("common.justNow");if(c<60)return q.A.t("common.minutesAgo",{count:c});let d=Math.floor(c/60);if(d<24)return q.A.t("common.hoursAgo",{count:d});let e=Math.floor(d/24);return e<7?q.A.t("common.daysAgo",{count:e}):b.toLocaleDateString()}let s=(0,e.forwardRef)(function({comment:a,isActive:b,isOwnComment:c,isAdmin:g,currentAuthorId:h,canInteract:i,userNameMap:j,onClick:k,onDelete:l,onEdit:m,onToggleClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q},s){let{t}=(0,f.Bd)(),u=(a,b)=>j[a]||b,[v,w]=(0,e.useState)(""),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(null),[F,G]=(0,e.useState)(""),H=()=>{let a=v.trim();a&&(o(a),w(""),y(!1))},I=()=>{let b=B.trim();b&&b!==a.content&&m(b),A(!1)},J=()=>{if(!D)return;let b=F.trim(),c=a.replies.find(a=>a.id===D);!b||c&&b===c.content||q(D,b),E(null)},K=a.anchor.selectedText.length>80?a.anchor.selectedText.slice(0,77)+"...":a.anchor.selectedText,L=g||c||i;return a.closed?(0,d.jsxs)("div",{ref:s,className:"rounded-lg border border-border/50 bg-card/50 opacity-60 hover:opacity-80 transition-all cursor-pointer px-3 py-2 flex items-center gap-2",onClick:k,children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground truncate flex-1",children:K}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 flex-shrink-0",children:t("review.closedLabel")}),L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!1)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors flex-shrink-0",title:t("review.reopenReview"),children:t("review.reopen")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-500 transition-colors flex-shrink-0",title:t("review.deleteComment"),children:t("common.delete")})]}):(0,d.jsxs)("div",{ref:s,className:`rounded-lg border transition-all cursor-pointer ${b?"border-brand bg-brand/5 shadow-sm":"border-border bg-card hover:border-muted-foreground/30"}`,onClick:k,children:[(0,d.jsx)("div",{className:"px-3 pt-3 pb-1",children:(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r text-muted-foreground truncate",children:K})}),(0,d.jsxs)("div",{className:"px-3 pt-2 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:r(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),!z&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.closeComment"),children:t("review.closeComment")}),c&&i&&(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),C(a.content),A(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editComment"),children:t("common.edit")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-500 transition-colors",title:t("review.deleteComment"),children:t("common.delete")})]})]}),(0,d.jsx)("div",{className:"px-3 pt-1 pb-2",children:z?(0,d.jsxs)("div",{onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:B,onChange:a=>C(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),I()),"Escape"===a.key&&A(!1)},className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:3,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>A(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:I,disabled:!B.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})}),a.replies.length>0&&(0,d.jsx)("div",{className:"mx-3 border-t border-border",children:a.replies.map(a=>(0,d.jsxs)("div",{className:"py-2 border-b border-border last:border-b-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-accent text-muted-foreground flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:r(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),D!==a.id&&(a.authorId===h&&i||g)&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.authorId===h&&i&&(0,d.jsx)("button",{onClick:b=>{var c;b.stopPropagation(),c=a.id,G(a.content),E(c)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editReply"),children:t("common.edit")}),(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),p(a.id)},className:"text-[10px] text-muted-foreground hover:text-red-500 transition-colors",title:t("review.deleteReply"),children:t("common.delete")})]})]}),D===a.id?(0,d.jsxs)("div",{className:"mt-1 pl-6",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:F,onChange:a=>G(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),J()),"Escape"===a.key&&E(null)},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>E(null),className:"px-2 py-0.5 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:J,disabled:!F.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm mt-0.5 pl-6 whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})]},a.id))}),(0,d.jsx)("div",{className:"px-3 pb-2 pt-1",children:x?(0,d.jsxs)("div",{className:"mt-1",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:v,onChange:a=>w(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),H()),"Escape"===a.key&&y(!1)},placeholder:t("review.replyPlaceholder"),className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>y(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:H,disabled:!v.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("review.reply")})]})]}):i&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),y(!0)},className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:t("review.reply")})})]})});function t({comments:a,activeCommentId:b,currentAuthorId:c,isActive:g,isAdmin:h,userNameMap:i,onCommentClick:j,onNavigateComment:k,onDeleteComment:l,onEditComment:m,onToggleCommentClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q,scrollToCommentRef:r}){let{t}=(0,f.Bd)(),u=(0,e.useRef)(new Map),v=(0,e.useRef)(null);(0,e.useCallback)(a=>{let b=u.current.get(a);b&&b.scrollIntoView({behavior:"smooth",block:"center"})},[]);let w=[...a].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset);return(0,d.jsxs)("div",{ref:v,className:"h-full flex flex-col bg-card",children:[(0,d.jsxs)("div",{className:"px-4 py-2 bg-secondary border-b border-border flex-shrink-0 flex items-center",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:0===a.length?t("review.selectTextToComment"):b?t("review.commentsNavCount",{current:w.findIndex(a=>a.id===b)+1,total:a.length}):t("review.commentsCount",{count:a.length})}),a.length>0&&(0,d.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,d.jsxs)("button",{onClick:()=>k("prev"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors flex items-center gap-0.5",title:t("review.prevComment"),children:[(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})}),t("review.prevComment")]}),(0,d.jsxs)("button",{onClick:()=>k("next"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors flex items-center gap-0.5",title:t("review.nextComment"),children:[t("review.nextComment"),(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})]})]})]}),(0,d.jsx)("div",{className:"flex-1 overflow-auto",children:0===w.length?(0,d.jsx)("div",{className:"flex items-center justify-center h-full text-muted-foreground text-sm",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-2xl mb-2",children:"\uD83D\uDCAC"}),(0,d.jsx)("div",{children:t("review.selectTextHint")})]})}):(0,d.jsx)("div",{className:"p-3 space-y-3",children:w.map(a=>(0,d.jsx)(s,{ref:b=>{b?u.current.set(a.id,b):u.current.delete(a.id)},comment:a,isActive:a.id===b,isOwnComment:a.authorId===c,isAdmin:h,currentAuthorId:c,canInteract:g,userNameMap:i,onClick:()=>j(a.id),onDelete:()=>l(a.id),onEdit:b=>m(a.id,b),onToggleClosed:b=>n(a.id,b),onAddReply:b=>o(a.id,b),onDeleteReply:b=>p(a.id,b),onEditReply:(b,c)=>q(a.id,b,c)},a.id))})})]})}function u({identity:a}){let{t:b}=(0,f.Bd)(),[c,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(""),j=(0,e.useRef)(null),k=()=>{let b=h.trim();b&&b!==a.name&&a.confirmName(b),g(!1)};return(0,d.jsxs)("div",{className:"relative",ref:j,children:[(0,d.jsxs)("button",{onClick:()=>{c||i(a.name),g(!c)},className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors flex items-center gap-1",title:b("review.identitySettings"),children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold",children:a.name.charAt(0)}),(0,d.jsx)("span",{className:"text-muted-foreground",children:a.name})]}),c&&(0,d.jsxs)("div",{className:"absolute right-0 top-full mt-1 w-56 bg-card border border-border rounded-lg shadow-lg p-3 z-50",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:b("review.reviewNickname")}),(0,d.jsx)("input",{type:"text",value:h,onChange:a=>i(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||k()},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,d.jsx)("button",{onClick:()=>{a.randomize(),g(!1)},className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:b("review.random")}),(0,d.jsx)("div",{className:"flex-1"}),(0,d.jsx)("button",{onClick:()=>g(!1),className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:b("common.cancel")}),(0,d.jsx)("button",{onClick:k,className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors",children:b("common.save")})]})]})]})}function v({currentReviewId:a,onSelect:b,readOnly:c,refreshTrigger:g,onViewComments:h}){let{t:i}=(0,f.Bd)(),[j,k]=(0,e.useState)([]),[l,m]=(0,e.useState)(null),[n,o]=(0,e.useState)(null),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(null),t=(0,e.useRef)(null),[u,v]=(0,e.useState)(null);(0,e.useCallback)(async()=>{try{let a=await fetch("/api/review");if(a.ok){let b=await a.json();k(b.reviews||[])}}catch{}},[]);let w=(0,e.useCallback)(async(a,b,c)=>{if(a.stopPropagation(),!n){o(b);try{(await fetch(`/api/review/${b}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({active:!c})})).ok&&k(a=>a.map(a=>a.id===b?{...a,active:!c}:a))}catch{}o(null)}},[n]),x=(0,e.useCallback)(async(c,d)=>{if(c.stopPropagation(),!l){m(d);try{if((await fetch(`/api/review/${d}`,{method:"DELETE"})).ok&&(k(a=>a.filter(a=>a.id!==d)),d===a)){let a=j.filter(a=>a.id!==d);a.length>0&&b(a[0].id)}}catch{}m(null)}},[l,a,j,b]),y=(0,e.useCallback)((a,b)=>{t.current=b,a.dataTransfer.effectAllowed="move";let c=a.currentTarget;requestAnimationFrame(()=>c.classList.add("opacity-30"))},[]),z=(0,e.useCallback)(a=>{t.current=null,v(null),a.currentTarget instanceof HTMLElement&&a.currentTarget.classList.remove("opacity-30")},[]),A=(0,e.useCallback)((a,b)=>{a.preventDefault(),a.dataTransfer.dropEffect="move",t.current&&t.current!==b&&v(b)},[]),B=(0,e.useCallback)(async(a,b)=>{a.preventDefault(),v(null);let c=t.current;t.current=null,c&&c!==b&&k(a=>{let d=[...a],e=d.findIndex(a=>a.id===c),f=d.findIndex(a=>a.id===b);if(-1===e||-1===f)return a;let[g]=d.splice(e,1);return d.splice(f,0,g),fetch("/api/review/order",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({order:d.map(a=>a.id)})}).catch(()=>{}),d})},[]),C=c?j.filter(a=>a.active):j,D=!c;return p?(0,d.jsxs)("div",{className:"h-full flex flex-col items-center bg-secondary/50 w-9 flex-shrink-0 border-r border-border",children:[(0,d.jsx)("button",{onClick:()=>q(!1),className:"p-1.5 mt-2 text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",title:i("review.expandList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 mt-2",style:{writingMode:"vertical-rl"},children:c?i("review.nDocs",{count:C.length}):i("review.nReviews",{count:C.length})})]}):(0,d.jsxs)("div",{className:"h-full flex flex-col bg-secondary/50 w-[200px] flex-shrink-0 border-r border-border",children:[(0,d.jsxs)("div",{className:"px-3 py-2 border-b border-border flex-shrink-0 flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:c?i("review.docList"):i("review.allReviewsList")}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground/60 ml-1.5",children:C.length})]}),(0,d.jsx)("button",{onClick:()=>q(!0),className:"p-0.5 text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",title:i("review.collapseList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})})})]}),(0,d.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[C.map(e=>(0,d.jsxs)("div",{draggable:D,onDragStart:D?a=>y(a,e.id):void 0,onDragEnd:D?z:void 0,onDragOver:D?a=>A(a,e.id):void 0,onDrop:D?a=>B(a,e.id):void 0,onMouseEnter:a=>{let b=a.currentTarget.getBoundingClientRect();s({id:e.id,text:e.title,top:b.top+b.height/2,left:b.right})},onMouseLeave:()=>s(a=>a?.id===e.id?null:a),onClick:()=>b(e.id),className:`group px-3 py-2 cursor-pointer border-b transition-colors ${u===e.id?"border-b-brand border-t border-t-transparent":"border-b-border/50"} ${e.id===a?"bg-accent/60":"hover:bg-accent/30"}`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[!c&&(0,d.jsx)("span",{className:`w-1.5 h-1.5 rounded-full flex-shrink-0 ${e.active?"bg-green-500":"bg-muted-foreground/40"}`}),(0,d.jsx)("span",{className:"text-xs truncate flex-1",children:e.title}),e.commentCount>0&&h&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),h(e.id)},className:"flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-brand hover:!bg-brand/10 transition-colors",title:i("review.viewComments"),children:(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})})}),!c&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{onClick:a=>w(a,e.id,e.active),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-foreground hover:!bg-accent transition-colors ${n===e.id?"opacity-50 pointer-events-none":""}`,title:e.active?i("review.closeReview"):i("review.reopenReview"),children:e.active?(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]}):(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64A9 9 0 0 1 12 21 9 9 0 0 1 5.64 6.64"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]})}),(0,d.jsx)("button",{onClick:a=>x(a,e.id),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-red-500 hover:!bg-red-500/10 transition-colors ${l===e.id?"opacity-50 pointer-events-none":""}`,title:i("review.deleteReview"),children:(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,d.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})})]})]}),e.commentCount>0&&(0,d.jsx)("div",{className:`text-[10px] text-muted-foreground/50 mt-0.5 ${c?"":"pl-3"}`,children:i("review.nComments",{count:e.commentCount})})]},e.id)),0===C.length&&(0,d.jsx)("div",{className:"px-3 py-4 text-xs text-muted-foreground/50 text-center",children:c?i("review.noOpenDocs"):i("review.noReviews")})]}),r&&(0,d.jsx)("div",{className:"fixed z-50 px-2 py-1 text-xs bg-popover text-popover-foreground border border-border rounded shadow-md whitespace-nowrap pointer-events-none",style:{top:r.top,left:r.left+8,transform:"translateY(-50%)"},children:r.text})]})}function w({currentName:a,onConfirm:b,onSkip:c}){let{t:g}=(0,f.Bd)(),[h,i]=(0,e.useState)(a),j=(0,e.useRef)(null),k=()=>{let a=h.trim();a&&b(a)};return(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",children:(0,d.jsxs)("div",{className:"bg-card border border-border rounded-xl shadow-2xl w-80 p-5",children:[(0,d.jsx)("h2",{className:"text-base font-semibold mb-1",children:g("review.setNickname")}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:g("review.nicknameHint")}),(0,d.jsx)("input",{ref:j,type:"text",value:h,onChange:a=>i(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||k(),"Escape"===a.key&&c()},placeholder:g("review.nicknamePlaceholder"),maxLength:20,className:"w-full px-3 py-2 text-sm bg-secondary border border-border rounded-lg focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,d.jsx)("button",{onClick:c,className:"px-3 py-1.5 text-xs rounded-lg hover:bg-accent transition-colors text-muted-foreground",children:g("review.skipForNow")}),(0,d.jsx)("button",{onClick:k,disabled:!h.trim(),className:"px-4 py-1.5 text-xs rounded-lg bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:g("common.save")})]})]})})}var x=c(15622);c(55511);var y=c(81749);function z({reviewId:a}){let{t:b}=(0,f.Bd)(),[c,g]=(0,e.useState)(a),[h,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!0),[m,n]=(0,e.useState)(null),[o,r]=(0,e.useState)(null),[s,z]=(0,e.useState)(!1),A=function(){let[a,b]=(0,e.useState)(""),[c,d]=(0,e.useState)(""),[f,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!0),j=(0,e.useCallback)(a=>{let b=a.trim();b&&(d(b),g(!0),fetch("/api/review/identify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:b})}).catch(()=>{}))},[]);return{authorId:a,name:c,nameConfirmed:f,loading:h,setName:(0,e.useCallback)(a=>{let b=a.trim();b&&(d(b),fetch("/api/review/identify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:b})}).catch(()=>{}))},[]),confirmName:j,randomize:(0,e.useCallback)(()=>{let a,b,c,e;d((a=q.A.t("reviewUtils.adjectives",{returnObjects:!0}),b=q.A.t("reviewUtils.nouns",{returnObjects:!0}),c=a[Math.floor(Math.random()*a.length)],e=b[Math.floor(Math.random()*b.length)],`${c}${e}`))},[])}}(),{resolvedTheme:B,setTheme:C}=(0,i.D)(),[D,E]=(0,e.useState)({}),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)(!1),J=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/review/users");if(a.ok){let b=await a.json(),c={};for(let[a,d]of Object.entries(b.users))c[a]=d.name;E(c)}}catch{}},[]),K=(0,e.useRef)(void 0),L=(0,e.useRef)(void 0),M=(0,e.useCallback)(a=>{a!==c&&(g(a),n(null),r(null),window.history.replaceState(null,"",`/review/${a}`))},[c]),N=(0,e.useCallback)(async()=>{try{let a=await fetch(`/api/review/${c}`);if(!a.ok)return void(404===a.status?n(b("review.reviewNotExist")):n(b("review.loadFailed")));let d=await a.json();j(d.review),n(null)}catch{n(b("review.networkError"))}finally{l(!1)}},[c]),O=(0,e.useCallback)(async(a,d)=>{if(A.authorId)try{(await fetch(`/api/review/${c}/comments`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({author:A.name,authorId:A.authorId,content:a,anchor:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.addCommentFailed"),"error")}},[c,A,N]),P=(0,e.useCallback)(async a=>{try{(await fetch(`/api/review/${c}/comments?commentId=${a}`,{method:"DELETE"})).ok&&await N()}catch{(0,y.oR)(b("toast.deleteCommentFailed"),"error")}},[c,N]),Q=(0,e.useCallback)(async(a,d)=>{try{(await fetch(`/api/review/${c}/comments`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,content:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.editCommentFailed"),"error")}},[c,N]),R=(0,e.useCallback)(async(a,d)=>{try{(await fetch(`/api/review/${c}/comments`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,closed:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.operationFailed"),"error")}},[c,N,b]),S=(0,e.useCallback)(async(a,d)=>{if(A.authorId)try{(await fetch(`/api/review/${c}/replies`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,author:A.name,authorId:A.authorId,content:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.addReplyFailed"),"error")}},[c,A,N]),T=(0,e.useCallback)(async(a,d)=>{try{(await fetch(`/api/review/${c}/replies?commentId=${a}&replyId=${d}`,{method:"DELETE"})).ok&&await N()}catch{(0,y.oR)(b("toast.deleteReplyFailed"),"error")}},[c,N]),U=(0,e.useCallback)(async(a,d,e)=>{try{(await fetch(`/api/review/${c}/replies`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,replyId:d,content:e})})).ok&&await N()}catch{(0,y.oR)(b("toast.editReplyFailed"),"error")}},[c,N]),V=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/review/share-info"),d=await a.json(),e=d.shareBase?`${d.shareBase}/review/${c}`:window.location.href;await navigator.clipboard.writeText(e),(0,y.oR)(b("toast.linkCopied"),"success")}catch{(0,y.oR)(b("toast.copyFailed"),"error")}},[c]),W=(0,e.useCallback)(a=>{r(a),L.current?.(a)},[]),X=(0,e.useCallback)(a=>{r(a),K.current?.(a)},[]),Y=(0,e.useCallback)(a=>{let b;if(!h||0===h.comments.length)return;let c=[...h.comments].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset),d=o?c.findIndex(a=>a.id===o):-1;b="next"===a?d<c.length-1?d+1:0:d>0?d-1:c.length-1;let e=c[b];r(e.id),L.current?.(e.id),K.current?.(e.id)},[h,o]);return(0,d.jsxs)("div",{className:"h-screen flex flex-col bg-background text-foreground overflow-hidden",children:[F&&(0,d.jsx)(w,{currentName:A.name,onConfirm:a=>{A.confirmName(a),G(!1),J()},onSkip:()=>G(!1)}),h&&(0,d.jsx)(x._,{isOpen:H,onClose:()=>I(!1),comments:h.comments,reviewTitle:h.title,userNameMap:D,onCommentClick:a=>{r(a),L.current?.(a),K.current?.(a)}}),h&&(0,d.jsx)("div",{className:"py-2 bg-secondary border-b border-border flex-shrink-0 flex justify-center",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] px-4 flex items-center gap-3",children:[(0,d.jsx)("h1",{className:"text-sm font-semibold truncate",children:h.title}),(0,d.jsx)("span",{className:"text-[11px] text-muted-foreground flex-shrink-0",children:b("review.updatedAt",{date:new Date(h.updatedAt||h.createdAt).toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})}),(0,d.jsx)("span",{className:"flex-1"}),!s&&(0,d.jsx)("span",{className:`px-2 py-0.5 text-xs rounded-full ${h.active?"bg-green-500/15 text-green-600 dark:text-green-400":"bg-muted text-muted-foreground"}`,children:h.active?b("review.active"):b("review.closed")}),(0,d.jsxs)("button",{onClick:()=>I(!0),className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground flex items-center gap-1",title:b("review.viewAllComments"),children:[(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),b("review.viewCommentBtn")]}),(0,d.jsx)("button",{onClick:V,className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:b("review.copyLink")}),(0,d.jsx)("button",{onClick:()=>C("dark"===B?"light":"dark"),className:"p-1 text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",title:"dark"===B?b("settings.switchLight"):b("settings.switchDark"),children:"dark"===B?(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,d.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,d.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,d.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,d.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,d.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,d.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,d.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,d.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]}):(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})}),(0,d.jsx)(u,{identity:A})]})}),(0,d.jsx)("div",{className:"flex-1 flex justify-center overflow-hidden",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] flex overflow-hidden",children:[(0,d.jsx)(v,{currentReviewId:c,onSelect:M,readOnly:!s,refreshTrigger:h?.comments.length,onViewComments:a=>{a!==c&&M(a),I(!0)}}),k?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsx)("div",{className:"text-muted-foreground",children:b("common.loading")})}):m||!h?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-xl mb-2",children:m||b("review.reviewNotFound")}),(0,d.jsx)("div",{className:"text-sm text-muted-foreground",children:b("review.checkLink")})]})}):(0,d.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,d.jsx)("div",{className:"flex-1 h-full border-r border-border overflow-hidden",children:(0,d.jsx)(p,{content:h.content,comments:h.comments,activeCommentId:o,isActive:h.active,onAddComment:O,onHighlightClick:X,scrollToHighlightRef:L})}),(0,d.jsx)("div",{className:"w-[360px] h-full overflow-hidden flex-shrink-0",children:(0,d.jsx)(t,{comments:h.comments,activeCommentId:o,currentAuthorId:A.authorId,isActive:h.active,isAdmin:s,userNameMap:D,onCommentClick:W,onNavigateComment:Y,onDeleteComment:P,onEditComment:Q,onToggleCommentClosed:R,onAddReply:S,onDeleteReply:T,onEditReply:U,scrollToCommentRef:K})})]})]})})]})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{"use strict";a.exports=require("net")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,6117,4793,6443,7514,7284],()=>b(b.s=63129));module.exports=c})();
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:n,headers:q,rscData:o.flightData,postponed:o.postponed,status:o.statusCode,segmentData:o.segmentData},cacheControl:p}},p=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===L.isDev,q=c||b.writableEnded;if(ai&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(k=(0,v.parseFallbackField)(aj.fallback)),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(al)&&(!as||an)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!N&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aE&&!q&&!_&&T&&(l||!ak)){if((l||aj)&&k===v.FallbackMode.NOT_FOUND){if(ad.experimental.adapterPath)return await aJ();throw new A.NoFallbackError}if(as&&(ad.cacheComponents?!aw:!ap)){let b=l&&"string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:ah,c=l&&(null==aj?void 0:aj.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,L):null,f=await L.handleResponse({cacheKey:b,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:as,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:c,forceStaticRender:!1}),waitUntil:d.waitUntil,isMinimalMode:N});if(null===f)return null;if(f)return delete f.cacheControl,f}}let r=ai||g||!av?void 0:av;if(aA&&!N&&m&&aw&&!j){let b=await m.get(aa,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,G.scheduleOnNextTick)(async()=>{let b=L.getResponseCache(a);try{await b.revalidate(aa,m,as,!1,a=>p({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(at&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=l&&(null==aj?void 0:aj.fallbackRouteParams)&&(0,h.getRequestMeta)(a,"renderFallbackShell")?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,L):null;return o({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},q=async c=>{var f,g,i,j,k;let l,m=await L.handleResponse({cacheKey:aD,responseGenerator:a=>p({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil,isMinimalMode:N});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!m){if(aD)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;az&&!aw&&(!n||ao)&&(N||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(av)l={revalidate:0,expire:void 0};else if(aw)l={revalidate:0,expire:void 0};else if(!L.isDev)if(_)l={revalidate:0,expire:void 0};else if(az){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];N&&az&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aA?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(q.headers){let a={...q.headers};for(let[c,d]of(N&&az||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=q.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(N&&az&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||ap&&as||(b.statusCode=q.status),!N&&q.status&&E.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),n&&!aw&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(ad.cacheComponents)return b.statusCode=404,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new F.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(!n||N||ap)return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:m.cacheControl});if(at)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let A=new TransformStream;return v.push(A.readable),o({span:c,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(A.writable)}).catch(a=>{A.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aI)return await aH.withPropagatedContext(a.headers,()=>aH.trace(i.BaseServerSpan.handleRequest,{spanName:`${aG} ${O}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aG,"http.target":a.url}},q));await q(aI)}catch(b){throw b instanceof A.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:O,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:az,isOnDemandRevalidate:ai})},!1,ac),b}}},66326:(a,b,c)=>{Promise.resolve().then(c.bind(c,79436))},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},79327:a=>{"use strict";a.exports=require("node:process")},79436:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewPage() from the server but ReviewPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx","ReviewPage")},81729:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>z});var d=c(48249),e=c(67484),f=c(44384),g=c(44741),h=c(30068),i=c(3532),j=c(90500);function k({selectedText:a,position:b,onSubmit:c,onCancel:g}){let{t:h}=(0,f.Bd)(),[i,j]=(0,e.useState)(""),k=(0,e.useRef)(null),l=(0,e.useRef)(null),m=()=>{let a=i.trim();a&&c(a)},n=a.length>60?a.slice(0,57)+"...":a;return(0,d.jsxs)("div",{ref:l,className:"absolute z-50 w-96 bg-card border border-border rounded-lg shadow-lg",style:{top:b.top,left:Math.max(8,b.left-192)},children:[(0,d.jsxs)("div",{className:"px-3 pt-3 pb-2",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-1",children:h("review.selectedText")}),(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r truncate",children:n})]}),(0,d.jsx)("div",{className:"px-3 pb-2",children:(0,d.jsx)("textarea",{ref:k,value:i,onChange:a=>j(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),m())},placeholder:h("review.addCommentPlaceholder"),className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:4})}),(0,d.jsxs)("div",{className:"px-3 pb-3 flex items-center justify-between",children:[(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:h("review.enterSubmitHint")}),(0,d.jsxs)("div",{className:"flex gap-1",children:[(0,d.jsx)("button",{onClick:g,className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:h("common.cancel")}),(0,d.jsx)("button",{onClick:m,disabled:!i.trim(),className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:h("review.commentBtn")})]})]})]})}let l={bg:"rgba(234, 179, 8, 0.15)",bgActive:"rgba(234, 179, 8, 0.4)",bgPending:"rgba(234, 179, 8, 0.3)",border:"rgba(234, 179, 8, 0.7)",borderPending:"rgba(234, 179, 8, 0.9)"},m={bg:"rgba(234, 179, 8, 0.1)",bgActive:"rgba(234, 179, 8, 0.3)",bgPending:"rgba(234, 179, 8, 0.2)",border:"rgba(234, 179, 8, 0.5)",borderPending:"rgba(234, 179, 8, 0.7)"};function n({rects:a,activeCommentId:b,pendingCommentId:c,isDark:e}){if(0===a.length)return null;let f=e?m:l;return(0,d.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:0,overflow:"visible",pointerEvents:"none",zIndex:5},children:a.map((a,e)=>{let g=a.commentId===b,h=a.commentId===c,i=f.bg;return h?i=f.bgPending:g&&(i=f.bgActive),(0,d.jsx)("div",{"data-comment-id":a.commentId,style:{position:"absolute",top:a.top,left:a.left,width:a.width,height:a.height,backgroundColor:i,borderBottom:`1px solid ${h?f.borderPending:f.border}`,borderRadius:1,pointerEvents:"none"}},`${a.commentId}-${e}`)})})}let o=[j.W];function p({content:a,comments:b,activeCommentId:c,isActive:f,onAddComment:j,onHighlightClick:l,scrollToHighlightRef:m}){let{resolvedTheme:p}=(0,i.D)(),q=(0,e.useRef)(null),r=(0,e.useRef)(null),[s,t]=(0,e.useState)(null),{rects:u,scrollToHighlight:v}=function(a,b,c,d){let[f,g]=(0,e.useState)([]),h=(0,e.useRef)(0),i=(0,e.useRef)(c);(0,e.useCallback)(()=>{h.current&&cancelAnimationFrame(h.current),h.current=requestAnimationFrame(()=>{let c=a.current,d=b.current;if(!c||!d)return;let e=function(a,b,c){let d=[],e=b.getBoundingClientRect(),f=function(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0;for(;c.nextNode();){let a=c.currentNode,e=a.textContent?.length||0;b.push({node:a,start:d,end:d+e}),d+=e}return b}(a);if(0===f.length)return d;for(let a of c){let{startOffset:c,endOffset:g}=a.anchor;if(c>=g)continue;let h=null,i=0,j=null,k=0;for(let{node:a,start:b,end:d}of f)if(!h&&c>=b&&c<d&&(h=a,i=c-b),g>b&&g<=d){j=a,k=g-b;break}if(!h||!j)continue;let l=document.createRange();try{l.setStart(h,i),l.setEnd(j,k)}catch{continue}for(let c of l.getClientRects())c.width<1||c.height<1||d.push({commentId:a.id,top:c.top-e.top+b.scrollTop,left:c.left-e.left+b.scrollLeft,width:c.width,height:c.height})}return d}(c,d,i.current);g(a=>a.length===e.length&&a.every((a,b)=>a.commentId===e[b].commentId&&.5>Math.abs(a.top-e[b].top)&&.5>Math.abs(a.left-e[b].left)&&.5>Math.abs(a.width-e[b].width)&&.5>Math.abs(a.height-e[b].height))?a:e)})},[a,b]);let j=(0,e.useCallback)(a=>{let c=b.current;if(!c)return;let d=f.find(b=>b.commentId===a);if(!d)return;let e=c.clientHeight;c.scrollTo({top:d.top-e/2+d.height/2,behavior:"smooth"})},[b,f]);return{rects:f,scrollToHighlight:j}}(q,r,(0,e.useMemo)(()=>s?[...b,{id:"__pending__",author:"",authorId:"",content:"",anchor:s.anchor,createdAt:0,replies:[]}]:b,[b,s]),0),w=(0,e.useRef)(u),x=(0,e.useCallback)(a=>{let b=window.getSelection(),c=b&&!b.isCollapsed;if(c&&f&&q.current){let c=b.getRangeAt(0);if(q.current.contains(c.startContainer)&&q.current.contains(c.endContainer)){let d=function(a,b){let c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0,e=-1,f=-1;for(;c.nextNode();){let a=c.currentNode,g=a.textContent?.length||0;if(a===b.startContainer&&(e=d+b.startOffset),a===b.endContainer){f=d+b.endOffset;break}d+=g}if(-1===e||-1===f||e>=f)return null;let g=a.textContent?.slice(e,f)||"";return g.trim()?{startOffset:e,endOffset:f,selectedText:g}:null}(q.current,c);if(d){let c=r.current??q.current.parentElement,e=c.getBoundingClientRect();t({anchor:d,position:{top:a.clientY-e.top+c.scrollTop+8,left:a.clientX-e.left}}),b.removeAllRanges();return}}}if(!c&&!s){let b=r.current;if(!b)return;let c=b.getBoundingClientRect(),d=a.clientX-c.left+b.scrollLeft,e=a.clientY-c.top+b.scrollTop;for(let a of w.current)if("__pending__"!==a.commentId&&d>=a.left&&d<=a.left+a.width&&e>=a.top&&e<=a.top+a.height)return void l(a.commentId)}},[f,s,l]),y=(0,e.useCallback)(a=>{s&&(j(a,s.anchor),t(null),window.getSelection()?.removeAllRanges())},[s,j]),z=(0,e.useCallback)(()=>{t(null),window.getSelection()?.removeAllRanges()},[]);return(0,d.jsxs)("div",{className:"h-full flex bg-card",children:[(0,d.jsx)(h.l,{content:a,containerRef:r}),(0,d.jsxs)("div",{ref:r,className:"flex-1 overflow-auto relative",onMouseUp:x,children:[(0,d.jsx)("div",{ref:q,className:"p-6 review-markdown-container",children:(0,d.jsx)(g.T,{content:a,rehypePlugins:o})}),(0,d.jsx)(n,{rects:u,activeCommentId:c,pendingCommentId:s?"__pending__":null,isDark:"dark"===p}),s&&(0,d.jsx)(k,{selectedText:s.anchor.selectedText,position:s.position,onSubmit:y,onCancel:z})]})]})}var q=c(41564);function r(a){let b=new Date(a),c=Math.floor((new Date().getTime()-b.getTime())/6e4);if(c<1)return q.A.t("common.justNow");if(c<60)return q.A.t("common.minutesAgo",{count:c});let d=Math.floor(c/60);if(d<24)return q.A.t("common.hoursAgo",{count:d});let e=Math.floor(d/24);return e<7?q.A.t("common.daysAgo",{count:e}):b.toLocaleDateString()}let s=(0,e.forwardRef)(function({comment:a,isActive:b,isOwnComment:c,isAdmin:g,currentAuthorId:h,canInteract:i,userNameMap:j,onClick:k,onDelete:l,onEdit:m,onToggleClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q},s){let{t}=(0,f.Bd)(),u=(a,b)=>j[a]||b,[v,w]=(0,e.useState)(""),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(null),[F,G]=(0,e.useState)(""),H=()=>{let a=v.trim();a&&(o(a),w(""),y(!1))},I=()=>{let b=B.trim();b&&b!==a.content&&m(b),A(!1)},J=()=>{if(!D)return;let b=F.trim(),c=a.replies.find(a=>a.id===D);!b||c&&b===c.content||q(D,b),E(null)},K=a.anchor.selectedText.length>80?a.anchor.selectedText.slice(0,77)+"...":a.anchor.selectedText,L=g||c||i;return a.closed?(0,d.jsxs)("div",{ref:s,className:"rounded-lg border border-border/50 bg-card/50 opacity-60 hover:opacity-80 transition-all cursor-pointer px-3 py-2 flex items-center gap-2",onClick:k,children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground truncate flex-1",children:K}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 flex-shrink-0",children:t("review.closedLabel")}),L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!1)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors flex-shrink-0",title:t("review.reopenReview"),children:t("review.reopen")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-500 transition-colors flex-shrink-0",title:t("review.deleteComment"),children:t("common.delete")})]}):(0,d.jsxs)("div",{ref:s,className:`rounded-lg border transition-all cursor-pointer ${b?"border-brand bg-brand/5 shadow-sm":"border-border bg-card hover:border-muted-foreground/30"}`,onClick:k,children:[(0,d.jsx)("div",{className:"px-3 pt-3 pb-1",children:(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r text-muted-foreground truncate",children:K})}),(0,d.jsxs)("div",{className:"px-3 pt-2 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:r(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),!z&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.closeComment"),children:t("review.closeComment")}),c&&i&&(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),C(a.content),A(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editComment"),children:t("common.edit")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-500 transition-colors",title:t("review.deleteComment"),children:t("common.delete")})]})]}),(0,d.jsx)("div",{className:"px-3 pt-1 pb-2",children:z?(0,d.jsxs)("div",{onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:B,onChange:a=>C(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),I()),"Escape"===a.key&&A(!1)},className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:3,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>A(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:I,disabled:!B.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})}),a.replies.length>0&&(0,d.jsx)("div",{className:"mx-3 border-t border-border",children:a.replies.map(a=>(0,d.jsxs)("div",{className:"py-2 border-b border-border last:border-b-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-accent text-muted-foreground flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:r(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),D!==a.id&&(a.authorId===h&&i||g)&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.authorId===h&&i&&(0,d.jsx)("button",{onClick:b=>{var c;b.stopPropagation(),c=a.id,G(a.content),E(c)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editReply"),children:t("common.edit")}),(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),p(a.id)},className:"text-[10px] text-muted-foreground hover:text-red-500 transition-colors",title:t("review.deleteReply"),children:t("common.delete")})]})]}),D===a.id?(0,d.jsxs)("div",{className:"mt-1 pl-6",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:F,onChange:a=>G(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),J()),"Escape"===a.key&&E(null)},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>E(null),className:"px-2 py-0.5 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:J,disabled:!F.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm mt-0.5 pl-6 whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})]},a.id))}),(0,d.jsx)("div",{className:"px-3 pb-2 pt-1",children:x?(0,d.jsxs)("div",{className:"mt-1",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:v,onChange:a=>w(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),H()),"Escape"===a.key&&y(!1)},placeholder:t("review.replyPlaceholder"),className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>y(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:H,disabled:!v.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("review.reply")})]})]}):i&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),y(!0)},className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:t("review.reply")})})]})});function t({comments:a,activeCommentId:b,currentAuthorId:c,isActive:g,isAdmin:h,userNameMap:i,onCommentClick:j,onNavigateComment:k,onDeleteComment:l,onEditComment:m,onToggleCommentClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q,scrollToCommentRef:r}){let{t}=(0,f.Bd)(),u=(0,e.useRef)(new Map),v=(0,e.useRef)(null);(0,e.useCallback)(a=>{let b=u.current.get(a);b&&b.scrollIntoView({behavior:"smooth",block:"center"})},[]);let w=[...a].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset);return(0,d.jsxs)("div",{ref:v,className:"h-full flex flex-col bg-card",children:[(0,d.jsxs)("div",{className:"px-4 py-2 bg-secondary border-b border-border flex-shrink-0 flex items-center",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:0===a.length?t("review.selectTextToComment"):b?t("review.commentsNavCount",{current:w.findIndex(a=>a.id===b)+1,total:a.length}):t("review.commentsCount",{count:a.length})}),a.length>0&&(0,d.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,d.jsxs)("button",{onClick:()=>k("prev"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors flex items-center gap-0.5",title:t("review.prevComment"),children:[(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})}),t("review.prevComment")]}),(0,d.jsxs)("button",{onClick:()=>k("next"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors flex items-center gap-0.5",title:t("review.nextComment"),children:[t("review.nextComment"),(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})]})]})]}),(0,d.jsx)("div",{className:"flex-1 overflow-auto",children:0===w.length?(0,d.jsx)("div",{className:"flex items-center justify-center h-full text-muted-foreground text-sm",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-2xl mb-2",children:"\uD83D\uDCAC"}),(0,d.jsx)("div",{children:t("review.selectTextHint")})]})}):(0,d.jsx)("div",{className:"p-3 space-y-3",children:w.map(a=>(0,d.jsx)(s,{ref:b=>{b?u.current.set(a.id,b):u.current.delete(a.id)},comment:a,isActive:a.id===b,isOwnComment:a.authorId===c,isAdmin:h,currentAuthorId:c,canInteract:g,userNameMap:i,onClick:()=>j(a.id),onDelete:()=>l(a.id),onEdit:b=>m(a.id,b),onToggleClosed:b=>n(a.id,b),onAddReply:b=>o(a.id,b),onDeleteReply:b=>p(a.id,b),onEditReply:(b,c)=>q(a.id,b,c)},a.id))})})]})}function u({identity:a}){let{t:b}=(0,f.Bd)(),[c,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(""),j=(0,e.useRef)(null),k=()=>{let b=h.trim();b&&b!==a.name&&a.confirmName(b),g(!1)};return(0,d.jsxs)("div",{className:"relative",ref:j,children:[(0,d.jsxs)("button",{onClick:()=>{c||i(a.name),g(!c)},className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors flex items-center gap-1",title:b("review.identitySettings"),children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold",children:a.name.charAt(0)}),(0,d.jsx)("span",{className:"text-muted-foreground",children:a.name})]}),c&&(0,d.jsxs)("div",{className:"absolute right-0 top-full mt-1 w-56 bg-card border border-border rounded-lg shadow-lg p-3 z-50",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:b("review.reviewNickname")}),(0,d.jsx)("input",{type:"text",value:h,onChange:a=>i(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||k()},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,d.jsx)("button",{onClick:()=>{a.randomize(),g(!1)},className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:b("review.random")}),(0,d.jsx)("div",{className:"flex-1"}),(0,d.jsx)("button",{onClick:()=>g(!1),className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:b("common.cancel")}),(0,d.jsx)("button",{onClick:k,className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors",children:b("common.save")})]})]})]})}function v({currentReviewId:a,onSelect:b,readOnly:c,refreshTrigger:g,onViewComments:h}){let{t:i}=(0,f.Bd)(),[j,k]=(0,e.useState)([]),[l,m]=(0,e.useState)(null),[n,o]=(0,e.useState)(null),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(null),t=(0,e.useRef)(null),[u,v]=(0,e.useState)(null);(0,e.useCallback)(async()=>{try{let a=await fetch("/api/review");if(a.ok){let b=await a.json();k(b.reviews||[])}}catch{}},[]);let w=(0,e.useCallback)(async(a,b,c)=>{if(a.stopPropagation(),!n){o(b);try{(await fetch(`/api/review/${b}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({active:!c})})).ok&&k(a=>a.map(a=>a.id===b?{...a,active:!c}:a))}catch{}o(null)}},[n]),x=(0,e.useCallback)(async(c,d)=>{if(c.stopPropagation(),!l){m(d);try{if((await fetch(`/api/review/${d}`,{method:"DELETE"})).ok&&(k(a=>a.filter(a=>a.id!==d)),d===a)){let a=j.filter(a=>a.id!==d);a.length>0&&b(a[0].id)}}catch{}m(null)}},[l,a,j,b]),y=(0,e.useCallback)((a,b)=>{t.current=b,a.dataTransfer.effectAllowed="move";let c=a.currentTarget;requestAnimationFrame(()=>c.classList.add("opacity-30"))},[]),z=(0,e.useCallback)(a=>{t.current=null,v(null),a.currentTarget instanceof HTMLElement&&a.currentTarget.classList.remove("opacity-30")},[]),A=(0,e.useCallback)((a,b)=>{a.preventDefault(),a.dataTransfer.dropEffect="move",t.current&&t.current!==b&&v(b)},[]),B=(0,e.useCallback)(async(a,b)=>{a.preventDefault(),v(null);let c=t.current;t.current=null,c&&c!==b&&k(a=>{let d=[...a],e=d.findIndex(a=>a.id===c),f=d.findIndex(a=>a.id===b);if(-1===e||-1===f)return a;let[g]=d.splice(e,1);return d.splice(f,0,g),fetch("/api/review/order",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({order:d.map(a=>a.id)})}).catch(()=>{}),d})},[]),C=c?j.filter(a=>a.active):j,D=!c;return p?(0,d.jsxs)("div",{className:"h-full flex flex-col items-center bg-secondary/50 w-9 flex-shrink-0 border-r border-border",children:[(0,d.jsx)("button",{onClick:()=>q(!1),className:"p-1.5 mt-2 text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",title:i("review.expandList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 mt-2",style:{writingMode:"vertical-rl"},children:c?i("review.nDocs",{count:C.length}):i("review.nReviews",{count:C.length})})]}):(0,d.jsxs)("div",{className:"h-full flex flex-col bg-secondary/50 w-[200px] flex-shrink-0 border-r border-border",children:[(0,d.jsxs)("div",{className:"px-3 py-2 border-b border-border flex-shrink-0 flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:c?i("review.docList"):i("review.allReviewsList")}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground/60 ml-1.5",children:C.length})]}),(0,d.jsx)("button",{onClick:()=>q(!0),className:"p-0.5 text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",title:i("review.collapseList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})})})]}),(0,d.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[C.map(e=>(0,d.jsxs)("div",{draggable:D,onDragStart:D?a=>y(a,e.id):void 0,onDragEnd:D?z:void 0,onDragOver:D?a=>A(a,e.id):void 0,onDrop:D?a=>B(a,e.id):void 0,onMouseEnter:a=>{let b=a.currentTarget.getBoundingClientRect();s({id:e.id,text:e.title,top:b.top+b.height/2,left:b.right})},onMouseLeave:()=>s(a=>a?.id===e.id?null:a),onClick:()=>b(e.id),className:`group px-3 py-2 cursor-pointer border-b transition-colors ${u===e.id?"border-b-brand border-t border-t-transparent":"border-b-border/50"} ${e.id===a?"bg-accent/60":"hover:bg-accent/30"}`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[!c&&(0,d.jsx)("span",{className:`w-1.5 h-1.5 rounded-full flex-shrink-0 ${e.active?"bg-green-500":"bg-muted-foreground/40"}`}),(0,d.jsx)("span",{className:"text-xs truncate flex-1",children:e.title}),e.commentCount>0&&h&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),h(e.id)},className:"flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-brand hover:!bg-brand/10 transition-colors",title:i("review.viewComments"),children:(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})})}),!c&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{onClick:a=>w(a,e.id,e.active),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-foreground hover:!bg-accent transition-colors ${n===e.id?"opacity-50 pointer-events-none":""}`,title:e.active?i("review.closeReview"):i("review.reopenReview"),children:e.active?(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]}):(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64A9 9 0 0 1 12 21 9 9 0 0 1 5.64 6.64"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]})}),(0,d.jsx)("button",{onClick:a=>x(a,e.id),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-red-500 hover:!bg-red-500/10 transition-colors ${l===e.id?"opacity-50 pointer-events-none":""}`,title:i("review.deleteReview"),children:(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,d.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})})]})]}),e.commentCount>0&&(0,d.jsx)("div",{className:`text-[10px] text-muted-foreground/50 mt-0.5 ${c?"":"pl-3"}`,children:i("review.nComments",{count:e.commentCount})})]},e.id)),0===C.length&&(0,d.jsx)("div",{className:"px-3 py-4 text-xs text-muted-foreground/50 text-center",children:c?i("review.noOpenDocs"):i("review.noReviews")})]}),r&&(0,d.jsx)("div",{className:"fixed z-50 px-2 py-1 text-xs bg-popover text-popover-foreground border border-border rounded shadow-md whitespace-nowrap pointer-events-none",style:{top:r.top,left:r.left+8,transform:"translateY(-50%)"},children:r.text})]})}function w({currentName:a,onConfirm:b,onSkip:c}){let{t:g}=(0,f.Bd)(),[h,i]=(0,e.useState)(a),j=(0,e.useRef)(null),k=()=>{let a=h.trim();a&&b(a)};return(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",children:(0,d.jsxs)("div",{className:"bg-card border border-border rounded-xl shadow-2xl w-80 p-5",children:[(0,d.jsx)("h2",{className:"text-base font-semibold mb-1",children:g("review.setNickname")}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:g("review.nicknameHint")}),(0,d.jsx)("input",{ref:j,type:"text",value:h,onChange:a=>i(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||k(),"Escape"===a.key&&c()},placeholder:g("review.nicknamePlaceholder"),maxLength:20,className:"w-full px-3 py-2 text-sm bg-secondary border border-border rounded-lg focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,d.jsx)("button",{onClick:c,className:"px-3 py-1.5 text-xs rounded-lg hover:bg-accent transition-colors text-muted-foreground",children:g("review.skipForNow")}),(0,d.jsx)("button",{onClick:k,disabled:!h.trim(),className:"px-4 py-1.5 text-xs rounded-lg bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:g("common.save")})]})]})})}var x=c(15622);c(55511);var y=c(81749);function z({reviewId:a}){let{t:b}=(0,f.Bd)(),[c,g]=(0,e.useState)(a),[h,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!0),[m,n]=(0,e.useState)(null),[o,r]=(0,e.useState)(null),[s,z]=(0,e.useState)(!1),A=function(){let[a,b]=(0,e.useState)(""),[c,d]=(0,e.useState)(""),[f,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!0),j=(0,e.useCallback)(a=>{let b=a.trim();b&&(d(b),g(!0),fetch("/api/review/identify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:b})}).catch(()=>{}))},[]);return{authorId:a,name:c,nameConfirmed:f,loading:h,setName:(0,e.useCallback)(a=>{let b=a.trim();b&&(d(b),fetch("/api/review/identify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:b})}).catch(()=>{}))},[]),confirmName:j,randomize:(0,e.useCallback)(()=>{let a,b,c,e;d((a=q.A.t("reviewUtils.adjectives",{returnObjects:!0}),b=q.A.t("reviewUtils.nouns",{returnObjects:!0}),c=a[Math.floor(Math.random()*a.length)],e=b[Math.floor(Math.random()*b.length)],`${c}${e}`))},[])}}(),{resolvedTheme:B,setTheme:C}=(0,i.D)(),[D,E]=(0,e.useState)({}),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)(!1),J=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/review/users");if(a.ok){let b=await a.json(),c={};for(let[a,d]of Object.entries(b.users))c[a]=d.name;E(c)}}catch{}},[]),K=(0,e.useRef)(void 0),L=(0,e.useRef)(void 0),M=(0,e.useCallback)(a=>{a!==c&&(g(a),n(null),r(null),window.history.replaceState(null,"",`/review/${a}`))},[c]),N=(0,e.useCallback)(async()=>{try{let a=await fetch(`/api/review/${c}`);if(!a.ok)return void(404===a.status?n(b("review.reviewNotExist")):n(b("review.loadFailed")));let d=await a.json();j(d.review),n(null)}catch{n(b("review.networkError"))}finally{l(!1)}},[c]),O=(0,e.useCallback)(async(a,d)=>{if(A.authorId)try{(await fetch(`/api/review/${c}/comments`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({author:A.name,authorId:A.authorId,content:a,anchor:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.addCommentFailed"),"error")}},[c,A,N]),P=(0,e.useCallback)(async a=>{try{(await fetch(`/api/review/${c}/comments?commentId=${a}`,{method:"DELETE"})).ok&&await N()}catch{(0,y.oR)(b("toast.deleteCommentFailed"),"error")}},[c,N]),Q=(0,e.useCallback)(async(a,d)=>{try{(await fetch(`/api/review/${c}/comments`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,content:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.editCommentFailed"),"error")}},[c,N]),R=(0,e.useCallback)(async(a,d)=>{try{(await fetch(`/api/review/${c}/comments`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,closed:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.operationFailed"),"error")}},[c,N,b]),S=(0,e.useCallback)(async(a,d)=>{if(A.authorId)try{(await fetch(`/api/review/${c}/replies`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,author:A.name,authorId:A.authorId,content:d})})).ok&&await N()}catch{(0,y.oR)(b("toast.addReplyFailed"),"error")}},[c,A,N]),T=(0,e.useCallback)(async(a,d)=>{try{(await fetch(`/api/review/${c}/replies?commentId=${a}&replyId=${d}`,{method:"DELETE"})).ok&&await N()}catch{(0,y.oR)(b("toast.deleteReplyFailed"),"error")}},[c,N]),U=(0,e.useCallback)(async(a,d,e)=>{try{(await fetch(`/api/review/${c}/replies`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({commentId:a,replyId:d,content:e})})).ok&&await N()}catch{(0,y.oR)(b("toast.editReplyFailed"),"error")}},[c,N]),V=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/review/share-info"),d=await a.json(),e=d.shareBase?`${d.shareBase}/review/${c}`:window.location.href;await navigator.clipboard.writeText(e),(0,y.oR)(b("toast.linkCopied"),"success")}catch{(0,y.oR)(b("toast.copyFailed"),"error")}},[c]),W=(0,e.useCallback)(a=>{r(a),L.current?.(a)},[]),X=(0,e.useCallback)(a=>{r(a),K.current?.(a)},[]),Y=(0,e.useCallback)(a=>{let b;if(!h||0===h.comments.length)return;let c=[...h.comments].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset),d=o?c.findIndex(a=>a.id===o):-1;b="next"===a?d<c.length-1?d+1:0:d>0?d-1:c.length-1;let e=c[b];r(e.id),L.current?.(e.id),K.current?.(e.id)},[h,o]);return(0,d.jsxs)("div",{className:"h-screen flex flex-col bg-background text-foreground overflow-hidden",children:[F&&(0,d.jsx)(w,{currentName:A.name,onConfirm:a=>{A.confirmName(a),G(!1),J()},onSkip:()=>G(!1)}),h&&(0,d.jsx)(x._,{isOpen:H,onClose:()=>I(!1),comments:h.comments,reviewTitle:h.title,userNameMap:D,onCommentClick:a=>{r(a),L.current?.(a),K.current?.(a)}}),h&&(0,d.jsx)("div",{className:"py-2 bg-secondary border-b border-border flex-shrink-0 flex justify-center",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] px-4 flex items-center gap-3",children:[(0,d.jsx)("h1",{className:"text-sm font-semibold truncate",children:h.title}),(0,d.jsx)("span",{className:"text-[11px] text-muted-foreground flex-shrink-0",children:b("review.updatedAt",{date:new Date(h.updatedAt||h.createdAt).toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})}),(0,d.jsx)("span",{className:"flex-1"}),!s&&(0,d.jsx)("span",{className:`px-2 py-0.5 text-xs rounded-full ${h.active?"bg-green-500/15 text-green-600 dark:text-green-400":"bg-muted text-muted-foreground"}`,children:h.active?b("review.active"):b("review.closed")}),(0,d.jsxs)("button",{onClick:()=>I(!0),className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground flex items-center gap-1",title:b("review.viewAllComments"),children:[(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),b("review.viewCommentBtn")]}),(0,d.jsx)("button",{onClick:V,className:"px-2 py-1 text-xs rounded hover:bg-accent transition-colors text-muted-foreground",children:b("review.copyLink")}),(0,d.jsx)("button",{onClick:()=>C("dark"===B?"light":"dark"),className:"p-1 text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",title:"dark"===B?b("settings.switchLight"):b("settings.switchDark"),children:"dark"===B?(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,d.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,d.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,d.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,d.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,d.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,d.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,d.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,d.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]}):(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})}),(0,d.jsx)(u,{identity:A})]})}),(0,d.jsx)("div",{className:"flex-1 flex justify-center overflow-hidden",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] flex overflow-hidden",children:[(0,d.jsx)(v,{currentReviewId:c,onSelect:M,readOnly:!s,refreshTrigger:h?.comments.length,onViewComments:a=>{a!==c&&M(a),I(!0)}}),k?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsx)("div",{className:"text-muted-foreground",children:b("common.loading")})}):m||!h?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-xl mb-2",children:m||b("review.reviewNotFound")}),(0,d.jsx)("div",{className:"text-sm text-muted-foreground",children:b("review.checkLink")})]})}):(0,d.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,d.jsx)("div",{className:"flex-1 h-full border-r border-border overflow-hidden",children:(0,d.jsx)(p,{content:h.content,comments:h.comments,activeCommentId:o,isActive:h.active,onAddComment:O,onHighlightClick:X,scrollToHighlightRef:L})}),(0,d.jsx)("div",{className:"w-[360px] h-full overflow-hidden flex-shrink-0",children:(0,d.jsx)(t,{comments:h.comments,activeCommentId:o,currentAuthorId:A.authorId,isActive:h.active,isAdmin:s,userNameMap:D,onCommentClick:W,onNavigateComment:Y,onDeleteComment:P,onEditComment:Q,onToggleCommentClosed:R,onAddReply:S,onDeleteReply:T,onEditReply:U,scrollToCommentRef:K})})]})]})})]})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{"use strict";a.exports=require("net")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,6117,4793,6443,7514,7122,2338],()=>b(b.s=63129));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../node_modules/@opentelemetry/api/build/src/api/context.js","../../../../../node_modules/@opentelemetry/api/build/src/api/diag.js","../../../../../node_modules/@opentelemetry/api/build/src/api/metrics.js","../../../../../node_modules/@opentelemetry/api/build/src/api/propagation.js","../../../../../node_modules/@opentelemetry/api/build/src/api/trace.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/context-api.js","../../../../../node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js","../../../../../node_modules/@opentelemetry/api/build/src/context/context.js","../../../../../node_modules/@opentelemetry/api/build/src/diag-api.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/types.js","../../../../../node_modules/@opentelemetry/api/build/src/index.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/global-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/semver.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics-api.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/Metric.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/index.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/index.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation-api.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/trace-api.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/context-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/span_kind.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/status.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.js","../../../../../node_modules/@opentelemetry/api/build/src/version.js","../../../../../node_modules/@opentelemetry/api/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/bytes/index.js","../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.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/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.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/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1639.js","../../../chunks/1667.js","../../../chunks/1813.js","../../../chunks/1912.js","../../../chunks/2325.js","../../../chunks/2376.js","../../../chunks/2816.js","../../../chunks/2840.js","../../../chunks/3269.js","../../../chunks/3434.js","../../../chunks/3441.js","../../../chunks/3503.js","../../../chunks/3863.js","../../../chunks/3932.js","../../../chunks/4042.js","../../../chunks/4073.js","../../../chunks/4097.js","../../../chunks/4098.js","../../../chunks/4268.js","../../../chunks/4272.js","../../../chunks/4309.js","../../../chunks/4345.js","../../../chunks/4367.js","../../../chunks/4388.js","../../../chunks/4442.js","../../../chunks/4490.js","../../../chunks/4741.js","../../../chunks/4793.js","../../../chunks/5147.js","../../../chunks/5152.js","../../../chunks/5394.js","../../../chunks/5460.js","../../../chunks/5481.js","../../../chunks/5536.js","../../../chunks/5733.js","../../../chunks/582.js","../../../chunks/5958.js","../../../chunks/6062.js","../../../chunks/6117.js","../../../chunks/6142.js","../../../chunks/6346.js","../../../chunks/6443.js","../../../chunks/6804.js","../../../chunks/700.js","../../../chunks/7265.js","../../../chunks/7284.js","../../../chunks/7307.js","../../../chunks/7483.js","../../../chunks/7484.js","../../../chunks/7514.js","../../../chunks/7800.js","../../../chunks/8068.js","../../../chunks/8351.js","../../../chunks/8491.js","../../../chunks/8585.js","../../../chunks/887.js","../../../chunks/911.js","../../../chunks/9116.js","../../../chunks/925.js","../../../chunks/9298.js","../../../chunks/9401.js","../../../chunks/9408.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/@opentelemetry/api/build/src/api/context.js","../../../../../node_modules/@opentelemetry/api/build/src/api/diag.js","../../../../../node_modules/@opentelemetry/api/build/src/api/metrics.js","../../../../../node_modules/@opentelemetry/api/build/src/api/propagation.js","../../../../../node_modules/@opentelemetry/api/build/src/api/trace.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/context-api.js","../../../../../node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js","../../../../../node_modules/@opentelemetry/api/build/src/context/context.js","../../../../../node_modules/@opentelemetry/api/build/src/diag-api.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/types.js","../../../../../node_modules/@opentelemetry/api/build/src/index.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/global-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/semver.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics-api.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/Metric.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/index.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/index.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation-api.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/trace-api.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/context-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/span_kind.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/status.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.js","../../../../../node_modules/@opentelemetry/api/build/src/version.js","../../../../../node_modules/@opentelemetry/api/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/bytes/index.js","../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.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/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.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/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1639.js","../../../chunks/1661.js","../../../chunks/1667.js","../../../chunks/1813.js","../../../chunks/1912.js","../../../chunks/2325.js","../../../chunks/2338.js","../../../chunks/2376.js","../../../chunks/2816.js","../../../chunks/2840.js","../../../chunks/3269.js","../../../chunks/3434.js","../../../chunks/3441.js","../../../chunks/3503.js","../../../chunks/3863.js","../../../chunks/3932.js","../../../chunks/4073.js","../../../chunks/4097.js","../../../chunks/4098.js","../../../chunks/4268.js","../../../chunks/4272.js","../../../chunks/4309.js","../../../chunks/4345.js","../../../chunks/4367.js","../../../chunks/4388.js","../../../chunks/4442.js","../../../chunks/4490.js","../../../chunks/459.js","../../../chunks/4741.js","../../../chunks/4793.js","../../../chunks/5147.js","../../../chunks/5152.js","../../../chunks/5394.js","../../../chunks/5460.js","../../../chunks/5481.js","../../../chunks/5536.js","../../../chunks/5733.js","../../../chunks/582.js","../../../chunks/5958.js","../../../chunks/6043.js","../../../chunks/6117.js","../../../chunks/6142.js","../../../chunks/6346.js","../../../chunks/6443.js","../../../chunks/6804.js","../../../chunks/700.js","../../../chunks/7122.js","../../../chunks/7265.js","../../../chunks/7307.js","../../../chunks/7483.js","../../../chunks/7484.js","../../../chunks/7514.js","../../../chunks/7800.js","../../../chunks/8068.js","../../../chunks/8351.js","../../../chunks/8491.js","../../../chunks/8585.js","../../../chunks/887.js","../../../chunks/911.js","../../../chunks/9116.js","../../../chunks/925.js","../../../chunks/9298.js","../../../chunks/9401.js","../../../chunks/9408.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/review/[id]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectItem.tsx":{"id":65438,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectSidebar.tsx":{"id":80475,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/Workspace.tsx":{"id":4189,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx":{"id":97899,"name":"*","chunks":["7330","static/chunks/d3ac728e-d1ae8819b8f0be6a.js","9268","static/chunks/aaea2bcf-4f9eb5012da21e0f.js","9114","static/chunks/9114-abef8471519b7dee.js","3700","static/chunks/3700-1edddcc68c5c2ac3.js","2171","static/chunks/2171-5163d946ec03ce80.js","3530","static/chunks/3530-6d8abfd0e950d439.js","1593","static/chunks/1593-d845ec6e5c8de67e.js","2951","static/chunks/app/review/%5Bid%5D/page-559260ff9227d0b4.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/project/TabManager.tsx":{"id":97484,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/bbd65867698c479b.css"}],"/home/runner/work/cockpit/cockpit/src/app/page":[],"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page":[{"inlined":false,"path":"static/css/2163ab5e45fedc6a.css"}]},"rscModuleMapping":{"1874":{"*":{"id":"41824","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"51675","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"49090","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"43647","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"87020","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"38476","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"79436","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/review/[id]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"20817":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"54962":{"*":{"id":"38581","name":"*","chunks":[],"async":true}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["7330","static/chunks/d3ac728e-d1ae8819b8f0be6a.js","5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3700","static/chunks/3700-1edddcc68c5c2ac3.js","3743","static/chunks/3743-66d6d2ef6629c733.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","6108","static/chunks/6108-df36466c7d900315.js","6878","static/chunks/6878-b27072ccf7fd4eba.js","8974","static/chunks/app/page-e0d663a97bc29595.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectItem.tsx":{"id":65438,"name":"*","chunks":["7330","static/chunks/d3ac728e-d1ae8819b8f0be6a.js","5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3700","static/chunks/3700-1edddcc68c5c2ac3.js","3743","static/chunks/3743-66d6d2ef6629c733.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","6108","static/chunks/6108-df36466c7d900315.js","6878","static/chunks/6878-b27072ccf7fd4eba.js","8974","static/chunks/app/page-e0d663a97bc29595.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectSidebar.tsx":{"id":80475,"name":"*","chunks":["7330","static/chunks/d3ac728e-d1ae8819b8f0be6a.js","5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3700","static/chunks/3700-1edddcc68c5c2ac3.js","3743","static/chunks/3743-66d6d2ef6629c733.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","6108","static/chunks/6108-df36466c7d900315.js","6878","static/chunks/6878-b27072ccf7fd4eba.js","8974","static/chunks/app/page-e0d663a97bc29595.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/Workspace.tsx":{"id":54962,"name":"*","chunks":["7330","static/chunks/d3ac728e-d1ae8819b8f0be6a.js","5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3700","static/chunks/3700-1edddcc68c5c2ac3.js","3743","static/chunks/3743-66d6d2ef6629c733.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","6108","static/chunks/6108-df36466c7d900315.js","6878","static/chunks/6878-b27072ccf7fd4eba.js","8974","static/chunks/app/page-e0d663a97bc29595.js"],"async":true},"/home/runner/work/cockpit/cockpit/src/components/project/TabManager.tsx":{"id":20817,"name":"*","chunks":[],"async":true},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx":{"id":97899,"name":"*","chunks":["7330","static/chunks/d3ac728e-d1ae8819b8f0be6a.js","9268","static/chunks/aaea2bcf-4f9eb5012da21e0f.js","9114","static/chunks/9114-abef8471519b7dee.js","3700","static/chunks/3700-1edddcc68c5c2ac3.js","2171","static/chunks/2171-5163d946ec03ce80.js","3530","static/chunks/3530-49f50405e2b2a8c2.js","6108","static/chunks/6108-df36466c7d900315.js","9062","static/chunks/9062-a330afa1af7f133e.js","2951","static/chunks/app/review/%5Bid%5D/page-be83af23e89a03f9.js"],"async":false}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/75f39a8350e8177f.css"}],"/home/runner/work/cockpit/cockpit/src/app/page":[{"inlined":false,"path":"static/css/2163ab5e45fedc6a.css"}],"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page":[{"inlined":false,"path":"static/css/2163ab5e45fedc6a.css"}]},"rscModuleMapping":{"1874":{"*":{"id":"41824","name":"*","chunks":[],"async":false}},"20817":{"*":{"id":"38476","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"54962":{"*":{"id":"51675","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"49090","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"43647","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"87020","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"79436","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"/_not-found/page": "app/_not-found/page.js",
|
|
3
3
|
"/_global-error/page": "app/_global-error/page.js",
|
|
4
4
|
"/api/chat/route": "app/api/chat/route.js",
|
|
5
|
-
"/api/db/columns/route": "app/api/db/columns/route.js",
|
|
6
5
|
"/api/comments/route": "app/api/comments/route.js",
|
|
6
|
+
"/api/db/columns/route": "app/api/db/columns/route.js",
|
|
7
7
|
"/api/db/connect/route": "app/api/db/connect/route.js",
|
|
8
|
+
"/api/db/disconnect/route": "app/api/db/disconnect/route.js",
|
|
8
9
|
"/api/db/export/route": "app/api/db/export/route.js",
|
|
9
10
|
"/api/db/query/route": "app/api/db/query/route.js",
|
|
10
|
-
"/api/db/disconnect/route": "app/api/db/disconnect/route.js",
|
|
11
11
|
"/api/db/schemas/route": "app/api/db/schemas/route.js",
|
|
12
12
|
"/api/extension/version/route": "app/api/extension/version/route.js",
|
|
13
13
|
"/api/file/route": "app/api/file/route.js",
|
|
@@ -18,91 +18,94 @@
|
|
|
18
18
|
"/api/files/index/route": "app/api/files/index/route.js",
|
|
19
19
|
"/api/files/init/route": "app/api/files/init/route.js",
|
|
20
20
|
"/api/files/paste/route": "app/api/files/paste/route.js",
|
|
21
|
-
"/api/files/readdir/route": "app/api/files/readdir/route.js",
|
|
22
21
|
"/api/files/read/route": "app/api/files/read/route.js",
|
|
22
|
+
"/api/files/readdir/route": "app/api/files/readdir/route.js",
|
|
23
23
|
"/api/files/recent/route": "app/api/files/recent/route.js",
|
|
24
24
|
"/api/files/save/route": "app/api/files/save/route.js",
|
|
25
|
-
"/api/git/commit-diff/route": "app/api/git/commit-diff/route.js",
|
|
26
25
|
"/api/git/branch-diff/route": "app/api/git/branch-diff/route.js",
|
|
27
26
|
"/api/git/branches/route": "app/api/git/branches/route.js",
|
|
27
|
+
"/api/git/commit-diff/route": "app/api/git/commit-diff/route.js",
|
|
28
|
+
"/api/git/commits/route": "app/api/git/commits/route.js",
|
|
28
29
|
"/api/git/diff/route": "app/api/git/diff/route.js",
|
|
29
30
|
"/api/git/discard/route": "app/api/git/discard/route.js",
|
|
30
|
-
"/api/git/commits/route": "app/api/git/commits/route.js",
|
|
31
31
|
"/api/git/stage/route": "app/api/git/stage/route.js",
|
|
32
|
-
"/api/git/unstage/route": "app/api/git/unstage/route.js",
|
|
33
32
|
"/api/git/status/route": "app/api/git/status/route.js",
|
|
34
|
-
"/api/
|
|
35
|
-
"/api/global-state/route": "app/api/global-state/route.js",
|
|
33
|
+
"/api/git/unstage/route": "app/api/git/unstage/route.js",
|
|
36
34
|
"/api/git/worktree/route": "app/api/git/worktree/route.js",
|
|
37
|
-
"/api/
|
|
35
|
+
"/api/global-state/route": "app/api/global-state/route.js",
|
|
36
|
+
"/api/jupyter/load/route": "app/api/jupyter/load/route.js",
|
|
38
37
|
"/api/jupyter/save/route": "app/api/jupyter/save/route.js",
|
|
38
|
+
"/api/jupyter/shutdown/route": "app/api/jupyter/shutdown/route.js",
|
|
39
39
|
"/api/lsp/definition/route": "app/api/lsp/definition/route.js",
|
|
40
40
|
"/api/lsp/hover/route": "app/api/lsp/hover/route.js",
|
|
41
|
-
"/api/lsp/status/route": "app/api/lsp/status/route.js",
|
|
42
41
|
"/api/lsp/references/route": "app/api/lsp/references/route.js",
|
|
42
|
+
"/api/lsp/status/route": "app/api/lsp/status/route.js",
|
|
43
43
|
"/api/lsp/warmup/route": "app/api/lsp/warmup/route.js",
|
|
44
44
|
"/api/mysql/columns/route": "app/api/mysql/columns/route.js",
|
|
45
45
|
"/api/mysql/connect/route": "app/api/mysql/connect/route.js",
|
|
46
46
|
"/api/mysql/disconnect/route": "app/api/mysql/disconnect/route.js",
|
|
47
|
+
"/api/mysql/export/route": "app/api/mysql/export/route.js",
|
|
47
48
|
"/api/mysql/query/route": "app/api/mysql/query/route.js",
|
|
48
49
|
"/api/mysql/schemas/route": "app/api/mysql/schemas/route.js",
|
|
49
50
|
"/api/neo4j/connect/route": "app/api/neo4j/connect/route.js",
|
|
50
|
-
"/api/mysql/export/route": "app/api/mysql/export/route.js",
|
|
51
51
|
"/api/neo4j/disconnect/route": "app/api/neo4j/disconnect/route.js",
|
|
52
52
|
"/api/neo4j/query/route": "app/api/neo4j/query/route.js",
|
|
53
53
|
"/api/neo4j/schema/route": "app/api/neo4j/schema/route.js",
|
|
54
54
|
"/api/open-cursor/route": "app/api/open-cursor/route.js",
|
|
55
|
-
"/api/pick-folder/route": "app/api/pick-folder/route.js",
|
|
56
55
|
"/api/open-vscode/route": "app/api/open-vscode/route.js",
|
|
56
|
+
"/api/pick-folder/route": "app/api/pick-folder/route.js",
|
|
57
57
|
"/api/pinned-sessions/route": "app/api/pinned-sessions/route.js",
|
|
58
58
|
"/api/project-state/route": "app/api/project-state/route.js",
|
|
59
|
-
"/api/redis/delete/route": "app/api/redis/delete/route.js",
|
|
60
59
|
"/api/redis/command/route": "app/api/redis/command/route.js",
|
|
61
60
|
"/api/redis/connect/route": "app/api/redis/connect/route.js",
|
|
61
|
+
"/api/redis/delete/route": "app/api/redis/delete/route.js",
|
|
62
62
|
"/api/redis/disconnect/route": "app/api/redis/disconnect/route.js",
|
|
63
63
|
"/api/redis/get/route": "app/api/redis/get/route.js",
|
|
64
|
-
"/api/redis/set/route": "app/api/redis/set/route.js",
|
|
65
64
|
"/api/redis/keys/route": "app/api/redis/keys/route.js",
|
|
65
|
+
"/api/redis/set/route": "app/api/redis/set/route.js",
|
|
66
66
|
"/api/review/[id]/comments/route": "app/api/review/[id]/comments/route.js",
|
|
67
|
-
"/api/review/[id]/route": "app/api/review/[id]/route.js",
|
|
68
67
|
"/api/review/[id]/replies/route": "app/api/review/[id]/replies/route.js",
|
|
68
|
+
"/api/review/[id]/route": "app/api/review/[id]/route.js",
|
|
69
69
|
"/api/review/identify/route": "app/api/review/identify/route.js",
|
|
70
70
|
"/api/review/order/route": "app/api/review/order/route.js",
|
|
71
71
|
"/api/review/route": "app/api/review/route.js",
|
|
72
|
+
"/api/review/share-info/route": "app/api/review/share-info/route.js",
|
|
72
73
|
"/api/review/users/route": "app/api/review/users/route.js",
|
|
73
74
|
"/api/services/config/route": "app/api/services/config/route.js",
|
|
74
|
-
"/api/review/share-info/route": "app/api/review/share-info/route.js",
|
|
75
75
|
"/api/services/scripts/route": "app/api/services/scripts/route.js",
|
|
76
76
|
"/api/settings/route": "app/api/settings/route.js",
|
|
77
77
|
"/api/version/route": "app/api/version/route.js",
|
|
78
|
-
"/manifest.webmanifest/route": "app/manifest.webmanifest/route.js",
|
|
79
78
|
"/favicon.ico/route": "app/favicon.ico/route.js",
|
|
79
|
+
"/manifest.webmanifest/route": "app/manifest.webmanifest/route.js",
|
|
80
80
|
"/api/bash/route": "app/api/bash/route.js",
|
|
81
|
-
"/api/chat/kimi/route": "app/api/chat/kimi/route.js",
|
|
82
|
-
"/api/chat/codex/route": "app/api/chat/codex/route.js",
|
|
83
81
|
"/api/chat/ollama/route": "app/api/chat/ollama/route.js",
|
|
84
82
|
"/api/commands/route": "app/api/commands/route.js",
|
|
85
83
|
"/api/claude-stats/route": "app/api/claude-stats/route.js",
|
|
84
|
+
"/api/chat/kimi/route": "app/api/chat/kimi/route.js",
|
|
85
|
+
"/api/chat/codex/route": "app/api/chat/codex/route.js",
|
|
86
86
|
"/api/files/blame/route": "app/api/files/blame/route.js",
|
|
87
87
|
"/api/files/search/route": "app/api/files/search/route.js",
|
|
88
|
+
"/api/ollama/models/route": "app/api/ollama/models/route.js",
|
|
88
89
|
"/api/note/route": "app/api/note/route.js",
|
|
89
90
|
"/api/ollama/start/route": "app/api/ollama/start/route.js",
|
|
90
|
-
"/api/ollama/models/route": "app/api/ollama/models/route.js",
|
|
91
91
|
"/api/project-settings/route": "app/api/project-settings/route.js",
|
|
92
92
|
"/api/projects/route": "app/api/projects/route.js",
|
|
93
|
+
"/api/session/[sessionId]/fork/route": "app/api/session/[sessionId]/fork/route.js",
|
|
93
94
|
"/api/scheduled-tasks/route": "app/api/scheduled-tasks/route.js",
|
|
94
95
|
"/api/session/[sessionId]/history/route": "app/api/session/[sessionId]/history/route.js",
|
|
95
96
|
"/api/sessions/projects/[encodedPath]/route": "app/api/sessions/projects/[encodedPath]/route.js",
|
|
96
97
|
"/api/sessions/projects/route": "app/api/sessions/projects/route.js",
|
|
98
|
+
"/api/skills/content/route": "app/api/skills/content/route.js",
|
|
99
|
+
"/api/skills/[id]/route": "app/api/skills/[id]/route.js",
|
|
97
100
|
"/api/terminal/aliases/route": "app/api/terminal/aliases/route.js",
|
|
101
|
+
"/api/skills/route": "app/api/skills/route.js",
|
|
102
|
+
"/api/terminal/autocomplete/route": "app/api/terminal/autocomplete/route.js",
|
|
98
103
|
"/api/sessions/route": "app/api/sessions/route.js",
|
|
99
|
-
"/api/session/[sessionId]/fork/route": "app/api/session/[sessionId]/fork/route.js",
|
|
100
|
-
"/api/terminal/bubble-order/route": "app/api/terminal/bubble-order/route.js",
|
|
101
104
|
"/api/terminal/env/route": "app/api/terminal/env/route.js",
|
|
105
|
+
"/api/terminal/bubble-order/route": "app/api/terminal/bubble-order/route.js",
|
|
102
106
|
"/api/session-by-path/route": "app/api/session-by-path/route.js",
|
|
103
|
-
"/api/terminal/autocomplete/route": "app/api/terminal/autocomplete/route.js",
|
|
104
107
|
"/api/terminal/history/route": "app/api/terminal/history/route.js",
|
|
105
108
|
"/page": "app/page.js",
|
|
106
|
-
"/
|
|
107
|
-
"/
|
|
109
|
+
"/project/page": "app/project/page.js",
|
|
110
|
+
"/review/[id]/page": "app/review/[id]/page.js"
|
|
108
111
|
}
|