@ai-development-environment/server 0.0.31 → 0.0.32

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.
Files changed (99) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/build-manifest.json +3 -3
  4. package/standalone/.next/prerender-manifest.json +3 -3
  5. package/standalone/.next/server/app/[locale]/actions/page.js +2 -1
  6. package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
  7. package/standalone/.next/server/app/[locale]/agents/[id]/page.js +2 -1
  8. package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
  9. package/standalone/.next/server/app/[locale]/agents/page.js +2 -1
  10. package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
  11. package/standalone/.next/server/app/[locale]/build-data/page.js +2 -1
  12. package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
  13. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js +2 -1
  14. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
  15. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js +2 -1
  16. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
  17. package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
  18. package/standalone/.next/server/app/[locale]/builds/page.js +2 -1
  19. package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
  20. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js +2 -1
  21. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
  22. package/standalone/.next/server/app/[locale]/codebases/page.js +2 -1
  23. package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js +2 -1
  25. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  26. package/standalone/.next/server/app/[locale]/comments/page.js +2 -1
  27. package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
  28. package/standalone/.next/server/app/[locale]/jira/cache/page.js +2 -1
  29. package/standalone/.next/server/app/[locale]/jira/cache/page.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js +2 -1
  31. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js +2 -1
  33. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  34. package/standalone/.next/server/app/[locale]/jira/tickets/page.js +2 -1
  35. package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
  36. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js +2 -1
  37. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/page.js +2 -1
  39. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  40. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js +2 -1
  41. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  42. package/standalone/.next/server/app/[locale]/pull-requests/page.js +2 -1
  43. package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
  44. package/standalone/.next/server/app/[locale]/settings/page.js +2 -1
  45. package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
  46. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js +2 -1
  47. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
  48. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js +2 -1
  49. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
  50. package/standalone/.next/server/app/[locale]/skills/groups/page.js +2 -1
  51. package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
  52. package/standalone/.next/server/app/[locale]/skills/page.js +2 -1
  53. package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
  54. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js +2 -1
  55. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/tools/page.js +2 -1
  57. package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/usage/page.js +2 -1
  59. package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
  60. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js +2 -1
  61. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
  62. package/standalone/.next/server/app/[locale]/worktrees/page.js +2 -1
  63. package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/_global-error.html +1 -1
  65. package/standalone/.next/server/app/_global-error.rsc +1 -1
  66. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  67. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  68. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  69. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  70. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  71. package/standalone/.next/server/app/_not-found.html +1 -1
  72. package/standalone/.next/server/app/_not-found.rsc +1 -1
  73. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  74. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  75. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  76. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  77. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  78. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  79. package/standalone/.next/server/chunks/[root-of-the-server]__08mnmfs._.js +1 -1
  80. package/standalone/.next/server/chunks/[root-of-the-server]__1ix62p0._.js +1 -1
  81. package/standalone/.next/server/chunks/[root-of-the-server]__1j-hk6b._.js +1 -1
  82. package/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0eghv0a.js +1 -1
  83. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1potsqg._.js +1 -1
  84. package/standalone/.next/server/chunks/ssr/node_modules_0obs0k7._.js +5 -0
  85. package/standalone/.next/server/chunks/ssr/node_modules_next_1ep9xf4._.js +3 -0
  86. package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +5 -5
  87. package/standalone/.next/server/functions-config-manifest.json +1 -1
  88. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  89. package/standalone/.next/server/pages/404.html +1 -1
  90. package/standalone/.next/server/pages/500.html +1 -1
  91. package/standalone/.next/server/server-reference-manifest.js +1 -1
  92. package/standalone/.next/server/server-reference-manifest.json +1 -1
  93. package/standalone/.next/static/chunks/{0hwbkceik59kx.js → 17t4ft9o1tqw3.js} +7 -7
  94. package/standalone/src/services/builds/artifact-cache.test.ts +31 -1
  95. package/standalone/src/services/builds/artifact-cache.ts +41 -4
  96. package/standalone/.next/server/chunks/ssr/node_modules_1n5939e._.js +0 -5
  97. /package/standalone/.next/static/{sJ09NBDjsLncJEkHNWbdR → qUqJkVkzos1XoXFl7PSxx}/_buildManifest.js +0 -0
  98. /package/standalone/.next/static/{sJ09NBDjsLncJEkHNWbdR → qUqJkVkzos1XoXFl7PSxx}/_clientMiddlewareManifest.js +0 -0
  99. /package/standalone/.next/static/{sJ09NBDjsLncJEkHNWbdR → qUqJkVkzos1XoXFl7PSxx}/_ssgManifest.js +0 -0
