@ai-development-environment/server 0.0.64 → 0.0.66
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/app-path-routes-manifest.json +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +7 -7
- package/standalone/.next/routes-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/actions/page.js +9 -8
- package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page.js +9 -8
- package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page.js +9 -8
- package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page.js +9 -8
- package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page.js +9 -8
- package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js +9 -8
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page.js +9 -8
- package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page.js +9 -8
- package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js +9 -8
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/new/page.js +9 -8
- package/standalone/.next/server/app/[locale]/commands/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/page.js +9 -8
- package/standalone/.next/server/app/[locale]/commands/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page.js +9 -8
- package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page.js +9 -8
- package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/costs/page.js +9 -8
- package/standalone/.next/server/app/[locale]/costs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/costs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page.js +9 -8
- package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page.js +9 -8
- package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/page.js +9 -8
- package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/drafts/page.js +9 -8
- package/standalone/.next/server/app/[locale]/drafts/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/drafts/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/page.js +9 -8
- package/standalone/.next/server/app/[locale]/github-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js +10 -9
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js +9 -8
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/page.js +9 -8
- package/standalone/.next/server/app/[locale]/jira-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js +9 -9
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page.js +9 -8
- package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/plans/[runId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/plans/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/plans/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/plans/page.js +9 -8
- package/standalone/.next/server/app/[locale]/plans/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/plans/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/polling/page.js +9 -8
- package/standalone/.next/server/app/[locale]/polling/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/polling/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js +9 -8
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page.js +9 -8
- package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page.js +9 -8
- package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/runs/new/page.js +9 -8
- package/standalone/.next/server/app/[locale]/runs/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/runs/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/sessions/page.js +9 -8
- package/standalone/.next/server/app/[locale]/sessions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/sessions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page.js +9 -8
- package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page.js +9 -8
- package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page.js +9 -8
- package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page.js +9 -8
- package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page.js +9 -8
- package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page.js +9 -8
- package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/webhooks/page.js +9 -8
- package/standalone/.next/server/app/[locale]/webhooks/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/webhooks/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js +9 -8
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/new/page.js +9 -8
- package/standalone/.next/server/app/[locale]/workflows/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/page.js +9 -8
- package/standalone/.next/server/app/[locale]/workflows/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js +9 -8
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js +10 -9
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page.js +9 -8
- package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error/page.js +5 -6
- package/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +2 -3
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -3
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -2
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found/page.js +6 -6
- package/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +2 -2
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
- package/standalone/.next/server/app/icon.svg/route.js +7 -0
- package/standalone/.next/server/app/{favicon.ico → icon.svg}/route.js.nft.json +1 -1
- package/standalone/.next/server/app/icon.svg.body +7 -0
- package/standalone/.next/server/app/icon.svg.meta +1 -0
- package/standalone/.next/server/app-paths-manifest.json +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0yx69ig._.js → [root-of-the-server]__0-84fg8._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__05k_3_s._.js → [root-of-the-server]__009x0z2._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0efv9_l._.js → [root-of-the-server]__00z8p9y._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__05rm8ki._.js → [root-of-the-server]__00zjx8v._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__06dz512._.js → [root-of-the-server]__0108ovu._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-b1prw._.js → [root-of-the-server]__026fuz3._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__03ov9dn._.js → [root-of-the-server]__02rtolt._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0cqe8td._.js → [root-of-the-server]__03jsvik._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0g-h70v._.js → [root-of-the-server]__03qoaib._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__04dzkv1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-irvqy._.js → [root-of-the-server]__04qz0t4._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0_1h4vu._.js → [root-of-the-server]__0525unf._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0_ftuni._.js → [root-of-the-server]__05rg4l-._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__082w26v._.js → [root-of-the-server]__06hj05o._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__04x0a1c._.js → [root-of-the-server]__06ky77b._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__07dl76m._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__07lj58j._.js → [root-of-the-server]__080yx90._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__092univ._.js → [root-of-the-server]__09ahnvy._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0_15xc-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ag7r5h._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0auu4ur._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__06h8dq4._.js → [root-of-the-server]__0b6u3hm._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0c7d4-l._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0e29qi2._.js → [root-of-the-server]__0clxa1e._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0ct8jx4._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0njzyae._.js → [root-of-the-server]__0f5i_w7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0f5nrrj._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0g6p_vk._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0geo53e._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0gm326z._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__17v3iu3._.js → [root-of-the-server]__0h3ebj4._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0ikzng1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0t_1g6x._.js → [root-of-the-server]__0j_nyf2._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0kdlmtc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0kee07e._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0l1u1gn._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ml6lm4._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ml_vg1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1amrm18._.js → [root-of-the-server]__0n_fyd7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0ni1vsm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0op0ksd._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1r3djqb._.js → [root-of-the-server]__0or_-9-._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0qevkot._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qw7nbl._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r1_ixf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r9tzc-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0rblf36._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0t8w8s1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0tq7irh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0w92g7m._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1n2pfid._.js → [root-of-the-server]__0x-levx._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0rwzlp5._.js → [root-of-the-server]__0x-op-8._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0xgvhjp._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gedsnc._.js → [root-of-the-server]__0xh2c4w._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0y0slxx._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__05nr3-b._.js → [root-of-the-server]__1-6j7m7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__10idyu-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__10s4sox._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11_o01g._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11kac51._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11kloxg._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11l4ah2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__144civ6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0xl63a7._.js → [root-of-the-server]__15vk324._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__004x00m._.js → [root-of-the-server]__1612_6b._.js} +3 -3
- package/standalone/.next/server/chunks/{[root-of-the-server]__1w_r8ug._.js → [root-of-the-server]__16ctc_x._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__16i9fgq._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0eplbf8._.js → [root-of-the-server]__16za65_._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0su5xbh._.js → [root-of-the-server]__17uvvtp._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1ca92tw._.js → [root-of-the-server]__181u-50._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__19w7v-1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_03ry9._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_0sxkf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1bz-ove._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1d544vz._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1eakyie._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ec06ra._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1f4ll78._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1fciim1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1fzguue._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1g_pm2h._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1hehuys._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1hkesat._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1igabyc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1j3p81t._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1fnlj9e._.js → [root-of-the-server]__1jiqzv7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1khif08._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1l7na8t._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1lqk_1l._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1f0zhzz._.js → [root-of-the-server]__1ntp_8b._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1o735xr._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1pbz-_z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1pc1fof._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1pdsbcp._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1rwxvwo._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1scazi_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1tercjh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1tufkj3._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1em0xu9._.js → [root-of-the-server]__1tzp9l_._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1tzvm2c._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__098thvo._.js → [root-of-the-server]__1u02b33._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1uktrb_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1uuljo2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1uzbfnh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1vo611v._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__11_l9kh._.js → [root-of-the-server]__1vvbh64._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1w7xrap._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1wf8j4j._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1yh9ong._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20kepfu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20zeh4u._.js +3 -0
- package/standalone/.next/server/chunks/_0_3-lke._.js +1 -0
- package/standalone/.next/server/chunks/_0d87yp6._.js +9 -9
- package/standalone/.next/server/chunks/_0rjgtla._.js +9 -9
- package/standalone/.next/server/chunks/_1_sa5xl._.js +9 -9
- package/standalone/.next/server/chunks/_1hmzed-._.js +10 -9
- package/standalone/.next/server/chunks/_1pc6dt_._.js +9 -9
- package/standalone/.next/server/chunks/_1xuucni._.js +9 -9
- package/standalone/.next/server/chunks/_1ya6q3e._.js +9 -9
- package/standalone/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ub.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-nmpo4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__035ah95._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03htoos._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07g-dcf._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07o9wxs._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07yba-3._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0_h6gcn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0a2k3wl._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e2zd6a._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ev3co8._.js +15 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0g97wq6._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0hffslr._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__08m_tud._.js → [root-of-the-server]__0hjxkdi._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0k4ez8d._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ku4-gt._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0m-hniz._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mz4xqn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nrhlo1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nwri5e._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pm0lfb._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rz8uku._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0teoe9r._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0tqu_-g._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0trbjua._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0trd400._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0uitlw_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vf1nl9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w7sf8p._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0y7poop._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z44pow._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z8pyri._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-ekcm6._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-kuj-x._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-l86k4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-stxfp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-y0-y1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-zjws7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11_ura1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11e_ush._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__064h18r._.js → [root-of-the-server]__13beyr1._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__144o_m2._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14716hz._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__15afg_k._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1widz3b._.js → [root-of-the-server]__15i7cjm._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__18hn0ba._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__18xaup0._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_kd0zp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1kzbjl5._.js → [root-of-the-server]__1ajyyyc._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1bqsv1x._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1dky4g0._.js +33 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e6s0dp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1eeinxy._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1gicvs6._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ig0mvn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jul617._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1kmmedb._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1lcx3wl._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mkv95v._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mqo265._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1n-_juh._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1n2bb8k._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1okxdoj._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1oyf93w._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1sibh0c._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1u6u95-._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ugkys4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wt2qk7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1xkz789._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1zee4_f._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__200o9rg._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_025obfj._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_02p3_1f._.js → _06847sj._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_0158tm3._.js → _06qt0zv._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_07efxez._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_09zgs6p._.js +5 -0
- package/standalone/.next/server/chunks/ssr/_0b1cffx._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0dk3o3t._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_1unm3n-._.js → _0e-0l2x._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0g0tkbz._.js +25 -0
- package/standalone/.next/server/chunks/ssr/_0ic39-0._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0tdpr8l._.js +24 -0
- package/standalone/.next/server/chunks/ssr/{_154hqy7._.js → _0ts4sjm._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_1-hzwuw._.js +9 -0
- package/standalone/.next/server/chunks/ssr/{_1gn-87l._.js → _1-nj75c._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_13xt_zi._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_147mao_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_0sbsue7._.js → _1a1rayj._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1chb2gj._.js +15 -0
- package/standalone/.next/server/chunks/ssr/{_1ez5-ch._.js → _1dlzyoe._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1egb8wy._.js +24 -0
- package/standalone/.next/server/chunks/ssr/{_1nbvse5._.js → _1hbqlql._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1i3r6hw._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1m3dqvf._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_1x300f_._.js → _1mq_tjd._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1r0si5-._.js +12 -0
- package/standalone/.next/server/chunks/ssr/_1snpyu-._.js +37 -0
- package/standalone/.next/server/chunks/ssr/_1xwodxm._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1zcjc_c._.js +3 -0
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{node_modules_1s0gh8q._.js → node_modules_0bu774t._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/node_modules_1wi_9si._.js +5 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0tgylba.js → node_modules_next_dist_esm_build_templates_app-page_0-672k_.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1o590o6.js → node_modules_next_dist_esm_build_templates_app-page_008b3o9.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0zcmig1.js → node_modules_next_dist_esm_build_templates_app-page_01_4ytp.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1jkj0iw.js → node_modules_next_dist_esm_build_templates_app-page_02pbsix.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1zm3rvo.js → node_modules_next_dist_esm_build_templates_app-page_038kb-1.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1hrd-wc.js → node_modules_next_dist_esm_build_templates_app-page_03leii_.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1yuldl0.js → node_modules_next_dist_esm_build_templates_app-page_03pxgnn.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_085xqtq.js → node_modules_next_dist_esm_build_templates_app-page_03wc4xw.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0b6vak2.js → node_modules_next_dist_esm_build_templates_app-page_03zcfgn.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1_y22iu.js → node_modules_next_dist_esm_build_templates_app-page_05q45c-.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0f7l_36.js → node_modules_next_dist_esm_build_templates_app-page_090wz9v.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1uzalot.js → node_modules_next_dist_esm_build_templates_app-page_09ftrsh.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1by1zl2.js → node_modules_next_dist_esm_build_templates_app-page_0_bmqt9.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_14hxy06.js → node_modules_next_dist_esm_build_templates_app-page_0_f2zhb.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_02yxr3j.js → node_modules_next_dist_esm_build_templates_app-page_0aqsfh3.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1pb-1cn.js → node_modules_next_dist_esm_build_templates_app-page_0e1ok_t.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0fwjf6f.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0h5b-v-.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1mbarvg.js → node_modules_next_dist_esm_build_templates_app-page_0lw_a7e.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0bdeexv.js → node_modules_next_dist_esm_build_templates_app-page_0ot1zwk.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0eoo_7a.js → node_modules_next_dist_esm_build_templates_app-page_0r8c-fl.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_077f8c6.js → node_modules_next_dist_esm_build_templates_app-page_0t4zreu.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_112wr3q.js → node_modules_next_dist_esm_build_templates_app-page_0uo3ucb.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1y93n5x.js → node_modules_next_dist_esm_build_templates_app-page_0vvyt46.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1tba1z3.js → node_modules_next_dist_esm_build_templates_app-page_0wq6t0o.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1eiqiym.js → node_modules_next_dist_esm_build_templates_app-page_0yg1q4k.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yi50ls.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0z83u9u.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0g6u3lp.js → node_modules_next_dist_esm_build_templates_app-page_1-l0_ay.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-mj6vh.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_14579sb.js → node_modules_next_dist_esm_build_templates_app-page_10kqj-k.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1202lax.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_20q4xrk.js → node_modules_next_dist_esm_build_templates_app-page_134gin2.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1iih5li.js → node_modules_next_dist_esm_build_templates_app-page_137fy-f.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13fikjq.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_16t_8tn.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17hery2.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17mj1uf.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1xurbbr.js → node_modules_next_dist_esm_build_templates_app-page_18gxi2v.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0smv41j.js → node_modules_next_dist_esm_build_templates_app-page_18wj4pk.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0wtrya9.js → node_modules_next_dist_esm_build_templates_app-page_1akkj3k.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1ydi2cy.js → node_modules_next_dist_esm_build_templates_app-page_1ay9jji.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_04__ja9.js → node_modules_next_dist_esm_build_templates_app-page_1bv5aj3.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1czk_n8.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0hzxyia.js → node_modules_next_dist_esm_build_templates_app-page_1gn9yzd.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_06zp_1r.js → node_modules_next_dist_esm_build_templates_app-page_1h-bpa4.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1dcfsab.js → node_modules_next_dist_esm_build_templates_app-page_1h3cvzp.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hn67of.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1ho8mq2.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0hdr4hv.js → node_modules_next_dist_esm_build_templates_app-page_1j761x5.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1nmk-3a.js → node_modules_next_dist_esm_build_templates_app-page_1k1-c4m.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0ff_50d.js → node_modules_next_dist_esm_build_templates_app-page_1l5_y50.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1dbvyom.js → node_modules_next_dist_esm_build_templates_app-page_1mxz5lj.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_02wqjcn.js → node_modules_next_dist_esm_build_templates_app-page_1otau14.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1pqky12.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1se5x-k.js → node_modules_next_dist_esm_build_templates_app-page_1r14hz3.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0kifgf3.js → node_modules_next_dist_esm_build_templates_app-page_1slttwv.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0skd7bt.js → node_modules_next_dist_esm_build_templates_app-page_1xb7_k7.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xn5cst.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0f1uh0v.js → node_modules_next_dist_esm_build_templates_app-page_1z_gt73.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zkfifw.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_05_mrcu.js → node_modules_next_dist_esm_build_templates_app-page_20s0f-i.js} +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +18 -18
- package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_builds_coverage-report-page_tsx_1nhwba1._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_commands_command-editor_tsx_1xv-unm._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_runs_run-detail-page_tsx_0eje87-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_skills_skill-sync-page_tsx_15sidhb._.js +12 -12
- package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-detail-page_tsx_11_poqr._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-editor_tsx_1eo69h2._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-run-page_tsx_03cgynn._.js +4 -4
- package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +1 -1
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/01q2vyen_ce8a.js +1 -0
- package/standalone/.next/static/chunks/{2k5n-lawvi3o1.js → 04jsbc3dt_7ts.js} +3 -3
- package/standalone/.next/static/chunks/06tyjb620cbtm.js +39 -0
- package/standalone/.next/static/chunks/{1kas2cg1m9t70.js → 07qig47782u92.js} +6 -6
- package/standalone/.next/static/chunks/{1popvhaprqxtf.js → 0__52m82mb813.js} +1 -1
- package/standalone/.next/static/chunks/0amptqqp7g_4p.js +70 -0
- package/standalone/.next/static/chunks/0dvxk1d0c5efv.js +7 -0
- package/standalone/.next/static/chunks/{127vn4wn5xo9p.js → 0fn-0e786o11o.js} +3 -3
- package/standalone/.next/static/chunks/0hnb8r3udr7oj.js +25 -0
- package/standalone/.next/static/chunks/{2aacfhrhmknxw.js → 0hvalyqqhd-4o.js} +2 -2
- package/standalone/.next/static/chunks/{2lfmdc3eqlsl4.js → 0l0h3yubj1bdg.js} +16 -16
- package/standalone/.next/static/chunks/0mjbaieh2cw9c.js +57 -0
- package/standalone/.next/static/chunks/0rpvchqvbm098.js +23 -0
- package/standalone/.next/static/chunks/0y62m0sntgzlm.js +53 -0
- package/standalone/.next/static/chunks/{0p13j9urobwc7.js → 1-ndkr7vsh2gq.js} +7 -7
- package/standalone/.next/static/chunks/11vbtbe3bdmib.js +3 -0
- package/standalone/.next/static/chunks/18_207ca9ukri.js +1 -0
- package/standalone/.next/static/chunks/{1z4uktkhpz4vk.js → 1_-2dp_akd95c.js} +1 -1
- package/standalone/.next/static/chunks/1c-_4oyuwq6p3.js +44 -0
- package/standalone/.next/static/chunks/{0wrm-zqne-dc8.js → 1hc0heoo_7i6w.js} +2 -2
- package/standalone/.next/static/chunks/{1-byqle1eur_a.js → 1vju42dbb-gss.js} +3 -3
- package/standalone/.next/static/chunks/1wsg5uvoyqzsp.css +1 -0
- package/standalone/.next/static/chunks/{3ye3zhdcg2lbq.js → 1z6o-8xmt_zvj.js} +1 -1
- package/standalone/.next/static/chunks/20z0cvtyjnn0k.js +43 -0
- package/standalone/.next/static/chunks/21bdd18tijh33.js +13 -0
- package/standalone/.next/static/chunks/2g1ief1a6roxm.js +1 -0
- package/standalone/.next/static/chunks/{2wsr9efe8r8ng.js → 2k0lm6xr9n_ig.js} +3 -3
- package/standalone/.next/static/chunks/2laye-cbzd0tg.js +1 -0
- package/standalone/.next/static/chunks/2nw1o_yz_umap.js +55 -0
- package/standalone/.next/static/chunks/{3uhr-ha19zo61.js → 2y09df4g71_oa.js} +2 -2
- package/standalone/.next/static/chunks/34g6qbzum3s6q.js +1 -0
- package/standalone/.next/static/chunks/374hkjjfwde07.js +32 -0
- package/standalone/.next/static/chunks/{21xk5pyunaike.js → 377pgxfs8c9y-.js} +3 -3
- package/standalone/.next/static/chunks/3fellkr6r7h3t.js +51 -0
- package/standalone/.next/static/chunks/3ky4kw_4ew238.js +1 -0
- package/standalone/.next/static/chunks/3n_vmfpc6xzx9.js +1 -0
- package/standalone/.next/static/chunks/3q1klrvg32u6u.js +30 -0
- package/standalone/.next/static/chunks/{34wlxu_g_2g1y.js → 3stdfz7pphow6.js} +2 -2
- package/standalone/.next/static/media/icon.2eq-kzgm9x62k.svg +7 -0
- package/standalone/package.json +10 -0
- package/standalone/public/icon-192.png +0 -0
- package/standalone/public/icon-512.png +0 -0
- package/standalone/.next/server/app/favicon.ico/route/app-paths-manifest.json +0 -3
- package/standalone/.next/server/app/favicon.ico/route.js +0 -8
- package/standalone/.next/server/app/favicon.ico.body +0 -0
- package/standalone/.next/server/app/favicon.ico.meta +0 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0b-lts3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0ckici0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0dsyjgc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0fv-9n6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0gorac4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0hd0i41._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0hyrrl3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0kxris6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0lbyvuf._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0lmlzy2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0lpn3y3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o1f0q0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o2vsff._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o__n8q._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0r4layw._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0r6qwbg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0r_1lyd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0umrmgu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xxlq9f._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0ynqgwd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0yo97yw._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0yukdx0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zdquaj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zl_7f0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1-6ac7x._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__10ax2y3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__111axgx._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__112_ym-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13atbqs._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13f0rv7._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13ghplc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13y3ap6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__145854p._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__156bqk6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__15anbvu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__15fe1ky._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__16gno9l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__16y0jw6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__17xi013._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__19yjsxi._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1__181r._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_j58hk._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_u7utj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_xypu8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1a9n6nb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ahn_s1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1c93he1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1d2p5s7._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1e-y964._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1fjzpw8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1gg0deb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1isy66r._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1iueadp._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1lgrdmb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ltxl89._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1pchrv1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1q3qhn3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1r6cfp_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1rkrr9y._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1s_oovo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1syfm5l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1t_2g9l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ug9sy_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1v6-hkq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1va_ptf._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1w83ks0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1wgorxu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xh8f1z._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xqq0j2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1z1b8w4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1z8eo0j._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__20zebdq._.js +0 -3
- package/standalone/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjls.js +0 -3
- package/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_12f2k_b.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__00uq46v._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__02elc4g._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04c97bb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04xf3ag._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07ll4k6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07n9grt._.js +0 -33
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07tjxzu._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__08ejrsg._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bma97u._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0eit075._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fna0ss._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fr4t3a._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0je1dve._.js +0 -15
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kpe44c._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0luabbk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0lx9l_f._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mz8y_c._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0n_5fva._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nk-dzm._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rz06z_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0sb9d8p._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0thf6sn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v12ijp._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v1983v._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vcitsv._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w5ulwk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0xkr833._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0yzhwyk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zec7p7._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-90lov._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-_p_qq._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11awuie._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__12ku6cw._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14-uizx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14chm3s._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__16x-dmx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__17wdy3b._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__19_10zh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__19ax-rn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_2wurn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_9pu1p._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1anikxb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1apyr4v._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1b7x-gi._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1d2v_4j._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1drn6gh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e24bk6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1elw11q._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1etaslh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ffhy4j._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1fvxa1t._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1gx_mk6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1iccye4._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1j9gekm._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jn7aum._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ls11kh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mo8hpx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1nqgwrd._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1o0ywwj._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1rq6nd_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1t-qpvq._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1w5imbd._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1x1khxx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1yedlq7._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1yqj3eh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1z8_be-._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0-20-v5._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_022u7lb._.js +0 -15
- package/standalone/.next/server/chunks/ssr/_0aif1-g._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0q5nll1._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ro_o-3._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1-etco5._.js +0 -12
- package/standalone/.next/server/chunks/ssr/_1boywnc._.js +0 -9
- package/standalone/.next/server/chunks/ssr/_1i-_huq._.js +0 -5
- package/standalone/.next/server/chunks/ssr/_1njj5e5._.js +0 -25
- package/standalone/.next/server/chunks/ssr/_1nzjoqj._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1slu_v-._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1vx8nbn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1wpqpq_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1ws3tm8._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1ylzm6_._.js +0 -37
- package/standalone/.next/server/chunks/ssr/node_modules_0obs0k7._.js +0 -5
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_038at4x.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09bttv_.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_5tfxq.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0nkrcoy.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ogmjlq.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0s--as4.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tagqyx.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0umjl9n.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1fpliw9.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1j8f218.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qpzaji.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1tdf2_q.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1u5u2q0.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1vejq7c.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1wdd1jv.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yri3x5.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yvxa-k.js +0 -4
- package/standalone/.next/static/chunks/04tejuwcye2k_.js +0 -30
- package/standalone/.next/static/chunks/0_wr9h6ckp7r5.js +0 -1
- package/standalone/.next/static/chunks/0d3rasr6tb96l.js +0 -23
- package/standalone/.next/static/chunks/0mcuo36rz9j57.js +0 -55
- package/standalone/.next/static/chunks/0mpcmi3wv5r7o.js +0 -53
- package/standalone/.next/static/chunks/0sjb80e36gqfr.js +0 -32
- package/standalone/.next/static/chunks/0tm0ig453t45q.js +0 -25
- package/standalone/.next/static/chunks/1gkhfdfmj-oh0.js +0 -43
- package/standalone/.next/static/chunks/1rcjbru7lya3t.js +0 -7
- package/standalone/.next/static/chunks/2-m873nllx-qf.js +0 -1
- package/standalone/.next/static/chunks/26ae644jaqnvj.js +0 -70
- package/standalone/.next/static/chunks/26nqjwc9aov2w.js +0 -1
- package/standalone/.next/static/chunks/28wabrg9wpe9k.js +0 -1
- package/standalone/.next/static/chunks/28xkjksksnsd_.css +0 -1
- package/standalone/.next/static/chunks/2aehz_h31je08.js +0 -1
- package/standalone/.next/static/chunks/2d6gk7-wy11nz.js +0 -13
- package/standalone/.next/static/chunks/2i5bog52_4l9l.js +0 -57
- package/standalone/.next/static/chunks/2m8956anouml3.js +0 -51
- package/standalone/.next/static/chunks/2svylmgfm08d9.js +0 -44
- package/standalone/.next/static/chunks/3nme8562ujl6t.js +0 -1
- package/standalone/.next/static/chunks/3vcuwpsqnytof.js +0 -3
- package/standalone/.next/static/chunks/41s0n0dd89v1t.js +0 -39
- package/standalone/.next/static/media/favicon.2vob68tjqpejf.ico +0 -0
- /package/standalone/.next/server/app/{favicon.ico → icon.svg}/route/build-manifest.json +0 -0
- /package/standalone/.next/server/app/{favicon.ico → icon.svg}/route.js.map +0 -0
- /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → ceEq0H86em_AtOEUk-8ni}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → ceEq0H86em_AtOEUk-8ni}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → ceEq0H86em_AtOEUk-8ni}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,360583,e=>{"use strict";function t(e){if(null==e||""===e)return null;let t=e instanceof Date?e:new Date(e);return Number.isFinite(t.getTime())?t:null}let r=new Map,n=new Map;function o(e,t,n){let o=r.get(e);if(o)return o;let a=new Intl.DateTimeFormat(t,n);return r.set(e,a),a}let a=[["year",31536e3],["month",2592e3],["week",604800],["day",86400],["hour",3600],["minute",60]];function i(e,r="short",l={}){let u=t(e);if(!u)return l.fallback??"—";let s=l.locale||"en";if("relative"===r){var c=l.now??Date.now();let e=Math.round((u.getTime()-c)/1e3),t=function(e){let t=n.get(e);if(t)return t;let r=new Intl.RelativeTimeFormat(e,{numeric:"auto"});return n.set(e,r),r}(s);for(let[r,n]of a)if(Math.abs(e)>=n)return t.format(Math.round(e/n),r);return t.format(e,"second")}let f=l.hour12??!0,d=l.utc?"UTC":l.timeZone,p=l.showTime??!0;return o(`${s}|${r}|${f}|${d??""}|${p}`,s,function(e,t,r,n){let o={hourCycle:t?"h12":"h23"},a=r?{timeZone:r}:{};if("time"===e)return{timeStyle:"medium",...o,...a};let i="long"===e?"full":"medium";return n?{dateStyle:i,timeStyle:"medium",...o,...a}:{dateStyle:i,...a}}(r,f,d,p)).format(u)}function l(e,r={}){let n=t(e);return n?i(n,"short",{...r,locale:"en",showTime:!1}):null}e.s(["DATE_FALLBACK",0,"—","dayKey",0,l,"formatDateValue",0,i,"formatUtcMillis",0,function(e,r="en"){let n=t(e);return n?o(`${r}|utc-millis`,r,{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3,hourCycle:"h23",timeZone:"UTC"}).format(n):"—"},"isSameDay",0,function(e,t,r={}){let n=l(e,r);return null!==n&&n===l(t,r)},"toDate",0,t])},816484,436589,42308,e=>{"use strict";var t,r=e.i(843476),n=e.i(861745),o=e.i(271645),a=e.i(981140),i=e.i(30030),l=e.i(369340),u=e.i(820783),s=e.i(853660),c=e.i(774606),f=e.i(296626),d=e.i(248425),p=e.i(726330),h=Object.defineProperty,m=(e,t)=>h(e,"name",{value:t,configurable:!0}),g="HoverCard",[v,y]=(0,i.createContextScope)(g,[s.createPopperScope]),x=(0,s.createPopperScope)(),[b,P]=v(g),C=m(e=>{let{__scopeHoverCard:t,children:n,open:a,defaultOpen:i,onOpenChange:u,openDelay:c=700,closeDelay:f=300}=e,d=x(t),p=o.useRef(0),h=o.useRef(0),m=o.useRef(!1),v=o.useRef(!1),[y,P]=(0,l.useControllableState)({prop:a,defaultProp:i??!1,onChange:u,caller:g}),C=o.useCallback(()=>{clearTimeout(h.current),p.current=window.setTimeout(()=>P(!0),c)},[c,P]),j=o.useCallback(()=>{clearTimeout(p.current),m.current||v.current||(h.current=window.setTimeout(()=>P(!1),f))},[f,P]),S=o.useCallback(()=>P(!1),[P]);return o.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(h.current)},[]),(0,r.jsx)(b,{scope:t,open:y,onOpenChange:P,onOpen:C,onClose:j,onDismiss:S,hasSelectionRef:m,isPointerDownOnContentRef:v,children:(0,r.jsx)(s.Root,{...d,children:n})})},"HoverCard"),j=o.forwardRef(m(function(e,t){let{__scopeHoverCard:n,...o}=e,i=P("HoverCardTrigger",n),l=x(n);return(0,r.jsx)(s.Anchor,{asChild:!0,...l,children:(0,r.jsx)(d.Primitive.a,{"data-state":i.open?"open":"closed",...o,ref:t,onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,k(i.onOpen)),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,k(i.onClose)),onFocus:(0,a.composeEventHandlers)(e.onFocus,i.onOpen),onBlur:(0,a.composeEventHandlers)(e.onBlur,i.onClose),onTouchStart:(0,a.composeEventHandlers)(e.onTouchStart,e=>e.preventDefault())})})},"HoverCardTrigger")),S="HoverCardPortal",[w,E]=v(S,{forceMount:void 0}),T=m(e=>{let{__scopeHoverCard:t,forceMount:n,children:o,container:a}=e,i=P(S,t);return(0,r.jsx)(w,{scope:t,forceMount:n,children:(0,r.jsx)(f.Presence,{present:n||i.open,children:(0,r.jsx)(c.Portal,{asChild:!0,container:a,children:o})})})},"HoverCardPortal"),R="HoverCardContent",L=o.forwardRef(m(function(e,t){let n=E(R,e.__scopeHoverCard),{forceMount:o=n.forceMount,...i}=e,l=P(R,e.__scopeHoverCard);return(0,r.jsx)(f.Presence,{present:o||l.open,children:(0,r.jsx)(O,{"data-state":l.open?"open":"closed",...i,onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,k(l.onOpen)),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,k(l.onClose)),ref:t})})},"HoverCardContent")),O=o.forwardRef(m(function(e,n){let{__scopeHoverCard:i,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,...h}=e,g=P(R,i),v=x(i),y=o.useRef(null),b=(0,u.useComposedRefs)(n,y),[C,j]=o.useState(!1);return o.useEffect(()=>{if(C){let e=document.body;return t=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=t,e.style.webkitUserSelect=t}}},[C]),o.useEffect(()=>{if(y.current){let e=m(()=>{j(!1),g.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(g.hasSelectionRef.current=!0)})},"handlePointerUp");return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!1}}},[g.isPointerDownOnContentRef,g.hasSelectionRef]),o.useEffect(()=>{y.current&&N(y.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(p.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(0,a.composeEventHandlers)(f,e=>{e.preventDefault()}),onDismiss:g.onDismiss,children:(0,r.jsx)(s.Content,{...v,...h,onPointerDown:(0,a.composeEventHandlers)(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&j(!0),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!0}),ref:b,style:{...h.style,userSelect:C?"text":void 0,WebkitUserSelect:C?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})},"HoverCardContentImpl")),_=o.forwardRef(m(function(e,t){let{__scopeHoverCard:n,...o}=e,a=x(n);return(0,r.jsx)(s.Arrow,{...a,...o,ref:t})},"HoverCardArrow"));function k(e){return t=>"touch"===t.pointerType?void 0:e()}function N(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:m(e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}m(k,"excludeTouch"),m(N,"getTabbableNodes"),e.s(["Arrow",0,_,"Content",0,L,"HoverCard",0,C,"HoverCardArrow",0,_,"HoverCardContent",0,L,"HoverCardPortal",0,T,"HoverCardTrigger",0,j,"Portal",0,T,"Root",0,C,"Trigger",0,j,"createHoverCardScope",0,y],608546);var D=e.i(608546),D=D,A=e.i(975157);function M({...e}){return(0,r.jsx)(D.Root,{"data-slot":"hover-card",...e})}function $({...e}){return(0,r.jsx)(D.Trigger,{"data-slot":"hover-card-trigger",...e})}function H({className:e,align:t="center",sideOffset:n=4,...o}){return(0,r.jsx)(D.Portal,{"data-slot":"hover-card-portal",children:(0,r.jsx)(D.Content,{"data-slot":"hover-card-content",align:t,sideOffset:n,className:(0,A.cn)("z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...o})})}e.s(["HoverCard",0,M,"HoverCardContent",0,H,"HoverCardTrigger",0,$],436589);let U=new Set,I=null,F=Date.now();function z(){for(let e of(F=Date.now(),U))e()}function B(e){return U.add(e),null===I&&(F=Date.now(),I=setInterval(z,1e3)),()=>{U.delete(e),0===U.size&&null!==I&&(clearInterval(I),I=null)}}function K(e){let t=(0,o.useCallback)(()=>{let t;if(null===e)return F;let r=(t=Math.abs(F-e))<6e4?1e3:t<36e5?3e4:t<864e5?3e5:36e5;return Math.floor(F/r)*r},[e]);return(0,o.useSyncExternalStore)(B,t,()=>null)}e.s(["useNow",0,K],42308);var W=e.i(360583);function V(){return(0,r.jsx)("span",{className:"text-[0.85em]",children:"UTC"})}function q({date:e,locale:t,hour12:n,utc:o}){let a=K(e.getTime());return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-xs font-medium tabular-nums",children:(0,W.formatDateValue)(e,"long",{locale:t,hour12:n,utc:o})}),(0,r.jsxs)("p",{className:"mt-0.5 text-[11px] text-muted-foreground tabular-nums",children:[null===a?null:`${(0,W.formatDateValue)(e,"relative",{locale:t,now:a})} \xb7 `,(0,W.formatDateValue)(e,"time",{locale:t,hour12:!0,utc:!0})," ",(0,r.jsx)(V,{})," · ",(0,W.formatUtcMillis)(e,t)," ",(0,r.jsx)(V,{})]})]})}function X({date:e,locale:t,hour12:n,utc:o,showTime:a,absoluteKind:i,onlyToday:l}){let u=K(e.getTime()),s=(0,W.formatDateValue)(e,i,{locale:t,hour12:n,utc:o,showTime:a});return null===u||l&&!(0,W.isSameDay)(e,u,{utc:o})?(0,r.jsx)(r.Fragment,{children:s}):(0,r.jsx)(r.Fragment,{children:(0,W.formatDateValue)(e,"relative",{locale:t,now:u})})}e.s(["DateTime",0,function({value:e,kind:t="short",showTime:o=!0,hour12:a=!0,utc:i=!1,relativeToday:l=!1,hover:u=!0,fallback:s=W.DATE_FALLBACK,className:c}){let f=(0,n.useLocale)(),d=(0,W.toDate)(e);if(!d)return(0,r.jsx)("span",{className:c,children:s});let p="relative"===t||l,h=!p&&"time"!==t&&!o,m=u&&!h,g=(0,r.jsx)("time",{className:(0,A.cn)("tabular-nums",c),dateTime:d.toISOString(),tabIndex:m?0:void 0,children:p?(0,r.jsx)(X,{absoluteKind:"relative"===t?"short":t,date:d,hour12:a,locale:f,onlyToday:l,showTime:o,utc:i}):(0,W.formatDateValue)(d,t,{locale:f,hour12:a,utc:i,showTime:o})});return m?(0,r.jsxs)(M,{children:[(0,r.jsx)($,{asChild:!0,children:g}),(0,r.jsx)(H,{className:"w-auto max-w-[calc(100vw-2rem)] p-2",children:(0,r.jsx)(q,{date:d,hour12:a,locale:f,utc:i})})]}):g}],816484)},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return P},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return x},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return f},getLocationOrigin:function(){return s},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return C}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>l.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=s();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class y extends Error{}class x extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class P extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function C(e){return JSON.stringify({message:e.message,stack:e.stack})}},233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},618566,(e,t,r)=>{t.exports=e.r(976562)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return s},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${l}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return l(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(718967),o=e.r(652817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return x}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809),i=e.r(843476),l=a._(e.r(271645)),u=e.r(195057),s=e.r(8372),c=e.r(818581),f=e.r(718967),d=e.r(405550);e.r(233525);let p=e.r(388540),h=e.r(91949),m=e.r(573668),g=e.r(509396);function v(t){var r,n;let o,a,v,[x,b]=(0,l.useOptimistic)(h.IDLE_LINK_STATUS),P=(0,l.useRef)(null),{href:C,as:j,children:S,prefetch:w=null,passHref:E,replace:T,shallow:R,scroll:L,onClick:O,onMouseEnter:_,onTouchStart:k,legacyBehavior:N=!1,onNavigate:D,transitionTypes:A,ref:M,unstable_dynamicOnHover:$,...H}=t;o=S,N&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let U=l.default.useContext(s.AppRouterContext),I=!1!==w,F=!1!==w?null===(n=w)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,z="string"==typeof(r=j||C)?r:(0,u.formatUrl)(r);if(N){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(o)}let B=N?a&&"object"==typeof a&&a.ref:M,K=l.default.useCallback(e=>(null!==U&&(P.current=(0,h.mountLinkInstance)(e,z,U,F,I,b)),()=>{P.current&&((0,h.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,h.unmountPrefetchableInstance)(e)}),[I,z,U,F,b]),W={ref:(0,c.useMergedRef)(K,B),onClick(t){N||"function"!=typeof O||O(t),N&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,o,a,i,u){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(699781);l.default.startTransition(()=>{f(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(t,z,P,T,L,D,A)},onMouseEnter(e){N||"function"!=typeof _||_(e),N&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),U&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){N||"function"!=typeof k||k(e),N&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),U&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,f.isAbsoluteUrl)(z)?W.href=z:N&&!E&&("a"!==a.type||"href"in a.props)||(W.href=(0,d.addBasePath)(z)),v=N?l.default.cloneElement(a,W):(0,i.jsx)("a",{...H,...W,children:o}),(0,i.jsx)(y.Provider,{value:x,children:v})}e.r(284508);let y=(0,l.createContext)(h.IDLE_LINK_STATUS),x=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77105,549092,489790,33165,e=>{"use strict";var t=e.i(522016),r=e.i(618566),n=e.i(271645),o=e.i(861745),a=e.i(247167);function i(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function l(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function s(e){let t=function(){try{return"true"===a.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),o=n.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return o&&(i+="#"+o),i}function c(e,t){let r,n=s(e),o=s(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(o)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1}}return 0}function v(e){return e.sort(g)}function y(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function x(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function b(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=x(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let l=`${a}=${n};`;for(let[e,t]of Object.entries(i))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}e.s(["getLocaleAsPrefix",0,d,"getLocalePrefix",0,f,"getLocalizedTemplate",0,u,"getSortedPathnames",0,v,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,i,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,c,"normalizeTrailingSlash",0,s,"prefixPathname",0,l,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],549092),e.s(["applyPathnamePrefix",0,function(e,t,r,n){let o,{mode:a}=r.localePrefix;if(void 0!==n)o=n;else if(i(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||a;"always"===n?o=!0:"as-needed"===n&&(o=e?t!==e.defaultLocale:t!==r.defaultLocale)}return o?l(f(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:n,query:o}){function a(e){let a,i=n[e];return i?(a=u(i,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=s(a),o&&(a+=y(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}},"getBasePath",0,x,"getRoute",0,function(e,t,r){let n=v(Object.keys(r)),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(c(n,o))return t}else if(c(u(n,e,t),o))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,y],489790),e.s(["default",0,b],33165);var P=e.i(843476),C=(0,n.forwardRef)(function({href:e,locale:n,localeCookie:a,onClick:i,prefetch:l,...u},s){let c=(0,o.useLocale)(),f=null!=n&&n!==c,d=(0,r.usePathname)();return f&&(l=!1),(0,P.jsx)(t.default,{ref:s,href:e,hrefLang:f?n:void 0,onClick:function(e){b(a,d,c,n),i&&i(e)},prefetch:l,...u})});e.s(["default",0,C],77105)},520133,e=>{"use strict";var t=e.i(618566),r=e.i(271645),n=e.i(861745),o=r["use".trim()],a=e.i(549092),i=e.i(77105),l=e.i(489790),u=e.i(843476),s=e.i(33165);let{Link:c,redirect:f,usePathname:d,useRouter:p,getPathname:h}=function(e){let{Link:c,config:f,getPathname:d,...p}=function(e,n){var s,c,f;let d={...s=n||{},localePrefix:"object"==typeof(f=s.localePrefix)?f:{mode:f||"always"},localeCookie:!!((c=s.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof c&&c},localeDetection:s.localeDetection??!0,alternateLinks:s.alternateLinks??!0},p=d.pathnames,h=(0,r.forwardRef)(function({href:t,locale:r,...n},l){let s,c;"object"==typeof t?(s=t.pathname,c=t.params):s=t;let f=(0,a.isLocalizableHref)(t),h=e(),g=(0,a.isPromise)(h)?o(h):h,v=f?m({locale:r||g,href:null==p?s:{pathname:s,params:c},forcePrefix:null!=r||void 0}):s;return(0,u.jsx)(i.default,{ref:l,href:"object"==typeof t?{...t,pathname:v}:v,locale:r,localeCookie:d.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:o}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,l.serializeSearchParams)(n.query))):t=n:t=(0,l.compileLocalizedPathname)({locale:o,...(0,l.normalizeNameOrNameWithParams)(n),pathnames:d.pathnames}),(0,l.applyPathnamePrefix)(t,o,d,r)}function g(e){return function(t,...r){return e(m(t),...r)}}return{config:d,Link:h,redirect:g(t.redirect),permanentRedirect:g(t.permanentRedirect),getPathname:m}}(n.useLocale,e);return{...p,Link:c,usePathname:function(){let e,o,i=(e=(0,t.usePathname)(),o=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,a.getLocalePrefix)(o,f.localePrefix);if((0,a.hasPathnamePrefixed)(r,e))t=(0,a.unprefixPathname)(e,r);else if("never"!==f.localePrefix.mode&&f.localePrefix.prefixes){let r=(0,a.getLocaleAsPrefix)(o);(0,a.hasPathnamePrefixed)(r,e)&&(t=(0,a.unprefixPathname)(e,r))}return t},[f.localePrefix,o,e])),u=(0,n.useLocale)();return(0,r.useMemo)(()=>i&&f.pathnames?(0,l.getRoute)(u,i,f.pathnames):i,[u,i])},useRouter:function(){let e=(0,t.useRouter)(),o=(0,n.useLocale)(),a=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...i}=r||{},l=[d({href:t,locale:n||o,forcePrefix:null!=n||void 0})];Object.keys(i).length>0&&l.push(i),(0,s.default)(f.localeCookie,a,o,n),e(...l)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[o,a,e])},getPathname:d}}({locales:["en","es","fr","de"],defaultLocale:"en",localePrefix:"always"});e.s(["Link",0,c,"usePathname",0,d,"useRouter",0,p],520133)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(586011),o=e.i(975157);let a=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:i=!1,...l}){let u=i?n.Slot.Root:"span";return(0,t.jsx)(u,{className:(0,o.cn)(a({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},987968,758379,e=>{"use strict";var t=e.i(843476),r=e.i(975157);let n=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,n],758379),e.s(["Spinner",0,function({className:e,...o}){return(0,t.jsx)(n,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...o})}],987968)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,360583,e=>{"use strict";function t(e){if(null==e||""===e)return null;let t=e instanceof Date?e:new Date(e);return Number.isFinite(t.getTime())?t:null}let r=new Map,n=new Map;function o(e,t,n){let o=r.get(e);if(o)return o;let a=new Intl.DateTimeFormat(t,n);return r.set(e,a),a}let a=[["year",31536e3],["month",2592e3],["week",604800],["day",86400],["hour",3600],["minute",60]];function i(e,r="short",l={}){let u=t(e);if(!u)return l.fallback??"—";let s=l.locale||"en";if("relative"===r){var c=l.now??Date.now();let e=Math.round((u.getTime()-c)/1e3),t=function(e){let t=n.get(e);if(t)return t;let r=new Intl.RelativeTimeFormat(e,{numeric:"auto"});return n.set(e,r),r}(s);for(let[r,n]of a)if(Math.abs(e)>=n)return t.format(Math.round(e/n),r);return t.format(e,"second")}let f=l.hour12??!0,d=l.utc?"UTC":l.timeZone,p=l.showTime??!0;return o(`${s}|${r}|${f}|${d??""}|${p}`,s,function(e,t,r,n){let o={hourCycle:t?"h12":"h23"},a=r?{timeZone:r}:{};if("time"===e)return{timeStyle:"medium",...o,...a};let i="long"===e?"full":"medium";return n?{dateStyle:i,timeStyle:"medium",...o,...a}:{dateStyle:i,...a}}(r,f,d,p)).format(u)}function l(e,r={}){let n=t(e);return n?i(n,"short",{...r,locale:"en",showTime:!1}):null}e.s(["DATE_FALLBACK",0,"—","dayKey",0,l,"formatDateValue",0,i,"formatUtcMillis",0,function(e,r="en"){let n=t(e);return n?o(`${r}|utc-millis`,r,{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3,hourCycle:"h23",timeZone:"UTC"}).format(n):"—"},"isSameDay",0,function(e,t,r={}){let n=l(e,r);return null!==n&&n===l(t,r)},"toDate",0,t])},816484,436589,42308,e=>{"use strict";var t,r=e.i(843476),n=e.i(861745),o=e.i(271645),a=e.i(981140),i=e.i(30030),l=e.i(369340),u=e.i(820783),s=e.i(853660),c=e.i(774606),f=e.i(296626),d=e.i(248425),p=e.i(726330),h=Object.defineProperty,m=(e,t)=>h(e,"name",{value:t,configurable:!0}),g="HoverCard",[v,y]=(0,i.createContextScope)(g,[s.createPopperScope]),b=(0,s.createPopperScope)(),[x,P]=v(g),C=m(e=>{let{__scopeHoverCard:t,children:n,open:a,defaultOpen:i,onOpenChange:u,openDelay:c=700,closeDelay:f=300}=e,d=b(t),p=o.useRef(0),h=o.useRef(0),m=o.useRef(!1),v=o.useRef(!1),[y,P]=(0,l.useControllableState)({prop:a,defaultProp:i??!1,onChange:u,caller:g}),C=o.useCallback(()=>{clearTimeout(h.current),p.current=window.setTimeout(()=>P(!0),c)},[c,P]),j=o.useCallback(()=>{clearTimeout(p.current),m.current||v.current||(h.current=window.setTimeout(()=>P(!1),f))},[f,P]),w=o.useCallback(()=>P(!1),[P]);return o.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(h.current)},[]),(0,r.jsx)(x,{scope:t,open:y,onOpenChange:P,onOpen:C,onClose:j,onDismiss:w,hasSelectionRef:m,isPointerDownOnContentRef:v,children:(0,r.jsx)(s.Root,{...d,children:n})})},"HoverCard"),j=o.forwardRef(m(function(e,t){let{__scopeHoverCard:n,...o}=e,i=P("HoverCardTrigger",n),l=b(n);return(0,r.jsx)(s.Anchor,{asChild:!0,...l,children:(0,r.jsx)(d.Primitive.a,{"data-state":i.open?"open":"closed",...o,ref:t,onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,k(i.onOpen)),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,k(i.onClose)),onFocus:(0,a.composeEventHandlers)(e.onFocus,i.onOpen),onBlur:(0,a.composeEventHandlers)(e.onBlur,i.onClose),onTouchStart:(0,a.composeEventHandlers)(e.onTouchStart,e=>e.preventDefault())})})},"HoverCardTrigger")),w="HoverCardPortal",[S,E]=v(w,{forceMount:void 0}),T=m(e=>{let{__scopeHoverCard:t,forceMount:n,children:o,container:a}=e,i=P(w,t);return(0,r.jsx)(S,{scope:t,forceMount:n,children:(0,r.jsx)(f.Presence,{present:n||i.open,children:(0,r.jsx)(c.Portal,{asChild:!0,container:a,children:o})})})},"HoverCardPortal"),R="HoverCardContent",O=o.forwardRef(m(function(e,t){let n=E(R,e.__scopeHoverCard),{forceMount:o=n.forceMount,...i}=e,l=P(R,e.__scopeHoverCard);return(0,r.jsx)(f.Presence,{present:o||l.open,children:(0,r.jsx)(L,{"data-state":l.open?"open":"closed",...i,onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,k(l.onOpen)),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,k(l.onClose)),ref:t})})},"HoverCardContent")),L=o.forwardRef(m(function(e,n){let{__scopeHoverCard:i,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,...h}=e,g=P(R,i),v=b(i),y=o.useRef(null),x=(0,u.useComposedRefs)(n,y),[C,j]=o.useState(!1);return o.useEffect(()=>{if(C){let e=document.body;return t=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=t,e.style.webkitUserSelect=t}}},[C]),o.useEffect(()=>{if(y.current){let e=m(()=>{j(!1),g.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(g.hasSelectionRef.current=!0)})},"handlePointerUp");return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!1}}},[g.isPointerDownOnContentRef,g.hasSelectionRef]),o.useEffect(()=>{y.current&&D(y.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(p.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(0,a.composeEventHandlers)(f,e=>{e.preventDefault()}),onDismiss:g.onDismiss,children:(0,r.jsx)(s.Content,{...v,...h,onPointerDown:(0,a.composeEventHandlers)(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&j(!0),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!0}),ref:x,style:{...h.style,userSelect:C?"text":void 0,WebkitUserSelect:C?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})},"HoverCardContentImpl")),_=o.forwardRef(m(function(e,t){let{__scopeHoverCard:n,...o}=e,a=b(n);return(0,r.jsx)(s.Arrow,{...a,...o,ref:t})},"HoverCardArrow"));function k(e){return t=>"touch"===t.pointerType?void 0:e()}function D(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:m(e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}m(k,"excludeTouch"),m(D,"getTabbableNodes"),e.s(["Arrow",0,_,"Content",0,O,"HoverCard",0,C,"HoverCardArrow",0,_,"HoverCardContent",0,O,"HoverCardPortal",0,T,"HoverCardTrigger",0,j,"Portal",0,T,"Root",0,C,"Trigger",0,j,"createHoverCardScope",0,y],608546);var N=e.i(608546),N=N,A=e.i(975157);function M({...e}){return(0,r.jsx)(N.Root,{"data-slot":"hover-card",...e})}function $({...e}){return(0,r.jsx)(N.Trigger,{"data-slot":"hover-card-trigger",...e})}function U({className:e,align:t="center",sideOffset:n=4,...o}){return(0,r.jsx)(N.Portal,{"data-slot":"hover-card-portal",children:(0,r.jsx)(N.Content,{"data-slot":"hover-card-content",align:t,sideOffset:n,className:(0,A.cn)("z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...o})})}e.s(["HoverCard",0,M,"HoverCardContent",0,U,"HoverCardTrigger",0,$],436589);let H=new Set,I=null,F=Date.now();function B(){for(let e of(F=Date.now(),H))e()}function z(e){return H.add(e),null===I&&(F=Date.now(),I=setInterval(B,1e3)),()=>{H.delete(e),0===H.size&&null!==I&&(clearInterval(I),I=null)}}function K(e){let t=(0,o.useCallback)(()=>{let t;if(null===e)return F;let r=(t=Math.abs(F-e))<6e4?1e3:t<36e5?3e4:t<864e5?3e5:36e5;return Math.floor(F/r)*r},[e]);return(0,o.useSyncExternalStore)(z,t,()=>null)}e.s(["useNow",0,K],42308);var V=e.i(360583);function W(){return(0,r.jsx)("span",{className:"text-[0.85em]",children:"UTC"})}function q({date:e,locale:t,hour12:n,utc:o}){let a=K(e.getTime());return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-xs font-medium tabular-nums",children:(0,V.formatDateValue)(e,"long",{locale:t,hour12:n,utc:o})}),(0,r.jsxs)("p",{className:"mt-0.5 text-[11px] text-muted-foreground tabular-nums",children:[null===a?null:`${(0,V.formatDateValue)(e,"relative",{locale:t,now:a})} \xb7 `,(0,V.formatDateValue)(e,"time",{locale:t,hour12:!0,utc:!0})," ",(0,r.jsx)(W,{})," · ",(0,V.formatUtcMillis)(e,t)," ",(0,r.jsx)(W,{})]})]})}function X({date:e,locale:t,hour12:n,utc:o,showTime:a,absoluteKind:i,onlyToday:l}){let u=K(e.getTime()),s=(0,V.formatDateValue)(e,i,{locale:t,hour12:n,utc:o,showTime:a});return null===u||l&&!(0,V.isSameDay)(e,u,{utc:o})?(0,r.jsx)(r.Fragment,{children:s}):(0,r.jsx)(r.Fragment,{children:(0,V.formatDateValue)(e,"relative",{locale:t,now:u})})}e.s(["DateTime",0,function({value:e,kind:t="short",showTime:o=!0,hour12:a=!0,utc:i=!1,relativeToday:l=!1,hover:u=!0,fallback:s=V.DATE_FALLBACK,className:c}){let f=(0,n.useLocale)(),d=(0,V.toDate)(e);if(!d)return(0,r.jsx)("span",{className:c,children:s});let p="relative"===t||l,h=!p&&"time"!==t&&!o,m=u&&!h,g=(0,r.jsx)("time",{className:(0,A.cn)("tabular-nums",c),dateTime:d.toISOString(),tabIndex:m?0:void 0,children:p?(0,r.jsx)(X,{absoluteKind:"relative"===t?"short":t,date:d,hour12:a,locale:f,onlyToday:l,showTime:o,utc:i}):(0,V.formatDateValue)(d,t,{locale:f,hour12:a,utc:i,showTime:o})});return m?(0,r.jsxs)(M,{children:[(0,r.jsx)($,{asChild:!0,children:g}),(0,r.jsx)(U,{className:"w-auto max-w-[calc(100vw-2rem)] p-2",children:(0,r.jsx)(q,{date:d,hour12:a,locale:f,utc:i})})]}):g}],816484)},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return P},MissingStaticPage:function(){return x},NormalizeError:function(){return y},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return f},getLocationOrigin:function(){return s},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return C}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>l.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=s();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class y extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class P extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function C(e){return JSON.stringify({message:e.message,stack:e.stack})}},233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},618566,(e,t,r)=>{t.exports=e.r(976562)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return s},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${l}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return l(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(718967),o=e.r(652817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809),i=e.r(843476),l=a._(e.r(271645)),u=e.r(195057),s=e.r(8372),c=e.r(818581),f=e.r(718967),d=e.r(405550);e.r(233525);let p=e.r(388540),h=e.r(91949),m=e.r(573668),g=e.r(509396);function v(t){var r,n;let o,a,v,[b,x]=(0,l.useOptimistic)(h.IDLE_LINK_STATUS),P=(0,l.useRef)(null),{href:C,as:j,children:w,prefetch:S=null,passHref:E,replace:T,shallow:R,scroll:O,onClick:L,onMouseEnter:_,onTouchStart:k,legacyBehavior:D=!1,onNavigate:N,transitionTypes:A,ref:M,unstable_dynamicOnHover:$,...U}=t;o=w,D&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let H=l.default.useContext(s.AppRouterContext),I=!1!==S,F=!1!==S?null===(n=S)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=j||C)?r:(0,u.formatUrl)(r);if(D){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(o)}let z=D?a&&"object"==typeof a&&a.ref:M,K=l.default.useCallback(e=>(null!==H&&(P.current=(0,h.mountLinkInstance)(e,B,H,F,I,x)),()=>{P.current&&((0,h.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,h.unmountPrefetchableInstance)(e)}),[I,B,H,F,x]),V={ref:(0,c.useMergedRef)(K,z),onClick(t){D||"function"!=typeof L||L(t),D&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!H||t.defaultPrevented||function(t,r,n,o,a,i,u){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(699781);l.default.startTransition(()=>{f(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(t,B,P,T,O,N,A)},onMouseEnter(e){D||"function"!=typeof _||_(e),D&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),H&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){D||"function"!=typeof k||k(e),D&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),H&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,f.isAbsoluteUrl)(B)?V.href=B:D&&!E&&("a"!==a.type||"href"in a.props)||(V.href=(0,d.addBasePath)(B)),v=D?l.default.cloneElement(a,V):(0,i.jsx)("a",{...U,...V,children:o}),(0,i.jsx)(y.Provider,{value:b,children:v})}e.r(284508);let y=(0,l.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},520133,e=>{"use strict";var t=e.i(618566),r=e.i(271645),n=e.i(861745),o=r["use".trim()],a=e.i(247167);function i(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function l(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function u(e,t){return t===e||t.startsWith(`${e}/`)}function s(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===a.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),o=n.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return o&&(i+="#"+o),i}function f(e,t){let r,n=c(e),o=c(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(o)}function d(e,t){return"never"!==t.mode&&t.prefixes?.[e]||"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1}}return 0}var v=e.i(522016);function y(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function b(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=function(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let l=`${a}=${n};`;for(let[e,t]of Object.entries(i))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}var x=e.i(843476),P=(0,r.forwardRef)(function({href:e,locale:r,localeCookie:o,onClick:a,prefetch:i,...l},u){let s=(0,n.useLocale)(),c=null!=r&&r!==s,f=(0,t.usePathname)();return c&&(i=!1),(0,x.jsx)(v.default,{ref:u,href:e,hrefLang:c?r:void 0,onClick:function(e){b(o,f,s,r),a&&a(e)},prefetch:i,...l})});let{Link:C,redirect:j,usePathname:w,useRouter:S,getPathname:E}=function(e){let{Link:a,config:p,getPathname:h,...m}=function(e,n){var a,l,u;let f={...a=n||{},localePrefix:"object"==typeof(u=a.localePrefix)?u:{mode:u||"always"},localeCookie:!!((l=a.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:a.localeDetection??!0,alternateLinks:a.alternateLinks??!0},p=f.pathnames,h=(0,r.forwardRef)(function({href:t,locale:r,...n},a){let l,u;"object"==typeof t?(l=t.pathname,u=t.params):l=t;let s=i(t),c=e(),d="function"==typeof c.then?o(c):c,h=s?m({locale:r||d,href:null==p?l:{pathname:l,params:u},forcePrefix:null!=r||void 0}):l;return(0,x.jsx)(P,{ref:a,href:"object"==typeof t?{...t,pathname:h}:h,locale:r,localeCookie:f.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:o}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=y(n.query))):t=n:t=function({pathname:e,locale:t,params:r,pathnames:n,query:o}){function a(e){let a,i=n[e];return i?(a=s(i,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=c(a),o&&(a+=y(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}}({locale:o,..."string"==typeof n?{pathname:n}:n,pathnames:f.pathnames}),function(e,t,r,n){var o,a;let l,u,{mode:s}=r.localePrefix;if(void 0!==n)l=n;else if(i(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||s;"always"===n?l=!0:"as-needed"===n&&(l=e?t!==e.defaultLocale:t!==r.defaultLocale)}return l?(o=d(t,r.localePrefix),a=e,u=o,/^\/(\?.*)?$/.test(a)&&(a=a.slice(1)),u+=a):e}(t,o,f,r)}function g(e){return function(t,...r){return e(m(t),...r)}}return{config:f,Link:h,redirect:g(t.redirect),permanentRedirect:g(t.permanentRedirect),getPathname:m}}(n.useLocale,e);return{...m,Link:a,usePathname:function(){let e,o,a=(e=(0,t.usePathname)(),o=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=d(o,p.localePrefix);if(u(r,e))t=l(e,r);else if("never"!==p.localePrefix.mode&&p.localePrefix.prefixes){let r="/"+o;u(r,e)&&(t=l(e,r))}return t},[p.localePrefix,o,e])),i=(0,n.useLocale)();return(0,r.useMemo)(()=>a&&p.pathnames?function(e,t,r){let n=Object.keys(r).sort(g),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(f(n,o))return t}else if(f(s(n,e,t),o))return t}return t}(i,a,p.pathnames):a,[i,a])},useRouter:function(){let e=(0,t.useRouter)(),o=(0,n.useLocale)(),a=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...i}=r||{},l=[h({href:t,locale:n||o,forcePrefix:null!=n||void 0})];Object.keys(i).length>0&&l.push(i),b(p.localeCookie,a,o,n),e(...l)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[o,a,e])},getPathname:h}}({locales:["en","es","fr","de"],defaultLocale:"en",localePrefix:"always"});e.s(["Link",0,C,"usePathname",0,w,"useRouter",0,S],520133)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(586011),o=e.i(975157);let a=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:i=!1,...l}){let u=i?n.Slot.Root:"span";return(0,t.jsx)(u,{className:(0,o.cn)(a({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},987968,758379,e=>{"use strict";var t=e.i(843476),r=e.i(975157);let n=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,n],758379),e.s(["Spinner",0,function({className:e,...o}){return(0,t.jsx)(n,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...o})}],987968)}]);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),i=e.i(820783),s=e.i(326999),n=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,a.createContextScope)("AlertDialog",[s.createDialogScope]),u=(0,s.createDialogScope)(),p=o(e=>{let{__scopeAlertDialog:r,...a}=e,i=u(r);return(0,t.jsx)(s.Root,{...i,...a,modal:!0})},"AlertDialog"),m=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=u(a);return(0,t.jsx)(s.Trigger,{...n,...i,ref:r})},"AlertDialogTrigger")),h=o(e=>{let{__scopeAlertDialog:r,...a}=e,i=u(r);return(0,t.jsx)(s.Portal,{...i,...a})},"AlertDialogPortal"),x=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=u(a);return(0,t.jsx)(s.Overlay,{...n,...i,ref:r})},"AlertDialogOverlay")),[f,g]=d("AlertDialogContent"),w=r.forwardRef(o(function(e,a){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),p=r.useRef(null),m=(0,i.useComposedRefs)(a,p),h=r.useRef(null);return(0,t.jsx)(f,{scope:l,cancelRef:h,children:(0,t.jsx)(s.Content,{role:"alertdialog",...c,...d,ref:m,onOpenAutoFocus:(0,n.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),h.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),y=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=u(a);return(0,t.jsx)(s.Title,{...n,...i,ref:r})},"AlertDialogTitle")),j=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=u(a);return(0,t.jsx)(s.Description,{...n,...i,ref:r})},"AlertDialogDescription")),b=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=u(a);return(0,t.jsx)(s.Close,{...n,...i,ref:r})},"AlertDialogAction")),v=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...n}=e,{cancelRef:l}=g("AlertDialogCancel",a),o=u(a),d=(0,i.useComposedRefs)(r,l);return(0,t.jsx)(s.Close,{...o,...n,ref:d})},"AlertDialogCancel"));e.s(["Action",0,b,"AlertDialog",0,p,"AlertDialogAction",0,b,"AlertDialogCancel",0,v,"AlertDialogContent",0,w,"AlertDialogDescription",0,j,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,h,"AlertDialogTitle",0,y,"AlertDialogTrigger",0,m,"Cancel",0,v,"Content",0,w,"Description",0,j,"Overlay",0,x,"Portal",0,h,"Root",0,p,"Title",0,y,"Trigger",0,m,"createAlertDialogScope",0,c],691162);var k=e.i(691162),k=k,R=e.i(975157),N=e.i(519455);function C({...e}){return(0,t.jsx)(k.Root,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(k.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function A({...e}){return(0,t.jsx)(k.Portal,{"data-slot":"alert-dialog-portal",...e})}function T({className:e,...r}){return(0,t.jsx)(k.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,R.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function S({className:e,size:r="default",...a}){return(0,t.jsxs)(A,{children:[(0,t.jsx)(T,{}),(0,t.jsx)(k.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,R.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function D({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,R.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function E({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,R.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function L({className:e,...r}){return(0,t.jsx)(k.Title,{"data-slot":"alert-dialog-title",className:(0,R.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function M({className:e,...r}){return(0,t.jsx)(k.Description,{"data-slot":"alert-dialog-description",className:(0,R.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function $({className:e,variant:r="default",size:a="default",...i}){return(0,t.jsx)(N.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(k.Action,{"data-slot":"alert-dialog-action",className:(0,R.cn)(e),...i})})}function O({className:e,variant:r="outline",size:a="default",...i}){return(0,t.jsx)(N.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(k.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,R.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:i,onOpenChange:s,open:n,title:l,trigger:o}){return(0,t.jsxs)(C,{onOpenChange:s,open:n,children:[o&&(0,t.jsx)(I,{asChild:!0,children:o}),(0,t.jsxs)(S,{children:[(0,t.jsxs)(D,{children:[(0,t.jsx)(L,{children:l}),(0,t.jsx)(M,{children:a})]}),(0,t.jsxs)(E,{children:[(0,t.jsx)(O,{children:r}),(0,t.jsx)($,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let i=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(i({variant:r,className:e})),...s})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var r=e.i(636162),a=e.i(456420);let i=(0,a.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var s=e.i(876561);let n=(0,a.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),l=(0,a.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),o=(0,a.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,a.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,a.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,a.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var h=e.i(21357);let x=(0,a.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var f=e.i(584026),g=e.i(986206),w=e.i(328623),y=e.i(604139);let j=(0,a.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var b=e.i(747925);let v={apple:r.Apple,"app-window":i,archive:s.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:p,package:m,play:h.Play,rocket:x,shield:f.ShieldCheck,smartphone:g.Smartphone,sparkles:w.Sparkles,terminal:y.Terminal,"test-tube":j,wrench:b.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let r=v[e];return r?(0,t.jsx)(r,{"aria-hidden":!0,className:"size-4"}):null}],687862)},832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},997778,e=>{"use strict";var t=e.i(843476),r=e.i(948148),a=e.i(271645),i=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:n=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(i.DropdownMenu,{children:[(0,t.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(i.DropdownMenuContent,{align:"start",className:"max-w-64",children:[n&&(0,t.jsx)(i.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),s.map(e=>(0,t.jsx)(i.DropdownMenuItem,{onSelect:()=>l(e.key),children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,a.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function r(e){var r;let a=(r=e.url,!r?.startsWith("/")||r.startsWith("//")?null:r);if(a)return{href:a,external:!1};let i=e.kind.trim().toUpperCase(),s=e.resourceId.trim();if(!s)return null;let n="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===i?`/builds/${t(s)}`:"CODEBASE"===i?`/codebases/${t(s)}`:"JIRA_TICKET"===i?`/jira/tickets/${t(s)}`:"WORKTREE"===i?`/worktrees/${t(s)}`:"AGENT_RUN"===i&&"PLAN"===n?`/plans/${t(s)}`:"AGENT_RUN"===i&&"SESSION"===n?`/sessions/${t(s)}`:"PULL_REQUEST"===i?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let a=e.slice(0,r),i=a.indexOf("/");if(i<1||i===a.length-1)return null;let s=Number(e.slice(r+1));return!Number.isInteger(s)||s<1?null:`/pull-requests/${t(a.slice(0,i))}/${t(a.slice(i+1))}/${s}`}(s):"AGENT_JOB"===i?`/jobs/${t(s)}`:"COMMAND_RUN"===i?`/commands/runs/${t(s)}`:"WORKFLOW_RUN"===i?`/workflows/runs/${t(s)}`:"SKILL_SYNC"===i?`/skills/sync/${t(s)}`:"SKILL"===i?`/skills/${t(s)}`:"IOS_DEVICE"===i?`/devices/${t(s)}`:"SIGNING_PROFILE"===i?`/provisioning-profiles/${t(s)}`:"PUSH_NOTIFICATION_BATCH"===i?"/push-notifications":"BUILD_DATA_COLLECTION"===i?"/build-data":"AGENT"===i?`/agents/${t(s)}`:"CODEBASE_REPOSITORY"===i?`/codebases/repositories/${t(s)}`:null;if(l)return{href:l,external:!1};let o=function(e){if(!e)return null;try{let t=new URL(e);return new Set(["http:","https:"]).has(t.protocol)?t.href:null}catch{return null}}(e.url);return o?{href:o,external:!0}:null}function a(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function i(e){return e.map((e,t)=>({destination:r(e),index:t,link:e,time:e.createdAt instanceof Date?e.createdAt.getTime():Date.parse(e.createdAt??"")||0})).filter(e=>null!==e.destination).sort((e,t)=>a(e.link)-a(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function s(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function n(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function l(e,t,r){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===r.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let r=e.trim(),a=t.trim();if(!r||!a)throw Error("GitHub job repository and job ID are required");return`${r}:job:${a}`},"githubPipelineResourceId",0,function(e,t,r){let a=e.trim(),i=t?.trim(),s=r.trim();if(!a||!i&&!s)throw Error("GitHub pipeline repository and provider ID are required");return`${a}:${i?"run":"check"}:${i||s}`},"preferredWorkflowResourceDestination",0,i,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let a=new Set,i=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let i of e.attempts)i.resourceLinks.some(e=>l(e,t,r))&&a.add(i.nodeId);for(let s of e.resourceLinks){if(!l(s,t,r))continue;let n=s.attemptId?i.get(s.attemptId):e.trigger?.nodeId;n&&a.add(n)}return a},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let r of[...e.attempts].sort((t,r)=>Number(r.generation===e.generation)-Number(t.generation===e.generation)||r.generation-t.generation||r.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!r.iterationKey))){if(t.has(r.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",r=s(e.output),a=s(r.value),i={...s(a.sessionPatch),...s(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=n(a.key)??n(s(a.ticket).key)??n(s(i.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=n(a.id),t=n(a.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=n(s(i.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=n(s(i.codebase).id)??n(a.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=n(s(i.build).id)??n(a.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),a=i(e?[...r.resourceLinks,e]:r.resourceLinks);a&&t.set(r.nodeId,a)}let r=i(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&r&&t.set(e.trigger.nodeId,r),t}],880181);var o=e.i(271645),d=e.i(520133);e.s(["useOpenWorkflowDestination",0,function(){let e=(0,d.useRouter)();return(0,o.useCallback)(t=>{if(t){if(t.external)return void window.open(t.href,"_blank","noopener,noreferrer");e.push(t.href)}},[e])}],505624)},586592,e=>{"use strict";var t=e.i(843476),r=e.i(832297),a=e.i(482022),i=e.i(948148),s=e.i(271645),n=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),p=e.i(637611),m=e.i(880181),h=e.i(997778),x=e.i(505624),f=e.i(349049),g=e.i(399668);function w(e){return"string"==typeof e&&e.length>0?e:null}function y({run:e,onAnswered:r}){let a=(0,i.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,c]=(0,s.useState)({}),[m,h]=(0,s.useState)(!1),[x,f]=(0,s.useState)(null),j=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=w(t.id);if(!r||"PENDING"!==t.status)return[];let a=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=w(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:w(e.header),prompt:w(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=w(e.label);return t?[{id:w(e.id)??t,label:t,description:w(e.description)}]:[]})}})(e)??[]);return a.length?[{id:r,kind:e.kind,questions:a}]:[]})),[e]);if(0===j.length)return null;let b=(e,t)=>`${e}:${t}`,v=async(e,t)=>{h(!0);try{await (0,p.controlPlaneRequest)("mutation AnswerWorkflowQuestion($batchId: ID!, $answers: JSON!) { answerWorkflowQuestion(batchId: $batchId, answers: $answers) { id status } }",{batchId:e.id,answers:Object.fromEntries(e.questions.map(e=>[e.id,{answers:t[e.id]??[]}]))}),c(t=>{let r={...t};for(let t of e.questions)delete r[b(e.id,t.id)];return r}),f(null),await r()}catch(e){f(e instanceof Error?e.message:String(e))}finally{h(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[x&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:x})}),j.map(r=>{let i=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[b(r.id,e.id)]??[]).length>0);return(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-amber-500/50 bg-amber-500/5 p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:a("questionFrom",{step:l.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let a=d[b(r.id,e.id)]??[];return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.header||e.prompt}),e.header&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.prompt}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map((s,n)=>(0,t.jsx)(o.Button,{"aria-pressed":i?void 0:a.includes(s.label),disabled:m,onClick:()=>{i?v(r,{[e.id]:[s.label]}):c(t=>{let a=new Set(t[b(r.id,e.id)]??[]);return e.multiSelect?a.has(s.label)?a.delete(s.label):a.add(s.label):(a.clear(),a.add(s.label)),{...t,[b(r.id,e.id)]:[...a]}})},size:"sm",title:s.description??void 0,variant:a.includes(s.label)||i&&0===n?"default":"outline",children:s.label},s.id))})]},e.id)}),!i&&(0,t.jsx)(o.Button,{disabled:m||!s,onClick:()=>void v(r,Object.fromEntries(r.questions.map(e=>[e.id,d[b(r.id,e.id)]??[]]))),size:"sm",children:a("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:r.questions[0].header||r.questions[0].prompt}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:`/workflows/runs/${e.id}`,children:a("answerOnRunPage")})})]})]},r.id)})]})}let j=`
|
|
2
|
+
id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
|
|
3
|
+
sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
|
|
4
|
+
workflow { id name }
|
|
5
|
+
trigger { nodeId }
|
|
6
|
+
version { id workflowId version name description schemaVersion definition contentHash publishedAt }
|
|
7
|
+
attempts {
|
|
8
|
+
id nodeId kind generation iterationKey attempt status phase input output error startedAt finishedAt supersededAt
|
|
9
|
+
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
10
|
+
questionBatches {
|
|
11
|
+
id status
|
|
12
|
+
questions { id header prompt multiSelect options { id label description } }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
16
|
+
`;e.s(["WorkflowResourcePanel",0,function({resourceKind:e,resourceId:w,sessionData:b}){let v=(0,i.useTranslations)("workflows"),k=(0,g.useWorkflowLabels)(),R=(0,x.useOpenWorkflowDestination)(),[N,C]=(0,s.useState)([]),[I,A]=(0,s.useState)([]),[T,S]=(0,s.useState)(null),[D,E]=(0,s.useState)(null),L=(0,s.useCallback)(async()=>{try{let t=await (0,p.controlPlaneRequest)(`query ResourceWorkflows($kind: String!, $resourceId: ID!) {
|
|
17
|
+
workflowRunsForResource(kind: $kind, resourceId: $resourceId) { ${j} }
|
|
18
|
+
workflowsAcceptingResource(kind: $kind) {
|
|
19
|
+
id name description enabled
|
|
20
|
+
hasPlainTrigger(resourceKind: $kind)
|
|
21
|
+
triggerChoices(resourceKind: $kind) { key label description }
|
|
22
|
+
}
|
|
23
|
+
}`,{kind:e,resourceId:w});C(t.workflowRunsForResource),A(t.workflowsAcceptingResource),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}},[w,e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void L(),0),t=(0,p.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void L(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[L]);let M=async(t,r)=>{S(t);try{await (0,p.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:b,resourceKind:e,resourceId:w,subjectKey:`${e}:${w}`,choice:r}}),await L()}catch(e){E(e instanceof Error?e.message:String(e))}finally{S(null)}},$=N[0],O=(0,s.useMemo)(()=>$?(0,m.currentPageWorkflowNodeIds)($,e,w):new Set,[$,w,e]),U=(0,s.useMemo)(()=>$?(0,m.workflowRunNodeDestinations)($):new Map,[$]);return N.length||I.length||D?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:v("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:v("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:"/workflows",children:v("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[D&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:D})}),I.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:I.map(e=>(0,t.jsxs)(c.Item,{size:"sm",variant:"outline",children:[(0,t.jsxs)(c.ItemContent,{children:[(0,t.jsx)(c.ItemTitle,{children:e.name}),e.description&&(0,t.jsx)(c.ItemDescription,{children:e.description})]}),(0,t.jsx)(c.ItemActions,{children:(0,t.jsx)(h.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==T,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",v("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void M(e.id,t)})})]},e.id))}),$&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(u.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${$.id}`,children:[$.workflow.name," #",$.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)($.status),children:k.status($.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${$.id}`,children:[(0,t.jsx)(a.ExternalLink,{})," ",v("fullRun")]})})]}),(0,t.jsx)(y,{onAnswered:L,run:$}),(0,t.jsx)(f.WorkflowGraph,{attempts:$.attempts,compact:!0,currentPageNodeIds:O,definition:$.version.definition,destinations:U,generation:$.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&R(t)}}),N.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:N.slice(1,6).map(e=>(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{className:"gap-2",href:`/workflows/runs/${e.id}`,children:[(0,t.jsxs)("span",{children:["#",e.displayNumber," · ",e.workflow.name]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)(e.status),children:k.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},16781,142833,e=>{"use strict";var t=e.i(843476),r=e.i(482022),a=e.i(730274),i=e.i(948148),s=e.i(271645),n=e.i(159888),l=e.i(689664),o=e.i(508734),d=e.i(772382),c=e.i(519455),u=e.i(462777),p=e.i(975157);function m({bodyHtml:e,className:r}){return(0,t.jsx)("div",{className:(0,p.cn)("prose prose-sm max-w-none break-words dark:prose-invert prose-a:text-primary prose-pre:overflow-x-auto [&_details>summary]:cursor-pointer",r),dangerouslySetInnerHTML:{__html:e}})}function h({body:e,bodyHtml:r,emptyLabel:a,header:x,headerActions:f,headerClassName:g}){let w=(0,i.useTranslations)("githubComments"),[y,j]=(0,s.useState)("RENDERED"),[b,v]=(0,s.useState)("IDLE");(0,s.useEffect)(()=>{if("COPIED"!==b)return;let e=window.setTimeout(()=>v("IDLE"),2e3);return()=>window.clearTimeout(e)},[b]);let k=async()=>{try{await (0,u.copyText)(e),v("COPIED")}catch{v("FAILED")}};return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:(0,p.cn)("flex flex-wrap items-center justify-between gap-2",g),children:[(0,t.jsx)("div",{className:"min-w-0",children:x}),(e||f)&&(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[f,e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.Button,{onClick:()=>j(e=>"RENDERED"===e?"MARKDOWN":"RENDERED"),size:"xs",type:"button",variant:"outline",children:["RENDERED"===y?(0,t.jsx)(n.Braces,{}):(0,t.jsx)(d.Eye,{}),w("RENDERED"===y?"viewRaw":"viewRendered")]}),(0,t.jsxs)(c.Button,{"aria-label":w("copy"),onClick:()=>void k(),size:"xs",type:"button",variant:"outline",children:["COPIED"===b?(0,t.jsx)(l.Check,{}):(0,t.jsx)(o.Copy,{}),w("COPIED"===b?"copied":"copy")]})]})]})]}),"FAILED"===b&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:w("copyFailed")}),e?"MARKDOWN"===y?(0,t.jsx)("pre",{className:"rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:e}):(0,t.jsx)(m,{bodyHtml:r}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:a})]})}e.s(["GitHubMarkdownBlock",0,h],142833);var x=e.i(948812),f=e.i(929592),g=e.i(799676),w=e.i(487486),y=e.i(515288),j=e.i(816484),b=e.i(987968),v=e.i(624687),k=e.i(520133),R=e.i(637611),N=e.i(171502);function C({actor:e,compact:r=!1}){let a=(0,i.useTranslations)("githubComments");return e?(0,t.jsxs)("a",{className:"inline-flex min-w-0 items-center gap-2 hover:underline",href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsxs)(g.Avatar,{className:r?"size-5":"size-7",children:[(0,t.jsx)(g.AvatarImage,{alt:"",src:e.avatarUrl}),(0,t.jsx)(g.AvatarFallback,{children:e.login.slice(0,1).toUpperCase()})]}),(0,t.jsxs)("span",{className:"truncate",children:["@",e.login]})]}):(0,t.jsx)("span",{children:a("unknownAuthor")})}function I(e,t){if("FILE"===e.subjectType)return`${e.path} \xb7 ${t}`;let r=e.line??e.originalLine,a=e.startLine??e.originalStartLine;return null===r?e.path:`${e.path} \xb7 L${a&&a!==r?`${a}–`:""}${r}`}function A({label:e,url:a}){return(0,t.jsx)(c.Button,{asChild:!0,size:"icon-xs",title:e,variant:"outline",children:(0,t.jsx)("a",{"aria-label":e,href:a,rel:"noreferrer",target:"_blank",children:(0,t.jsx)(r.ExternalLink,{})})})}e.s(["ReviewAuthor",0,C,"ReviewThreadCard",0,function({onReplyAdded:e,onStateChanged:r,thread:n}){let l=(0,i.useTranslations)("githubComments"),[o,d]=(0,s.useState)(""),[u,m]=(0,s.useState)(!1),[g,T]=(0,s.useState)(!1),[S,D]=(0,s.useState)(null),E=async t=>{if(t.preventDefault(),o.trim()&&n.viewerCanReply){m(!0);try{let t=await (0,R.controlPlaneRequest)(`mutation ReplyToGitHubReviewThread($threadId: ID!, $body: String!) {
|
|
24
|
+
replyToGitHubReviewThread(threadId: $threadId, body: $body) {
|
|
25
|
+
id body bodyText bodyHtml url author { login avatarUrl url } createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
}`,{threadId:n.id,body:o});e(n.id,t.replyToGitHubReviewThread),d(""),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{m(!1)}}},L=async()=>{let e=!n.isResolved;if((!e||n.viewerCanResolve)&&(e||n.viewerCanUnresolve)){T(!0);try{let t=await (0,R.controlPlaneRequest)(`mutation SetGitHubReviewThreadResolved(
|
|
28
|
+
$threadId: ID!
|
|
29
|
+
$resolved: Boolean!
|
|
30
|
+
) {
|
|
31
|
+
setGitHubReviewThreadResolved(
|
|
32
|
+
threadId: $threadId
|
|
33
|
+
resolved: $resolved
|
|
34
|
+
) { id isResolved viewerCanResolve viewerCanUnresolve resolvedBy { login avatarUrl url } }
|
|
35
|
+
}`,{threadId:n.id,resolved:e});r(t.setGitHubReviewThreadResolved),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{T(!1)}}},M=n.isResolved?n.viewerCanUnresolve:n.viewerCanResolve,$=n.pullRequest.worktreeHighlightColor;return(0,t.jsx)(y.Card,{className:(0,p.cn)($&&"border-l-4",$&&N.worktreeHighlightBackgroundClasses[$],$&&N.worktreeHighlightAccentClasses[$]),children:(0,t.jsxs)(y.CardContent,{className:"space-y-5",children:[(0,t.jsx)(h,{body:n.rootComment.body,bodyHtml:n.rootComment.bodyHtml,emptyLabel:"—",header:(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-sm",children:[(0,t.jsx)(C,{actor:n.rootComment.author}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(j.DateTime,{className:"text-muted-foreground",kind:"relative",value:n.rootComment.createdAt})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,t.jsx)(w.Badge,{className:"max-w-full",title:I(n,l("fileComment")),variant:"outline",children:I(n,l("fileComment"))}),n.isOutdated&&(0,t.jsx)(w.Badge,{variant:"secondary",children:l("outdated")}),(0,t.jsx)(w.Badge,{variant:n.isResolved?"secondary":"outline",children:n.isResolved?l("resolved"):l("unresolved")}),(0,t.jsxs)(k.Link,{className:"font-medium text-primary hover:underline",href:(0,x.pullRequestDetailHref)(n.pullRequest),children:[n.pullRequest.repositoryNameWithOwner," #",n.pullRequest.number]})]})]}),headerActions:(0,t.jsx)(A,{label:l("openInGitHub"),url:n.rootComment.url}),headerClassName:"border-b pb-4"}),n.replies.length>0&&(0,t.jsx)("div",{className:"space-y-3",children:n.replies.map(e=>(0,t.jsx)(y.Card,{size:"sm",children:(0,t.jsx)(y.CardContent,{children:(0,t.jsx)(h,{body:e.body,bodyHtml:e.bodyHtml,emptyLabel:"—",header:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,t.jsx)(C,{actor:e.author,compact:!0}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(j.DateTime,{className:"text-muted-foreground",kind:"relative",value:e.createdAt})]}),headerActions:(0,t.jsx)(A,{label:l("openReplyInGitHub"),url:e.url}),headerClassName:"border-b pb-3"})})},e.id))}),S&&(0,t.jsx)(f.Alert,{variant:"destructive",children:(0,t.jsx)(f.AlertDescription,{children:S})}),(0,t.jsxs)("form",{className:"space-y-3",onSubmit:E,children:[(0,t.jsx)(v.Textarea,{"aria-label":l("reply"),disabled:!n.viewerCanReply||u,onChange:e=>d(e.target.value),placeholder:n.viewerCanReply?l("replyPlaceholder"):l("replyUnavailable"),value:o}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[(0,t.jsxs)(c.Button,{disabled:!M||g,onClick:()=>void L(),type:"button",variant:"outline",children:[g&&(0,t.jsx)(b.Spinner,{}),n.isResolved?l("reopen"):l("resolve")]}),(0,t.jsxs)(c.Button,{disabled:!n.viewerCanReply||u||!o.trim(),type:"submit",children:[u?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(a.Send,{}),u?l("replying"):l("sendReply")]})]})]})]})})}],16781)},337868,e=>{"use strict";var t=e.i(843476),r=e.i(482022);let a=(0,e.i(456420).default)("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]);var i=e.i(634398),s=e.i(269846),n=e.i(741120),l=e.i(948148),o=e.i(618566),d=e.i(271645),c=e.i(647776),u=e.i(961112),p=e.i(9197),m=e.i(321194),h=e.i(975856),x=e.i(57119),f=e.i(567153),g=e.i(142833),w=e.i(346194),y=e.i(16781),j=e.i(356505),b=e.i(929592),v=e.i(799676),k=e.i(487486),R=e.i(519455),N=e.i(515288),C=e.i(816484),I=e.i(82612),A=e.i(987968),T=e.i(784774),S=e.i(520133),D=e.i(637611),E=e.i(975157),L=e.i(171502),M=e.i(940276);function $(e){let t=new URLSearchParams(window.location.search);e?t.set("issue",e):t.delete("issue");let r=t.toString();window.history.pushState(null,"",`${window.location.pathname}${r?`?${r}`:""}`)}function O({label:e,children:r}){return(0,t.jsxs)("div",{className:"grid min-w-0 grid-cols-[auto_minmax(0,1fr)] items-start gap-4",children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"min-w-0 text-right font-medium break-words [overflow-wrap:anywhere]",children:r})]})}function U({label:e,person:r,unknownLabel:a}){return(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("p",{className:"mb-2 text-xs text-muted-foreground",children:e}),r?(0,t.jsxs)("a",{className:"flex items-center gap-2 text-sm hover:underline",href:r.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsxs)(v.Avatar,{className:"size-6",children:[(0,t.jsx)(v.AvatarImage,{alt:"",src:r.avatarUrl}),(0,t.jsx)(v.AvatarFallback,{children:r.login.slice(0,1).toUpperCase()})]}),"@",r.login]}):(0,t.jsx)("p",{className:"text-sm",children:a})]})}e.s(["PullRequestDetailPage",0,function({owner:e,repository:v,number:q}){var P;let H=(0,l.useTranslations)("pullRequestDetail"),B=(0,l.useTranslations)("pullRequests"),_=(0,o.useSearchParams)().get("issue"),[W,z]=(0,d.useState)(null),[G,K]=(0,d.useState)(!0),[F,V]=(0,d.useState)(null),[J,Q]=(0,d.useState)({}),Y=(0,d.useCallback)(async()=>{K(!0);try{let t=await (0,D.controlPlaneRequest)(`query GitHubPullRequestDetail(
|
|
36
|
+
$owner: String!
|
|
37
|
+
$name: String!
|
|
38
|
+
$number: Int!
|
|
39
|
+
) {
|
|
40
|
+
githubPullRequest(owner: $owner, name: $name, number: $number) {
|
|
41
|
+
id codebaseRepositoryId number title url repositoryGithubId repositoryNameWithOwner repositoryUrl labels jiraKey pipelineStatus pipelineRevision pipelines { id name status url checkSuiteId canRetry retryUnavailableReason workflowRunId workflowId runNumber runAttempt jobs { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } } } reviewDecision unresolvedReviewThreadCount headRefOid headRefName createdAt body bodyHtml author { login avatarUrl url } assignees { login avatarUrl url } reviewThreads { id isResolved isOutdated subjectType path line startLine originalLine originalStartLine viewerCanReply viewerCanResolve viewerCanUnresolve resolvedBy { login avatarUrl url } pullRequest { id number title url repositoryNameWithOwner worktreeId worktreeHighlightColor } rootComment { id body bodyText bodyHtml url author { login avatarUrl url } createdAt updatedAt } replies { id body bodyText bodyHtml url author { login avatarUrl url } createdAt updatedAt } } baseRefName state isDraft mergeable additions deletions changedFiles commitCount updatedAt mergedAt worktreeId worktreeHighlightColor
|
|
42
|
+
}
|
|
43
|
+
}`,{owner:e,name:v,number:q});z(t.githubPullRequest),V(null)}catch(e){V(e instanceof Error?e.message:String(e))}finally{K(!1)}},[q,e,v]);(0,d.useEffect)(()=>{let e=window.setTimeout(()=>void Y(),0);return()=>window.clearTimeout(e)},[Y]);let Z=(0,d.useMemo)(()=>W?{repositoryGithubId:W.repositoryGithubId,headSha:W.headRefOid}:null,[W]),X=(0,d.useMemo)(()=>W?{repositoryGithubId:W.repositoryGithubId,repositoryNameWithOwner:W.repositoryNameWithOwner,repositoryUrl:W.repositoryUrl,headSha:W.headRefOid,pipelineStatus:W.pipelineStatus,pipelines:W.pipelines,revision:W.pipelineRevision??0,updatedAt:W.updatedAt}:null,[W]),ee=(0,u.useGitHubPipelineSnapshot)(Z,X),et=ee?.pipelineStatus??W?.pipelineStatus??"NONE",er=ee?.pipelines??W?.pipelines??[],ea=ee?.revision??W?.pipelineRevision??0,ei=(e,t)=>{z(r=>r?{...r,reviewThreads:r.reviewThreads.map(r=>r.id===e?{...r,replies:[...r.replies,t]}:r)}:r)},es=e=>{z(t=>{if(!t)return t;let r=t.reviewThreads.find(t=>t.id===e.id),a=r&&r.isResolved!==e.isResolved?e.isResolved?-1:1:0;return{...t,unresolvedReviewThreadCount:Math.max(0,t.unresolvedReviewThreadCount+a),reviewThreads:t.reviewThreads.map(t=>t.id===e.id?{...t,...e}:t)}})};if(G&&!W)return(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(A.Spinner,{}),H("loading")]});if(!W)return(0,t.jsxs)("section",{className:"mx-auto w-full max-w-5xl space-y-5",children:[F&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:F})}),(0,t.jsxs)(I.Empty,{className:"border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(i.GitPullRequest,{})}),(0,t.jsx)(I.EmptyTitle,{children:H("notFound")}),(0,t.jsx)(I.EmptyDescription,{children:H("notFoundDescription")})]}),(0,t.jsx)(R.Button,{asChild:!0,className:"mt-4",variant:"outline",children:(0,t.jsx)(S.Link,{href:"/pull-requests",children:H("back")})})]})]});let en=W.worktreeHighlightColor;return(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,t.jsxs)("div",{className:(0,E.cn)("flex flex-wrap items-start justify-between gap-4",en&&"rounded-lg border-l-4 p-4",en&&L.worktreeHighlightBackgroundClasses[en],en&&L.worktreeHighlightAccentClasses[en]),children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold break-words tracking-tight [overflow-wrap:anywhere]",children:W.title}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[W.repositoryNameWithOwner," #",W.number]}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[(0,t.jsx)(k.Badge,{children:B(`pullRequestStates.${W.state}`)}),W.isDraft&&(0,t.jsx)(k.Badge,{children:H("draft")}),(0,t.jsx)(k.Badge,{className:"APPROVED"===(P=W.reviewDecision)?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"CHANGES_REQUESTED"===P?"border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-300":"REVIEW_REQUIRED"===P?"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300":"border-slate-500/30 bg-slate-500/10 text-slate-700 dark:text-slate-300",children:B(`reviewStates.${W.reviewDecision}`)}),W.jiraKey&&(0,t.jsx)(k.Badge,{asChild:!0,className:"cursor-pointer hover:bg-muted/80",children:(0,t.jsx)("button",{onClick:()=>$(W.jiraKey),type:"button",children:W.jiraKey})})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[W.worktreeId&&(0,t.jsx)(R.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(S.Link,{href:(0,M.worktreeDetailHref)(W.worktreeId),children:[(0,t.jsx)(s.GitBranch,{}),H("viewWorktree")]})}),"OPEN"===W.state&&(0,t.jsx)(w.MergePullRequestButton,{onMerged:Y,pullRequest:W,requestSource:"PULL_REQUEST_DETAILS",size:"default"}),(0,t.jsxs)(R.Button,{disabled:G,onClick:()=>void Y(),variant:"outline",children:[(0,t.jsx)(n.RefreshCw,{className:G?"animate-spin":void 0}),H("refresh")]}),(0,t.jsx)(R.Button,{asChild:!0,children:(0,t.jsxs)("a",{href:W.url,rel:"noreferrer",target:"_blank",children:[H("openInGitHub"),(0,t.jsx)(r.ExternalLink,{})]})})]})]}),F&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:F})}),(0,t.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-2",children:[(0,t.jsxs)("div",{className:"contents",children:[(0,t.jsx)(N.Card,{className:"min-w-0 order-2 lg:col-span-2",children:(0,t.jsx)(N.CardContent,{children:(0,t.jsx)(g.GitHubMarkdownBlock,{body:W.body,bodyHtml:W.bodyHtml,emptyLabel:H("noDescription"),header:(0,t.jsx)(N.CardTitle,{children:H("description")}),headerClassName:"border-b pb-4"})})}),(0,t.jsxs)("div",{className:"min-w-0 order-3 space-y-4 lg:col-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold",children:H("comments")}),(0,t.jsx)(k.Badge,{variant:"secondary",children:W.reviewThreads.length})]}),0===W.reviewThreads.length?(0,t.jsx)(I.Empty,{className:"border py-8",children:(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyTitle,{children:H("noComments")}),(0,t.jsx)(I.EmptyDescription,{children:H("noCommentsDescription")})]})}):(0,t.jsx)("div",{className:"space-y-5",children:W.reviewThreads.map(e=>(0,t.jsx)(y.ReviewThreadCard,{onReplyAdded:ei,onStateChanged:es,thread:e},e.id))})]}),(0,t.jsxs)(N.Card,{className:"min-w-0 order-4 gap-0 py-0 lg:col-span-2",children:[(0,t.jsxs)(N.CardHeader,{className:"flex grid-cols-none flex-row items-center justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(N.CardTitle,{children:H("pipelines")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:H("pipelineCount",{count:er.length})})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[W.codebaseRepositoryId?(0,t.jsx)(R.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(S.Link,{href:(0,f.actionsForBranchHref)(W.codebaseRepositoryId,W.headRefName),children:H("viewAll")})}):null,W.codebaseRepositoryId?(0,t.jsx)(p.AutoRetryDialog,{allowFuture:!0,branch:W.headRefName,codebaseRepositoryId:W.codebaseRepositoryId,currentRuns:er.filter(e=>e.workflowRunId&&e.workflowId).map(e=>({id:e.workflowRunId,workflowId:e.workflowId,name:e.name,jobs:e.jobs})),pullRequestNumber:W.number,repositoryGithubId:W.repositoryGithubId,requestSource:"PULL_REQUEST_DETAILS"}):null,(0,t.jsx)(c.PipelineMenu,{pipelineStatus:et,pipelines:er,pipelineRevision:ea,headSha:W.headRefOid,repositoryId:W.repositoryGithubId,repositoryNameWithOwner:W.repositoryNameWithOwner,repositoryUrl:W.repositoryUrl,requestSource:"PULL_REQUEST_DETAILS"})]})]}),(0,t.jsx)(N.CardContent,{className:"px-0",children:0===er.length?(0,t.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:B("noPipelines")}):(0,t.jsxs)(T.Table,{children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(T.TableHead,{children:H("pipelineName")}),(0,t.jsx)(T.TableHead,{children:H("pipelineStatus")}),(0,t.jsx)(T.TableHead,{className:"text-right",children:H("pipelineDetails")})]})}),(0,t.jsx)(T.TableBody,{children:er.map(e=>{let r=J[e.id]??null,a=r?.status??e.status,i=r?.url??e.url,s=r?.jobs??e.jobs,n=(0,x.githubPipelineWorkflowResource)({...e,codebaseRepositoryId:W.codebaseRepositoryId,repositoryGithubId:W.repositoryGithubId,repositoryNameWithOwner:W.repositoryNameWithOwner,repositoryUrl:W.repositoryUrl,status:a,url:i,headBranch:W.headRefName,jiraKey:W.jiraKey,worktreeId:W.worktreeId},{pullRequest:{id:W.id,number:W.number,title:W.title,url:W.url,jiraKey:W.jiraKey},worktree:W.worktreeId?{id:W.worktreeId,branch:W.headRefName}:null,ticketKey:W.jiraKey});return(0,t.jsxs)(d.Fragment,{children:[(0,t.jsxs)(T.TableRow,{children:[(0,t.jsxs)(T.TableCell,{className:"font-medium",children:[e.name,e.workflowRunId&&e.runAttempt?(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(m.WorkflowAttemptSelect,{latestAttempt:e.runAttempt,onAttemptChange:t=>Q(r=>({...r,[e.id]:t})),repositoryId:W.repositoryGithubId,requestSource:"PULL_REQUEST_DETAILS",workflowRunId:e.workflowRunId})}):null]}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(k.Badge,{className:(0,c.pipelineStateClass)(a),children:B(`pipelineStates.${a}`)})}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(f.WorkflowRunActionsMenu,{onError:V,requestSource:"PULL_REQUEST_DETAILS",run:{id:e.workflowRunId??e.id,workflowId:e.workflowId??e.name,repositoryGithubId:W.repositoryGithubId,codebaseRepositoryId:!r&&e.workflowRunId?W.codebaseRepositoryId:null,name:e.name,displayTitle:e.name,status:a,url:i,checkSuiteId:r?null:e.checkSuiteId,canRetry:!r&&e.canRetry,retryUnavailableReason:e.retryUnavailableReason},viewAllHref:W.codebaseRepositoryId&&e.workflowId?(0,f.actionsForBranchHref)(W.codebaseRepositoryId,W.headRefName,e.workflowId):null,workflowResource:n})})})]}),(0,t.jsx)(T.TableRow,{className:"bg-muted/20 hover:bg-muted/20",children:(0,t.jsx)(T.TableCell,{className:"p-0",colSpan:3,children:(0,t.jsxs)("div",{className:"border-l-2 border-muted-foreground/20 px-4 py-1",children:[(0,t.jsx)("p",{className:"px-3 py-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:H("jobCount",{count:s.length})}),0===s.length?(0,t.jsx)("p",{className:"px-3 pb-3 text-sm text-muted-foreground",children:H("noJobs")}):(0,t.jsx)("div",{className:"divide-y",children:s.map(r=>(0,t.jsx)(h.WorkflowJob,{checkSuiteId:e.checkSuiteId,job:r,onError:V,repositoryId:W.repositoryGithubId,requestSource:"PULL_REQUEST_DETAILS",workflowResource:(0,x.githubJobWorkflowResource)(n,r,W.codebaseRepositoryId,W.repositoryGithubId)},r.id))})]})})})]},e.id)})})]})})]})]}),(0,t.jsxs)("div",{className:"contents",children:[(0,t.jsxs)(N.Card,{className:"min-w-0 order-1",children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:H("details")})}),(0,t.jsx)(N.CardContent,{children:(0,t.jsxs)("dl",{className:"grid gap-4 text-sm",children:[(0,t.jsx)(O,{label:H("branches"),children:(0,t.jsxs)("span",{className:"font-mono text-xs break-all",children:[W.headRefName," → ",W.baseRefName]})}),(0,t.jsxs)(O,{label:H("changes"),children:[(0,t.jsxs)("span",{className:"text-emerald-600",children:["+",W.additions]})," ",(0,t.jsxs)("span",{className:"text-red-600",children:["−",W.deletions]})]}),(0,t.jsx)(O,{label:H("files"),children:W.changedFiles??"—"}),(0,t.jsx)(O,{label:H("commits"),children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(a,{className:"size-4"}),W.commitCount]})}),(0,t.jsx)(O,{label:H("mergeable"),children:B(`mergeableStates.${W.mergeable}`)}),(0,t.jsx)(O,{label:H("openComments"),children:W.unresolvedReviewThreadCount}),(0,t.jsx)(O,{label:H("created"),children:(0,t.jsx)(C.DateTime,{value:W.createdAt})}),(0,t.jsx)(O,{label:H("updated"),children:(0,t.jsx)(C.DateTime,{value:W.updatedAt})}),W.mergedAt&&(0,t.jsx)(O,{label:H("merged"),children:(0,t.jsx)(C.DateTime,{value:W.mergedAt})})]})})]}),(0,t.jsxs)(N.Card,{className:"min-w-0 order-1",children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:H("people")})}),(0,t.jsxs)(N.CardContent,{className:"space-y-4",children:[(0,t.jsx)(U,{label:H("author"),person:W.author,unknownLabel:H("unknown")}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-2 text-xs text-muted-foreground",children:H("assignees")}),0===W.assignees.length?(0,t.jsx)("p",{className:"text-sm",children:H("unassigned")}):(0,t.jsx)("div",{className:"space-y-2",children:W.assignees.map(e=>(0,t.jsx)(U,{person:e,unknownLabel:H("unknown")},e.login))})]})]})]})]})]}),(0,t.jsx)(j.JiraTicketDrawer,{issueKey:_,onClose:()=>$(null)})]})}],337868)}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),l=e.i(30030),r=e.i(820783),i=e.i(326999),s=e.i(981140),o=Object.defineProperty,n=(e,t)=>o(e,"name",{value:t,configurable:!0}),[d,c]=(0,l.createContextScope)("AlertDialog",[i.createDialogScope]),u=(0,i.createDialogScope)(),p=n(e=>{let{__scopeAlertDialog:a,...l}=e,r=u(a);return(0,t.jsx)(i.Root,{...r,...l,modal:!0})},"AlertDialog"),g=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,s=u(l);return(0,t.jsx)(i.Trigger,{...s,...r,ref:a})},"AlertDialogTrigger")),x=n(e=>{let{__scopeAlertDialog:a,...l}=e,r=u(a);return(0,t.jsx)(i.Portal,{...r,...l})},"AlertDialogPortal"),f=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,s=u(l);return(0,t.jsx)(i.Overlay,{...s,...r,ref:a})},"AlertDialogOverlay")),[m,h]=d("AlertDialogContent"),j=a.forwardRef(n(function(e,l){let{__scopeAlertDialog:o,children:n,...d}=e,c=u(o),p=a.useRef(null),g=(0,r.useComposedRefs)(l,p),x=a.useRef(null);return(0,t.jsx)(m,{scope:o,cancelRef:x,children:(0,t.jsx)(i.Content,{role:"alertdialog",...c,...d,ref:g,onOpenAutoFocus:(0,s.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),x.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:n})})},"AlertDialogContent")),v=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,s=u(l);return(0,t.jsx)(i.Title,{...s,...r,ref:a})},"AlertDialogTitle")),C=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,s=u(l);return(0,t.jsx)(i.Description,{...s,...r,ref:a})},"AlertDialogDescription")),k=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...r}=e,s=u(l);return(0,t.jsx)(i.Close,{...s,...r,ref:a})},"AlertDialogAction")),y=a.forwardRef(n(function(e,a){let{__scopeAlertDialog:l,...s}=e,{cancelRef:o}=h("AlertDialogCancel",l),n=u(l),d=(0,r.useComposedRefs)(a,o);return(0,t.jsx)(i.Close,{...n,...s,ref:d})},"AlertDialogCancel"));e.s(["Action",0,k,"AlertDialog",0,p,"AlertDialogAction",0,k,"AlertDialogCancel",0,y,"AlertDialogContent",0,j,"AlertDialogDescription",0,C,"AlertDialogOverlay",0,f,"AlertDialogPortal",0,x,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,g,"Cancel",0,y,"Content",0,j,"Description",0,C,"Overlay",0,f,"Portal",0,x,"Root",0,p,"Title",0,v,"Trigger",0,g,"createAlertDialogScope",0,c],691162);var S=e.i(691162),S=S,w=e.i(975157),D=e.i(519455);function b({...e}){return(0,t.jsx)(S.Root,{"data-slot":"alert-dialog",...e})}function N({...e}){return(0,t.jsx)(S.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function A({...e}){return(0,t.jsx)(S.Portal,{"data-slot":"alert-dialog-portal",...e})}function R({className:e,...a}){return(0,t.jsx)(S.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,w.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function O({className:e,size:a="default",...l}){return(0,t.jsxs)(A,{children:[(0,t.jsx)(R,{}),(0,t.jsx)(S.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,w.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...l})]})}function T({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,w.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function z({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,w.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function G({className:e,...a}){return(0,t.jsx)(S.Title,{"data-slot":"alert-dialog-title",className:(0,w.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function P({className:e,...a}){return(0,t.jsx)(S.Description,{"data-slot":"alert-dialog-description",className:(0,w.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function L({className:e,variant:a="default",size:l="default",...r}){return(0,t.jsx)(D.Button,{variant:a,size:l,asChild:!0,children:(0,t.jsx)(S.Action,{"data-slot":"alert-dialog-action",className:(0,w.cn)(e),...r})})}function $({className:e,variant:a="outline",size:l="default",...r}){return(0,t.jsx)(D.Button,{variant:a,size:l,asChild:!0,children:(0,t.jsx)(S.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,w.cn)(e),...r})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:l,onConfirm:r,onOpenChange:i,open:s,title:o,trigger:n}){return(0,t.jsxs)(b,{onOpenChange:i,open:s,children:[n&&(0,t.jsx)(N,{asChild:!0,children:n}),(0,t.jsxs)(O,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(G,{children:o}),(0,t.jsx)(P,{children:l})]}),(0,t.jsxs)(z,{children:[(0,t.jsx)($,{children:a}),(0,t.jsx)(L,{onClick:()=>void r(),variant:"destructive",children:e})]})]})]})}],340953)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},753327,e=>{"use strict";var t=e.i(843476),a=e.i(741120),l=e.i(856522),r=e.i(566595),i=e.i(573474),s=e.i(948148),o=e.i(271645),n=e.i(340953),d=e.i(929592),c=e.i(519455),u=e.i(515288),p=e.i(257428),g=e.i(793479),x=e.i(110204),f=e.i(987968),m=e.i(520133),h=e.i(637611);e.s(["SkillGroupDetailPage",0,function({groupId:e}){let j=(0,s.useTranslations)("skills"),v=(0,m.useRouter)(),[C,k]=(0,o.useState)(null),[y,S]=(0,o.useState)([]),[w,D]=(0,o.useState)([]),[b,N]=(0,o.useState)(""),[A,R]=(0,o.useState)([]),[O,T]=(0,o.useState)([]),[z,G]=(0,o.useState)(""),[P,L]=(0,o.useState)(""),[$,I]=(0,o.useState)(!0),[M,B]=(0,o.useState)(!1),[E,H]=(0,o.useState)(null),q=(0,o.useCallback)(async()=>{try{let t=await (0,h.controlPlaneRequest)(`query SkillGroupDetail { skillsOverview {
|
|
2
|
+
groups {
|
|
3
|
+
id name
|
|
4
|
+
skills { id name description }
|
|
5
|
+
repositories { id name displayOrigin }
|
|
6
|
+
}
|
|
7
|
+
skills { id name description syncGlobally packageHash updatedAt files { id path } groups { id name } }
|
|
8
|
+
repositories { id name displayOrigin }
|
|
9
|
+
} }`),a=t.skillsOverview.groups.find(t=>t.id===e);if(!a)throw Error(j("groupNotFound"));k(a),N(a.name),R(a.skills?.map(e=>e.id)??[]),T(a.repositories?.map(e=>e.id)??[]),S(t.skillsOverview.skills),D(t.skillsOverview.repositories)}catch(e){H(e instanceof Error?e.message:String(e))}finally{I(!1)}},[e,j]);(0,o.useEffect)(()=>{let e=window.setTimeout(()=>void q(),0);return()=>window.clearTimeout(e)},[q]);let F=(0,o.useMemo)(()=>y.filter(e=>`${e.name} ${e.description}`.toLocaleLowerCase().includes(z.toLocaleLowerCase())),[z,y]),_=(0,o.useMemo)(()=>w.filter(e=>`${e.name} ${e.displayOrigin}`.toLocaleLowerCase().includes(P.toLocaleLowerCase())),[w,P]),U=async()=>{B(!0);try{await (0,h.controlPlaneRequest)(`mutation SaveSkillGroup($input: SaveSkillGroupInput!) {
|
|
10
|
+
saveSkillGroup(input: $input) { id name }
|
|
11
|
+
}`,{input:{id:e,name:b,skillIds:A,repositoryIds:O}}),await q()}catch(e){H(e instanceof Error?e.message:String(e))}finally{B(!1)}},K=async()=>{B(!0);try{let t=await (0,h.controlPlaneRequest)(`mutation SyncSkillGroup($groupId: ID!) {
|
|
12
|
+
prepareSkillSync(kind: GROUP, groupId: $groupId) { id }
|
|
13
|
+
}`,{groupId:e});v.push(`/skills/sync/${t.prepareSkillSync.id}`)}catch(e){H(e instanceof Error?e.message:String(e)),B(!1)}},V=async()=>{B(!0);try{await (0,h.controlPlaneRequest)("mutation DeleteSkillGroup($id: ID!) { deleteSkillGroup(id: $id) }",{id:e}),v.push("/skills/groups")}catch(e){H(e instanceof Error?e.message:String(e)),B(!1)}};return $||!C?(0,t.jsxs)("div",{className:"flex gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(f.Spinner,{})," ",j("loadingGroup")]}):(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsx)("div",{className:"flex items-center gap-3",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:C.name}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:j("groupSettingsDescription")})]})}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(n.ConfirmationDialog,{actionLabel:j("delete"),cancelLabel:j("cancel"),description:j("deleteGroupDescription",{name:C.name}),onConfirm:V,title:j("deleteGroup"),trigger:(0,t.jsxs)(c.Button,{disabled:M,variant:"destructive",children:[(0,t.jsx)(i.Trash2,{})," ",j("delete")]})}),(0,t.jsxs)(c.Button,{disabled:M,onClick:()=>void K(),variant:"outline",children:[(0,t.jsx)(a.RefreshCw,{})," ",j("syncGroup")]}),(0,t.jsxs)(c.Button,{disabled:M,onClick:()=>void U(),children:[M?(0,t.jsx)(f.Spinner,{}):(0,t.jsx)(l.Save,{})," ",j("saveGroup")]})]})]}),E&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:E})}),(0,t.jsx)(u.Card,{children:(0,t.jsx)(u.CardContent,{children:(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{htmlFor:"skill-group-name",children:j("name")}),(0,t.jsx)(g.Input,{id:"skill-group-name",maxLength:80,onChange:e=>N(e.target.value),value:b})]})})}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsxs)(u.Card,{children:[(0,t.jsx)(u.CardHeader,{children:(0,t.jsx)(u.CardTitle,{children:j("groupSkills")})}),(0,t.jsxs)(u.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(r.Search,{className:"absolute top-2.5 left-3 size-4 text-muted-foreground"}),(0,t.jsx)(g.Input,{className:"pl-9",onChange:e=>G(e.target.value),placeholder:j("searchSkills"),value:z})]}),(0,t.jsx)("div",{className:"max-h-96 space-y-1 overflow-auto",children:F.map(e=>(0,t.jsxs)("label",{className:"flex items-start gap-3 rounded-md border p-3",children:[(0,t.jsx)(p.Checkbox,{checked:A.includes(e.id),onCheckedChange:t=>R(a=>!0===t?[...new Set([...a,e.id])]:a.filter(t=>t!==e.id))}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block font-medium",children:e.name}),(0,t.jsx)("span",{className:"block text-xs text-muted-foreground",children:e.description})]})]},e.id))})]})]}),(0,t.jsxs)(u.Card,{children:[(0,t.jsx)(u.CardHeader,{children:(0,t.jsx)(u.CardTitle,{children:j("groupRepositories")})}),(0,t.jsxs)(u.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(r.Search,{className:"absolute top-2.5 left-3 size-4 text-muted-foreground"}),(0,t.jsx)(g.Input,{className:"pl-9",onChange:e=>L(e.target.value),placeholder:j("searchRepositories"),value:P})]}),(0,t.jsx)("div",{className:"max-h-96 space-y-1 overflow-auto",children:_.map(e=>(0,t.jsxs)("label",{className:"flex items-start gap-3 rounded-md border p-3",children:[(0,t.jsx)(p.Checkbox,{checked:O.includes(e.id),onCheckedChange:t=>T(a=>!0===t?[...new Set([...a,e.id])]:a.filter(t=>t!==e.id))}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block font-medium",children:e.name}),(0,t.jsx)("span",{className:"block text-xs text-muted-foreground",children:e.displayOrigin})]})]},e.id))})]})]})]})]})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,662663,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(853138),l=e.i(876561),n=e.i(489002),r=e.i(55677),i=e.i(762368),o=e.i(829600),d=e.i(120283),u=e.i(328523),c=e.i(515281),p=e.i(21357),h=e.i(395925),m=e.i(566595),x=e.i(730274),g=e.i(573474),f=e.i(747925),j=e.i(861745),v=e.i(948148),b=e.i(340953),y=e.i(816484),w=e.i(225780),k=e.i(929592),C=e.i(487486),N=e.i(519455),S=e.i(515288),T=e.i(257428),A=e.i(776639),R=e.i(755146),D=e.i(793479),$=e.i(110204),I=e.i(967489),E=e.i(677572),P=e.i(987968),M=e.i(784774),L=e.i(624687),_=e.i(520133),B=e.i(637611),F=e.i(767648),O=e.i(266136),U=e.i(975157),H=e.i(171502),q=e.i(42629),z=e.i(689664),W=e.i(716327),G=e.i(452330),V=e.i(508734),J=e.i(462777),Z=e.i(456420);let K=(0,Z.default)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var Q=e.i(271567);let Y=(0,Z.default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);var X=e.i(551757),ee=e.i(559092),et=e.i(235056);let es=(0,Z.default)("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]]);var ea=e.i(671028);let el=(0,Z.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]),en=(0,Z.default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),er=(0,Z.default)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]),ei=(0,Z.default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]),eo=(0,Z.default)("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]);var ed=e.i(841220),eu=e.i(250832),ec=e.i(604139),ep=e.i(594831);function eh(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function em(e){return"string"==typeof e&&e.trim()?e:null}function ex(e){return"number"==typeof e&&Number.isFinite(e)?e:null}function eg(e){return eh(e.raw)}function ef(e){let t=eg(e).method;return"string"==typeof t&&t.length?t:null}function ej(e){return eh(eg(e).params)}function ev(e){let t=eg(e),s=em(t.type);return s&&t.properties?s:null}function eb(e){return eh(eg(e).properties)}function ey(e){let t=eg(e),s=em(t.type);return!s||ev(e)||ef(e)?null:(void 0!==t.session_id||void 0!==t.uuid||void 0!==t.message||void 0!==t.subtype)&&["system","user","assistant","result"].includes(s)?t:null}function ew(e){return e.split(/[/._-]/).flatMap(e=>e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").split(" ")).filter(e=>/[a-z0-9]/i.test(e)).map(e=>e[0].toUpperCase()+e.slice(1)).join(" ")}function ek(e){let t=em(e);return t?(t.includes("-")?t.split("-").pop():t).slice(0,8):""}function eC(e){return e.replace(/\.0$/,"")}function eN(e){return e<1e3?`${Math.round(e)}ms`:e<6e4?`${eC((e/1e3).toFixed(1))}s`:`${eC((e/6e4).toFixed(1))}m`}function eS(e){let t=e>0&&e<.01?6:2;return`$${e.toFixed(t).replace(/0+$/,"").replace(/\.$/,"")}`}function eT(e,t=180){let s=e.replace(/\s+/g," ").trim();return s.length>t?`${s.slice(0,t-1)}…`:s}function eA(e){let t=em(e);if(t)return t;if("number"==typeof e&&Number.isFinite(e))return String(e);if("boolean"==typeof e)return e?"Yes":"No";if(Array.isArray(e)&&e.length)return e.map(e=>em(e)??eM(e,240)).filter(Boolean).join(", ");let s=eh(e);return Object.keys(s).length?eM(s,500):null}function eR(e){return em(eh(ej(e).item).type)}let eD=[[/reason|think/i,Y],[/command|exec|shell|bash|terminal/i,ec.Terminal],[/file|patch|edit|diff|apply/i,es],[/websearch|web_search|search/i,el],[/todo|plan/i,er],[/mcp|tool/i,f.Wrench],[/message/i,ei],[/error|fail/i,a.AlertTriangle]],e$=[[/tokenusage/i,ea.Gauge],[/mcpserver/i,ed.Server],[/settings/i,eu.Settings2],[/^turn\/started/i,p.Play],[/^turn\/completed/i,X.CheckCircle2],[/status/i,K],[/requestuserinput|question/i,et.CircleHelp],[/disconnect/i,ep.Unplug],[/serverconnect|connected/i,eo],[/plan/i,r.ClipboardList]],eI=[[/question/i,et.CircleHelp],[/command|terminal|exec|bash/i,ec.Terminal],[/tool/i,f.Wrench],[/file|diff|patch|edit/i,es],[/reason|think/i,Y],[/usage|token|cost/i,ea.Gauge],[/status/i,K],[/web|search/i,el],[/plan/i,r.ClipboardList],[/result|complete|success|finish/i,X.CheckCircle2],[/user/i,ei],[/assistant|agent|message|text/i,Q.Bot],[/error|fail/i,a.AlertTriangle],[/system|init|hook/i,en]];function eE(e,t){for(let[s,a]of e)if(s.test(t))return a;return null}function eP(e){if(!Array.isArray(e))return null;for(let t of e){let e=em(t);if(e)return e;let s=eh(t),a=em(s.text)??em(s.content);if(a)return a}return null}function eM(e,t=160){let s;try{s=JSON.stringify(e)??""}catch{s=String(e)}return"{}"===(s=s.replace(/\s+/g," ").trim())||"null"===s||""===s?"":s.length>t?`${s.slice(0,t-1)}…`:s}function eL(e,t=new Set){let s=[];for(let[a,l]of Object.entries(e))if(!t.has(a))if("string"==typeof l){let e=l.trim();e&&s.push({label:ew(a),value:e})}else"number"==typeof l&&Number.isFinite(l)?s.push({label:ew(a),value:String(l)}):"boolean"==typeof l&&s.push({label:ew(a),value:l?"Yes":"No"});return s}function e_(e,t,s){for(let[a,l]of[["Total tokens",t.total??t.total_tokens],["Input tokens",t.input??t.input_tokens],["Output tokens",t.output??t.output_tokens],["Reasoning tokens",t.reasoning??t.reasoning_tokens],["Cache read tokens",eh(t.cache).read??t.cache_read_input_tokens],["Cache write tokens",eh(t.cache).write??t.cache_creation_input_tokens]]){let t=ex(l);null!==t&&e.push({label:a,value:s(t)})}}function eB(e){let t=eh(e.message).content;return Array.isArray(t)?t.map(eh):[]}function eF(e,t){let s=function(e){let t=ef(e);if(t){let s=eR(e);return s?eE(eD,s)??ee.CircleDot:eE(e$,t)??Q.Bot}let s=ev(e);if(s){let t=eb(e);if("message.part.updated"===s){let e=eh(t.part),s=em(e.type)??"";if("tool"===s){let t=em(e.tool)??"";return eE(eD,t)??eE(eI,t)??f.Wrench}return eE(eI,s)??ee.CircleDot}return"message.updated"===s?"user"===(em(eh(t.info).role)??"message")?ei:Q.Bot:eE(eI,s)??Q.Bot}let l=ey(e);if(l){let t=em(l.type)??e.type,s=em(l.subtype)??"";return"result"===t?!0===l.is_error?a.AlertTriangle:X.CheckCircle2:"user"===t&&void 0!==eh(l.tool_use_result).stdout?ec.Terminal:"system"===t&&"init"===s?eu.Settings2:"system"===t&&"hook_response"===s?"success"===l.outcome?X.CheckCircle2:a.AlertTriangle:eE(eI,`${t} ${s}`)??Q.Bot}return eE(eI,e.type)??Q.Bot}(e),l=ef(e),n=new Intl.NumberFormat(t??"en-US"),r=e=>n.format(e);if(l){let t=function(e,t,s){if(/tokenusage/i.test(e)){let e,a=eh(t.tokenUsage??t.usage),l=eh(a.total??a),n=ex(l.inputTokens)??0,r=ex(l.outputTokens)??0,i=ex(l.totalTokens)??n+r,o=ex(l.cachedInputTokens),d=ex(l.reasoningOutputTokens),u=ex(a.modelContextWindow),c=[`↑${s(n)}`,`↓${s(r)}`,s(i)];u&&c.push(`${(e=Math.abs(u))>=1e6?`${eC((u/1e6).toFixed(1))}M`:e>=1e3?`${eC((u/1e3).toFixed(1))}K`:String(u)} ctx`);let p=[{label:"Total",value:s(i)},{label:"Input",value:s(n)},{label:"Output",value:s(r)}];return null!==o&&p.push({label:"Cached",value:s(o)}),null!==d&&p.push({label:"Reasoning",value:s(d)}),null!==u&&p.push({label:"Context window",value:s(u)}),{line:c.join(" · "),detailRows:p}}if(/^thread\/status/i.test(e)){let e=eh(t.status),s=em(e.type)??"",a=Array.isArray(e.activeFlags)?e.activeFlags.map(e=>ew(String(e))):[],l=[ew(s),...a].filter(Boolean).join(" · "),n=s?[{label:"Status",value:ew(s)}]:[];return a.length&&n.push({label:"Flags",value:a.join(", ")}),{line:l,detailRows:n}}if(/^turn\//i.test(e)){let e=eh(t.turn),s=em(e.status),a=ex(e.durationMs),l=[ek(e.id)];s&&l.push(ew(s)),a&&l.push(eN(a));let n=[];return e.id&&n.push({label:"Turn",value:ek(e.id)}),s&&n.push({label:"Status",value:ew(s)}),null!==a&&n.push({label:"Duration",value:eN(a)}),em(e.error)&&n.push({label:"Error",value:em(e.error)}),{line:l.filter(Boolean).join(" · "),detailRows:n}}if(/settings/i.test(e)){let e=eh(t.threadSettings??t.settings),s=eh(e.sandboxPolicy),a=eh(e.collaborationMode),l=em(e.model),n=em(e.effort),r=em(a.mode),i=[l,n,r].filter(Boolean).join(" · "),o=[];return l&&o.push({label:"Model",value:l}),em(e.modelProvider)&&o.push({label:"Provider",value:em(e.modelProvider)}),n&&o.push({label:"Effort",value:ew(n)}),r&&o.push({label:"Mode",value:ew(r)}),em(e.approvalPolicy)&&o.push({label:"Approval",value:ew(em(e.approvalPolicy))}),em(s.type)&&o.push({label:"Sandbox",value:ew(em(s.type))}),"boolean"==typeof s.networkAccess&&o.push({label:"Network access",value:s.networkAccess?"Yes":"No"}),em(e.personality)&&o.push({label:"Personality",value:ew(em(e.personality))}),em(e.cwd)&&o.push({label:"Working directory",value:em(e.cwd)}),{line:i,detailRows:o}}if(/mcpserver/i.test(e)){let e=em(t.name)??"",s=em(t.status)??"",a=em(t.failureReason)??em(t.error),l=[e,ew(s),a].filter(Boolean).join(" · "),n=[];return e&&n.push({label:"Server",value:e}),s&&n.push({label:"Status",value:ew(s)}),a&&n.push({label:"Failure",value:a}),{line:l,detailRows:n}}if(/\/delta$/i.test(e))return{line:(em(t.delta)??"").replace(/\s+/g," ").trim(),detailRows:[]};if(e.startsWith("item/")&&t.item){let e=eh(t.item),s=eL(e,new Set(["id"]));return{line:function(e){let t=em(e.text)??em(e.command)??em(e.message)??eP(e.summary)??eP(e.content);if(t)return t.replace(/\s+/g," ").trim();let s=em(e.type);return s?ew(s):""}(e),detailRows:s}}if(/disconnect/i.test(e)){let e=em(t.message)??"";return{line:e,detailRows:e?[{label:"Message",value:e}]:[]}}return null}(l,ej(e),r),a=t?.line||eM(ej(e))||e.summary||"";return{icon:s,methodTitle:ew(l),line:a,detailRows:t?.detailRows??[]}}let i=ev(e);if(i)return{icon:s,...function(e,t,s){let a=eb(e);if("session.status"===t){let e=em(eh(a.status).type)??"Unknown";return{methodTitle:"Session Status",line:ew(e),detailRows:[{label:"Status",value:ew(e)}]}}if("session.diff"===t){let e=Array.isArray(a.diff)?a.diff:[],t=0,l=0,n=[];for(let[a,r]of e.entries()){let e=eh(r);t+=ex(e.additions)??0,l+=ex(e.deletions)??0;let i=em(e.file)??em(e.path)??`File ${a+1}`,o=[null!==ex(e.additions)?`+${s(ex(e.additions))}`:null,null!==ex(e.deletions)?`-${s(ex(e.deletions))}`:null,em(e.status)?ew(em(e.status)):null].filter(Boolean).join(" · ");n.push({label:i,value:o||"Changed"})}return{methodTitle:"Session Diff",line:e.length?`${s(e.length)} ${1===e.length?"file":"files"} \xb7 +${s(t)} -${s(l)}`:"No file changes",detailRows:n}}if("session.updated"===t){let e=eh(a.info),t=eh(e.model),l=eh(e.tokens),n=em(e.title),r=em(t.id),i=em(e.agent),o=ex(e.cost),d=[];return n&&d.push({label:"Title",value:n}),em(e.slug)&&d.push({label:"Slug",value:em(e.slug)}),r&&d.push({label:"Model",value:r}),em(t.providerID)&&d.push({label:"Provider",value:em(t.providerID)}),em(t.variant)&&d.push({label:"Variant",value:em(t.variant)}),i&&d.push({label:"Agent",value:i}),em(e.version)&&d.push({label:"OpenCode version",value:em(e.version)}),em(e.directory)&&d.push({label:"Working directory",value:em(e.directory)}),e_(d,l,s),null!==o&&d.push({label:"Reported cost",value:eS(o)}),{methodTitle:"Session Updated",line:[n,r,i,o?eS(o):null].filter(Boolean).join(" · "),detailRows:d}}if("message.updated"===t){let e=eh(a.info),t=em(e.role)??"message",l=eh(e.model),n=em(e.modelID)??em(l.modelID),r=em(e.providerID)??em(l.providerID),i=em(e.finish),o=em(e.agent),d=eh(e.tokens),u=ex(d.total),c=ex(e.cost),p=[{label:"Role",value:ew(t)}];return n&&p.push({label:"Model",value:n}),r&&p.push({label:"Provider",value:r}),o&&p.push({label:"Agent",value:o}),em(e.mode)&&p.push({label:"Mode",value:ew(em(e.mode))}),i&&p.push({label:"Finish reason",value:ew(i)}),e_(p,d,s),null!==c&&p.push({label:"Reported cost",value:eS(c)}),{methodTitle:`${ew(t)} Message`,line:[n,o,i?ew(i):"Started",null!==u&&u>0?`${s(u)} tokens`:null,c?eS(c):null].filter(Boolean).join(" · "),detailRows:p}}if("message.part.delta"===t){let e=em(a.delta)??"",t=em(a.field),s=[];return t&&s.push({label:"Field",value:ew(t)}),e&&s.push({label:"Text",value:e}),{methodTitle:"Message Text Delta",line:eT(e),detailRows:s}}if("message.part.updated"===t){let e=eh(a.part),t=em(e.type)??"part";if("tool"===t){let t=em(e.tool)??"Tool",a=eh(e.state),l=eh(a.input),n=eh(a.metadata),r=eh(a.time),i=em(a.status),o=em(l.command),d=em(a.title)??o,u=ex(r.start),c=ex(r.end),p=null!==u&&null!==c?c-u:null,h=ex(n.exit),m=em(a.output)??em(n.output),x=[{label:"Tool",value:ew(t)}];i&&x.push({label:"Status",value:ew(i)}),d&&x.push({label:"Title",value:d}),o&&o!==d&&x.push({label:"Command",value:o}),null!==p&&x.push({label:"Duration",value:eN(p)}),null!==h&&x.push({label:"Exit code",value:s(h)});let g=eA(l);return g&&!o&&x.push({label:"Input",value:g}),m&&x.push({label:"Output",value:m}),{methodTitle:`${ew(t)} Tool`,line:[d??ew(t),i?ew(i):null,null!==p?eN(p):null,null!==h?`exit ${s(h)}`:null].filter(Boolean).join(" · "),detailRows:x}}if("step-start"===t){let t=ek(e.snapshot);return{methodTitle:"Step Started",line:t?`Snapshot ${t}`:"Started",detailRows:t?[{label:"Snapshot",value:em(e.snapshot)}]:[]}}if("step-finish"===t){let t=em(e.reason),a=eh(e.tokens),l=ex(a.input),n=ex(a.output),r=ex(a.reasoning),i=ex(e.cost),o=[];return t&&o.push({label:"Finish reason",value:ew(t)}),e_(o,a,s),null!==i&&o.push({label:"Reported cost",value:eS(i)}),em(e.snapshot)&&o.push({label:"Snapshot",value:em(e.snapshot)}),{methodTitle:"Step Finished",line:[t?ew(t):"Finished",null!==l?`↑${s(l)}`:null,null!==n?`↓${s(n)}`:null,r?`${s(r)} reasoning`:null,i?eS(i):null].filter(Boolean).join(" · "),detailRows:o}}return{methodTitle:ew(t),line:ew(t),detailRows:eL(e,new Set(["id","messageID","sessionID"]))}}return{methodTitle:ew(t),line:eM(a)||e.summary||"",detailRows:eL(a)}}(e,i,r)};let o=ey(e);return o?{icon:s,...function(e,t,s){let a=em(t.type)??e.type.toLowerCase(),l=em(t.subtype);if("system"===a&&"init"===l){let e=Array.isArray(t.mcp_servers)?t.mcp_servers:[],a=Array.isArray(t.tools)?t.tools:[],l=Array.isArray(t.agents)?t.agents:[],n=Array.isArray(t.skills)?t.skills:[],r=Array.isArray(t.plugins)?t.plugins:[],i=em(t.model),o=em(t.claude_code_version),d=em(t.permissionMode),u=[];return i&&u.push({label:"Model",value:i}),o&&u.push({label:"Claude Code version",value:o}),d&&u.push({label:"Permission mode",value:ew(d)}),em(t.cwd)&&u.push({label:"Working directory",value:em(t.cwd)}),a.length&&u.push({label:"Tools",value:`${s(a.length)} available`}),l.length&&u.push({label:"Agents",value:l.map(String).join(", ")}),n.length&&u.push({label:"Skills",value:`${s(n.length)} loaded`}),r.length&&u.push({label:"Plugins",value:`${s(r.length)} loaded`}),e.length&&u.push({label:"MCP servers",value:e.map(e=>{let t=eh(e);return[em(t.name),em(t.status)&&ew(em(t.status))].filter(Boolean).join(" · ")}).join(", ")}),{methodTitle:"Claude Initialization",line:[i,o?`v${o}`:null,d&&ew(d)].filter(Boolean).join(" · "),detailRows:u}}if("system"===a&&l?.startsWith("hook_")){let e=em(t.hook_name)??em(t.hook_event)??"Hook",a=em(t.outcome),n=ex(t.exit_code),r="hook_started"===l?"Started":a?ew(a):"Response",i=[{label:"Hook",value:e},{label:"Status",value:r}];return em(t.hook_event)&&i.push({label:"Event",value:ew(em(t.hook_event))}),null!==n&&i.push({label:"Exit code",value:s(n)}),em(t.stdout)&&i.push({label:"Output",value:em(t.stdout)}),em(t.stderr)&&i.push({label:"Error output",value:em(t.stderr)}),{methodTitle:"hook_started"===l?"Hook Started":"Hook Response",line:[e,r,null!==n?`exit ${s(n)}`:null].filter(Boolean).join(" · "),detailRows:i}}if("system"===a&&"status"===l){let e=em(t.status)??"Unknown";return{methodTitle:"Claude Status",line:ew(e),detailRows:[{label:"Status",value:ew(e)}]}}if("user"===a){let s=eB(t).find(e=>"tool_result"===em(e.type)),a=eh(t.tool_use_result);if(s||Object.keys(a).length){let t=em(a.stdout)??em(s?.content)??e.summary,l=em(a.stderr),n=s?.is_error===!0||!!l,r=[];return em(s?.tool_use_id)&&r.push({label:"Tool call",value:ek(s?.tool_use_id)}),r.push({label:"Status",value:n?"Failed":"Completed"}),t&&r.push({label:"Output",value:t}),l&&r.push({label:"Error output",value:l}),"boolean"==typeof a.interrupted&&r.push({label:"Interrupted",value:a.interrupted?"Yes":"No"}),{methodTitle:"Tool Result",line:eT(t||(n?"Tool failed":"Tool completed")),detailRows:r}}}if("assistant"===a){let a=eh(t.message),l=eB(t),n=l.find(e=>"tool_use"===em(e.type)),r=l.find(e=>"text"===em(e.type)),i=eh(a.usage),o=[];if(em(a.model)&&o.push({label:"Model",value:em(a.model)}),e_(o,i,s),n){let e=em(n.name)??"Tool",t=eA(n.input);return t&&o.push({label:"Input",value:t}),{methodTitle:`${ew(e)} Tool Call`,line:[e,t].filter(Boolean).join(" · "),detailRows:o}}return{methodTitle:"Assistant Message",line:eT(em(r?.text)??e.summary),detailRows:o}}if("result"===a){let e=eh(t.usage),a=ex(t.duration_ms),l=ex(t.duration_api_ms),n=ex(t.ttft_ms),r=ex(t.num_turns),i=ex(t.total_cost_usd),o=!0===t.is_error?"Failed":ew(em(t.subtype)??"Completed"),d=[{label:"Status",value:o}];return null!==a&&d.push({label:"Duration",value:eN(a)}),null!==l&&d.push({label:"API duration",value:eN(l)}),null!==n&&d.push({label:"Time to first token",value:eN(n)}),null!==r&&d.push({label:"Turns",value:s(r)}),em(t.stop_reason)&&d.push({label:"Stop reason",value:ew(em(t.stop_reason))}),e_(d,e,s),null!==i&&d.push({label:"Reported cost",value:eS(i)}),{methodTitle:"Result",line:[o,null!==a?eN(a):null,null!==r?`${s(r)} ${1===r?"turn":"turns"}`:null,null!==i?eS(i):null].filter(Boolean).join(" · "),detailRows:d}}return{methodTitle:l?ew(`Claude ${l}`):null,line:eT(e.summary||eM(t)),detailRows:eL(t,new Set(["uuid","session_id"]))}}(e,o,r)}:{icon:s,methodTitle:null,line:e.summary??"",detailRows:[]}}function eO(e){return eh(eb(e).part)}function eU(e){return"message.part.delta"===ev(e)?em(eb(e).partID):em(eO(e).id)}function eH(e){return em(eb(e).messageID)??em(eO(e).messageID)}function eq(e,t){let s=e.children.map(e=>em(eb(e).delta)??"").join("");return{...e.head,type:t,summary:s,detailMarkdown:s,raw:e.children.map(e=>e.raw)}}var ez=e.i(569936),eW=e.i(772382),eG=e.i(918789),eV=e.i(742531);function eJ({value:e,copy:a=!1,showActions:l=!0,raw:n,onRawChange:r}){let[i,o]=(0,s.useState)(!1),d=n??i;return(0,t.jsxs)("div",{className:"space-y-3",children:[l&&(0,t.jsx)(eZ,{copy:a,onRawChange:r??o,raw:d,value:e}),d?(0,t.jsx)("pre",{className:"max-h-[36rem] overflow-auto rounded-lg border bg-muted/40 p-4 text-xs whitespace-pre-wrap",children:e}):(0,t.jsx)("div",{className:"prose prose-sm dark:prose-invert max-w-none overflow-hidden rounded-lg border p-4 break-words [&_pre]:max-w-full [&_pre]:overflow-x-auto [&_table]:block [&_table]:max-w-full [&_table]:overflow-x-auto",children:(0,t.jsx)(eG.default,{remarkPlugins:[eV.default],children:e})})]})}function eZ({value:e,copy:a=!1,raw:l,onRawChange:n}){let[r,i]=(0,s.useState)(!1);return(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsxs)(N.Button,{onClick:()=>n(!l),size:"sm",type:"button",variant:"outline",children:[l?(0,t.jsx)(eW.Eye,{}):(0,t.jsx)(G.Code2,{})," ",l?"Rendered":"Raw"]}),a&&(0,t.jsxs)(N.Button,{onClick:()=>{navigator.clipboard.writeText(e).then(()=>{i(!0),window.setTimeout(()=>i(!1),1500)})},size:"sm",type:"button",variant:"outline",children:[r?(0,t.jsx)(z.Check,{}):(0,t.jsx)(ez.Clipboard,{})," ",r?"Copied":"Copy"]})]})}var eK=e.i(11037);let eQ="bg-muted/10 px-4 py-3 align-top break-words whitespace-normal";function eY(e,t){let s=new Set(e);return s.has(t)?s.delete(t):s.add(t),s}function eX({value:e,action:a}){let l=(0,v.useTranslations)("runs"),[n,r]=(0,s.useState)(!1),i=JSON.stringify(e,null,2);return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[a,(0,t.jsxs)(N.Button,{onClick:()=>void(0,J.copyText)(i).then(()=>{r(!0),window.setTimeout(()=>r(!1),1500)}),size:"xs",type:"button",variant:"outline",children:[n?(0,t.jsx)(z.Check,{}):(0,t.jsx)(V.Copy,{})," ",l(n?"copied":"copy")]})]}),(0,t.jsx)("pre",{className:"max-h-96 overflow-auto rounded bg-muted p-3 text-xs break-words whitespace-pre-wrap",children:i})]})}function e0({rows:e}){return e.length>=3?(0,t.jsx)("div",{className:"overflow-hidden rounded-md border",children:(0,t.jsx)("table",{className:"w-full table-fixed text-xs",children:(0,t.jsx)("tbody",{className:"divide-y",children:e.map((e,s)=>(0,t.jsxs)("tr",{className:"align-top",children:[(0,t.jsx)("th",{className:"w-40 bg-muted/30 px-3 py-2 text-left font-medium break-words text-muted-foreground",children:e.label}),(0,t.jsx)("td",{className:"min-w-0 px-3 py-2 break-words whitespace-pre-wrap",children:e.value})]},`${e.label}:${s}`))})})}):(0,t.jsx)("dl",{className:"grid grid-cols-[minmax(6rem,auto)_1fr] gap-x-4 gap-y-1 text-xs",children:e.map((e,a)=>(0,t.jsxs)(s.Fragment,{children:[(0,t.jsx)("dt",{className:"break-words text-muted-foreground",children:e.label}),(0,t.jsx)("dd",{className:"min-w-0 break-words whitespace-pre-wrap",children:e.value})]},`${e.label}:${a}`))})}function e1({event:e,showRaw:s,onToggleRaw:a}){let l=(0,v.useTranslations)("runs"),n=eF(e,(0,j.useLocale)()).detailRows,r=e.detailMarkdown?.trim()?e.detailMarkdown:null,i=n.length>0||!!r,o=null!==e.raw&&void 0!==e.raw;if(!i&&!o)return(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("noDetail")});if(!i)return(0,t.jsx)(eX,{value:e.raw});let d=o?(0,t.jsxs)(N.Button,{onClick:a,size:"xs",type:"button",variant:"outline",children:[(0,t.jsx)(G.Code2,{})," ",l(s?"rendered":"raw")]}):null;return(0,t.jsx)("div",{className:"space-y-2",children:s&&o?(0,t.jsx)(eX,{action:d,value:e.raw}):(0,t.jsxs)(t.Fragment,{children:[d,(0,t.jsxs)("div",{className:"space-y-3",children:[n.length>0&&(0,t.jsx)(e0,{rows:n}),r&&(0,t.jsx)(eJ,{showActions:!1,value:r})]})]})})}function e2({event:e,title:s,line:a,indent:l=!1,expanded:n,onToggle:r,showRaw:i,onToggleRaw:o}){let d=eF(e,(0,j.useLocale)()).icon;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(M.TableRow,{"aria-expanded":n,className:(0,U.cn)("cursor-pointer",e.supersededAt&&"opacity-60"),onClick:r,children:[(0,t.jsx)(M.TableCell,{className:"h-8 py-1",children:(0,t.jsxs)("span",{className:(0,U.cn)("flex items-center gap-1",l&&"pl-5"),children:[(0,t.jsx)(W.ChevronDown,{className:(0,U.cn)("size-3 transition-transform",n&&"rotate-180")}),(0,t.jsx)(d,{className:"size-3.5 shrink-0"})]})}),(0,t.jsx)(M.TableCell,{className:"h-8 max-w-0 py-1 text-xs",children:(0,t.jsx)("span",{className:"block min-w-0 truncate",children:a})}),(0,t.jsx)(M.TableCell,{className:"h-8 overflow-hidden py-1",children:(0,t.jsx)(C.Badge,{className:"h-5 max-w-full text-[10px]",variant:"outline",children:(0,t.jsx)("span",{className:"min-w-0 truncate",children:s})})}),(0,t.jsx)(M.TableCell,{className:"h-8 py-1",children:(0,t.jsx)(y.DateTime,{className:"text-xs",kind:"time",value:e.createdAt})})]}),n&&(0,t.jsx)(M.TableRow,{className:"hover:bg-transparent",children:(0,t.jsx)(M.TableCell,{className:eQ,colSpan:4,children:(0,t.jsx)("div",{className:(0,U.cn)("w-full min-w-0 space-y-2 break-words",l&&"pl-5"),children:(0,t.jsx)(e1,{event:e,onToggleRaw:o,showRaw:i})})})})]})}function e4({events:e}){let a=(0,v.useTranslations)("runs"),l=(0,j.useLocale)(),n=(0,eK.useRunLabels)(),r=(0,s.useMemo)(()=>(function(e){let t=[],s=new Map,a=new Map,l=new Map,n=new Map;for(let t of e){let e=ev(t);if("message.part.delta"===e){let e=eH(t),s=eU(t);if(e&&s){let t=l.get(e)??[];t.includes(s)||t.push(s),l.set(e,t)}}else if("message.updated"===e){let e=eh(eb(t).info),s=em(e.id),a=em(e.finish);s&&a&&n.set(s,a)}}for(let r of e){let e=ef(r),i=e?.startsWith("item/")?function(e){let t=ej(e);return em(eh(t.item).id)??em(t.itemId)}(r):null;if("item/started"===e&&i){let e={kind:"group",key:`group:${r.id}`,head:r,representative:r,children:[r],detailMode:"children"};t.push(e),s.set(i,e);continue}if(i&&s.has(i)){let t=s.get(i);t.children.push(r),"item/completed"===e&&(t.representative=r,s.delete(i));continue}let o=ev(r),d=eU(r),u="message.part.delta"===o,c="message.part.updated"===o&&"tool"===em(eO(r).type);if(d&&(u||c)){let e=a.get(d);if(e){if(e.children.push(r),u){let t=eH(r),s=t?l.get(t)??[]:[],a=t?n.get(t):null;e.representative=eq(e,"tool-calls"!==a&&1===s.length&&a||s.length>1&&s.at(-1)===d?"ASSISTANT_MESSAGE":"REASONING")}else e.representative=r;continue}let s={kind:"group",key:`opencode:${d}`,head:r,representative:r,children:[r],detailMode:"representative"};if(u){let e=eH(r),t=e?l.get(e)??[]:[],a=e?n.get(e):null;s.representative=eq(s,"tool-calls"!==a&&1===t.length&&a||t.length>1&&t.at(-1)===d?"ASSISTANT_MESSAGE":"REASONING")}t.push(s),a.set(d,s);continue}t.push({kind:"single",key:r.id,event:r})}return t})(e),[e]),[i,o]=(0,s.useState)(new Set),[d,u]=(0,s.useState)(new Set),c=e=>o(t=>eY(t,e)),p=e=>u(t=>eY(t,e));return e.length?(0,t.jsx)(t.Fragment,{children:r.map(e=>{if("single"===e.kind){let s=eF(e.event,l);return(0,t.jsx)(e2,{event:e.event,expanded:i.has(e.key),line:s.line||e.event.summary,onToggle:()=>c(e.key),onToggleRaw:()=>p(e.event.id),showRaw:d.has(e.event.id),title:s.methodTitle??n.eventType(e.event.type)},e.key)}let a=eF(e.representative,l),r=i.has(e.key),o=a.icon;return(0,t.jsxs)(s.Fragment,{children:[(0,t.jsxs)(M.TableRow,{"aria-expanded":r,className:"cursor-pointer",onClick:()=>c(e.key),children:[(0,t.jsx)(M.TableCell,{className:"h-8 py-1",children:(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)(W.ChevronDown,{className:(0,U.cn)("size-3 transition-transform",r&&"rotate-180")}),(0,t.jsx)(o,{className:"size-3.5 shrink-0"})]})}),(0,t.jsx)(M.TableCell,{className:"h-8 max-w-0 py-1 text-xs",children:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"min-w-0 truncate",children:a.line||e.representative.summary}),(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground",children:e.children.length})]})}),(0,t.jsx)(M.TableCell,{className:"h-8 overflow-hidden py-1",children:(0,t.jsx)(C.Badge,{className:"h-5 max-w-full text-[10px]",variant:"outline",children:(0,t.jsx)("span",{className:"min-w-0 truncate",children:function(e){let t=eR(e);if(t)return ew(t);if("message.part.updated"===ev(e)){let t=eh(eb(e).part),s=em(t.type);if("tool"===s)return`${ew(em(t.tool)??"Tool")} Tool`;if(s)return ew(s)}let s=ef(e);return s?ew(s):(0,F.formatEnumLabel)(e.type)}(e.representative)})})}),(0,t.jsx)(M.TableCell,{className:"h-8 py-1",children:(0,t.jsx)(y.DateTime,{className:"text-xs",kind:"time",value:e.head.createdAt})})]}),r&&"representative"===e.detailMode&&(0,t.jsx)(M.TableRow,{className:"hover:bg-transparent",children:(0,t.jsx)(M.TableCell,{className:eQ,colSpan:4,children:(0,t.jsx)("div",{className:"w-full min-w-0 space-y-2 break-words",children:(0,t.jsx)(e1,{event:e.representative,onToggleRaw:()=>p(e.key),showRaw:d.has(e.key)})})})}),r&&"children"===e.detailMode&&e.children.map(e=>{let s=eF(e,l);return(0,t.jsx)(e2,{event:e,expanded:i.has(e.id),indent:!0,line:s.line||e.summary,onToggle:()=>c(e.id),onToggleRaw:()=>p(e.id),showRaw:d.has(e.id),title:s.methodTitle??n.eventType(e.type)},e.id)})]},e.key)})}):(0,t.jsx)(M.TableRow,{children:(0,t.jsx)(M.TableCell,{className:"h-20 text-center text-muted-foreground",colSpan:4,children:a("noActivity")})})}var e3=e.i(95417),e5=e.i(814760);let e7=["CLAUDE","CODEX","OPENCODE"],e6=["CLAUDE","CODEX"];function e8(e,t){let s=URL.createObjectURL(e),a=document.createElement("a");a.href=s,a.download=t,document.body.appendChild(a),a.click(),a.remove(),URL.revokeObjectURL(s)}function e9({value:e}){let s=(0,eK.useRunLabels)(),a=`/${"PLAN"===e.kind?"plans":"sessions"}/${e.id}`;return(0,t.jsxs)(_.Link,{className:"flex items-center gap-2 rounded-lg border p-3 hover:bg-muted/50",href:a,children:[(0,t.jsx)(d.GitFork,{className:"size-4"}),(0,t.jsxs)("span",{className:"font-mono",children:["PLAN"===e.kind?"Plan":"Session"," #",e.displayNumber]}),e.followUpMode&&(0,t.jsx)(C.Badge,{variant:"outline",children:s.followUpMode(e.followUpMode)}),(0,t.jsx)(C.Badge,{className:"ml-auto",variant:"secondary",children:s.status(e.status)})]})}function te(e){return!e||"object"!=typeof e||Array.isArray(e)?{}:Object.fromEntries(Object.entries(e).map(([e,t])=>{let s=t&&"object"==typeof t&&!Array.isArray(t)?t:{};return[e,Array.isArray(s.answers)?s.answers.map(String):"string"==typeof s.answer?[s.answer]:[]]}))}function tt({batch:e,editable:l,onAnswered:n}){let r=(0,v.useTranslations)("runs"),i=(0,_.useRouter)(),[o,d]=(0,s.useState)({}),[u,p]=(0,s.useState)({}),[m,g]=(0,s.useState)(!1),[f,j]=(0,s.useState)(null),[b,R]=(0,s.useState)(!1),[I,E]=(0,s.useState)(!1),[M,L]=(0,s.useState)(!1),[F,O]=(0,s.useState)(!0),U=async()=>{g(!0);try{let t=Object.fromEntries(e.questions.map(e=>{let t=[...o[e.id]??[]];return u[e.id]?.trim()&&t.push(u[e.id].trim()),[e.id,{answers:t}]}));await (0,B.controlPlaneRequest)("mutation AnswerQuestion($batchId: ID!, $answers: JSON!) { answerRunQuestion(batchId: $batchId, answers: $answers) { id } }",{batchId:e.id,answers:t}),await n()}catch(e){j(e instanceof Error?e.message:String(e))}finally{g(!1)}},H=e.answerRevisions.at(-1);(0,s.useEffect)(()=>{if(!b)return;if(e.revisionPreparedAt){let t=window.setTimeout(()=>{let t=te(H?.answers),s={},a={};for(let l of e.questions){let e=new Set(l.options.map(({label:e})=>e));s[l.id]=(t[l.id]??[]).filter(t=>e.has(t)),a[l.id]=(t[l.id]??[]).filter(t=>!e.has(t)).join("\n")}d(s),p(a),R(!1),E(!0)},0);return()=>window.clearTimeout(t)}let t=window.setInterval(()=>void n(),1e3);return()=>window.clearInterval(t)},[e.questions,e.revisionPreparedAt,H?.answers,n,b]);let q=async()=>{R(!0),j(null);try{await (0,B.controlPlaneRequest)("mutation PrepareAnswerRevision($batchId: ID!) { prepareRunAnswerRevision(batchId: $batchId) { id } }",{batchId:e.id}),await n()}catch(e){R(!1),j(e instanceof Error?e.message:String(e))}},z=async()=>{g(!0);try{let t=Object.fromEntries(e.questions.map(e=>{let t=[...o[e.id]??[]];return u[e.id]?.trim()&&t.push(u[e.id].trim()),[e.id,{answers:t}]})),s=await (0,B.controlPlaneRequest)("mutation ReviseAnswer($batchId: ID!, $answers: JSON!, $stash: Boolean!, $rollback: Boolean!) { reviseRunAnswer(batchId: $batchId, answers: $answers, stash: $stash, rollback: $rollback) { id kind } }",{batchId:e.id,answers:t,stash:F&&M,rollback:F});E(!1),i.push(`/${"PLAN"===s.reviseRunAnswer.kind?"plans":"sessions"}/${s.reviseRunAnswer.id}`)}catch(e){j(e instanceof Error?e.message:String(e))}finally{g(!1)}},W=e.questions.map(e=>(0,t.jsxs)("div",{className:"space-y-3",children:[e.header&&(0,t.jsx)(C.Badge,{variant:"outline",children:e.header}),(0,t.jsx)("p",{className:"font-medium",children:e.prompt}),(0,t.jsx)("div",{className:"space-y-2",children:e.options.map(s=>{let a=o[e.id]?.includes(s.label)??!1;return(0,t.jsxs)("label",{className:"flex items-start gap-3 rounded-lg border p-3",children:[(0,t.jsx)(T.Checkbox,{checked:a,onCheckedChange:t=>d(a=>{let l=new Set(a[e.id]??[]);return e.multiSelect||l.clear(),t?l.add(s.label):l.delete(s.label),{...a,[e.id]:[...l]}})}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block font-medium",children:s.label}),s.description&&(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:s.description})]})]},s.id)})}),e.allowCustom&&(0,t.jsx)(D.Input,{"aria-label":r("customAnswer"),onChange:t=>p(s=>({...s,[e.id]:t.target.value})),placeholder:r("customAnswer"),value:u[e.id]??""})]},e.id)),G=te(H?.answers);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(S.Card,{className:"PENDING"===e.status?"border-primary/50":void 0,children:[(0,t.jsx)(S.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(S.CardTitle,{className:"flex items-center gap-2 text-base",children:"PENDING"===e.status?r("answerNeeded"):r("answeredQuestions")}),(0,t.jsx)(S.CardDescription,{children:(0,t.jsx)(y.DateTime,{value:e.createdAt})})]}),"ANSWERED"===e.status&&l&&(0,t.jsxs)(N.Button,{disabled:b,onClick:()=>void q(),size:"sm",variant:"outline",children:[b?(0,t.jsx)(P.Spinner,{}):(0,t.jsx)(c.Pencil,{})," ",b?r("prepareRevision"):r("editAnswer")]})]})}),(0,t.jsxs)(S.CardContent,{className:"space-y-5",children:[f&&(0,t.jsx)(k.Alert,{variant:"destructive",children:(0,t.jsx)(k.AlertDescription,{children:f})}),"PENDING"===e.status?W:(0,t.jsx)("div",{className:"divide-y rounded-lg border",children:e.questions.map(e=>(0,t.jsxs)("div",{className:"space-y-2 p-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[e.header&&(0,t.jsx)(C.Badge,{variant:"outline",children:e.header}),(0,t.jsx)("p",{className:"font-medium",children:e.prompt})]}),(0,t.jsx)("div",{className:"space-y-1.5",children:(G[e.id]??[]).length?G[e.id].map(s=>{let a=e.options.find(e=>e.label===s)?.description;return(0,t.jsxs)("p",{className:"text-sm",children:[(0,t.jsx)("span",{className:"mr-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:r("answer")}),(0,t.jsx)("span",{className:"font-semibold",children:s}),a&&(0,t.jsxs)("span",{className:"text-muted-foreground",children:[" — ",a]})]},s)}):(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})})]},e.id))}),"PENDING"===e.status&&(0,t.jsxs)(N.Button,{disabled:m,onClick:()=>void U(),children:[m?(0,t.jsx)(P.Spinner,{}):(0,t.jsx)(x.Send,{})," ",r("submitAnswers")]})]})]}),(0,t.jsx)(A.Dialog,{onOpenChange:E,open:I,children:(0,t.jsxs)(A.DialogContent,{className:"sm:max-w-3xl",children:[(0,t.jsxs)(A.DialogHeader,{children:[(0,t.jsx)(A.DialogTitle,{children:r("editAnswer")}),(0,t.jsx)(A.DialogDescription,{children:F?r("revisionDescription"):r("revisionDescriptionNoRollback")})]}),F&&e.pushedCommitWarning&&(0,t.jsxs)(k.Alert,{variant:"destructive",children:[(0,t.jsx)(a.AlertTriangle,{}),(0,t.jsx)(k.AlertDescription,{children:e.pushedCommitWarning})]}),(0,t.jsxs)("label",{className:"flex items-start gap-3 rounded-lg border p-3",children:[(0,t.jsx)(T.Checkbox,{checked:F,className:"mt-0.5",onCheckedChange:e=>O(!!e)}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block font-medium",children:r("rollbackChanges")}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:r("rollbackChangesHint")})]})]}),F&&(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)($.Label,{children:r("rollbackDiff")}),e.rollbackPatch?(0,t.jsx)(w.ExpandablePatchView,{className:"max-h-64 overflow-y-auto",patch:e.rollbackPatch}):(0,t.jsx)("p",{className:"rounded-lg border p-3 text-sm text-muted-foreground",children:r("noRollbackChanges")})]}),(0,t.jsx)("div",{className:"space-y-5",children:W}),F&&(0,t.jsxs)("label",{className:"flex items-center gap-3 rounded-lg border p-3",children:[(0,t.jsx)(T.Checkbox,{checked:M,onCheckedChange:e=>L(!!e)}),(0,t.jsx)("span",{children:r("stashBeforeRollback")})]}),(0,t.jsx)(A.DialogFooter,{showCloseButton:!0,children:(0,t.jsxs)(N.Button,{disabled:m,onClick:()=>void z(),variant:F?"destructive":"default",children:[m?(0,t.jsx)(P.Spinner,{}):F?(0,t.jsx)(h.RotateCcw,{}):(0,t.jsx)(x.Send,{})," ",r("confirmRevision")]})})]})})]})}e.s(["RunDetailPage",0,function({children:e,runId:c}){let z=(0,v.useTranslations)("runs"),W=(0,eK.useRunLabels)(),G=(0,j.useLocale)(),V=(0,_.useRouter)(),[J,Z]=(0,s.useState)(null),[K,Q]=(0,s.useState)([]),[Y,X]=(0,s.useState)(""),[ee,et]=(0,s.useState)(!1),[es,ea]=(0,s.useState)(!1),[el,en]=(0,s.useState)(null),[er,ei]=(0,s.useState)(!0),[eo,ed]=(0,s.useState)(null),[eu,ec]=(0,s.useState)(""),[ep,eh]=(0,s.useState)([]),[em,ex]=(0,s.useState)("RESUME"),[eg,ef]=(0,s.useState)(""),[ej,ev]=(0,s.useState)(""),[eb,ey]=(0,s.useState)(""),[ew,ek]=(0,s.useState)("auto"),[eC,eN]=(0,s.useState)(!1),[eS,eT]=(0,s.useState)([]),[eA,eR]=(0,s.useState)([]),[eD,e$]=(0,s.useState)([]),[eI,eE]=(0,s.useState)("NORMALIZED"),[eP,eM]=(0,s.useState)(!1),[eL,e_]=(0,s.useState)(!1),[eB,eF]=(0,s.useState)(!1),[eO,eU]=(0,s.useState)([]),eH=(0,s.useRef)(null),eq=(0,s.useRef)(!0),ez=(0,s.useCallback)(()=>{let e=eH.current;e&&(eq.current=e.scrollHeight-e.scrollTop-e.clientHeight<=24)},[]);(0,s.useEffect)(()=>{let e=eH.current;e&&eq.current&&(e.scrollTop=e.scrollHeight)},[K]);let eW=(0,s.useCallback)(async e=>{let t,s,a,l=[],n=-1;for(;;){let e=(await (0,B.controlPlaneRequest)(`query RunActivityExport($runId: ID!, $afterSequence: Int!) { runEvents(runId: $runId, afterSequence: $afterSequence, first: 500, includeSuperseded: true) { ${q.RUN_EVENT_FIELDS} } }`,{runId:c,afterSequence:n})).runEvents;if(l.push(...e),e.length<500)break;n=e[e.length-1].sequence}let r=new Date().toISOString().replace(/[:.]/g,"-"),i=`run-${c}-activity-${r}`;"json"===e?(t=JSON.stringify(l.map(e=>({id:e.id,sequence:e.sequence,type:e.type,summary:e.summary,detailMarkdown:e.detailMarkdown,raw:e.raw,createdAt:e.createdAt,supersededAt:e.supersededAt})),null,2),s="application/json",a=`${i}.json`):"jsonl"===e?(t=l.filter(e=>null!==e.raw&&void 0!==e.raw).map(e=>JSON.stringify(e.raw)).join("\n"),s="application/x-ndjson",a=`run-${c}-session-${r}.jsonl`):(t=l.map(e=>{let t=[`## ${e.summary}`,"",`- **Type:** ${e.type}`,`- **Time:** ${e.createdAt}`];return e.supersededAt&&t.push(`- **Superseded:** ${e.supersededAt}`),e.detailMarkdown&&t.push("",e.detailMarkdown),null!==e.raw&&void 0!==e.raw&&t.push("","```json",JSON.stringify(e.raw,null,2),"```"),t.join("\n")}).join("\n\n---\n\n"),s="text/markdown",a=`${i}.md`),e8(new Blob([t],{type:s}),a)},[c]),eG=(0,s.useCallback)(async()=>{let{filename:e,contentBase64:t}=(await (0,B.controlPlaneRequest)("query RunNativeSessionFile($runId: ID!) { runNativeSessionFile(runId: $runId) { filename contentBase64 } }",{runId:c})).runNativeSessionFile,s=atob(t),a=new Uint8Array(s.length);for(let e=0;e<s.length;e+=1)a[e]=s.charCodeAt(e);e8(new Blob([a],{type:"application/x-ndjson"}),e)},[c]),eV=(0,s.useCallback)(async()=>{try{let e=await (0,B.controlPlaneRequest)(`query AgentRunDetail($id: ID!) { agentRun(id: $id) { ${q.RUN_DETAIL_FIELDS} } runProviderCatalog(runId: $id) { key label available supportsWebSearch supportsPause supportsSteering supportsResume supportsNativeDelete models { id label efforts group } } }`,{id:c});Z(e.agentRun),e$(e.runProviderCatalog),e.agentRun&&!ej&&(ev(e.agentRun.provider),ey(e.agentRun.model),ek(e.agentRun.effort??"auto"),eN(e.agentRun.webSearchEnabled)),en(null)}catch(e){en(e instanceof Error?e.message:String(e))}finally{ei(!1)}},[ej,c]),eQ=(0,s.useCallback)(async()=>{try{let e=[],t=-1;for(;;){let s=(await (0,B.controlPlaneRequest)(`query RunActivity($runId: ID!, $search: String, $afterSequence: Int!) { runEvents(runId: $runId, search: $search, afterSequence: $afterSequence, first: 500) { ${q.RUN_EVENT_FIELDS} } }`,{runId:c,search:Y.trim()||null,afterSequence:t})).runEvents;if(e.push(...s),s.length<500)break;let a=s[s.length-1].sequence;if(a<=t)break;t=a}Q(e)}catch(e){en(e instanceof Error?e.message:String(e))}},[c,Y]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void eV(),0);return()=>window.clearTimeout(e)},[eV]),(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void eQ(),150);return()=>window.clearTimeout(e)},[eQ]),(0,s.useEffect)(()=>{let e=(0,B.controlPlaneSubscriptions)(),t=e.subscribe({query:`subscription RunChanged($runId: ID!) { agentRunChanged(runId: $runId) { ${q.RUN_DETAIL_FIELDS} } }`,variables:{runId:c}},{next:e=>{let t=e.data?.agentRunChanged;t&&Z(t)},error:()=>void 0,complete:()=>void 0}),s=e.subscribe({query:`subscription RunEvent($runId: ID!) { runEventAdded(runId: $runId) { ${q.RUN_EVENT_FIELDS} } }`,variables:{runId:c}},{next:e=>{let t=e.data?.runEventAdded;t&&Q(e=>e.some(({id:e})=>e===t.id)?e:[...e,t])},error:()=>void 0,complete:()=>void 0}),a=e.subscribe({query:"subscription RunQuestion($runId: ID!) { runQuestionChanged(runId: $runId) { id } }",variables:{runId:c}},{next:()=>void eV(),error:()=>void 0,complete:()=>void 0});return()=>{t(),s(),a()}},[eV,c]);let eY=async e=>{ed(e);try{let t="play"===e?"mutation Play($id: ID!, $mcpPresetIds: [ID!]!) { playPlan(planId: $id, mcpPresetIds: $mcpPresetIds) { id } }":`mutation Lifecycle($id: ID!) { ${e}AgentRun(id: $id) { id } }`;await (0,B.controlPlaneRequest)(t,{id:c,..."play"===e?{mcpPresetIds:eO}:{}}),await eV(),"play"===e&&(eF(!1),eU([]))}catch(e){en(e instanceof Error?e.message:String(e))}finally{ed(null)}},eX=async(e,t)=>{if(e.length){ed("upload");try{let s=[];for(let t of e){let e=await fetch("/api/run-attachments",{method:"POST",headers:{"content-type":t.type||"application/octet-stream","x-attachment-filename":encodeURIComponent(t.name)},body:t}),a=await e.json();if(!e.ok)throw Error(a.error||z("uploadFailed"));s.push({...a,downloadPath:`/api/run-attachments/${a.id}`,createdAt:new Date().toISOString()})}t(e=>[...e,...s])}catch(e){en(e instanceof Error?e.message:String(e))}finally{ed(null)}}},e0=async()=>{ed("steer");try{await (0,B.controlPlaneRequest)("mutation Steer($id: ID!, $prompt: String!, $attachments: [ID!]!) { steerAgentRun(id: $id, prompt: $prompt, attachmentIds: $attachments) { id } }",{id:c,prompt:eu,attachments:ep.map(({id:e})=>e)}),ec(""),eh([]),await eV()}catch(e){en(e instanceof Error?e.message:String(e))}finally{ed(null)}},e1=async()=>{if(J?.worktreeId){ed("follow");try{let e="RESEND"!==em||eg.trim()?eg:J.initialPrompt,t=await (0,B.controlPlaneRequest)("mutation FollowUp($sourceId: ID!, $input: RunConfigurationInput!) { createRunFollowUp(sourceId: $sourceId, input: $input) { id kind } }",{sourceId:J.id,input:{kind:J.kind,worktreeId:J.worktreeId,jiraIssueKey:J.jiraIssueKey,provider:ej,model:eb,effort:"auto"===ew?null:ew,webSearchEnabled:eC,prompt:e,attachmentIds:eA.map(({id:e})=>e),mcpPresetIds:eS,followUpMode:em,contextMode:ej===J.provider?"NATIVE":eI}});V.push(`/${"PLAN"===t.createRunFollowUp.kind?"plans":"sessions"}/${t.createRunFollowUp.id}`)}catch(e){en(e instanceof Error?e.message:String(e))}finally{ed(null),e_(!1)}}},e2=async()=>{try{await (0,B.controlPlaneRequest)("mutation DeleteRun($id: ID!) { deleteAgentRuns(ids: [$id]) }",{id:c}),V.push(J?.kind==="PLAN"?"/plans":"/sessions")}catch(e){en(e instanceof Error?e.message:String(e))}},te=(0,s.useMemo)(()=>J?[J.sourcePlan,J.parentRun,J.playedSession,...J.followUps].filter(e=>!!e&&e.id!==J.id):[],[J]);if(er)return(0,t.jsxs)("p",{className:"flex gap-2 text-muted-foreground",children:[(0,t.jsx)(P.Spinner,{})," ",z("loading")]});if(!J)return(0,t.jsx)(k.Alert,{variant:"destructive",children:(0,t.jsx)(k.AlertDescription,{children:el??z("runNotFound")})});let ts=J.worktree?.highlightColor,ta=new Intl.NumberFormat(G,{style:"currency",currency:"USD",maximumFractionDigits:4}),tl=["COMPLETED","CANCELLED","FAILED"].includes(J.status),tn=[!J.sourcePlan&&null!==J.sourcePlanNumber?`${z("plan")} #${J.sourcePlanNumber}`:null,!J.parentRun&&null!==J.parentRunNumber?`${z("parentRun")} #${J.parentRunNumber}`:null,"PLAN"===J.kind&&!J.playedSession&&null!==J.playedSessionNumber?`${z("session")} #${J.playedSessionNumber}`:null].filter(e=>!!e),tr=[...J.checkpoints].reverse().find(({diffPatch:e})=>e)?.diffPatch,ti=eD.find(({key:e})=>e===ej),to=eD.find(({key:e})=>e===J.provider),td=e=>null===e?"—":`≈${ta.format(e)}`,tu=[!1,!0].map(e=>J.modelUsage.filter(t=>t.superseded===e).reduce((t,s)=>({input:t.input+s.inputTokens,output:t.output+s.outputTokens,cacheRead:t.cacheRead+s.cacheReadTokens,cacheWrite:t.cacheWrite+s.cacheWriteTokens,reported:t.reported+(s.estimatedCost??0),catalog:t.catalog+(s.catalogCost??0),hasReported:t.hasReported||null!==s.estimatedCost,hasCatalog:t.hasCatalog||null!==s.catalogCost,superseded:e}),{input:0,output:0,cacheRead:0,cacheWrite:0,reported:0,catalog:0,hasReported:!1,hasCatalog:!1,superseded:e}));return(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsxs)("div",{className:(0,U.cn)("space-y-4",ts&&"rounded-lg border-l-4 p-4",ts&&H.worktreeHighlightBackgroundClasses[ts],ts&&H.worktreeHighlightAccentClasses[ts]),children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsxs)("h1",{className:"text-2xl font-semibold",children:["PLAN"===J.kind?z("plan"):z("session")," ",(0,t.jsxs)("span",{className:"font-mono",children:["#",J.displayNumber]})]}),(0,t.jsx)(C.Badge,{children:W.status(J.status)}),(0,t.jsx)(C.Badge,{variant:"outline",children:W.phase(J.phase)}),(0,t.jsx)(C.Badge,{variant:"secondary",children:(0,F.formatProviderLabel)(J.provider)}),"IMPORTED"===J.origin&&(0,t.jsx)(C.Badge,{variant:"outline",children:z("imported")})]}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[J.repositoryName," · ",J.branch??z("detached")," ·"," ",(0,t.jsx)(y.DateTime,{value:J.createdAt})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:["MANAGED"===J.origin&&"IN_PROGRESS"===J.status&&to?.supportsPause&&(0,t.jsxs)(N.Button,{disabled:!!eo,onClick:()=>void eY("pause"),variant:"outline",children:["pause"===eo?(0,t.jsx)(P.Spinner,{}):(0,t.jsx)(u.Pause,{})," ",z("pause")]}),"MANAGED"===J.origin&&"PAUSED"===J.status&&(0,t.jsxs)(N.Button,{disabled:!!eo,onClick:()=>void eY("continue"),children:[(0,t.jsx)(h.RotateCcw,{})," ",z("continue")]}),"MANAGED"===J.origin&&!tl&&(0,t.jsxs)(N.Button,{disabled:!!eo,onClick:()=>void eY("cancel"),variant:"destructive",children:[(0,t.jsx)(n.CircleStop,{})," ",z("cancel")]}),"PLAN"===J.kind&&"COMPLETED"===J.status&&!J.playedAt&&(0,t.jsxs)(N.Button,{disabled:!!eo||!J.finalOutput,onClick:()=>{eU([]),eF(!0)},children:[(0,t.jsx)(p.Play,{})," ",z("play")]}),(0,t.jsxs)(N.Button,{onClick:()=>void(0,B.controlPlaneRequest)("mutation Archive($id: ID!, $archived: Boolean!) { archiveAgentRuns(ids: [$id], archived: $archived) }",{id:J.id,archived:!J.archivedAt}).then(eV),variant:"outline",children:[(0,t.jsx)(l.Archive,{})," ",J.archivedAt?z("restore"):z("archive")]}),(0,t.jsxs)(N.Button,{disabled:!to?.supportsNativeDelete,onClick:()=>eM(!0),variant:"destructive",children:[(0,t.jsx)(g.Trash2,{})," ",z("delete")]})]})]}),el&&(0,t.jsx)(k.Alert,{variant:"destructive",children:(0,t.jsx)(k.AlertDescription,{children:el})}),J.error&&(0,t.jsxs)(k.Alert,{variant:"destructive",children:[(0,t.jsx)(a.AlertTriangle,{}),(0,t.jsx)(k.AlertDescription,{children:J.error})]}),"IMPORTED_ACTIVE_COLLISION"===J.phase&&(0,t.jsxs)(k.Alert,{variant:"destructive",children:[(0,t.jsx)(a.AlertTriangle,{}),(0,t.jsx)(k.AlertDescription,{children:z("importedCollisionWarning")})]})]}),e,(te.length>0||tn.length>0)&&(0,t.jsxs)(S.Card,{children:[(0,t.jsxs)(S.CardHeader,{children:[(0,t.jsx)(S.CardTitle,{children:z("linkedItems")}),(0,t.jsx)(S.CardDescription,{children:z("linkedItemsDescription")})]}),(0,t.jsxs)(S.CardContent,{className:"grid gap-2 md:grid-cols-2",children:[te.map(e=>(0,t.jsx)(e9,{value:e},e.id)),tn.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-lg border border-dashed p-3 text-muted-foreground",children:[(0,t.jsx)(d.GitFork,{className:"size-4"}),(0,t.jsx)("span",{className:"font-mono",children:e}),(0,t.jsx)(C.Badge,{className:"ml-auto",variant:"outline",children:z("deleted")})]},e))]})]}),(0,t.jsxs)(S.Card,{children:[(0,t.jsx)(S.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(S.CardTitle,{children:z("prompt")}),(0,t.jsx)(eZ,{copy:!0,onRawChange:et,raw:ee,value:J.initialPrompt})]})}),(0,t.jsxs)(S.CardContent,{className:"space-y-4",children:[(0,t.jsx)(eJ,{onRawChange:et,raw:ee,showActions:!1,value:J.initialPrompt}),J.inputs[0]?.attachments.length?(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:J.inputs[0].attachments.map(e=>(0,t.jsx)(N.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{download:!0,href:e.downloadPath,children:[(0,t.jsx)(o.File,{})," ",e.filename]})},e.id))}):null]})]}),(0,t.jsxs)(S.Card,{children:[(0,t.jsxs)(S.CardHeader,{children:[(0,t.jsx)(S.CardTitle,{children:z("usageCost")}),(0,t.jsx)(S.CardDescription,{children:z("estimatedCost")})]}),(0,t.jsxs)(S.CardContent,{className:"space-y-4",children:[(0,t.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-4",children:[[z("reportedCost"),td(J.estimatedCost)],[z("catalogCost"),td(J.catalogCost)],[z("inputTokens"),J.inputTokens.toLocaleString(G)],[z("outputTokens"),J.outputTokens.toLocaleString(G)],[z("cacheReadTokens"),J.cacheReadTokens.toLocaleString(G)],[z("cacheWriteTokens"),J.cacheWriteTokens.toLocaleString(G)],[z("reasoningTokens"),J.reasoningTokens.toLocaleString(G)],[z("toolCalls"),J.toolCallCount.toLocaleString(G)]].map(([e,s])=>(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("p",{className:"mt-1 text-xl font-semibold tabular-nums",children:s})]},e))}),J.modelUsage.some(({superseded:e})=>e)&&(0,t.jsxs)(M.Table,{children:[(0,t.jsx)(M.TableHeader,{children:(0,t.jsxs)(M.TableRow,{children:[(0,t.jsx)(M.TableHead,{children:z("usageState")}),(0,t.jsx)(M.TableHead,{children:z("inputTokens")}),(0,t.jsx)(M.TableHead,{children:z("outputTokens")}),(0,t.jsx)(M.TableHead,{children:z("cacheReadTokens")}),(0,t.jsx)(M.TableHead,{children:z("cacheWriteTokens")}),(0,t.jsx)(M.TableHead,{children:z("reportedCost")}),(0,t.jsx)(M.TableHead,{children:z("catalogCost")})]})}),(0,t.jsx)(M.TableBody,{children:tu.map(e=>(0,t.jsxs)(M.TableRow,{children:[(0,t.jsx)(M.TableCell,{children:e.superseded?z("superseded"):z("activeUsage")}),(0,t.jsx)(M.TableCell,{children:e.input.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:e.output.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:e.cacheRead.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:e.cacheWrite.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:td(e.hasReported?e.reported:null)}),(0,t.jsx)(M.TableCell,{children:td(e.hasCatalog?e.catalog:null)})]},String(e.superseded)))})]}),J.modelUsage.length>0&&(0,t.jsxs)(M.Table,{children:[(0,t.jsx)(M.TableHeader,{children:(0,t.jsxs)(M.TableRow,{children:[(0,t.jsx)(M.TableHead,{children:z("model")}),(0,t.jsx)(M.TableHead,{children:z("inputTokens")}),(0,t.jsx)(M.TableHead,{children:z("outputTokens")}),(0,t.jsx)(M.TableHead,{children:z("cacheReadTokens")}),(0,t.jsx)(M.TableHead,{children:z("cacheWriteTokens")}),(0,t.jsx)(M.TableHead,{children:z("reportedCost")}),(0,t.jsx)(M.TableHead,{children:z("catalogCost")})]})}),(0,t.jsx)(M.TableBody,{children:J.modelUsage.map(e=>(0,t.jsxs)(M.TableRow,{children:[(0,t.jsxs)(M.TableCell,{children:[e.model,e.superseded&&(0,t.jsx)(C.Badge,{className:"ml-2",variant:"outline",children:z("superseded")})]}),(0,t.jsx)(M.TableCell,{children:e.inputTokens.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:e.outputTokens.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:e.cacheReadTokens.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:e.cacheWriteTokens.toLocaleString(G)}),(0,t.jsx)(M.TableCell,{children:td(e.estimatedCost)}),(0,t.jsx)(M.TableCell,{children:td(e.catalogCost)})]},e.id))})]}),J.toolCalls.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-2 font-medium",children:z("toolCalls")}),(0,t.jsx)("div",{className:"space-y-2",children:J.toolCalls.map(e=>(0,t.jsxs)("details",{className:(0,U.cn)("rounded-lg border p-3",e.supersededAt&&"opacity-60"),children:[(0,t.jsxs)("summary",{className:"cursor-pointer",children:[(0,t.jsx)(f.Wrench,{className:"mr-2 inline size-4"}),e.name," ",(0,t.jsx)(C.Badge,{className:"ml-2",variant:"outline",children:W.toolCallStatus(e.status)}),e.supersededAt&&(0,t.jsx)(C.Badge,{className:"ml-2",variant:"outline",children:z("superseded")})]}),(0,t.jsx)("pre",{className:"mt-3 overflow-auto text-xs",children:JSON.stringify({input:e.input,output:e.output,error:e.error},null,2)})]},e.id))})]})]})]}),(0,t.jsxs)(S.Card,{className:"gap-0 overflow-hidden py-0",children:[(0,t.jsx)(S.CardHeader,{className:"border-b py-3",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(S.CardTitle,{children:z("activity")}),(0,t.jsx)(S.CardDescription,{children:z("activityDescription")})]}),(0,t.jsxs)("div",{className:"flex w-full items-center gap-2 sm:w-auto",children:[(0,t.jsxs)("div",{className:"relative w-full sm:w-64",children:[(0,t.jsx)(m.Search,{className:"absolute top-1.5 left-2.5 size-4 text-muted-foreground"}),(0,t.jsx)(D.Input,{"aria-label":z("searchActivity"),className:"h-7 pl-8 text-xs",onChange:e=>X(e.target.value),placeholder:z("searchActivity"),value:Y})]}),(0,t.jsxs)(R.DropdownMenu,{children:[(0,t.jsx)(R.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(N.Button,{className:"shrink-0",size:"xs",variant:"outline",children:[(0,t.jsx)(i.Download,{})," ",z("export")]})}),(0,t.jsxs)(R.DropdownMenuContent,{align:"end",className:"w-72",children:[(0,t.jsx)(R.DropdownMenuItem,{onClick:()=>void eW("json").catch(e=>en(e instanceof Error?e.message:String(e))),children:z("exportJson")}),(0,t.jsx)(R.DropdownMenuItem,{onClick:()=>void eW("markdown").catch(e=>en(e instanceof Error?e.message:String(e))),children:z("exportMarkdown")}),J&&e7.includes(J.provider)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R.DropdownMenuSeparator,{}),(0,t.jsx)(R.DropdownMenuItem,{onClick:()=>void eW("jsonl").catch(e=>en(e instanceof Error?e.message:String(e))),children:z("exportSession",{tool:(0,F.formatProviderLabel)(J.provider)})}),e6.includes(J.provider)&&J.agentId&&(0,t.jsx)(R.DropdownMenuItem,{onClick:()=>void eG().catch(e=>en(e instanceof Error?e.message:String(e))),children:z("exportSessionFile",{tool:(0,F.formatProviderLabel)(J.provider)})})]})]})]})]})]})}),(0,t.jsx)("div",{className:"h-[24rem] overflow-y-auto",onScroll:ez,ref:eH,children:(0,t.jsxs)(M.Table,{className:"table-fixed",children:[(0,t.jsx)(M.TableHeader,{className:"sticky top-0 z-10 bg-card",children:(0,t.jsxs)(M.TableRow,{children:[(0,t.jsx)(M.TableHead,{className:"h-7 w-10"}),(0,t.jsx)(M.TableHead,{className:"h-7",children:z("activity")}),(0,t.jsx)(M.TableHead,{className:"h-7 w-40",children:z("status")}),(0,t.jsx)(M.TableHead,{className:"h-7 w-24",children:z("age")})]})}),(0,t.jsx)(M.TableBody,{children:(0,t.jsx)(e4,{events:K})})]})})]}),J.finalOutput&&tl&&(0,t.jsxs)(S.Card,{children:[(0,t.jsx)(S.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(S.CardTitle,{children:"PLAN"===J.kind?z("plan"):z("summary")}),(0,t.jsx)(eZ,{copy:!0,onRawChange:ea,raw:es,value:J.finalOutput})]})}),(0,t.jsx)(S.CardContent,{children:(0,t.jsx)(eJ,{onRawChange:ea,raw:es,showActions:!1,value:J.finalOutput})})]}),"MANAGED"===J.origin&&"IN_PROGRESS"===J.status&&to?.supportsSteering&&(0,t.jsxs)(S.Card,{children:[(0,t.jsxs)(S.CardHeader,{children:[(0,t.jsx)(S.CardTitle,{children:z("steer")}),(0,t.jsx)(S.CardDescription,{children:z("steerDescription")})]}),(0,t.jsxs)(S.CardContent,{className:"space-y-3",children:[(0,t.jsx)(L.Textarea,{onChange:e=>ec(e.target.value),placeholder:z("steerPlaceholder"),value:eu}),(0,t.jsx)(e3.AttachmentPicker,{attachments:ep,compact:!0,onFiles:e=>eX(e,eh),onRemove:e=>eh(t=>t.filter(t=>t.id!==e)),uploading:"upload"===eo}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(N.Button,{disabled:!eu.trim()||!!eo,onClick:()=>void e0(),children:["steer"===eo?(0,t.jsx)(P.Spinner,{}):(0,t.jsx)(x.Send,{})," ",z("send")]})})]})]}),J.questionBatches.map(e=>(0,t.jsx)(tt,{batch:e,editable:"MANAGED"===J.origin&&!e.supersededAt&&!!e.checkpoint,onAnswered:eV},e.id)),(0,t.jsxs)(S.Card,{children:[(0,t.jsxs)(S.CardHeader,{children:[(0,t.jsx)(S.CardTitle,{children:z("followUp")}),(0,t.jsx)(S.CardDescription,{children:z("followUpDescription")})]}),(0,t.jsxs)(S.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsx)(E.Tabs,{onValueChange:e=>{let t=e??"RESUME";ex(t),"RESEND"===t&&ef(J.initialPrompt)},value:em,children:(0,t.jsxs)(E.TabsList,{"aria-label":z("followUp"),children:[(0,t.jsx)(E.TabsTrigger,{disabled:ej===J.provider&&!ti?.supportsResume,value:"RESUME",children:z("resume")}),(0,t.jsx)(E.TabsTrigger,{value:"FRESH",children:z("fresh")}),(0,t.jsx)(E.TabsTrigger,{value:"RESEND",children:z("resend")})]})}),(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(e5.ModelEffortPicker,{catalog:eD,effort:ew,model:eb,onEffortChange:ek,onModelChange:ey,onProviderChange:e=>{let t=eD.find(({key:t})=>t===e);ev(e),ey(""),ek("auto"),eN(!!t?.supportsWebSearch)},provider:ej})})]}),"RESUME"===em&&ej!==J.provider&&(0,t.jsx)(k.Alert,{children:(0,t.jsxs)(k.AlertDescription,{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsxs)(I.Select,{onValueChange:e=>eE(e??"NORMALIZED"),value:eI,children:[(0,t.jsx)(I.SelectTrigger,{className:"w-56 shrink-0",children:(0,t.jsx)(I.SelectValue,{})}),(0,t.jsxs)(I.SelectContent,{children:[(0,t.jsx)(I.SelectItem,{value:"NORMALIZED",children:z("normalizedContext")}),(0,t.jsx)(I.SelectItem,{value:"SUMMARY",children:z("summaryOnly")})]})]}),(0,t.jsx)("span",{className:"min-w-0 flex-1",children:z("crossProviderWarning")})]})}),(0,t.jsx)(L.Textarea,{className:"min-h-28",onChange:e=>ef(e.target.value),placeholder:"RESEND"===em?z("resendPrompt"):z("followUpPrompt"),value:eg}),(0,t.jsx)(e3.AttachmentPicker,{attachments:eA,compact:!0,onFiles:e=>eX(e,eR),onRemove:e=>eR(t=>t.filter(t=>t.id!==e)),uploading:"upload"===eo}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)($.Label,{children:z("mcpPresets")}),(0,t.jsx)(O.McpPresetPicker,{kind:J.kind,onChange:eT,selectedIds:eS})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-4",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2",children:[(0,t.jsx)(T.Checkbox,{checked:eC,disabled:!ti?.supportsWebSearch,onCheckedChange:e=>eN(!!e)}),z("webSearch")]}),(0,t.jsxs)(N.Button,{disabled:!eg.trim()||!!eo||!eb||!ti?.available,onClick:()=>"PAUSED"===J.status&&"SESSION"===J.kind?e_(!0):void e1(),children:["follow"===eo?(0,t.jsx)(P.Spinner,{}):(0,t.jsx)(d.GitFork,{})," ",z("startFollowUp")]})]})]})]}),J.checkpoints.length>0&&(0,t.jsxs)(S.Card,{children:[(0,t.jsxs)(S.CardHeader,{children:[(0,t.jsx)(S.CardTitle,{children:z("changesSnapshots")}),(0,t.jsx)(S.CardDescription,{children:z("changesSnapshotsDescription")})]}),(0,t.jsxs)(S.CardContent,{className:"space-y-3",children:["PLAN"===J.kind&&tr&&(0,t.jsxs)(k.Alert,{variant:"destructive",children:[(0,t.jsx)(a.AlertTriangle,{}),(0,t.jsx)(k.AlertDescription,{children:z("planMutationWarning")})]}),tr&&(0,t.jsx)(w.ExpandablePatchView,{patch:tr}),J.checkpoints.map(e=>(0,t.jsxs)("details",{className:"rounded-lg border p-3",children:[(0,t.jsxs)("summary",{className:"cursor-pointer",children:[(0,t.jsx)(r.ClipboardList,{className:"mr-2 inline size-4"}),W.checkpointKind(e.kind)," ·"," ",(0,t.jsx)(y.DateTime,{value:e.createdAt}),e.branch&&(0,t.jsx)(C.Badge,{className:"ml-2",variant:"outline",children:e.branch})]}),(0,t.jsxs)("div",{className:"mt-3 space-y-2 text-sm",children:[(0,t.jsxs)("p",{className:"font-mono text-xs",children:["HEAD ",e.headSha??"—"]}),e.diffPatch?(0,t.jsx)(w.ExpandablePatchView,{patch:e.diffPatch}):e.diffSummary?(0,t.jsx)("pre",{className:"overflow-auto rounded bg-muted p-3 text-xs whitespace-pre-wrap",children:e.diffSummary}):(0,t.jsx)("p",{className:"text-muted-foreground",children:z("noChanges")}),e.stashRef&&(0,t.jsxs)("p",{className:"font-mono text-xs",children:[z("stashCreated"),": ",e.stashRef]}),e.refName&&(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.refName})]})]},e.id))]})]}),(0,t.jsx)(b.ConfirmationDialog,{actionLabel:z("delete"),cancelLabel:z("cancel"),description:z("deleteDescription"),onConfirm:e2,onOpenChange:eM,open:eP,title:z("deleteTitle")}),(0,t.jsx)(A.Dialog,{onOpenChange:e=>{eF(e),e||eU([])},open:eB,children:(0,t.jsxs)(A.DialogContent,{className:"sm:max-w-2xl",children:[(0,t.jsxs)(A.DialogHeader,{children:[(0,t.jsx)(A.DialogTitle,{children:z("playPlan")}),(0,t.jsx)(A.DialogDescription,{children:z("playPlanDescription")})]}),(0,t.jsx)(O.McpPresetPicker,{kind:"SESSION",onChange:eU,selectedIds:eO}),(0,t.jsxs)(A.DialogFooter,{children:[(0,t.jsx)(N.Button,{onClick:()=>eF(!1),variant:"outline",children:z("cancel")}),(0,t.jsxs)(N.Button,{disabled:!!eo,onClick:()=>void eY("play"),children:["play"===eo?(0,t.jsx)(P.Spinner,{}):(0,t.jsx)(p.Play,{})," ",z("play")]})]})]})}),(0,t.jsx)(b.ConfirmationDialog,{actionLabel:z("cancelAndTransfer"),cancelLabel:z("cancel"),description:z("pausedFollowUpDescription"),onConfirm:e1,onOpenChange:e_,open:eL,title:z("pausedFollowUpTitle")})]})}],662663)}]);
|