@@ -10,7 +10,7 @@ module.exports=[345962,a=>{"use strict";var b=a.i(187924),c=a.i(979762),d=a.i(21
10
10
  }
11
11
  }`;function N(a,b,c,d){let e=H[c];return a.filter(a=>a.type===e&&!a.expired&&(0===a.platforms.length||a.platforms.includes("iOS"))&&I(a.bundleId,b)&&(!d||!a.teamId||a.teamId===d))}function O({buildId:a,open:c,onOpenChange:d,onSaved:e}){let f=(0,r.useTranslations)("builds"),[g,h]=(0,s.useState)("DEBUGGING"),[i,j]=(0,s.useState)("AUTOMATIC"),[k,l]=(0,s.useState)(""),[m,n]=(0,s.useState)(""),[o,p]=(0,s.useState)({}),[q,t]=(0,s.useState)(!1),[v,x]=(0,s.useState)(null),[y,A]=(0,s.useState)(!1),[B,C]=(0,s.useState)(!1),[F,H]=(0,s.useState)(null),[P,Q]=(0,s.useState)(null),R=(0,s.useCallback)(async()=>{A(!0),Q(null);try{let b=await (0,E.controlPlaneRequest)(M,{buildId:a});x(b.buildSigningOptions);let c=b.buildSigningOptions.bundles.map(a=>b.buildSigningOptions.profiles.find(b=>b.uuid===a.embeddedProfileUuid)).find(a=>a?.teamId);c?.teamId?l(c.teamId):1===b.buildSigningOptions.teams.length&&l(b.buildSigningOptions.teams[0].id)}catch(a){Q(a instanceof Error?a.message:String(a))}finally{A(!1)}},[a]);(0,s.useEffect)(()=>{if(!c)return;let a=window.setTimeout(()=>void R(),0);return()=>window.clearTimeout(a)},[c,R]);let S=`${g}:${k}`,[T,U]=(0,s.useState)(S);S!==T&&(U(S),p({}),n(""));let V="MANUAL"===i,W=Object.fromEntries((v?.bundles??[]).flatMap(a=>{let b=N(v?.profiles??[],a.bundleId,g,k),c=o[a.bundleId]??function(a,b){if(!a.length)return null;let c=a.find(a=>a.uuid===b.embeddedProfileUuid);return c||[...a].sort((a,b)=>(b.expiresAt??"").localeCompare(a.expiresAt??""))[0]}(b,a)?.uuid;return c?[[a.bundleId,c]]:[]})),X=Object.values(W).flatMap(a=>{let b=v?.profiles.find(b=>b.uuid===a);return b?[b]:[]}),Y=X.length>0&&X.every(a=>a.certificateSha1s?.length),Z=(v?.identities??[]).filter(a=>Y?X.every(b=>b.certificateSha1s.includes(a.sha1.toUpperCase())):!k||!a.teamId||a.teamId===k),$=Z.some(a=>a.sha1===m)?m:"",_=async()=>{C(!0);try{await (0,E.controlPlaneRequest)(`mutation ExportArchive($input: ExportBuildArchiveInput!) {
12
12
  exportBuildArchive(input: $input) { id status }
13
- }`,{input:{buildId:a,requestId:(0,D.createClientId)(),settings:{method:g,signingStyle:i,teamId:k||null,signingCertificate:$?Z.find(a=>a.sha1===$)?.name??null:null,provisioningProfiles:V?W:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1}}}),await e(),d(!1)}catch(a){H(a instanceof Error?a.message:String(a))}finally{C(!1)}},aa=V&&(v?.bundles??[]).some(a=>!W[a.bundleId]);return(0,b.jsx)(J.Dialog,{onOpenChange:d,open:c,children:(0,b.jsxs)(J.DialogContent,{className:"max-h-[85vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,b.jsxs)(J.DialogHeader,{children:[(0,b.jsx)(J.DialogTitle,{children:f("exportArchive")}),(0,b.jsx)(J.DialogDescription,{children:f("exportArchiveDescription")})]}),F&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:F})}),P&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[f("signingOptionsFailed")," ",P]})}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("distributionMethod")}),(0,b.jsxs)(L.Select,{onValueChange:a=>h(a),value:g,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{})}),(0,b.jsx)(L.SelectContent,{children:G.map(a=>(0,b.jsx)(L.SelectItem,{value:a,children:f(`exportMethod.${a}`)},a))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("developmentTeam")}),(0,b.jsxs)(L.Select,{disabled:y||!v?.teams.length,onValueChange:l,value:k,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:y?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(L.SelectValue,{placeholder:f("selectTeam")})}),(0,b.jsx)(L.SelectContent,{children:(v?.teams??[]).map(a=>(0,b.jsxs)(L.SelectItem,{value:a.id,children:[a.name," (",a.id,")"]},a.id))})]}),!y&&v&&!v.teams.length&&(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:f("noTeams")})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("signingStyle")}),(0,b.jsxs)(L.Select,{onValueChange:j,value:i,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{})}),(0,b.jsxs)(L.SelectContent,{children:[(0,b.jsx)(L.SelectItem,{value:"AUTOMATIC",children:f("automatic")}),(0,b.jsx)(L.SelectItem,{value:"MANUAL",children:f("manual")})]})]})]}),V&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("signingCertificate")}),(0,b.jsxs)(L.Select,{disabled:y||!Z.length,onValueChange:n,value:$,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{placeholder:f("certificateAutomatic")})}),(0,b.jsx)(L.SelectContent,{children:Z.map(a=>(0,b.jsx)(L.SelectItem,{value:a.sha1,children:a.name},a.sha1))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(K.Label,{children:f("provisioningProfiles")}),(0,b.jsx)(w.Button,{onClick:()=>t(a=>!a),size:"sm",type:"button",variant:"ghost",children:q?f("showMatching"):f("showAllProfiles")})]}),y&&(0,b.jsx)(z.Spinner,{}),!y&&!v?.bundles.length&&(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:f("noArchiveBundles")}),(v?.bundles??[]).map(a=>{let c=N(v?.profiles??[],a.bundleId,g,k),d=q?(v?.profiles??[]).filter(b=>I(b.bundleId,a.bundleId)):c;return(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,b.jsx)("p",{className:"mb-2 break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,b.jsxs)(L.Select,{onValueChange:b=>p(c=>({...c,[a.bundleId]:b})),value:W[a.bundleId]??"",children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{placeholder:f("selectProfile")})}),(0,b.jsx)(L.SelectContent,{children:d.map(a=>{let c;return(0,b.jsxs)(L.SelectItem,{value:a.uuid,children:[(c=a.expiresAt?new Date(a.expiresAt).toLocaleDateString():null)?`${a.name} — ${c}`:a.name,a.expired?` (${f("profileExpired")})`:""]},a.uuid)})})]}),!c.length&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:f("noMatchingProfiles")})]},a.bundleId)})]})]})]}),(0,b.jsxs)(J.DialogFooter,{children:[(0,b.jsx)(w.Button,{onClick:()=>d(!1),variant:"outline",children:f("cancel")}),(0,b.jsxs)(w.Button,{disabled:B||aa,onClick:()=>void _(),children:[B&&(0,b.jsx)(z.Spinner,{})," ",f("exportArchive")]})]})]})})}let P=(0,f.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var Q=a.i(180447);let R=null;function S(){return R??={origin:window.location.origin,secure:"https:"===window.location.protocol,apple:/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&(navigator.maxTouchPoints??0)>1}}let T=()=>()=>{};function U({buildId:a,artifactId:c,metadata:d}){let e=(0,r.useTranslations)("builds"),f=(0,s.useSyncExternalStore)(T,S,()=>null),[g,h]=(0,s.useState)(!1),[i,j]=(0,s.useState)(!1),k=`/api/builds/${encodeURIComponent(a)}/artifacts/${encodeURIComponent(c)}`,l=f?`${f.origin}${k}/manifest.plist`:null,m=f?f.secure?"APP_STORE_CONNECT"===d.exportMethod?e("installNotSupportedForAppStore"):"string"!=typeof d.bundleIdentifier?e("installMissingBundleIdentifier"):null:e("installRequiresHttps"):null,n=!f||null!==m||g,o=async()=>{if(l){h(!0);try{await fetch(k,{method:"HEAD"}).catch(()=>{}),window.location.href=`itms-services://?action=download-manifest&url=${encodeURIComponent(l)}`}finally{h(!1)}}},p=async()=>{await (0,D.copyText)(window.location.href),j(!0),setTimeout(()=>j(!1),2e3)};return(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[f&&!f.apple&&!m&&(0,b.jsxs)(w.Button,{onClick:()=>void p(),size:"sm",type:"button",variant:"ghost",children:[(0,b.jsx)(P,{})," ",e(i?"installLinkCopied":"copyInstallLink")]}),(0,b.jsxs)(w.Button,{disabled:n,onClick:()=>void o(),size:"sm",type:"button",variant:"outline",children:[g?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(Q.Smartphone,{}),e(g?"installPreparing":"installOnDevice")]})]}),m&&(0,b.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:m}),!m&&f&&!f.apple&&(0,b.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:e("installOpenOnDevice")})]})}var V=a.i(974135),W=a.i(657068);let X=`
13
+ }`,{input:{buildId:a,requestId:(0,D.createClientId)(),settings:{method:g,signingStyle:i,teamId:k||null,signingCertificate:$?Z.find(a=>a.sha1===$)?.name??null:null,provisioningProfiles:V?W:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1}}}),await e(),d(!1)}catch(a){H(a instanceof Error?a.message:String(a))}finally{C(!1)}},aa=V&&(v?.bundles??[]).some(a=>!W[a.bundleId]);return(0,b.jsx)(J.Dialog,{onOpenChange:d,open:c,children:(0,b.jsxs)(J.DialogContent,{className:"max-h-[85vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,b.jsxs)(J.DialogHeader,{children:[(0,b.jsx)(J.DialogTitle,{children:f("exportArchive")}),(0,b.jsx)(J.DialogDescription,{children:f("exportArchiveDescription")})]}),F&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:F})}),P&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[f("signingOptionsFailed")," ",P]})}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("distributionMethod")}),(0,b.jsxs)(L.Select,{onValueChange:a=>h(a),value:g,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{})}),(0,b.jsx)(L.SelectContent,{children:G.map(a=>(0,b.jsx)(L.SelectItem,{value:a,children:f(`exportMethod.${a}`)},a))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("developmentTeam")}),(0,b.jsxs)(L.Select,{disabled:y||!v?.teams.length,onValueChange:l,value:k,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:y?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(L.SelectValue,{placeholder:f("selectTeam")})}),(0,b.jsx)(L.SelectContent,{children:(v?.teams??[]).map(a=>(0,b.jsxs)(L.SelectItem,{value:a.id,children:[a.name," (",a.id,")"]},a.id))})]}),!y&&v&&!v.teams.length&&(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:f("noTeams")})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("signingStyle")}),(0,b.jsxs)(L.Select,{onValueChange:j,value:i,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{})}),(0,b.jsxs)(L.SelectContent,{children:[(0,b.jsx)(L.SelectItem,{value:"AUTOMATIC",children:f("automatic")}),(0,b.jsx)(L.SelectItem,{value:"MANUAL",children:f("manual")})]})]})]}),V&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("signingCertificate")}),(0,b.jsxs)(L.Select,{disabled:y||!Z.length,onValueChange:n,value:$,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{placeholder:f("certificateAutomatic")})}),(0,b.jsx)(L.SelectContent,{children:Z.map(a=>(0,b.jsx)(L.SelectItem,{value:a.sha1,children:a.name},a.sha1))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(K.Label,{children:f("provisioningProfiles")}),(0,b.jsx)(w.Button,{onClick:()=>t(a=>!a),size:"sm",type:"button",variant:"ghost",children:q?f("showMatching"):f("showAllProfiles")})]}),y&&(0,b.jsx)(z.Spinner,{}),!y&&!v?.bundles.length&&(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:f("noArchiveBundles")}),(v?.bundles??[]).map(a=>{let c=N(v?.profiles??[],a.bundleId,g,k),d=q?(v?.profiles??[]).filter(b=>I(b.bundleId,a.bundleId)):c;return(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,b.jsx)("p",{className:"mb-2 break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,b.jsxs)(L.Select,{onValueChange:b=>p(c=>({...c,[a.bundleId]:b})),value:W[a.bundleId]??"",children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{placeholder:f("selectProfile")})}),(0,b.jsx)(L.SelectContent,{children:d.map(a=>{let c;return(0,b.jsxs)(L.SelectItem,{value:a.uuid,children:[(c=a.expiresAt?new Date(a.expiresAt).toLocaleDateString():null)?`${a.name} — ${c}`:a.name,a.expired?` (${f("profileExpired")})`:""]},a.uuid)})})]}),!c.length&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:f("noMatchingProfiles")})]},a.bundleId)})]})]})]}),(0,b.jsxs)(J.DialogFooter,{children:[(0,b.jsx)(w.Button,{onClick:()=>d(!1),variant:"outline",children:f("cancel")}),(0,b.jsxs)(w.Button,{disabled:B||aa,onClick:()=>void _(),children:[B&&(0,b.jsx)(z.Spinner,{})," ",f("exportArchive")]})]})]})})}let P=(0,f.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var Q=a.i(180447);let R=null;function S(){return R??={origin:window.location.origin,secure:"https:"===window.location.protocol,apple:/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&(navigator.maxTouchPoints??0)>1}}let T=()=>()=>{};function U({buildId:a,artifactId:c,metadata:d,publicOrigin:e}){let f=(0,r.useTranslations)("builds"),g=(0,s.useSyncExternalStore)(T,S,()=>null),[h,i]=(0,s.useState)(!1),[j,k]=(0,s.useState)(!1),l=`/api/builds/${encodeURIComponent(a)}/artifacts/${encodeURIComponent(c)}`,m=e??g,n=m?`${m.origin}${l}/manifest.plist`:null,o=g?m?.secure?"APP_STORE_CONNECT"===d.exportMethod?f("installNotSupportedForAppStore"):"string"!=typeof d.bundleIdentifier?f("installMissingBundleIdentifier"):null:f("installRequiresHttps"):null,p=!g||!g.apple||null!==o||h,q=async()=>{if(n){i(!0);try{await fetch(l,{method:"HEAD"}).catch(()=>{}),window.location.href=`itms-services://?action=download-manifest&url=${encodeURIComponent(n)}`}finally{i(!1)}}},t=async()=>{let a=m?.origin??window.location.origin;await (0,D.copyText)(`${a}${window.location.pathname}${window.location.search}${window.location.hash}`),k(!0),setTimeout(()=>k(!1),2e3)};return(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[g&&!g.apple&&!o&&(0,b.jsxs)(w.Button,{onClick:()=>void t(),size:"sm",type:"button",variant:"ghost",children:[(0,b.jsx)(P,{})," ",f(j?"installLinkCopied":"copyInstallLink")]}),(0,b.jsxs)(w.Button,{disabled:p,onClick:()=>void q(),size:"sm",type:"button",variant:"outline",children:[h?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(Q.Smartphone,{}),f(h?"installPreparing":"installOnDevice")]})]}),o&&(0,b.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:o}),!o&&g&&!g.apple&&(0,b.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:f("installOpenOnDevice")})]})}var V=a.i(974135),W=a.i(657068);let X=`
14
14
  id requestId jobId status action destinationType destination snapshot commandSummary artifactDirectory errorCode error outOfDate
15
15
  createdAt startedAt finishedAt durationMs updatedAt
16
16
  configuration {
@@ -25,13 +25,13 @@ module.exports=[345962,a=>{"use strict";var b=a.i(187924),c=a.i(979762),d=a.i(21
25
25
  scriptExecutions { id phase position nameSnapshot status exitCode durationMs causedBuildFailure outputRelativePath error }
26
26
  deployments { id batchId destination status commandSummary outputRelativePath error createdAt startedAt finishedAt }
27
27
  exports { id status settings commandSummary outputRelativePath error createdAt startedAt finishedAt }
28
- `,Y="id scope scopeId sequence phase level stream message createdAt",Z=new Set(["IPA"]);function $(a){return a.split("_").filter(Boolean).map(a=>Z.has(a)?a:`${a.charAt(0).toLocaleUpperCase()}${a.slice(1).toLocaleLowerCase()}`).join(" ")}let _=["packageResolution","disablePackageRepositoryCache","signingStyle","developmentTeam","codeSignIdentity","provisioningProfileSpecifier","productBundleIdentifier","allowProvisioningUpdates","allowProvisioningDeviceRegistration","testPlan","codeCoverage","parseTestResults","parallelTesting","parallelTestingWorkers","onlyTesting","skipTesting","buildSettingOverrides","priorBuildForTestingId","priorTestProductsPath","priorXctestrunPath"],aa={packageResolution:"DEFAULT",disablePackageRepositoryCache:!1,signingStyle:"PROJECT_DEFAULT",developmentTeam:null,codeSignIdentity:null,provisioningProfileSpecifier:null,productBundleIdentifier:null,allowProvisioningUpdates:!1,allowProvisioningDeviceRegistration:!1,testPlan:null,codeCoverage:!1,parseTestResults:!0,parallelTesting:null,parallelTestingWorkers:null,onlyTesting:[],skipTesting:[],buildSettingOverrides:{},priorBuildForTestingId:null,priorTestProductsPath:null,priorXctestrunPath:null};function ab({settings:a}){let c=(0,r.useTranslations)("builds"),d={packageResolution:c("packageResolution"),disablePackageRepositoryCache:c("disablePackageRepositoryCache"),signingStyle:c("signingStyle"),developmentTeam:c("developmentTeam"),codeSignIdentity:c("codeSignIdentity"),provisioningProfileSpecifier:c("provisioningProfileSpecifier"),productBundleIdentifier:c("productBundleIdentifier"),allowProvisioningUpdates:c("allowProvisioningUpdates"),allowProvisioningDeviceRegistration:c("allowProvisioningDeviceRegistration"),testPlan:c("testPlan"),codeCoverage:c("codeCoverage"),parseTestResults:c("parseTestResults"),parallelTesting:c("parallelTesting"),parallelTestingWorkers:c("parallelTestingWorkers"),onlyTesting:c("onlyTesting"),skipTesting:c("skipTesting"),buildSettingOverrides:c("buildSettingOverrides"),priorBuildForTestingId:c("priorBuildForTesting"),priorTestProductsPath:c("priorTestProductsPath"),priorXctestrunPath:c("priorXctestrunPath")},e=new Set(_),f=a?[..._.filter(b=>Object.hasOwn(a,b)),...Object.keys(a).filter(a=>!e.has(a)).sort()].filter(b=>{var c;return c=a[b],Object.hasOwn(aa,b)?JSON.stringify(c)!==JSON.stringify(aa[b]):null!=c&&""!==c&&!1!==c&&(Array.isArray(c)?c.length>0:"object"!=typeof c||Object.keys(c).length>0)}):[];return a&&f.length?(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("advancedSettings")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("dl",{className:"space-y-3 text-sm",children:f.map(c=>(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:d[c]??$(c.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replaceAll("-","_"))}),(0,b.jsx)("dd",{className:"mt-0.5 min-w-0",children:(0,b.jsx)(ac,{value:a[c]})})]},c))})})]}):null}function ac({value:a}){let c=(0,r.useTranslations)("builds");if("boolean"==typeof a)return(0,b.jsx)(v.Badge,{variant:a?"default":"secondary",children:c(a?"settingsEnabled":"settingsDisabled")});if(null==a||""===a)return(0,b.jsx)(b.Fragment,{children:"—"});if(Array.isArray(a))return a.length?(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:a.map(String).join(", ")}):(0,b.jsx)(b.Fragment,{children:"—"});if("object"==typeof a){let c=JSON.stringify(a);return c&&"{}"!==c?(0,b.jsx)("span",{className:"break-all font-mono text-xs",children:c}):(0,b.jsx)(b.Fragment,{children:"—"})}return"string"==typeof a&&/^[A-Z][A-Z0-9_]*$/.test(a)?(0,b.jsx)(b.Fragment,{children:$(a)}):(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:String(a)})}function ad(a){return"string"==typeof a&&a.trim()?a:null}function ae(a,b){return"ALL"===b||String(a.result??"unknown").toLocaleUpperCase()===b}function af({report:a}){let c=(0,r.useTranslations)("builds"),[d,e]=(0,s.useState)("ALL"),f=Array.isArray(a.data.tests)?a.data.tests:[],g=Array.isArray(a.data.devices)?a.data.devices:[],h=b=>"number"==typeof a.summary[b]?Number(a.summary[b]):0,i=(function(a){let b=new Map;for(let c of a){let a=ad(c.bundle),d=ad(c.suite),e=ad(c.plan),f=ad(c.configuration),g=d??a,h=JSON.stringify([e,f,a,g]),i=b.get(h)??{key:h,name:g,bundle:a,plan:e,configuration:f,tests:[]};i.tests.push(c),b.set(h,i)}return[...b.values()].sort((a,b)=>(a.name??"").localeCompare(b.name??"",void 0,{numeric:!0,sensitivity:"base"}))})(f).filter(a=>a.tests.some(a=>ae(a,d)));return(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("testResults")})}),(0,b.jsx)(x.CardContent,{className:"space-y-4",children:"FAILED"===a.status?(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:a.error??c("testResultsFailed")})}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:c("testTotal",{count:h("total")})}),(0,b.jsx)(v.Badge,{className:"bg-emerald-600 text-white dark:bg-emerald-700",children:c("testPassed",{count:h("passed")})}),(0,b.jsx)(v.Badge,{variant:h("failed")?"destructive":"outline",children:c("testFailed",{count:h("failed")})}),(0,b.jsx)(v.Badge,{className:"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",variant:"outline",children:c("testSkipped",{count:h("skipped")})}),g.map((a,c)=>(0,b.jsxs)(v.Badge,{variant:"outline",children:[String(a.deviceName??a.modelName??"Device")," ·"," ",String(a.osVersion??"—")]},c))]}),(0,b.jsx)("div",{className:"overflow-x-auto pb-1",children:(0,b.jsx)(A.Tabs,{onValueChange:a=>e(a),value:d,children:(0,b.jsxs)(A.TabsList,{"aria-label":c("testResultFilters"),children:[(0,b.jsx)(A.TabsTrigger,{value:"ALL",children:c("testFilterAll",{count:f.length})}),(0,b.jsx)(A.TabsTrigger,{value:"PASSED",children:c("testFilterPassed",{count:h("passed")})}),(0,b.jsx)(A.TabsTrigger,{value:"FAILED",children:c("testFilterFailed",{count:h("failed")})}),(0,b.jsx)(A.TabsTrigger,{value:"SKIPPED",children:c("testFilterSkipped",{count:h("skipped")})})]})})}),(0,b.jsx)("div",{className:"divide-y rounded-md border",children:i.map(a=>(0,b.jsx)(ag,{filter:d,group:a},a.key))})]})})]})}function ag({filter:a,group:c}){let d=(0,r.useTranslations)("builds"),e=(0,q.useLocale)(),[f,g]=(0,s.useState)(!1),h=c.name??d("testsWithoutSuite"),i=c.tests.filter(a=>"Passed"===a.result).length,j=c.tests.length?i/c.tests.length:0,k=new Intl.NumberFormat(e,{style:"percent",maximumFractionDigits:1}).format(j),l=c.tests.filter(b=>ae(b,a)),o=new Map;for(let a of l){let b=function(a){let b=ad(a.file);if(b)return b;let c=ad(a.suite);return c||(ad(a.identifier)?.split("/")[0]??null)}(a)??d("testsWithoutFile");o.set(b,[...o.get(b)??[],a])}let p=[c.bundle,c.configuration,c.plan].filter(Boolean).join(" · ");return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":f,"aria-label":d(f?"collapseTestSuite":"expandTestSuite",{suite:h}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>g(a=>!a),type:"button",children:[f?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:h}),p&&(0,b.jsx)("span",{className:"hidden shrink-0 text-xs text-muted-foreground sm:inline",children:p}),(0,b.jsx)(v.Badge,{className:1===j?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":j>=.5?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"",variant:j<.5?"destructive":"outline",children:d("testSuitePassed",{passed:i,total:c.tests.length,percent:k})})]}),f&&(0,b.jsx)("div",{className:"border-t bg-muted/10 p-2",children:(0,b.jsx)("div",{className:"divide-y rounded-md border bg-background",children:[...o.entries()].sort(([a],[b])=>a.localeCompare(b,e,{numeric:!0,sensitivity:"base"})).map(([a,c])=>(0,b.jsx)(ah,{file:a,tests:c},a))})})]})}function ah({file:a,tests:c}){let d=(0,r.useTranslations)("builds"),[e,f]=(0,s.useState)(!1);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":e,"aria-label":d(e?"collapseTestFile":"expandTestFile",{file:a}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>f(a=>!a),type:"button",children:[e?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:a,children:a}),(0,b.jsx)(v.Badge,{variant:"outline",children:d("testTotal",{count:c.length})})]}),e&&(0,b.jsx)("div",{className:"border-t overflow-auto",children:(0,b.jsxs)(B.Table,{"aria-label":a,className:"min-w-[38rem] text-xs",children:[(0,b.jsx)(B.TableHeader,{children:(0,b.jsxs)(B.TableRow,{children:[(0,b.jsx)(B.TableHead,{className:"h-8 px-2",children:d("testStatus")}),(0,b.jsx)(B.TableHead,{className:"h-8 px-2",children:d("testName")}),(0,b.jsx)(B.TableHead,{className:"h-8 px-2 text-right",children:d("testDuration")})]})}),(0,b.jsx)(B.TableBody,{children:c.map((a,c)=>{let d=Array.isArray(a.details)?a.details.filter(a=>"string"==typeof a):[],e=Array.isArray(a.tags)?a.tags.filter(a=>"string"==typeof a):[],f=String(a.name??"—"),g=ad(a.identifier);return(0,b.jsxs)(B.TableRow,{children:[(0,b.jsx)(B.TableCell,{className:"px-2 py-1.5",children:(0,b.jsx)(ai,{result:String(a.result??"unknown")})}),(0,b.jsxs)(B.TableCell,{className:"max-w-xl px-2 py-1.5 whitespace-normal",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,b.jsx)("span",{className:"font-mono font-medium",children:f}),e.map(a=>(0,b.jsx)(v.Badge,{variant:"outline",children:a},a))]}),g&&g!==f&&(0,b.jsx)("p",{className:"truncate font-mono text-muted-foreground",title:g,children:g}),d.map((a,c)=>(0,b.jsx)("p",{className:"mt-1 text-destructive",children:a},c))]}),(0,b.jsx)(B.TableCell,{className:"px-2 py-1.5 text-right tabular-nums",children:"number"==typeof a.durationSeconds?`${a.durationSeconds.toFixed(3)}s`:"—"})]},`${g??f}:${c}`)})})]})})]})}function ai({result:a}){let c=a.toLocaleLowerCase();return(0,b.jsx)(v.Badge,{className:"passed"===c?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"skipped"===c?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"expected failure"===c?"border-violet-500/40 bg-violet-500/10 text-violet-700 dark:text-violet-300":"",variant:"failed"===c?"destructive":"outline",children:a})}function aj({label:a,value:c,mono:d=!1}){return(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:a}),(0,b.jsx)("dd",{className:d?"mt-0.5 break-all font-mono text-xs":"mt-0.5",children:c})]})}a.s(["BuildDetailPage",0,function({buildId:a}){let f=(0,r.useTranslations)("builds"),A=(0,q.useLocale)(),B=(0,C.useRouter)(),[G,H]=(0,s.useState)(null),[I,J]=(0,s.useState)([]),[K,L]=(0,s.useState)(!0),[M,N]=(0,s.useState)(null),[P,Q]=(0,s.useState)(!1),[R,S]=(0,s.useState)(null),[T,Z]=(0,s.useState)(!1),[_,aa]=(0,s.useState)(!1),[ac,ad]=(0,s.useState)(!1),[ae,ag]=(0,s.useState)(!0),ah=(0,s.useRef)(null),ai=(0,s.useCallback)(async()=>{try{let b=await (0,E.controlPlaneRequest)(`query BuildDetail($id: ID!) {
28
+ `,Y="id scope scopeId sequence phase level stream message createdAt",Z=new Set(["IPA"]);function $(a){return a.split("_").filter(Boolean).map(a=>Z.has(a)?a:`${a.charAt(0).toLocaleUpperCase()}${a.slice(1).toLocaleLowerCase()}`).join(" ")}let _=["packageResolution","disablePackageRepositoryCache","signingStyle","developmentTeam","codeSignIdentity","provisioningProfileSpecifier","productBundleIdentifier","allowProvisioningUpdates","allowProvisioningDeviceRegistration","testPlan","codeCoverage","parseTestResults","parallelTesting","parallelTestingWorkers","onlyTesting","skipTesting","buildSettingOverrides","priorBuildForTestingId","priorTestProductsPath","priorXctestrunPath"],aa={packageResolution:"DEFAULT",disablePackageRepositoryCache:!1,signingStyle:"PROJECT_DEFAULT",developmentTeam:null,codeSignIdentity:null,provisioningProfileSpecifier:null,productBundleIdentifier:null,allowProvisioningUpdates:!1,allowProvisioningDeviceRegistration:!1,testPlan:null,codeCoverage:!1,parseTestResults:!0,parallelTesting:null,parallelTestingWorkers:null,onlyTesting:[],skipTesting:[],buildSettingOverrides:{},priorBuildForTestingId:null,priorTestProductsPath:null,priorXctestrunPath:null};function ab({settings:a}){let c=(0,r.useTranslations)("builds"),d={packageResolution:c("packageResolution"),disablePackageRepositoryCache:c("disablePackageRepositoryCache"),signingStyle:c("signingStyle"),developmentTeam:c("developmentTeam"),codeSignIdentity:c("codeSignIdentity"),provisioningProfileSpecifier:c("provisioningProfileSpecifier"),productBundleIdentifier:c("productBundleIdentifier"),allowProvisioningUpdates:c("allowProvisioningUpdates"),allowProvisioningDeviceRegistration:c("allowProvisioningDeviceRegistration"),testPlan:c("testPlan"),codeCoverage:c("codeCoverage"),parseTestResults:c("parseTestResults"),parallelTesting:c("parallelTesting"),parallelTestingWorkers:c("parallelTestingWorkers"),onlyTesting:c("onlyTesting"),skipTesting:c("skipTesting"),buildSettingOverrides:c("buildSettingOverrides"),priorBuildForTestingId:c("priorBuildForTesting"),priorTestProductsPath:c("priorTestProductsPath"),priorXctestrunPath:c("priorXctestrunPath")},e=new Set(_),f=a?[..._.filter(b=>Object.hasOwn(a,b)),...Object.keys(a).filter(a=>!e.has(a)).sort()].filter(b=>{var c;return c=a[b],Object.hasOwn(aa,b)?JSON.stringify(c)!==JSON.stringify(aa[b]):null!=c&&""!==c&&!1!==c&&(Array.isArray(c)?c.length>0:"object"!=typeof c||Object.keys(c).length>0)}):[];return a&&f.length?(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("advancedSettings")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("dl",{className:"space-y-3 text-sm",children:f.map(c=>(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:d[c]??$(c.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replaceAll("-","_"))}),(0,b.jsx)("dd",{className:"mt-0.5 min-w-0",children:(0,b.jsx)(ac,{value:a[c]})})]},c))})})]}):null}function ac({value:a}){let c=(0,r.useTranslations)("builds");if("boolean"==typeof a)return(0,b.jsx)(v.Badge,{variant:a?"default":"secondary",children:c(a?"settingsEnabled":"settingsDisabled")});if(null==a||""===a)return(0,b.jsx)(b.Fragment,{children:"—"});if(Array.isArray(a))return a.length?(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:a.map(String).join(", ")}):(0,b.jsx)(b.Fragment,{children:"—"});if("object"==typeof a){let c=JSON.stringify(a);return c&&"{}"!==c?(0,b.jsx)("span",{className:"break-all font-mono text-xs",children:c}):(0,b.jsx)(b.Fragment,{children:"—"})}return"string"==typeof a&&/^[A-Z][A-Z0-9_]*$/.test(a)?(0,b.jsx)(b.Fragment,{children:$(a)}):(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:String(a)})}function ad(a){return"string"==typeof a&&a.trim()?a:null}function ae(a,b){return"ALL"===b||String(a.result??"unknown").toLocaleUpperCase()===b}function af({report:a}){let c=(0,r.useTranslations)("builds"),[d,e]=(0,s.useState)("ALL"),f=Array.isArray(a.data.tests)?a.data.tests:[],g=Array.isArray(a.data.devices)?a.data.devices:[],h=b=>"number"==typeof a.summary[b]?Number(a.summary[b]):0,i=(function(a){let b=new Map;for(let c of a){let a=ad(c.bundle),d=ad(c.suite),e=ad(c.plan),f=ad(c.configuration),g=d??a,h=JSON.stringify([e,f,a,g]),i=b.get(h)??{key:h,name:g,bundle:a,plan:e,configuration:f,tests:[]};i.tests.push(c),b.set(h,i)}return[...b.values()].sort((a,b)=>(a.name??"").localeCompare(b.name??"",void 0,{numeric:!0,sensitivity:"base"}))})(f).filter(a=>a.tests.some(a=>ae(a,d)));return(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("testResults")})}),(0,b.jsx)(x.CardContent,{className:"space-y-4",children:"FAILED"===a.status?(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:a.error??c("testResultsFailed")})}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:c("testTotal",{count:h("total")})}),(0,b.jsx)(v.Badge,{className:"bg-emerald-600 text-white dark:bg-emerald-700",children:c("testPassed",{count:h("passed")})}),(0,b.jsx)(v.Badge,{variant:h("failed")?"destructive":"outline",children:c("testFailed",{count:h("failed")})}),(0,b.jsx)(v.Badge,{className:"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",variant:"outline",children:c("testSkipped",{count:h("skipped")})}),g.map((a,c)=>(0,b.jsxs)(v.Badge,{variant:"outline",children:[String(a.deviceName??a.modelName??"Device")," ·"," ",String(a.osVersion??"—")]},c))]}),(0,b.jsx)("div",{className:"overflow-x-auto pb-1",children:(0,b.jsx)(A.Tabs,{onValueChange:a=>e(a),value:d,children:(0,b.jsxs)(A.TabsList,{"aria-label":c("testResultFilters"),children:[(0,b.jsx)(A.TabsTrigger,{value:"ALL",children:c("testFilterAll",{count:f.length})}),(0,b.jsx)(A.TabsTrigger,{value:"PASSED",children:c("testFilterPassed",{count:h("passed")})}),(0,b.jsx)(A.TabsTrigger,{value:"FAILED",children:c("testFilterFailed",{count:h("failed")})}),(0,b.jsx)(A.TabsTrigger,{value:"SKIPPED",children:c("testFilterSkipped",{count:h("skipped")})})]})})}),(0,b.jsx)("div",{className:"divide-y rounded-md border",children:i.map(a=>(0,b.jsx)(ag,{filter:d,group:a},a.key))})]})})]})}function ag({filter:a,group:c}){let d=(0,r.useTranslations)("builds"),e=(0,q.useLocale)(),[f,g]=(0,s.useState)(!1),h=c.name??d("testsWithoutSuite"),i=c.tests.filter(a=>"Passed"===a.result).length,j=c.tests.length?i/c.tests.length:0,k=new Intl.NumberFormat(e,{style:"percent",maximumFractionDigits:1}).format(j),l=c.tests.filter(b=>ae(b,a)),o=new Map;for(let a of l){let b=function(a){let b=ad(a.file);if(b)return b;let c=ad(a.suite);return c||(ad(a.identifier)?.split("/")[0]??null)}(a)??d("testsWithoutFile");o.set(b,[...o.get(b)??[],a])}let p=[c.bundle,c.configuration,c.plan].filter(Boolean).join(" · ");return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":f,"aria-label":d(f?"collapseTestSuite":"expandTestSuite",{suite:h}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>g(a=>!a),type:"button",children:[f?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:h}),p&&(0,b.jsx)("span",{className:"hidden shrink-0 text-xs text-muted-foreground sm:inline",children:p}),(0,b.jsx)(v.Badge,{className:1===j?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":j>=.5?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"",variant:j<.5?"destructive":"outline",children:d("testSuitePassed",{passed:i,total:c.tests.length,percent:k})})]}),f&&(0,b.jsx)("div",{className:"border-t bg-muted/10 p-2",children:(0,b.jsx)("div",{className:"divide-y rounded-md border bg-background",children:[...o.entries()].sort(([a],[b])=>a.localeCompare(b,e,{numeric:!0,sensitivity:"base"})).map(([a,c])=>(0,b.jsx)(ah,{file:a,tests:c},a))})})]})}function ah({file:a,tests:c}){let d=(0,r.useTranslations)("builds"),[e,f]=(0,s.useState)(!1);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":e,"aria-label":d(e?"collapseTestFile":"expandTestFile",{file:a}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>f(a=>!a),type:"button",children:[e?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:a,children:a}),(0,b.jsx)(v.Badge,{variant:"outline",children:d("testTotal",{count:c.length})})]}),e&&(0,b.jsx)("div",{className:"border-t overflow-auto",children:(0,b.jsxs)(B.Table,{"aria-label":a,className:"min-w-[38rem] text-xs",children:[(0,b.jsx)(B.TableHeader,{children:(0,b.jsxs)(B.TableRow,{children:[(0,b.jsx)(B.TableHead,{className:"h-8 px-2",children:d("testStatus")}),(0,b.jsx)(B.TableHead,{className:"h-8 px-2",children:d("testName")}),(0,b.jsx)(B.TableHead,{className:"h-8 px-2 text-right",children:d("testDuration")})]})}),(0,b.jsx)(B.TableBody,{children:c.map((a,c)=>{let d=Array.isArray(a.details)?a.details.filter(a=>"string"==typeof a):[],e=Array.isArray(a.tags)?a.tags.filter(a=>"string"==typeof a):[],f=String(a.name??"—"),g=ad(a.identifier);return(0,b.jsxs)(B.TableRow,{children:[(0,b.jsx)(B.TableCell,{className:"px-2 py-1.5",children:(0,b.jsx)(ai,{result:String(a.result??"unknown")})}),(0,b.jsxs)(B.TableCell,{className:"max-w-xl px-2 py-1.5 whitespace-normal",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,b.jsx)("span",{className:"font-mono font-medium",children:f}),e.map(a=>(0,b.jsx)(v.Badge,{variant:"outline",children:a},a))]}),g&&g!==f&&(0,b.jsx)("p",{className:"truncate font-mono text-muted-foreground",title:g,children:g}),d.map((a,c)=>(0,b.jsx)("p",{className:"mt-1 text-destructive",children:a},c))]}),(0,b.jsx)(B.TableCell,{className:"px-2 py-1.5 text-right tabular-nums",children:"number"==typeof a.durationSeconds?`${a.durationSeconds.toFixed(3)}s`:"—"})]},`${g??f}:${c}`)})})]})})]})}function ai({result:a}){let c=a.toLocaleLowerCase();return(0,b.jsx)(v.Badge,{className:"passed"===c?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"skipped"===c?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"expected failure"===c?"border-violet-500/40 bg-violet-500/10 text-violet-700 dark:text-violet-300":"",variant:"failed"===c?"destructive":"outline",children:a})}function aj({label:a,value:c,mono:d=!1}){return(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:a}),(0,b.jsx)("dd",{className:d?"mt-0.5 break-all font-mono text-xs":"mt-0.5",children:c})]})}a.s(["BuildDetailPage",0,function({buildId:a,publicOrigin:f}){let A=(0,r.useTranslations)("builds"),B=(0,q.useLocale)(),G=(0,C.useRouter)(),[H,I]=(0,s.useState)(null),[J,K]=(0,s.useState)([]),[L,M]=(0,s.useState)(!0),[N,P]=(0,s.useState)(null),[Q,R]=(0,s.useState)(!1),[S,T]=(0,s.useState)(null),[Z,_]=(0,s.useState)(!1),[aa,ac]=(0,s.useState)(!1),[ad,ae]=(0,s.useState)(!1),[ag,ah]=(0,s.useState)(!0),ai=(0,s.useRef)(null),ak=(0,s.useCallback)(async()=>{try{let b=await (0,E.controlPlaneRequest)(`query BuildDetail($id: ID!) {
29
29
  build(id: $id) { ${X} }
30
30
  buildLogs(buildId: $id, first: 5000) { ${Y} }
31
- }`,{id:a});H(b.build),J(b.buildLogs),N(null)}catch(a){N(a instanceof Error?a.message:String(a))}finally{L(!1)}},[a]);(0,s.useEffect)(()=>{let a=window.setTimeout(()=>void ai(),0);return()=>window.clearTimeout(a)},[ai]),(0,s.useEffect)(()=>{let b=(0,E.controlPlaneSubscriptions)().subscribe({query:"subscription BuildChanged($id: ID!) { buildChanged(id: $id) { id } }",variables:{id:a}},{next:()=>void ai(),error:()=>void 0,complete:()=>void 0}),c=(0,E.controlPlaneSubscriptions)().subscribe({query:`subscription BuildLogAdded($buildId: ID!) {
31
+ }`,{id:a});I(b.build),K(b.buildLogs),P(null)}catch(a){P(a instanceof Error?a.message:String(a))}finally{M(!1)}},[a]);(0,s.useEffect)(()=>{let a=window.setTimeout(()=>void ak(),0);return()=>window.clearTimeout(a)},[ak]),(0,s.useEffect)(()=>{let b=(0,E.controlPlaneSubscriptions)().subscribe({query:"subscription BuildChanged($id: ID!) { buildChanged(id: $id) { id } }",variables:{id:a}},{next:()=>void ak(),error:()=>void 0,complete:()=>void 0}),c=(0,E.controlPlaneSubscriptions)().subscribe({query:`subscription BuildLogAdded($buildId: ID!) {
32
32
  buildLogAdded(buildId: $buildId) { ${Y} }
33
- }`,variables:{buildId:a}},{next:a=>{let b=a.data?.buildLogAdded;b&&J(a=>a.some(a=>a.id===b.id)?a:[...a,b])},error:()=>void 0,complete:()=>void 0});return()=>{b(),c()}},[a,ai]);let ak=null!==G&&(["QUEUED","PREPARING","RUNNING"].includes(G.status)||G.deployments.some(a=>["QUEUED","RUNNING"].includes(a.status))||G.exports.some(a=>["QUEUED","RUNNING"].includes(a.status)));(0,s.useEffect)(()=>{if(!ak)return;let a=window.setInterval(()=>void ai(),2e3);return()=>window.clearInterval(a)},[ak,ai]),(0,s.useEffect)(()=>{ak&&ah.current&&(ah.current.scrollTop=ah.current.scrollHeight)},[ak,I]),(0,s.useEffect)(()=>{if(!ac)return;let a=window.setTimeout(()=>ad(!1),2e3);return()=>window.clearTimeout(a)},[ac]);let al=async()=>{Q(!0);try{await (0,E.controlPlaneRequest)("mutation CancelBuild($id: ID!) { cancelBuild(id: $id) { id status } }",{id:a}),await ai()}catch(a){N(a instanceof Error?a.message:String(a))}finally{Q(!1)}},am=async()=>{Q(!0),N(null);try{await (0,E.controlPlaneRequest)("mutation DeleteBuild($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[a]}),B.replace("/builds")}catch(a){N(a instanceof Error?a.message:String(a)),aa(!1)}finally{Q(!1)}},an=G?.artifacts.some(a=>"RUNNABLE_APP"===a.kind),ao=G?.artifacts.some(a=>"ARCHIVE"===a.kind),ap=G?.reports?.find(a=>"TEST_RESULTS"===a.kind),aq=G?.reports?.find(a=>"CODE_COVERAGE"===a.kind),ar=G?.artifacts.find(a=>"RESULT_BUNDLE"===a.kind),as=!!G&&["TEST","TEST_WITHOUT_BUILDING"].includes(G.action),at=G?.snapshot??{},au=at.repository,av=at.worktree,aw=at.configuration,ax=ar?.metadata.coverageAvailable===!0||aw?.advancedSettings?.codeCoverage===!0,ay=a=>a?new Date(a).toLocaleString(A):"—",az=async a=>{try{await (0,D.copyText)(a),ad(!0)}catch{N(f("copyFailed"))}},aA=async b=>{S(b),N(null);try{let c="TEST_RESULTS"===b?"parseBuildTestResults":"generateBuildCoverageReport";await (0,E.controlPlaneRequest)(`mutation GenerateBuildReport($buildId: ID!, $requestId: ID!) {
33
+ }`,variables:{buildId:a}},{next:a=>{let b=a.data?.buildLogAdded;b&&K(a=>a.some(a=>a.id===b.id)?a:[...a,b])},error:()=>void 0,complete:()=>void 0});return()=>{b(),c()}},[a,ak]);let al=null!==H&&(["QUEUED","PREPARING","RUNNING"].includes(H.status)||H.deployments.some(a=>["QUEUED","RUNNING"].includes(a.status))||H.exports.some(a=>["QUEUED","RUNNING"].includes(a.status)));(0,s.useEffect)(()=>{if(!al)return;let a=window.setInterval(()=>void ak(),2e3);return()=>window.clearInterval(a)},[al,ak]),(0,s.useEffect)(()=>{al&&ai.current&&(ai.current.scrollTop=ai.current.scrollHeight)},[al,J]),(0,s.useEffect)(()=>{if(!ad)return;let a=window.setTimeout(()=>ae(!1),2e3);return()=>window.clearTimeout(a)},[ad]);let am=async()=>{R(!0);try{await (0,E.controlPlaneRequest)("mutation CancelBuild($id: ID!) { cancelBuild(id: $id) { id status } }",{id:a}),await ak()}catch(a){P(a instanceof Error?a.message:String(a))}finally{R(!1)}},an=async()=>{R(!0),P(null);try{await (0,E.controlPlaneRequest)("mutation DeleteBuild($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[a]}),G.replace("/builds")}catch(a){P(a instanceof Error?a.message:String(a)),ac(!1)}finally{R(!1)}},ao=H?.artifacts.some(a=>"RUNNABLE_APP"===a.kind),ap=H?.artifacts.some(a=>"ARCHIVE"===a.kind),aq=H?.reports?.find(a=>"TEST_RESULTS"===a.kind),ar=H?.reports?.find(a=>"CODE_COVERAGE"===a.kind),as=H?.artifacts.find(a=>"RESULT_BUNDLE"===a.kind),at=!!H&&["TEST","TEST_WITHOUT_BUILDING"].includes(H.action),au=H?.snapshot??{},av=au.repository,aw=au.worktree,ax=au.configuration,ay=as?.metadata.coverageAvailable===!0||ax?.advancedSettings?.codeCoverage===!0,az=a=>a?new Date(a).toLocaleString(B):"—",aA=async a=>{try{await (0,D.copyText)(a),ae(!0)}catch{P(A("copyFailed"))}},aB=async b=>{T(b),P(null);try{let c="TEST_RESULTS"===b?"parseBuildTestResults":"generateBuildCoverageReport";await (0,E.controlPlaneRequest)(`mutation GenerateBuildReport($buildId: ID!, $requestId: ID!) {
34
34
  ${c}(buildId: $buildId, requestId: $requestId) { id status error }
35
- }`,{buildId:a,requestId:(0,D.createClientId)()}),await ai()}catch(a){N(a instanceof Error?a.message:String(a))}finally{S(null)}},aB=a=>{let b=ah.current;b&&b.scrollTo({behavior:"smooth",top:"top"===a?0:b.scrollHeight})};return K?(0,b.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,b.jsx)(z.Spinner,{})," ",f("loading")]}):G?(0,b.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,b.jsx)("div",{children:(0,b.jsx)(w.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,b.jsxs)(C.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",f("backToBuilds")]})})}),M&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:M})}),G.error&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[G.errorCode?`${G.errorCode}: `:"",G.error]})}),(0,b.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:au?.name??"—"}),(0,b.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold",children:aw?.name??G.id}),(0,b.jsx)(v.Badge,{variant:(0,F.buildStatusVariant)(G.status),children:f(`statuses.${G.status}`)}),(0,b.jsx)(v.Badge,{variant:"outline",children:f(`actions.${G.action}`)}),G.outOfDate&&(0,b.jsx)(v.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:f("outOfDate")})]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[av?.branch??av?.folder??"—"," ·"," ",G.destination.name]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[f("buildId"),": ",G.id]})]}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(V.RebuildButton,{buildId:G.id,onCompleted:a=>B.push(`/builds/${a.id}`),onError:N}),["QUEUED","PREPARING","RUNNING"].includes(G.status)&&(0,b.jsxs)(w.Button,{disabled:P,onClick:()=>void al(),variant:"destructive",children:[P?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(o.Square,{})," ",f("cancelBuild")]}),"SUCCEEDED"===G.status&&an&&(0,b.jsx)(W.RunBuildControls,{buildId:G.id,destinationType:G.destinationType,onCompleted:ai,onError:N,preferredDestination:G.destination}),"SUCCEEDED"===G.status&&ao&&(0,b.jsxs)(w.Button,{onClick:()=>Z(!0),variant:"outline",children:[(0,b.jsx)(c.Archive,{})," ",f("exportArchive")]}),!ak&&as&&ar&&ap?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==R,onClick:()=>void aA("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===R?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(k,{}),ap?.status==="FAILED"?f("retryParseTestResults"):f("parseTestResultsAction")]}),!ak&&ar&&ax&&aq?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==R,onClick:()=>void aA("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===R?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(l,{}),aq?.status==="FAILED"?f("retryCoverageReport"):f("generateCoverageReport")]}),aq?.status==="READY"&&(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(C.Link,{href:`/builds/${G.id}/coverage`,children:[(0,b.jsx)(l,{})," ",f("viewCoverageReport")]})}),(0,b.jsxs)(w.Button,{disabled:P||["QUEUED","PREPARING","RUNNING"].includes(G.status),onClick:()=>aa(!0),variant:"destructive",children:[(0,b.jsx)(p.Trash2,{})," ",f("deleteBuild")]})]})]}),ap&&(0,b.jsx)(af,{report:ap}),(0,b.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{className:"gap-0 py-0",children:[(0,b.jsx)(x.CardHeader,{className:ae?"border-b bg-muted/40 py-3":"bg-muted/40 py-3",children:(0,b.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,b.jsx)(w.Button,{"aria-expanded":ae,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>ag(a=>!a),type:"button",variant:"ghost",children:(0,b.jsx)("span",{className:"truncate font-medium",children:f("logs")})}),(0,b.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[ae&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(w.Button,{"aria-label":f("scrollLogsToTop"),onClick:()=>aB("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(g,{})}),(0,b.jsx)(w.Button,{"aria-label":f("scrollLogsToBottom"),onClick:()=>aB("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(e.ArrowDownToLine,{})})]}),(0,b.jsx)(w.Button,{"aria-expanded":ae,"aria-label":f(ae?"collapseLogs":"expandLogs"),onClick:()=>ag(a=>!a),size:"icon-sm",title:f(ae?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:ae?(0,b.jsx)(m.ChevronDown,{className:"size-5"}):(0,b.jsx)(n.ChevronRight,{className:"size-5"})})]})]})}),ae&&(0,b.jsx)(x.CardContent,{className:"py-4",children:(0,b.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:ah,children:I.length?I.map(a=>`[${a.phase}] ${a.message}`).join("\n"):f("noLogs")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsxs)(x.CardHeader,{children:[(0,b.jsx)(x.CardTitle,{children:f("commandSummary")}),(0,b.jsx)(x.CardAction,{children:(0,b.jsx)(w.Button,{"aria-label":ac?f("commandCopied"):f("copyCommand"),onClick:()=>void az(G.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:ac?(0,b.jsx)(h.Check,{}):(0,b.jsx)(i.Copy,{})})})]}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:G.commandSummary})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("scripts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:G.scriptExecutions.length?G.scriptExecutions.map(a=>(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("p",{className:"text-sm font-medium",children:[a.nameSnapshot," ·"," ",$(a.phase)]}),a.error&&(0,b.jsx)("p",{className:"text-xs text-destructive",children:a.error})]}),(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)})]},a.id)):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noScriptExecutions")})})]})]}),(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("overview")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,b.jsx)(aj,{label:f("buildId"),value:G.id,mono:!0}),(0,b.jsx)(aj,{label:f("scheme"),value:aw?.scheme??"—",mono:!0}),(0,b.jsx)(aj,{label:f("configuration"),value:aw?.buildConfiguration??"—",mono:!0}),(0,b.jsx)(aj,{label:f("head"),value:av?.headSha??"—",mono:!0}),(0,b.jsx)(aj,{label:f("startedAt"),value:ay(G.startedAt)}),(0,b.jsx)(aj,{label:f("finishedAt"),value:ay(G.finishedAt)}),(0,b.jsx)(aj,{label:f("artifactDirectory"),value:G.artifactDirectory,mono:!0})]})})]}),(0,b.jsx)(ab,{settings:aw?.advancedSettings}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("artifacts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:G.artifacts.length?G.artifacts.map(a=>{let c="IPA"===a.kind,d=a.metadata??{};return(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:$(a.kind)}),(0,b.jsx)(w.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,b.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(G.id)}/artifacts/${encodeURIComponent(a.id)}`,children:[(0,b.jsx)(j.Download,{})," ",c?f("downloadIpa"):f("downloadArtifact")]})})]}),(0,b.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:a.relativePath}),c&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("dl",{className:"mt-2 space-y-1 text-xs text-muted-foreground",children:["string"==typeof d.bundleIdentifier&&(0,b.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,b.jsx)("dt",{children:f("ipaBundleIdentifier")}),(0,b.jsx)("dd",{className:"break-all font-mono",children:d.bundleIdentifier})]}),"string"==typeof d.bundleShortVersion&&(0,b.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,b.jsx)("dt",{children:f("ipaBundleVersion")}),(0,b.jsx)("dd",{className:"font-mono",children:d.bundleShortVersion})]})]}),(0,b.jsx)("div",{className:"mt-2 flex justify-end",children:(0,b.jsx)(U,{artifactId:a.id,buildId:G.id,metadata:d})})]})]},a.id)}):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noArtifacts")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("runsAndExports")})}),(0,b.jsxs)(x.CardContent,{className:"space-y-2",children:[G.deployments.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.destination.name}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:ay(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),G.exports.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:f("archiveExport")}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:ay(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.outputRelativePath&&(0,b.jsx)("p",{className:"mt-1 font-mono text-xs",children:a.outputRelativePath}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),!G.deployments.length&&!G.exports.length&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noRunsOrExports")})]})]})]})]}),T&&(0,b.jsx)(O,{buildId:G.id,onOpenChange:Z,onSaved:ai,open:T}),(0,b.jsx)(t.ConfirmationDialog,{actionLabel:f("deleteBuild"),cancelLabel:f("cancel"),description:f("deleteBuildDescription"),onConfirm:am,onOpenChange:aa,open:_,title:f("deleteBuildTitle")})]}):(0,b.jsxs)(y.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,b.jsxs)(y.EmptyHeader,{children:[(0,b.jsx)(y.EmptyTitle,{children:f("buildNotFound")}),(0,b.jsx)(y.EmptyDescription,{children:f("buildNotFoundDescription")})]}),(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(C.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",f("backToBuilds")]})})]})}],345962)}];
35
+ }`,{buildId:a,requestId:(0,D.createClientId)()}),await ak()}catch(a){P(a instanceof Error?a.message:String(a))}finally{T(null)}},aC=a=>{let b=ai.current;b&&b.scrollTo({behavior:"smooth",top:"top"===a?0:b.scrollHeight})};return L?(0,b.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,b.jsx)(z.Spinner,{})," ",A("loading")]}):H?(0,b.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,b.jsx)("div",{children:(0,b.jsx)(w.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,b.jsxs)(C.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",A("backToBuilds")]})})}),N&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:N})}),H.error&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[H.errorCode?`${H.errorCode}: `:"",H.error]})}),(0,b.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:av?.name??"—"}),(0,b.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold",children:ax?.name??H.id}),(0,b.jsx)(v.Badge,{variant:(0,F.buildStatusVariant)(H.status),children:A(`statuses.${H.status}`)}),(0,b.jsx)(v.Badge,{variant:"outline",children:A(`actions.${H.action}`)}),H.outOfDate&&(0,b.jsx)(v.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:A("outOfDate")})]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[aw?.branch??aw?.folder??"—"," ·"," ",H.destination.name]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[A("buildId"),": ",H.id]})]}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(V.RebuildButton,{buildId:H.id,onCompleted:a=>G.push(`/builds/${a.id}`),onError:P}),["QUEUED","PREPARING","RUNNING"].includes(H.status)&&(0,b.jsxs)(w.Button,{disabled:Q,onClick:()=>void am(),variant:"destructive",children:[Q?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(o.Square,{})," ",A("cancelBuild")]}),"SUCCEEDED"===H.status&&ao&&(0,b.jsx)(W.RunBuildControls,{buildId:H.id,destinationType:H.destinationType,onCompleted:ak,onError:P,preferredDestination:H.destination}),"SUCCEEDED"===H.status&&ap&&(0,b.jsxs)(w.Button,{onClick:()=>_(!0),variant:"outline",children:[(0,b.jsx)(c.Archive,{})," ",A("exportArchive")]}),!al&&at&&as&&aq?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==S,onClick:()=>void aB("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===S?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(k,{}),aq?.status==="FAILED"?A("retryParseTestResults"):A("parseTestResultsAction")]}),!al&&as&&ay&&ar?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==S,onClick:()=>void aB("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===S?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(l,{}),ar?.status==="FAILED"?A("retryCoverageReport"):A("generateCoverageReport")]}),ar?.status==="READY"&&(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(C.Link,{href:`/builds/${H.id}/coverage`,children:[(0,b.jsx)(l,{})," ",A("viewCoverageReport")]})}),(0,b.jsxs)(w.Button,{disabled:Q||["QUEUED","PREPARING","RUNNING"].includes(H.status),onClick:()=>ac(!0),variant:"destructive",children:[(0,b.jsx)(p.Trash2,{})," ",A("deleteBuild")]})]})]}),aq&&(0,b.jsx)(af,{report:aq}),(0,b.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{className:"gap-0 py-0",children:[(0,b.jsx)(x.CardHeader,{className:ag?"border-b bg-muted/40 py-3":"bg-muted/40 py-3",children:(0,b.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,b.jsx)(w.Button,{"aria-expanded":ag,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>ah(a=>!a),type:"button",variant:"ghost",children:(0,b.jsx)("span",{className:"truncate font-medium",children:A("logs")})}),(0,b.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[ag&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(w.Button,{"aria-label":A("scrollLogsToTop"),onClick:()=>aC("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(g,{})}),(0,b.jsx)(w.Button,{"aria-label":A("scrollLogsToBottom"),onClick:()=>aC("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(e.ArrowDownToLine,{})})]}),(0,b.jsx)(w.Button,{"aria-expanded":ag,"aria-label":A(ag?"collapseLogs":"expandLogs"),onClick:()=>ah(a=>!a),size:"icon-sm",title:A(ag?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:ag?(0,b.jsx)(m.ChevronDown,{className:"size-5"}):(0,b.jsx)(n.ChevronRight,{className:"size-5"})})]})]})}),ag&&(0,b.jsx)(x.CardContent,{className:"py-4",children:(0,b.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:ai,children:J.length?J.map(a=>`[${a.phase}] ${a.message}`).join("\n"):A("noLogs")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsxs)(x.CardHeader,{children:[(0,b.jsx)(x.CardTitle,{children:A("commandSummary")}),(0,b.jsx)(x.CardAction,{children:(0,b.jsx)(w.Button,{"aria-label":ad?A("commandCopied"):A("copyCommand"),onClick:()=>void aA(H.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:ad?(0,b.jsx)(h.Check,{}):(0,b.jsx)(i.Copy,{})})})]}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:H.commandSummary})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("scripts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:H.scriptExecutions.length?H.scriptExecutions.map(a=>(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("p",{className:"text-sm font-medium",children:[a.nameSnapshot," ·"," ",$(a.phase)]}),a.error&&(0,b.jsx)("p",{className:"text-xs text-destructive",children:a.error})]}),(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)})]},a.id)):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:A("noScriptExecutions")})})]})]}),(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("overview")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,b.jsx)(aj,{label:A("buildId"),value:H.id,mono:!0}),(0,b.jsx)(aj,{label:A("scheme"),value:ax?.scheme??"—",mono:!0}),(0,b.jsx)(aj,{label:A("configuration"),value:ax?.buildConfiguration??"—",mono:!0}),(0,b.jsx)(aj,{label:A("head"),value:aw?.headSha??"—",mono:!0}),(0,b.jsx)(aj,{label:A("startedAt"),value:az(H.startedAt)}),(0,b.jsx)(aj,{label:A("finishedAt"),value:az(H.finishedAt)}),(0,b.jsx)(aj,{label:A("artifactDirectory"),value:H.artifactDirectory,mono:!0})]})})]}),(0,b.jsx)(ab,{settings:ax?.advancedSettings}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("artifacts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:H.artifacts.length?H.artifacts.map(a=>{let c="IPA"===a.kind,d=a.metadata??{};return(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:$(a.kind)}),(0,b.jsx)(w.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,b.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(H.id)}/artifacts/${encodeURIComponent(a.id)}`,children:[(0,b.jsx)(j.Download,{})," ",c?A("downloadIpa"):A("downloadArtifact")]})})]}),(0,b.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:a.relativePath}),c&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("dl",{className:"mt-2 space-y-1 text-xs text-muted-foreground",children:["string"==typeof d.bundleIdentifier&&(0,b.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,b.jsx)("dt",{children:A("ipaBundleIdentifier")}),(0,b.jsx)("dd",{className:"break-all font-mono",children:d.bundleIdentifier})]}),"string"==typeof d.bundleShortVersion&&(0,b.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,b.jsx)("dt",{children:A("ipaBundleVersion")}),(0,b.jsx)("dd",{className:"font-mono",children:d.bundleShortVersion})]})]}),(0,b.jsx)("div",{className:"mt-2 flex justify-end",children:(0,b.jsx)(U,{artifactId:a.id,buildId:H.id,metadata:d,publicOrigin:f})})]})]},a.id)}):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:A("noArtifacts")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("runsAndExports")})}),(0,b.jsxs)(x.CardContent,{className:"space-y-2",children:[H.deployments.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.destination.name}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:az(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),H.exports.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:A("archiveExport")}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:az(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.outputRelativePath&&(0,b.jsx)("p",{className:"mt-1 font-mono text-xs",children:a.outputRelativePath}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),!H.deployments.length&&!H.exports.length&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:A("noRunsOrExports")})]})]})]})]}),Z&&(0,b.jsx)(O,{buildId:H.id,onOpenChange:_,onSaved:ak,open:Z}),(0,b.jsx)(t.ConfirmationDialog,{actionLabel:A("deleteBuild"),cancelLabel:A("cancel"),description:A("deleteBuildDescription"),onConfirm:an,onOpenChange:ac,open:aa,title:A("deleteBuildTitle")})]}):(0,b.jsxs)(y.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,b.jsxs)(y.EmptyHeader,{children:[(0,b.jsx)(y.EmptyTitle,{children:A("buildNotFound")}),(0,b.jsx)(y.EmptyDescription,{children:A("buildNotFoundDescription")})]}),(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(C.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",A("backToBuilds")]})})]})}],345962)}];
36
36
 
37
37
  //# sourceMappingURL=src_components_builds_build-detail-page_tsx_0q1lvps._.js.map
@@ -11,7 +11,7 @@
11
11
  ]
12
12
  },
13
13
  "/api/build-artifact-uploads/[uploadId]": {
14
- "maxDuration": 180
14
+ "maxDuration": 1800
15
15
  },
16
16
  "/api/builds/[buildId]/artifacts/[artifactId]": {
17
17
  "maxDuration": 1800
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
7
7
  "static/chunks/0cz1d0mv5g_q7.js"
8
8
  ],
9
9
  "lowPriorityFiles": [
10
- "static/sJ09NBDjsLncJEkHNWbdR/_buildManifest.js",
11
- "static/sJ09NBDjsLncJEkHNWbdR/_ssgManifest.js",
12
- "static/sJ09NBDjsLncJEkHNWbdR/_clientMiddlewareManifest.js"
10
+ "static/qUqJkVkzos1XoXFl7PSxx/_buildManifest.js",
11
+ "static/qUqJkVkzos1XoXFl7PSxx/_ssgManifest.js",
12
+ "static/qUqJkVkzos1XoXFl7PSxx/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/40ovzayigkz_-.js",
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"sJ09NBDjsLncJEkHNWbdR\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"qUqJkVkzos1XoXFl7PSxx\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"sJ09NBDjsLncJEkHNWbdR\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"qUqJkVkzos1XoXFl7PSxx\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"sa5dPKesoNer9zW6HL8RnIc3bnZtUSyZZ5osPE9vyDY=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"u7JV9uo19dlVJFz9dt/okMeB7FHJ8UihCVJhuvx+6zo=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "sa5dPKesoNer9zW6HL8RnIc3bnZtUSyZZ5osPE9vyDY="
4
+ "encryptionKey": "u7JV9uo19dlVJFz9dt/okMeB7FHJ8UihCVJhuvx+6zo="
5
5
  }