@ai-development-environment/server 0.0.99 → 0.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/(dashboard)/actions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/apps/[appId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/apps/[appId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/builds/[buildId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/changes/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/changes/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/commands/runs/[runId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/comments/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/github-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/github-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/plans/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/plans/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/plans/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/plans/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/sessions/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/sessions/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/sessions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/sessions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/usage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/workflows/[workflowId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/workflows/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/workflows/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/[worktreeId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/(dashboard)/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/complete/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/download/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/upload/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/notification-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/gitlab/webhook/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/jira/webhook/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/sse/[token]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/sse/history/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__03aos_4._.js +1 -1
- package/standalone/.next/server/chunks/_0e8lp3p._.js +1 -1
- package/standalone/.next/server/chunks/_0fwwxlu._.js +1 -1
- package/standalone/.next/server/chunks/_0h78qjg._.js +1 -1
- package/standalone/.next/server/chunks/_0ndnc91._.js +1 -1
- package/standalone/.next/server/chunks/_0wpfe7q._.js +1 -1
- package/standalone/.next/server/chunks/_1-vdyhc._.js +1 -1
- package/standalone/.next/server/chunks/_1gt6607._.js +1 -1
- package/standalone/.next/server/chunks/_1jwsn5v._.js +1 -1
- package/standalone/.next/server/chunks/_1qjb83a._.js +1 -1
- package/standalone/.next/server/chunks/_1zwfwcs._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03lyeon._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0y7gd01._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__10jrizr._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1rcvzx1._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0gsta10._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0k25g0q._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0mbr53g._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0p8nq_k._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1gn4tn4._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-editor_tsx_1eo69h2._.js +1 -1
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{436x7m1mvj6hx.js → 0a2njf53y1b_a.js} +5 -5
- package/standalone/.next/static/chunks/{3rg_-g4l65tdm.js → 0ih1_jixkezy9.js} +1 -1
- package/standalone/.next/static/chunks/{1y_k2l4tani4i.js → 1-95dtd9sp1ri.js} +1 -1
- package/standalone/.next/static/chunks/117mbxzvbdo5r.js +38 -0
- package/standalone/.next/static/chunks/{1fvp3ex0gde7v.js → 1e_b3ymyt3673.js} +1 -1
- package/standalone/.next/static/chunks/{13dmoqt_x5qg3.js → 1hlskd2wydmjh.js} +1 -1
- package/standalone/.next/static/chunks/{28xljttzejclr.js → 1s-wwfg3sdyjh.js} +4 -4
- package/standalone/.next/static/chunks/2hviq_ydapgns.js +3 -0
- package/standalone/.next/static/chunks/33pqqy7c3sgg7.js +38 -0
- package/standalone/.next/static/chunks/{3fps7kmx8mnhr.js → 3oslbazmmg72z.js} +5 -5
- package/standalone/.next/static/chunks/{19o8lqhow_wle.js → 3psu0owhqo5ri.js} +6 -6
- package/standalone/.next/static/chunks/{3_08sih2rcs9k.js → 3swi28-0k8olm.js} +1 -1
- package/standalone/.next/static/chunks/{2lod_i2dzh949.js → 42ywmggw6zx17.js} +2 -2
- package/standalone/.next/static/chunks/0lriz5ed2mmt1.js +0 -3
- package/standalone/.next/static/chunks/3-pqgzhb67rrw.js +0 -38
- package/standalone/.next/static/chunks/3plqps194w7h1.js +0 -38
- /package/standalone/.next/static/{Pro8D0Hv2IhphMUT1Ihzv → y9Hi8CBWpu_MxfgH-bM8Z}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{Pro8D0Hv2IhphMUT1Ihzv → y9Hi8CBWpu_MxfgH-bM8Z}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{Pro8D0Hv2IhphMUT1Ihzv → y9Hi8CBWpu_MxfgH-bM8Z}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,479996,47238,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}var n="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,s=RegExp(`^rgb\\(${n},${n},${n}\\)$`),c=RegExp(`^rgb\\(${o},${o},${o}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),d=RegExp(`^rgba\\(${o},${o},${o},${i}\\)$`),f=RegExp(`^hsl\\(${i},${o},${o}\\)$`),h=RegExp(`^hsla\\(${i},${o},${o},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function m(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?y(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?y(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=s.exec(e))?new w(t[1],t[2],t[3],1):(t=c.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?y(t[1],t[2],t[3],t[4]):(t=d.exec(e))?y(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?C(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?C(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?b(g[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function b(e){return new w(e>>16&255,e>>8&255,255&e,1)}function y(e,t,r,a){return a<=0&&(e=t=r=NaN),new w(e,t,r,a)}function v(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof a||(i=p(i)),i)?new w((i=i.rgb()).r,i.g,i.b,i.opacity):new w:new w(e,t,r,null==n?1:n)}function w(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function N(){return`#${D(this.r)}${D(this.g)}${D(this.b)}`}function j(){let e=k(this.opacity);return`${1===e?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===e?")":`, ${e})`}`}function k(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function A(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function D(e){return((e=A(e))<16?"0":"")+e.toString(16)}function C(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new $(e,t,r,a)}function E(e){if(e instanceof $)return new $(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new $;if(e instanceof $)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),l=NaN,s=o-i,c=(o+i)/2;return s?(l=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=c<.5?o+i:2-o-i,l*=60):s=c>0&&c<1?0:l,new $(l,s,c,e.opacity)}function $(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function S(e){return(e=(e||0)%360)<0?e+360:e}function T(e){return Math.max(0,Math.min(1,e||0))}function R(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return E(this).formatHsl()},formatRgb:m,toString:m}),t(w,v,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new w(A(this.r),A(this.g),A(this.b),k(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:N,formatHex:N,formatHex8:function(){return`#${D(this.r)}${D(this.g)}${D(this.b)}${D((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t($,function(e,t,r,a){return 1==arguments.length?E(e):new $(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new $(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new $(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new w(R(e>=240?e-240:e+120,n,a),R(e,n,a),R(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new $(S(this.h),T(this.s),T(this.l),k(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=k(this.opacity);return`${1===e?"hsl(":"hsla("}${S(this.h)}, ${100*T(this.s)}%, ${100*T(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["default",0,p,"rgb",0,v],47238),e.s(["color",0,p],479996)},386762,889030,954295,e=>{"use strict";e.s(["genericArray",()=>r],386762);var t=e.i(685575);function r(e,r){var a,n=r?r.length:0,i=e?Math.min(n,e.length):0,o=Array(i),l=Array(n);for(a=0;a<i;++a)o[a]=(0,t.default)(e[a],r[a]);for(;a<n;++a)l[a]=r[a];return function(e){for(a=0;a<i;++a)l[a]=o[a](e);return l}}e.s(["default",0,function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,n=t.slice();return function(i){for(r=0;r<a;++r)n[r]=e[r]*(1-i)+t[r]*i;return n}},"isNumberArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],889030),e.s(["default",0,function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}],954295)},668593,e=>{"use strict";e.s(["default",0,function(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}])},552491,e=>{"use strict";var t=e.i(668593);e.s(["interpolateNumber",()=>t.default])},566387,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(685575);function r(e,r){var a,n={},i={};for(a in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)a in e?n[a]=(0,t.default)(e[a],r[a]):i[a]=r[a];return function(e){for(a in n)i[a]=n[a](e);return i}}},565445,100625,e=>{"use strict";var t=e.i(47238);function r(e,t,r,a,n){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*r+(1+3*e+3*i-3*o)*a+o*n)/6}let a=e=>()=>e;function n(e,t){var r=t-e;return r?function(t){return e+t*r}:a(isNaN(e)?t:e)}e.s(["default",0,a],100625);let i=function e(r){var i,o=1==(i=+r)?n:function(e,t){var r,n,o;return t-e?(r=e,n=t,r=Math.pow(r,o=i),n=Math.pow(n,o)-r,o=1/o,function(e){return Math.pow(r+e*n,o)}):a(isNaN(e)?t:e)};function l(e,r){var a=o((e=(0,t.rgb)(e)).r,(r=(0,t.rgb)(r)).r),i=o(e.g,r.g),l=o(e.b,r.b),s=n(e.opacity,r.opacity);return function(t){return e.r=a(t),e.g=i(t),e.b=l(t),e.opacity=s(t),e+""}}return l.gamma=e,l}(1);function o(e){return function(r){var a,n,i=r.length,o=Array(i),l=Array(i),s=Array(i);for(a=0;a<i;++a)n=(0,t.rgb)(r[a]),o[a]=n.r||0,l[a]=n.g||0,s[a]=n.b||0;return o=e(o),l=e(l),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=l(e),n.b=s(e),n+""}}}o(function(e){var t=e.length-1;return function(a){var n=a<=0?a=0:a>=1?(a=1,t-1):Math.floor(a*t),i=e[n],o=e[n+1],l=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return r((a-n/t)*t,l,i,o,s)}}),o(function(e){var t=e.length;return function(a){var n=Math.floor(((a%=1)<0?++a:a)*t),i=e[(n+t-1)%t],o=e[n%t],l=e[(n+1)%t],s=e[(n+2)%t];return r((a-n/t)*t,i,o,l,s)}}),e.s(["default",0,i],565445)},935204,e=>{"use strict";var t=e.i(668593),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(r.source,"g");e.s(["default",0,function(e,n){var i,o,l,s,c,u=r.lastIndex=a.lastIndex=0,d=-1,f=[],h=[];for(e+="",n+="";(l=r.exec(e))&&(s=a.exec(n));)(c=s.index)>u&&(c=n.slice(u,c),f[d]?f[d]+=c:f[++d]=c),(l=l[0])===(s=s[0])?f[d]?f[d]+=s:f[++d]=s:(f[++d]=null,h.push({i:d,x:(0,t.default)(l,s)})),u=a.lastIndex;return u<n.length&&(c=n.slice(u),f[d]?f[d]+=c:f[++d]=c),f.length<2?h[0]?(i=h[0].x,function(e){return i(e)+""}):(o=n,function(){return o}):(n=h.length,function(e){for(var t,r=0;r<n;++r)f[(t=h[r]).i]=t.x(e);return f.join("")})}])},944307,685575,e=>{"use strict";e.s(["default",()=>u],685575);var t=e.i(479996),r=e.i(565445),a=e.i(386762),n=e.i(954295),i=e.i(668593),o=e.i(566387),l=e.i(935204),s=e.i(100625),c=e.i(889030);function u(e,u){var d,f=typeof u;return null==u||"boolean"===f?(0,s.default)(u):("number"===f?i.default:"string"===f?(d=(0,t.color)(u))?(u=d,r.default):l.default:u instanceof t.color?r.default:u instanceof Date?n.default:(0,c.isNumberArray)(u)?c.default:Array.isArray(u)?a.genericArray:"function"!=typeof u.valueOf&&"function"!=typeof u.toString||isNaN(u)?o.default:i.default)(e,u)}e.s(["interpolate",0,u],944307)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},755838,(e,t,r)=>{"use strict";var a=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,o=a.useEffect,l=a.useLayoutEffect,s=a.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),n=a[0].inst,u=a[1];return l(function(){n.value=r,n.getSnapshot=t,c(n)&&u({inst:n})},[e,r,t]),o(function(){return c(n)&&u({inst:n}),e(function(){c(n)&&u({inst:n})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},802239,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(755838)},752822,(e,t,r)=>{"use strict";var a=e.r(271645),n=e.r(802239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,l=a.useRef,s=a.useEffect,c=a.useMemo,u=a.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,a,n){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=c(function(){function e(e){if(!s){if(s=!0,o=e,e=a(e),void 0!==n&&f.hasValue){var t=f.value;if(n(t,e))return l=t}return l=e}if(t=l,i(o,e))return t;var r=a(e);return void 0!==n&&n(t,r)?(o=e,t):(o=e,l=r)}var o,l,s=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,a,n]))[0],d[1]);return s(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},430224,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(752822)},990142,e=>{"use strict";e.s(["CCUSAGE_REPORT_JOB_KIND",0,"ccusage.report","MAX_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,300,"MAX_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,3600,"MIN_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,5,"MIN_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,5])},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),n=e.i(519455),i=e.i(317056),o=e.i(906197),l=e.i(337822),s=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:u,placeholder:d,searchPlaceholder:f,emptyMessage:h,ariaLabel:g,disabled:x,className:m,showSelectedDetails:p=!1,allowCustomValue:b=!1}){let[y,v]=(0,a.useState)(!1),[w,N]=(0,a.useState)(""),j=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),k=u.find(t=>t.value===e),A=k?.label??(e||d),D=w.trim(),C=b&&D.length>0&&!u.some(e=>e.value.toLowerCase()===D.toLowerCase()||e.label.toLowerCase()===D.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{v(e),e||N("")},open:y,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{"aria-expanded":y,"aria-label":g,className:(0,s.cn)("min-w-0 w-full justify-between font-normal",p&&k&&"h-auto min-h-8 py-2",m),disabled:x,role:"combobox",type:"button",variant:"outline",children:[p&&k?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:k.label}),k.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.description}),k.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:A}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:j,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:f,children:[(0,t.jsx)(i.CommandInput,{"aria-label":f,autoFocus:!0,onValueChange:N,placeholder:f,value:w}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[C&&(0,t.jsx)(i.CommandItem,{"aria-label":D,onSelect:()=>{c(D),N(""),v(!1)},value:D,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(o.ItemContent,{className:"min-w-0",children:(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:D})})})}),u.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),N(""),v(!1)},value:r.value,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(o.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),n=e.i(820783),i=e.i(326999),o=e.i(981140),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0}),[c,u]=(0,a.createContextScope)("AlertDialog",[i.createDialogScope]),d=(0,i.createDialogScope)(),f=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Root,{...n,...a,modal:!0})},"AlertDialog"),h=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Trigger,{...o,...n,ref:r})},"AlertDialogTrigger")),g=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Portal,{...n,...a})},"AlertDialogPortal"),x=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Overlay,{...o,...n,ref:r})},"AlertDialogOverlay")),[m,p]=c("AlertDialogContent"),b=r.forwardRef(s(function(e,a){let{__scopeAlertDialog:l,children:s,...c}=e,u=d(l),f=r.useRef(null),h=(0,n.useComposedRefs)(a,f),g=r.useRef(null);return(0,t.jsx)(m,{scope:l,cancelRef:g,children:(0,t.jsx)(i.Content,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,o.composeEventHandlers)(c.onOpenAutoFocus,e=>{e.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:s})})},"AlertDialogContent")),y=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Title,{...o,...n,ref:r})},"AlertDialogTitle")),v=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Description,{...o,...n,ref:r})},"AlertDialogDescription")),w=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Close,{...o,...n,ref:r})},"AlertDialogAction")),N=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...o}=e,{cancelRef:l}=p("AlertDialogCancel",a),s=d(a),c=(0,n.useComposedRefs)(r,l);return(0,t.jsx)(i.Close,{...s,...o,ref:c})},"AlertDialogCancel"));e.s(["Action",0,w,"AlertDialog",0,f,"AlertDialogAction",0,w,"AlertDialogCancel",0,N,"AlertDialogContent",0,b,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,g,"AlertDialogTitle",0,y,"AlertDialogTrigger",0,h,"Cancel",0,N,"Content",0,b,"Description",0,v,"Overlay",0,x,"Portal",0,g,"Root",0,f,"Title",0,y,"Trigger",0,h,"createAlertDialogScope",0,u],691162);var j=e.i(691162),j=j,k=e.i(975157),A=e.i(519455);function D({...e}){return(0,t.jsx)(j.Root,{"data-slot":"alert-dialog",...e})}function C({...e}){return(0,t.jsx)(j.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function E({...e}){return(0,t.jsx)(j.Portal,{"data-slot":"alert-dialog-portal",...e})}function $({className:e,...r}){return(0,t.jsx)(j.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function S({className:e,size:r="default",...a}){return(0,t.jsxs)(E,{children:[(0,t.jsx)($,{}),(0,t.jsx)(j.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,k.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function O({className:e,...r}){return(0,t.jsx)(j.Title,{"data-slot":"alert-dialog-title",className:(0,k.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function I({className:e,...r}){return(0,t.jsx)(j.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function _({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...n})})}function M({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:i,open:o,title:l,trigger:s}){return(0,t.jsxs)(D,{onOpenChange:i,open:o,children:[s&&(0,t.jsx)(C,{asChild:!0,children:s}),(0,t.jsxs)(S,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(O,{children:l}),(0,t.jsx)(I,{children:a})]}),(0,t.jsxs)(R,{children:[(0,t.jsx)(M,{children:r}),(0,t.jsx)(_,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(n({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...a})}])}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,479996,47238,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}var n="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,s=RegExp(`^rgb\\(${n},${n},${n}\\)$`),c=RegExp(`^rgb\\(${o},${o},${o}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),d=RegExp(`^rgba\\(${o},${o},${o},${i}\\)$`),f=RegExp(`^hsl\\(${i},${o},${o}\\)$`),h=RegExp(`^hsla\\(${i},${o},${o},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function m(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?y(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?y(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=s.exec(e))?new w(t[1],t[2],t[3],1):(t=c.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?y(t[1],t[2],t[3],t[4]):(t=d.exec(e))?y(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?C(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?C(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?b(g[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function b(e){return new w(e>>16&255,e>>8&255,255&e,1)}function y(e,t,r,a){return a<=0&&(e=t=r=NaN),new w(e,t,r,a)}function v(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof a||(i=p(i)),i)?new w((i=i.rgb()).r,i.g,i.b,i.opacity):new w:new w(e,t,r,null==n?1:n)}function w(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function N(){return`#${D(this.r)}${D(this.g)}${D(this.b)}`}function j(){let e=k(this.opacity);return`${1===e?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===e?")":`, ${e})`}`}function k(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function A(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function D(e){return((e=A(e))<16?"0":"")+e.toString(16)}function C(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,r,a)}function E(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),l=NaN,s=o-i,c=(o+i)/2;return s?(l=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=c<.5?o+i:2-o-i,l*=60):s=c>0&&c<1?0:l,new S(l,s,c,e.opacity)}function S(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function $(e){return(e=(e||0)%360)<0?e+360:e}function T(e){return Math.max(0,Math.min(1,e||0))}function R(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return E(this).formatHsl()},formatRgb:m,toString:m}),t(w,v,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new w(A(this.r),A(this.g),A(this.b),k(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:N,formatHex:N,formatHex8:function(){return`#${D(this.r)}${D(this.g)}${D(this.b)}${D((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t(S,function(e,t,r,a){return 1==arguments.length?E(e):new S(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new S(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new w(R(e>=240?e-240:e+120,n,a),R(e,n,a),R(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new S($(this.h),T(this.s),T(this.l),k(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=k(this.opacity);return`${1===e?"hsl(":"hsla("}${$(this.h)}, ${100*T(this.s)}%, ${100*T(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["default",0,p,"rgb",0,v],47238),e.s(["color",0,p],479996)},386762,889030,954295,e=>{"use strict";e.s(["genericArray",()=>r],386762);var t=e.i(685575);function r(e,r){var a,n=r?r.length:0,i=e?Math.min(n,e.length):0,o=Array(i),l=Array(n);for(a=0;a<i;++a)o[a]=(0,t.default)(e[a],r[a]);for(;a<n;++a)l[a]=r[a];return function(e){for(a=0;a<i;++a)l[a]=o[a](e);return l}}e.s(["default",0,function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,n=t.slice();return function(i){for(r=0;r<a;++r)n[r]=e[r]*(1-i)+t[r]*i;return n}},"isNumberArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],889030),e.s(["default",0,function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}],954295)},668593,e=>{"use strict";e.s(["default",0,function(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}])},552491,e=>{"use strict";var t=e.i(668593);e.s(["interpolateNumber",()=>t.default])},566387,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(685575);function r(e,r){var a,n={},i={};for(a in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)a in e?n[a]=(0,t.default)(e[a],r[a]):i[a]=r[a];return function(e){for(a in n)i[a]=n[a](e);return i}}},565445,100625,e=>{"use strict";var t=e.i(47238);function r(e,t,r,a,n){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*r+(1+3*e+3*i-3*o)*a+o*n)/6}let a=e=>()=>e;function n(e,t){var r=t-e;return r?function(t){return e+t*r}:a(isNaN(e)?t:e)}e.s(["default",0,a],100625);let i=function e(r){var i,o=1==(i=+r)?n:function(e,t){var r,n,o;return t-e?(r=e,n=t,r=Math.pow(r,o=i),n=Math.pow(n,o)-r,o=1/o,function(e){return Math.pow(r+e*n,o)}):a(isNaN(e)?t:e)};function l(e,r){var a=o((e=(0,t.rgb)(e)).r,(r=(0,t.rgb)(r)).r),i=o(e.g,r.g),l=o(e.b,r.b),s=n(e.opacity,r.opacity);return function(t){return e.r=a(t),e.g=i(t),e.b=l(t),e.opacity=s(t),e+""}}return l.gamma=e,l}(1);function o(e){return function(r){var a,n,i=r.length,o=Array(i),l=Array(i),s=Array(i);for(a=0;a<i;++a)n=(0,t.rgb)(r[a]),o[a]=n.r||0,l[a]=n.g||0,s[a]=n.b||0;return o=e(o),l=e(l),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=l(e),n.b=s(e),n+""}}}o(function(e){var t=e.length-1;return function(a){var n=a<=0?a=0:a>=1?(a=1,t-1):Math.floor(a*t),i=e[n],o=e[n+1],l=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return r((a-n/t)*t,l,i,o,s)}}),o(function(e){var t=e.length;return function(a){var n=Math.floor(((a%=1)<0?++a:a)*t),i=e[(n+t-1)%t],o=e[n%t],l=e[(n+1)%t],s=e[(n+2)%t];return r((a-n/t)*t,i,o,l,s)}}),e.s(["default",0,i],565445)},935204,e=>{"use strict";var t=e.i(668593),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(r.source,"g");e.s(["default",0,function(e,n){var i,o,l,s,c,u=r.lastIndex=a.lastIndex=0,d=-1,f=[],h=[];for(e+="",n+="";(l=r.exec(e))&&(s=a.exec(n));)(c=s.index)>u&&(c=n.slice(u,c),f[d]?f[d]+=c:f[++d]=c),(l=l[0])===(s=s[0])?f[d]?f[d]+=s:f[++d]=s:(f[++d]=null,h.push({i:d,x:(0,t.default)(l,s)})),u=a.lastIndex;return u<n.length&&(c=n.slice(u),f[d]?f[d]+=c:f[++d]=c),f.length<2?h[0]?(i=h[0].x,function(e){return i(e)+""}):(o=n,function(){return o}):(n=h.length,function(e){for(var t,r=0;r<n;++r)f[(t=h[r]).i]=t.x(e);return f.join("")})}])},944307,685575,e=>{"use strict";e.s(["default",()=>u],685575);var t=e.i(479996),r=e.i(565445),a=e.i(386762),n=e.i(954295),i=e.i(668593),o=e.i(566387),l=e.i(935204),s=e.i(100625),c=e.i(889030);function u(e,u){var d,f=typeof u;return null==u||"boolean"===f?(0,s.default)(u):("number"===f?i.default:"string"===f?(d=(0,t.color)(u))?(u=d,r.default):l.default:u instanceof t.color?r.default:u instanceof Date?n.default:(0,c.isNumberArray)(u)?c.default:Array.isArray(u)?a.genericArray:"function"!=typeof u.valueOf&&"function"!=typeof u.toString||isNaN(u)?o.default:i.default)(e,u)}e.s(["interpolate",0,u],944307)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},755838,(e,t,r)=>{"use strict";var a=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,o=a.useEffect,l=a.useLayoutEffect,s=a.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),n=a[0].inst,u=a[1];return l(function(){n.value=r,n.getSnapshot=t,c(n)&&u({inst:n})},[e,r,t]),o(function(){return c(n)&&u({inst:n}),e(function(){c(n)&&u({inst:n})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},802239,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(755838)},752822,(e,t,r)=>{"use strict";var a=e.r(271645),n=e.r(802239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,l=a.useRef,s=a.useEffect,c=a.useMemo,u=a.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,a,n){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=c(function(){function e(e){if(!s){if(s=!0,o=e,e=a(e),void 0!==n&&f.hasValue){var t=f.value;if(n(t,e))return l=t}return l=e}if(t=l,i(o,e))return t;var r=a(e);return void 0!==n&&n(t,r)?(o=e,t):(o=e,l=r)}var o,l,s=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,a,n]))[0],d[1]);return s(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},430224,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(752822)},990142,e=>{"use strict";e.s(["CCUSAGE_REPORT_JOB_KIND",0,"ccusage.report","MAX_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,300,"MAX_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,3600,"MIN_AGENT_HEARTBEAT_INTERVAL_SECONDS",0,5,"MIN_AGENT_JOB_RECONCILIATION_INTERVAL_SECONDS",0,5])},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),n=e.i(519455),i=e.i(317056),o=e.i(906197),l=e.i(337822),s=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:u,placeholder:d,searchPlaceholder:f,emptyMessage:h,ariaLabel:g,disabled:x,className:m,showSelectedDetails:p=!1,allowCustomValue:b=!1,clearLabel:y}){let[v,w]=(0,a.useState)(!1),[N,j]=(0,a.useState)(""),k=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),A=u.find(t=>t.value===e),D=A?.label??(e||d),C=N.trim(),E=b&&C.length>0&&!u.some(e=>e.value.toLowerCase()===C.toLowerCase()||e.label.toLowerCase()===C.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{w(e),e||j("")},open:v,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{"aria-expanded":v,"aria-label":g,className:(0,s.cn)("min-w-0 w-full justify-between font-normal",p&&A&&"h-auto min-h-8 py-2",m),disabled:x,role:"combobox",type:"button",variant:"outline",children:[p&&A?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:A.label}),A.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:A.description}),A.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:A.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:D}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:k,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:f,children:[(0,t.jsx)(i.CommandInput,{"aria-label":f,autoFocus:!0,onValueChange:j,placeholder:f,value:N}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[y&&e&&(0,t.jsx)(i.CommandItem,{"aria-label":y,onSelect:()=>{c(""),j(""),w(!1)},value:"__clear_selection__",children:y}),E&&(0,t.jsx)(i.CommandItem,{"aria-label":C,onSelect:()=>{c(C),j(""),w(!1)},value:C,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(o.ItemContent,{className:"min-w-0",children:(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:C})})})}),u.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),j(""),w(!1)},value:r.value,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(o.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),n=e.i(820783),i=e.i(326999),o=e.i(981140),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0}),[c,u]=(0,a.createContextScope)("AlertDialog",[i.createDialogScope]),d=(0,i.createDialogScope)(),f=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Root,{...n,...a,modal:!0})},"AlertDialog"),h=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Trigger,{...o,...n,ref:r})},"AlertDialogTrigger")),g=s(e=>{let{__scopeAlertDialog:r,...a}=e,n=d(r);return(0,t.jsx)(i.Portal,{...n,...a})},"AlertDialogPortal"),x=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Overlay,{...o,...n,ref:r})},"AlertDialogOverlay")),[m,p]=c("AlertDialogContent"),b=r.forwardRef(s(function(e,a){let{__scopeAlertDialog:l,children:s,...c}=e,u=d(l),f=r.useRef(null),h=(0,n.useComposedRefs)(a,f),g=r.useRef(null);return(0,t.jsx)(m,{scope:l,cancelRef:g,children:(0,t.jsx)(i.Content,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,o.composeEventHandlers)(c.onOpenAutoFocus,e=>{e.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:s})})},"AlertDialogContent")),y=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Title,{...o,...n,ref:r})},"AlertDialogTitle")),v=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Description,{...o,...n,ref:r})},"AlertDialogDescription")),w=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...n}=e,o=d(a);return(0,t.jsx)(i.Close,{...o,...n,ref:r})},"AlertDialogAction")),N=r.forwardRef(s(function(e,r){let{__scopeAlertDialog:a,...o}=e,{cancelRef:l}=p("AlertDialogCancel",a),s=d(a),c=(0,n.useComposedRefs)(r,l);return(0,t.jsx)(i.Close,{...s,...o,ref:c})},"AlertDialogCancel"));e.s(["Action",0,w,"AlertDialog",0,f,"AlertDialogAction",0,w,"AlertDialogCancel",0,N,"AlertDialogContent",0,b,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,g,"AlertDialogTitle",0,y,"AlertDialogTrigger",0,h,"Cancel",0,N,"Content",0,b,"Description",0,v,"Overlay",0,x,"Portal",0,g,"Root",0,f,"Title",0,y,"Trigger",0,h,"createAlertDialogScope",0,u],691162);var j=e.i(691162),j=j,k=e.i(975157),A=e.i(519455);function D({...e}){return(0,t.jsx)(j.Root,{"data-slot":"alert-dialog",...e})}function C({...e}){return(0,t.jsx)(j.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function E({...e}){return(0,t.jsx)(j.Portal,{"data-slot":"alert-dialog-portal",...e})}function S({className:e,...r}){return(0,t.jsx)(j.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function $({className:e,size:r="default",...a}){return(0,t.jsxs)(E,{children:[(0,t.jsx)(S,{}),(0,t.jsx)(j.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,k.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function _({className:e,...r}){return(0,t.jsx)(j.Title,{"data-slot":"alert-dialog-title",className:(0,k.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function O({className:e,...r}){return(0,t.jsx)(j.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function I({className:e,variant:r="default",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...n})})}function M({className:e,variant:r="outline",size:a="default",...n}){return(0,t.jsx)(A.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(j.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:n,onOpenChange:i,open:o,title:l,trigger:s}){return(0,t.jsxs)(D,{onOpenChange:i,open:o,children:[s&&(0,t.jsx)(C,{asChild:!0,children:s}),(0,t.jsxs)($,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(_,{children:l}),(0,t.jsx)(O,{children:a})]}),(0,t.jsxs)(R,{children:[(0,t.jsx)(M,{children:r}),(0,t.jsx)(I,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(n({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...a})}])}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},113030,e=>{"use strict";let t=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,t],113030)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),s=e.i(519455),i=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:d,placeholder:u,searchPlaceholder:m,emptyMessage:h,ariaLabel:p,disabled:x,className:g,showSelectedDetails:b=!1,allowCustomValue:j=!1}){let[
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},113030,e=>{"use strict";let t=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,t],113030)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),s=e.i(519455),i=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:d,placeholder:u,searchPlaceholder:m,emptyMessage:h,ariaLabel:p,disabled:x,className:g,showSelectedDetails:b=!1,allowCustomValue:j=!1,clearLabel:f}){let[v,k]=(0,a.useState)(!1),[y,w]=(0,a.useState)(""),I=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),C=d.find(t=>t.value===e),S=C?.label??(e||u),N=y.trim(),T=j&&N.length>0&&!d.some(e=>e.value.toLowerCase()===N.toLowerCase()||e.label.toLowerCase()===N.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{k(e),e||w("")},open:v,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":v,"aria-label":p,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",b&&C&&"h-auto min-h-8 py-2",g),disabled:x,role:"combobox",type:"button",variant:"outline",children:[b&&C?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:C.label}),C.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:C.description}),C.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:C.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:S}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:I,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(i.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:w,placeholder:m,value:y}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[f&&e&&(0,t.jsx)(i.CommandItem,{"aria-label":f,onSelect:()=>{c(""),w(""),k(!1)},value:"__clear_selection__",children:f}),T&&(0,t.jsx)(i.CommandItem,{"aria-label":N,onSelect:()=>{c(N),w(""),k(!1)},value:N,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(n.ItemContent,{className:"min-w-0",children:(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:N})})})}),d.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),w(""),k(!1)},value:r.value,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(n.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},346194,e=>{"use strict";var t=e.i(843476),r=e.i(113030),a=e.i(948148),s=e.i(271645),i=e.i(929592),n=e.i(519455),l=e.i(776639),o=e.i(793479),c=e.i(110204),d=e.i(967489),u=e.i(987968),m=e.i(624687),h=e.i(637611);let p="__github_account_default__";e.s(["MergePullRequestButton",0,function({pullRequest:e,onMerged:x,size:g="sm",variant:b="outline",open:j,onOpenChange:f,showTrigger:v=!0,requestSource:k}){let y=(0,a.useTranslations)("pullRequests"),[w,I]=(0,s.useState)(!1),[C,S]=(0,s.useState)(null),[N,T]=(0,s.useState)(""),[R,E]=(0,s.useState)(""),[A,D]=(0,s.useState)(""),[$,M]=(0,s.useState)(p),[P,L]=(0,s.useState)(!1),[U,q]=(0,s.useState)(!1),[_,O]=(0,s.useState)(null),[z="",F=""]=e.repositoryNameWithOwner.split("/",2),G=j??w,H=e=>{e||(L(!1),S(null),O(null)),void 0===j&&I(e),f?.(e)};(0,s.useEffect)(()=>{if(!G)return;let t=!0,r=window.setTimeout(()=>{L(!0),S(null),O(null),(0,h.controlPlaneRequest)(`query GitHubPullRequestMergeOptions(
|
|
2
2
|
$owner: String!
|
|
3
3
|
$name: String!
|
|
4
4
|
$number: Int!
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},515281,e=>{"use strict";let t=(0,e.i(456420).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],515281)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),a=e.i(563707),r=e.i(271645),s=e.i(519455),n=e.i(317056),i=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:m,emptyMessage:x,ariaLabel:h,disabled:f,className:p,showSelectedDetails:g=!1,allowCustomValue:b=!1,clearLabel:j}){let[v,k]=(0,r.useState)(!1),[w,y]=(0,r.useState)(""),C=(0,r.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),A=c.find(t=>t.value===e),N=A?.label??(e||u),T=w.trim(),I=b&&T.length>0&&!c.some(e=>e.value.toLowerCase()===T.toLowerCase()||e.label.toLowerCase()===T.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{k(e),e||y("")},open:v,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":v,"aria-label":h,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",g&&A&&"h-auto min-h-8 py-2",p),disabled:f,role:"combobox",type:"button",variant:"outline",children:[g&&A?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:A.label}),A.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:A.description}),A.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:A.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:N}),(0,t.jsx)(a.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:C,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(n.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(n.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:y,placeholder:m,value:w}),(0,t.jsxs)(n.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(n.CommandEmpty,{children:x}),(0,t.jsxs)(n.CommandGroup,{children:[j&&e&&(0,t.jsx)(n.CommandItem,{"aria-label":j,onSelect:()=>{d(""),y(""),k(!1)},value:"__clear_selection__",children:j}),I&&(0,t.jsx)(n.CommandItem,{"aria-label":T,onSelect:()=>{d(T),y(""),k(!1)},value:T,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(i.ItemContent,{className:"min-w-0",children:(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:T})})})}),c.map(a=>(0,t.jsx)(n.CommandItem,{"aria-label":[a.label,a.description,a.secondaryDescription].filter(Boolean).join(", "),"aria-selected":a.value===e,className:"items-start py-2","data-checked":a.value===e,disabled:a.disabled,keywords:[a.label,a.description??"",a.secondaryDescription??"",a.keywords??""],onSelect:()=>{d(a.value),y(""),k(!1)},value:a.value,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(i.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:a.label}),a.description&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:a.description}),a.secondaryDescription&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:a.secondaryDescription})]})})},a.value))]})]})]})})]})}])},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),s=e.i(820783),n=e.i(326999),i=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,r.createContextScope)("AlertDialog",[n.createDialogScope]),u=(0,n.createDialogScope)(),m=o(e=>{let{__scopeAlertDialog:a,...r}=e,s=u(a);return(0,t.jsx)(n.Root,{...s,...r,modal:!0})},"AlertDialog"),x=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...s}=e,i=u(r);return(0,t.jsx)(n.Trigger,{...i,...s,ref:a})},"AlertDialogTrigger")),h=o(e=>{let{__scopeAlertDialog:a,...r}=e,s=u(a);return(0,t.jsx)(n.Portal,{...s,...r})},"AlertDialogPortal"),f=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...s}=e,i=u(r);return(0,t.jsx)(n.Overlay,{...i,...s,ref:a})},"AlertDialogOverlay")),[p,g]=d("AlertDialogContent"),b=a.forwardRef(o(function(e,r){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),m=a.useRef(null),x=(0,s.useComposedRefs)(r,m),h=a.useRef(null);return(0,t.jsx)(p,{scope:l,cancelRef:h,children:(0,t.jsx)(n.Content,{role:"alertdialog",...c,...d,ref:x,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),h.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),j=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...s}=e,i=u(r);return(0,t.jsx)(n.Title,{...i,...s,ref:a})},"AlertDialogTitle")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...s}=e,i=u(r);return(0,t.jsx)(n.Description,{...i,...s,ref:a})},"AlertDialogDescription")),k=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...s}=e,i=u(r);return(0,t.jsx)(n.Close,{...i,...s,ref:a})},"AlertDialogAction")),w=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=g("AlertDialogCancel",r),o=u(r),d=(0,s.useComposedRefs)(a,l);return(0,t.jsx)(n.Close,{...o,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,k,"AlertDialog",0,m,"AlertDialogAction",0,k,"AlertDialogCancel",0,w,"AlertDialogContent",0,b,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,f,"AlertDialogPortal",0,h,"AlertDialogTitle",0,j,"AlertDialogTrigger",0,x,"Cancel",0,w,"Content",0,b,"Description",0,v,"Overlay",0,f,"Portal",0,h,"Root",0,m,"Title",0,j,"Trigger",0,x,"createAlertDialogScope",0,c],691162);var y=e.i(691162),y=y,C=e.i(975157),A=e.i(519455);function N({...e}){return(0,t.jsx)(y.Root,{"data-slot":"alert-dialog",...e})}function T({...e}){return(0,t.jsx)(y.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function I({...e}){return(0,t.jsx)(y.Portal,{"data-slot":"alert-dialog-portal",...e})}function D({className:e,...a}){return(0,t.jsx)(y.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,C.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function E({className:e,size:a="default",...r}){return(0,t.jsxs)(I,{children:[(0,t.jsx)(D,{}),(0,t.jsx)(y.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,C.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...r})]})}function S({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,C.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function z({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,C.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function R({className:e,...a}){return(0,t.jsx)(y.Title,{"data-slot":"alert-dialog-title",className:(0,C.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function L({className:e,...a}){return(0,t.jsx)(y.Description,{"data-slot":"alert-dialog-description",className:(0,C.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function _({className:e,variant:a="default",size:r="default",...s}){return(0,t.jsx)(A.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(y.Action,{"data-slot":"alert-dialog-action",className:(0,C.cn)(e),...s})})}function P({className:e,variant:a="outline",size:r="default",...s}){return(0,t.jsx)(A.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(y.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,C.cn)(e),...s})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:s,onOpenChange:n,open:i,title:l,trigger:o}){return(0,t.jsxs)(N,{onOpenChange:n,open:i,children:[o&&(0,t.jsx)(T,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(S,{children:[(0,t.jsx)(R,{children:l}),(0,t.jsx)(L,{children:r})]}),(0,t.jsxs)(z,{children:[(0,t.jsx)(P,{children:a}),(0,t.jsx)(_,{onClick:()=>void s(),variant:"destructive",children:e})]})]})]})}],340953)},356505,e=>{"use strict";var t=e.i(843476),a=e.i(853138),r=e.i(482022),s=e.i(269846);let n=(0,e.i(456420).default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var i=e.i(948148),l=e.i(271645),o=e.i(653090),d=e.i(278015),c=e.i(762279),u=e.i(456743),m=e.i(929592),x=e.i(487486),h=e.i(519455),f=e.i(515288),p=e.i(816484),g=e.i(906197),b=e.i(980376),j=e.i(987968),v=e.i(520133),k=e.i(637611),w=e.i(741725),y=e.i(467511);let C={highest:"border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-300",high:"border-orange-500/30 bg-orange-500/10 text-orange-700 dark:text-orange-300",medium:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",low:"border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300",lowest:"border-slate-500/30 bg-slate-500/10 text-slate-700 dark:text-slate-300"};function A({ticket:e}){let a=(0,i.useTranslations)("jiraTickets"),r=[[a("assignee"),(0,t.jsx)(o.JiraUser,{avatarUrl:e.assigneeAvatarUrl,name:e.assignee??a("unassigned")},"assignee")],[a("reporter"),e.reporter?(0,t.jsx)(o.JiraUser,{avatarUrl:e.reporter.avatarUrl,name:e.reporter.displayName},"reporter"):"—"],[a("created"),(0,t.jsx)(p.DateTime,{value:e.createdAt},"created")],[a("updated"),(0,t.jsx)(p.DateTime,{value:e.updatedAt},"updated")],[a("due"),(0,t.jsx)(p.DateTime,{value:e.dueAt},"due")],[a("resolved"),(0,t.jsx)(p.DateTime,{value:e.resolvedAt},"resolved")]];return(0,t.jsx)("dl",{className:"grid gap-3 rounded-lg bg-muted/50 p-4 text-sm sm:grid-cols-2",children:r.map(([e,a])=>(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"mt-0.5 font-medium",children:a})]},e))})}function N({label:e,values:a}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"mt-1",children:a.join(", ")})]})}e.s(["JiraTicketDrawer",0,function({issueKey:e,onClose:o,onTicketChange:p}){let T=(0,i.useTranslations)("jiraTickets"),[I,D]=(0,l.useState)(null),[E,S]=(0,l.useState)(null),[z,R]=(0,l.useState)(!1),[L,_]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(!e){let e=window.setTimeout(()=>D(null),0);return()=>window.clearTimeout(e)}let t=window.setTimeout(async()=>{R(!0);try{let t=await (0,k.controlPlaneRequest)(`query JiraTicket($issueKey: ID!) { jiraTicket(issueKey: $issueKey) { ${y.JIRA_TICKET_DETAIL_FIELDS} } }`,{issueKey:e});D(t.jiraTicket),S(null)}catch(e){S(e instanceof Error?e.message:String(e))}finally{R(!1)}},0);return()=>window.clearTimeout(t)},[e]);let P=e=>{D(e),p?.(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Sheet,{onOpenChange:e=>{e||o()},open:!!e,children:(0,t.jsxs)(b.SheetContent,{className:"w-[min(48rem,95vw)] overflow-y-auto sm:max-w-3xl",children:[(0,t.jsxs)(b.SheetHeader,{className:"border-b pr-12",children:[(0,t.jsx)(b.SheetTitle,{children:I?.key??e??T("ticket")}),(0,t.jsx)(b.SheetDescription,{children:I?.summary??T("loadingTicket")})]}),(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-6",children:[z&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(j.Spinner,{}),T("loadingTicket")]}),E&&(0,t.jsx)(m.Alert,{variant:"destructive",children:(0,t.jsx)(m.AlertDescription,{children:E})}),I&&(0,t.jsxs)(t.Fragment,{children:[(I.cache.stale||I.commentsCache.stale)&&(0,t.jsxs)(m.Alert,{className:"border-amber-500/30 bg-amber-500/10",children:[(0,t.jsx)(a.AlertTriangle,{}),(0,t.jsx)(m.AlertDescription,{children:T("staleTicket")})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(x.Badge,{children:I.status}),I.issueType&&(0,t.jsx)(x.Badge,{children:I.issueType}),I.priority&&(0,t.jsx)(x.Badge,{className:C[I.priority.trim().toLowerCase()],children:I.priority})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(h.Button,{onClick:()=>_(!0),size:"sm",variant:"outline",children:[(0,t.jsx)(s.GitBranch,{})," ",T("worktreeAction")]}),(0,t.jsx)(h.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)(v.Link,{href:`/jira/tickets/${encodeURIComponent(I.key)}`,children:[(0,t.jsx)(n,{})," ",T("openFullDetails")]})}),(0,t.jsx)(h.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{href:I.jiraUrl,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(r.ExternalLink,{})," ",T("openInJira")]})})]})]}),(0,t.jsx)(c.JiraTicketActions,{onTicketChange:P,ticket:I}),(0,t.jsx)(A,{ticket:I}),(0,t.jsx)("section",{children:(0,t.jsx)(f.Card,{size:"sm",children:(0,t.jsx)(f.CardContent,{children:(0,t.jsx)(d.JiraRichTextBlock,{content:I.descriptionContent,header:(0,t.jsx)("h3",{className:"font-semibold",children:T("descriptionTitle")}),headerClassName:"border-b pb-2",value:I.description})})})}),(I.labels.length>0||I.components.length>0||I.fixVersions.length>0||I.sprintNames.length>0)&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:T("classification")}),(0,t.jsxs)("dl",{className:"grid gap-3 text-sm sm:grid-cols-2",children:[I.labels.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:T("labels")}),(0,t.jsx)("dd",{className:"mt-1 flex flex-wrap gap-1",children:I.labels.map(e=>(0,t.jsx)(x.Badge,{children:e},e))})]}),I.components.length>0&&(0,t.jsx)(N,{label:T("components"),values:I.components.map(e=>e.name)}),I.fixVersions.length>0&&(0,t.jsx)(N,{label:T("fixVersions"),values:I.fixVersions.map(e=>e.name)}),I.sprintNames.length>0&&(0,t.jsx)(N,{label:T("sprints"),values:I.sprintNames})]})]}),(I.parent||I.subtasks.length>0||I.issueLinks.length>0)&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:T("relatedIssues")}),(0,t.jsx)(g.ItemGroup,{className:"gap-2",children:[...I.parent?[I.parent]:[],...I.subtasks,...I.issueLinks].map((e,a)=>(0,t.jsx)(g.Item,{asChild:!0,size:"xs",variant:"outline",children:(0,t.jsxs)(v.Link,{href:`/jira/tickets/${encodeURIComponent(e.key)}`,children:[(0,t.jsxs)(g.ItemContent,{children:[(0,t.jsxs)(g.ItemTitle,{className:"leading-tight",children:[e.key," · ",e.summary]}),(0,t.jsx)(g.ItemDescription,{className:"leading-tight",children:e.relationship})]}),(0,t.jsx)(g.ItemActions,{children:e.status&&(0,t.jsx)(x.Badge,{children:e.status})})]})},`${e.key}-${a}`))})]}),I.attachments.length>0&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold",children:T("attachments")}),(0,t.jsx)(g.ItemGroup,{className:"gap-2",children:I.attachments.map(e=>(0,t.jsx)(g.Item,{asChild:!0,variant:"outline",children:(0,t.jsxs)("a",{href:e.contentUrl??"#",rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(g.ItemContent,{children:(0,t.jsx)(g.ItemTitle,{children:e.filename})}),(0,t.jsx)(g.ItemActions,{className:"text-xs text-muted-foreground",children:e.size?`${Math.round(e.size/1024)} KB`:""})]})},e.id))})]}),(0,t.jsx)(u.JiraTicketComments,{onTicketChange:P,ticket:I})]})]})]})}),I&&(0,t.jsx)(w.TicketWorktreeDialog,{issueKey:I.key,onOpenChange:_,open:L})]})}],356505)},467511,e=>{"use strict";let t="format raw rawText markdown wikiMarkup",a="accountId displayName avatarUrl",r="source stale fetchedAt",s="relationship key summary status",n="id key summary statusId status statusCategory issueType priority assignee assigneeAccountId assigneeAvatarUrl projectKey updatedAt",i=`${n}
|
|
2
|
+
jiraUrl description
|
|
3
|
+
descriptionContent { ${t} }
|
|
4
|
+
reporter { ${a} }
|
|
5
|
+
creator { ${a} }
|
|
6
|
+
labels components { id name } fixVersions { id name }
|
|
7
|
+
affectedVersions { id name } sprintNames
|
|
8
|
+
parent { ${s} }
|
|
9
|
+
subtasks { ${s} }
|
|
10
|
+
issueLinks { ${s} }
|
|
11
|
+
attachments {
|
|
12
|
+
id filename contentUrl mimeType size
|
|
13
|
+
author { ${a} }
|
|
14
|
+
createdAt
|
|
15
|
+
}
|
|
16
|
+
comments {
|
|
17
|
+
id author { ${a} } body
|
|
18
|
+
content { ${t} }
|
|
19
|
+
createdAt updatedAt
|
|
20
|
+
}
|
|
21
|
+
createdAt dueAt resolvedAt timeTracking
|
|
22
|
+
allFields {
|
|
23
|
+
id name schemaType custom value
|
|
24
|
+
content { ${t} }
|
|
25
|
+
}
|
|
26
|
+
cache { ${r} }
|
|
27
|
+
commentsCache { ${r} }`;e.s(["JIRA_CACHE_FIELDS",0,r,"JIRA_PERSON_FIELDS",0,a,"JIRA_RICH_TEXT_FIELDS",0,t,"JIRA_SUMMARY_FIELDS",0,n,"JIRA_TICKET_DETAIL_FIELDS",0,i])},799676,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(705844),s=e.i(30030),n=e.i(30207),i=e.i(934620),l=e.i(248425),o=Object.defineProperty,d=(e,t)=>o(e,"name",{value:t,configurable:!0}),c="Avatar",[u,m]=(0,s.createContextScope)(c),x=[0,()=>void 0],[h,f]=u(c),p=a.forwardRef(d(function(e,r){let{__scopeAvatar:s,...n}=e,[i,o]=a.useState("idle"),[d,c]=k();return(0,t.jsx)(h,{scope:s,imageLoadingStatus:i,setImageLoadingStatus:o,imageCount:d,setImageCount:c,children:(0,t.jsx)(l.Primitive.span,{...n,ref:r})})},"Avatar")),g=a.forwardRef(d(function(e,r){let{__scopeAvatar:s,src:o,onLoadingStatusChange:d,...c}=e,u=f("AvatarImage",s);w(u.setImageCount);let m=j(o,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:u.imageLoadingStatus,setLoadingStatus:u.setImageLoadingStatus}),x=(0,n.useCallbackRef)(e=>{d?.(e)}),h=a.useRef(m);return(0,i.useLayoutEffect)(()=>{let e=h.current;h.current=m,m!==e&&x(m)},[m,x]),"loaded"===m?(0,t.jsx)(l.Primitive.img,{...c,ref:r,src:o}):null},"AvatarImage")),b=a.forwardRef(d(function(e,r){let{__scopeAvatar:s,delayMs:n,...i}=e,o=f("AvatarFallback",s),[d,c]=a.useState(void 0===n);return a.useEffect(()=>{if(void 0!==n){let e=window.setTimeout(()=>c(!0),n);return()=>window.clearTimeout(e)}},[n]),d&&"loaded"!==o.imageLoadingStatus?(0,t.jsx)(l.Primitive.span,{...i,ref:r}):null},"AvatarFallback"));function j(e,{loadingStatus:t,setLoadingStatus:a,referrerPolicy:r,crossOrigin:s}){return(0,i.useLayoutEffect)(()=>{if(!e)return void a("error");let t=new window.Image,n=d(e=>{a(v(e.currentTarget))},"handleLoad"),i=d(()=>a("error"),"handleError");return t.addEventListener("load",n),t.addEventListener("error",i),r&&(t.referrerPolicy=r),t.crossOrigin=s??null,t.src=e,a(v(t)),()=>{t.removeEventListener("load",n),t.removeEventListener("error",i),a("idle")}},[e,s,r,a]),t}function v(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function k(){let e=x;if(r.IS_DEVELOPMENT){let[t]=e=a.useState(0),r=a.useRef(!1);a.useEffect(()=>{t>1&&!r.current&&(r.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function w(e){r.IS_DEVELOPMENT&&a.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}d(j,"useImageLoadingStatus"),d(v,"getImageLoadingStatus"),d(k,"useImageCount"),d(w,"useUpdateImageCount"),e.s(["Avatar",0,p,"AvatarFallback",0,b,"AvatarImage",0,g,"Fallback",0,b,"Image",0,g,"Root",0,p,"createAvatarScope",0,m],97456);var y=e.i(97456),y=y,C=e.i(975157);e.s(["Avatar",0,function({className:e,size:a="default",...r}){return(0,t.jsx)(y.Root,{className:(0,C.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":a,"data-slot":"avatar",...r})},"AvatarFallback",0,function({className:e,...a}){return(0,t.jsx)(y.Fallback,{className:(0,C.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...a})},"AvatarImage",0,function({className:e,...a}){return(0,t.jsx)(y.Image,{className:(0,C.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...a})}],799676)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let s=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(s({variant:a,className:e})),...n})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},440289,e=>{"use strict";var t=e.i(637611);async function a(e){let a=Date.now()+6e5;for(;Date.now()<a;){await new Promise(e=>window.setTimeout(e,750));let a=(await (0,t.controlPlaneRequest)(`query WorktreeJob($id: ID!) {
|
|
28
|
+
agentJob(id: $id) {
|
|
29
|
+
status error
|
|
30
|
+
worktreeOperationResult { outcome preparationConflictPaths }
|
|
31
|
+
}
|
|
32
|
+
}`,{id:e})).agentJob;if(!(!a||["QUEUED","RUNNING"].includes(a.status))){if("SUCCEEDED"!==a.status)throw Error(a.error||`Worktree operation ${a.status.toLowerCase()}`);return a.worktreeOperationResult}}throw Error("Worktree operation is still running; check the agent job history")}async function r(e){await a(e)}async function s(e){let a=Date.now()+12e5;for(;Date.now()<a;){await new Promise(e=>window.setTimeout(e,750));let a=(await (0,t.controlPlaneRequest)(`query WorktreeMove($id: ID!) {
|
|
33
|
+
worktreeMove(id: $id) {
|
|
34
|
+
id sourceWorktreeId sourceCodebaseId targetCodebaseId targetWorktreeId destinationMode
|
|
35
|
+
branch headSha deleteSource status sourceJobId targetJobId cleanupJobId error warning
|
|
36
|
+
createdAt updatedAt finishedAt
|
|
37
|
+
}
|
|
38
|
+
}`,{id:e})).worktreeMove;if(!a)throw Error("Worktree move disappeared");if(!["PUSHING","CHECKING_OUT","CLEANING_UP"].includes(a.status))return a}throw Error("Worktree move is still running; it will continue in the background")}e.s(["waitForWorktreeJob",0,r,"waitForWorktreeMove",0,s,"waitForWorktreeOperationJob",0,a])}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},882505,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",0,t],882505)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var a=e.i(636162),r=e.i(456420);let i=(0,r.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var s=e.i(876561);let n=(0,r.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),l=(0,r.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),o=(0,r.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,r.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,r.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,r.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var h=e.i(21357);let g=(0,r.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var x=e.i(584026),f=e.i(986206),v=e.i(328623),b=e.i(604139);let k=(0,r.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var y=e.i(747925);let j={apple:a.Apple,"app-window":i,archive:s.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:p,package:m,play:h.Play,rocket:g,shield:x.ShieldCheck,smartphone:f.Smartphone,sparkles:v.Sparkles,terminal:b.Terminal,"test-tube":k,wrench:y.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=j[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},983913,e=>{"use strict";var t=e.i(843476),a=e.i(563707),r=e.i(271645),i=e.i(519455),s=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:p,emptyMessage:m,ariaLabel:h,disabled:g,className:x,showSelectedDetails:f=!1,allowCustomValue:v=!1}){let[b,k]=(0,r.useState)(!1),[y,j]=(0,r.useState)(""),w=(0,r.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),I=c.find(t=>t.value===e),C=I?.label??(e||u),T=y.trim(),N=v&&T.length>0&&!c.some(e=>e.value.toLowerCase()===T.toLowerCase()||e.label.toLowerCase()===T.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{k(e),e||j("")},open:b,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(i.Button,{"aria-expanded":b,"aria-label":h,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",f&&I&&"h-auto min-h-8 py-2",x),disabled:g,role:"combobox",type:"button",variant:"outline",children:[f&&I?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:I.label}),I.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:I.description}),I.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:I.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:C}),(0,t.jsx)(a.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:w,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(s.Command,{className:"min-h-0",label:p,children:[(0,t.jsx)(s.CommandInput,{"aria-label":p,autoFocus:!0,onValueChange:j,placeholder:p,value:y}),(0,t.jsxs)(s.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(s.CommandEmpty,{children:m}),(0,t.jsxs)(s.CommandGroup,{children:[N&&(0,t.jsx)(s.CommandItem,{"aria-label":T,onSelect:()=>{d(T),j(""),k(!1)},value:T,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(n.ItemContent,{className:"min-w-0",children:(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:T})})})}),c.map(a=>(0,t.jsx)(s.CommandItem,{"aria-label":[a.label,a.description,a.secondaryDescription].filter(Boolean).join(", "),"aria-selected":a.value===e,className:"items-start py-2","data-checked":a.value===e,disabled:a.disabled,keywords:[a.label,a.description??"",a.secondaryDescription??"",a.keywords??""],onSelect:()=>{d(a.value),j(""),k(!1)},value:a.value,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(n.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:a.label}),a.description&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:a.description}),a.secondaryDescription&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:a.secondaryDescription})]})})},a.value))]})]})]})})]})}])},647776,e=>{"use strict";var t=e.i(843476),a=e.i(716327),r=e.i(482022),i=e.i(395925),s=e.i(948148),n=e.i(271645),l=e.i(487486),o=e.i(519455),d=e.i(755146),c=e.i(987968),u=e.i(746798),p=e.i(637611),m=e.i(961112);function h({pipeline:e,repositoryId:a,requestSource:r,onPipelineRetried:l,onError:d}){let m=(0,s.useTranslations)("pullRequests"),[g,x]=(0,n.useState)(!1),f=async t=>{if(t.stopPropagation(),e.canRetry&&e.checkSuiteId){x(!0);try{let t=await (0,p.controlPlaneRequest)(`mutation RetryGitHubPipeline(
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},882505,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",0,t],882505)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var a=e.i(636162),r=e.i(456420);let i=(0,r.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var s=e.i(876561);let n=(0,r.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),l=(0,r.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),o=(0,r.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,r.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,r.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),m=(0,r.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var h=e.i(21357);let g=(0,r.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var x=e.i(584026),f=e.i(986206),v=e.i(328623),b=e.i(604139);let k=(0,r.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var y=e.i(747925);let j={apple:a.Apple,"app-window":i,archive:s.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:p,package:m,play:h.Play,rocket:g,shield:x.ShieldCheck,smartphone:f.Smartphone,sparkles:v.Sparkles,terminal:b.Terminal,"test-tube":k,wrench:y.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=j[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},983913,e=>{"use strict";var t=e.i(843476),a=e.i(563707),r=e.i(271645),i=e.i(519455),s=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:p,emptyMessage:m,ariaLabel:h,disabled:g,className:x,showSelectedDetails:f=!1,allowCustomValue:v=!1,clearLabel:b}){let[k,y]=(0,r.useState)(!1),[j,w]=(0,r.useState)(""),I=(0,r.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),C=c.find(t=>t.value===e),T=C?.label??(e||u),N=j.trim(),S=v&&N.length>0&&!c.some(e=>e.value.toLowerCase()===N.toLowerCase()||e.label.toLowerCase()===N.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{y(e),e||w("")},open:k,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(i.Button,{"aria-expanded":k,"aria-label":h,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",f&&C&&"h-auto min-h-8 py-2",x),disabled:g,role:"combobox",type:"button",variant:"outline",children:[f&&C?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:C.label}),C.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:C.description}),C.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:C.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:T}),(0,t.jsx)(a.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:I,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(s.Command,{className:"min-h-0",label:p,children:[(0,t.jsx)(s.CommandInput,{"aria-label":p,autoFocus:!0,onValueChange:w,placeholder:p,value:j}),(0,t.jsxs)(s.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(s.CommandEmpty,{children:m}),(0,t.jsxs)(s.CommandGroup,{children:[b&&e&&(0,t.jsx)(s.CommandItem,{"aria-label":b,onSelect:()=>{d(""),w(""),y(!1)},value:"__clear_selection__",children:b}),S&&(0,t.jsx)(s.CommandItem,{"aria-label":N,onSelect:()=>{d(N),w(""),y(!1)},value:N,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(n.ItemContent,{className:"min-w-0",children:(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:N})})})}),c.map(a=>(0,t.jsx)(s.CommandItem,{"aria-label":[a.label,a.description,a.secondaryDescription].filter(Boolean).join(", "),"aria-selected":a.value===e,className:"items-start py-2","data-checked":a.value===e,disabled:a.disabled,keywords:[a.label,a.description??"",a.secondaryDescription??"",a.keywords??""],onSelect:()=>{d(a.value),w(""),y(!1)},value:a.value,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(n.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:a.label}),a.description&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:a.description}),a.secondaryDescription&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:a.secondaryDescription})]})})},a.value))]})]})]})})]})}])},647776,e=>{"use strict";var t=e.i(843476),a=e.i(716327),r=e.i(482022),i=e.i(395925),s=e.i(948148),n=e.i(271645),l=e.i(487486),o=e.i(519455),d=e.i(755146),c=e.i(987968),u=e.i(746798),p=e.i(637611),m=e.i(961112);function h({pipeline:e,repositoryId:a,requestSource:r,onPipelineRetried:l,onError:d}){let m=(0,s.useTranslations)("pullRequests"),[g,x]=(0,n.useState)(!1),f=async t=>{if(t.stopPropagation(),e.canRetry&&e.checkSuiteId){x(!0);try{let t=await (0,p.controlPlaneRequest)(`mutation RetryGitHubPipeline(
|
|
2
2
|
$repositoryId: ID!
|
|
3
3
|
$checkSuiteId: ID!
|
|
4
4
|
$source: GitHubRequestSource!
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},113030,e=>{"use strict";let t=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,t],113030)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),s=e.i(519455),i=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:d,placeholder:u,searchPlaceholder:m,emptyMessage:h,ariaLabel:x,disabled:p,className:g,showSelectedDetails:b=!1,allowCustomValue:j=!1}){let[
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},113030,e=>{"use strict";let t=(0,e.i(456420).default)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);e.s(["GitMerge",0,t],113030)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),a=e.i(271645),s=e.i(519455),i=e.i(317056),n=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:c,options:d,placeholder:u,searchPlaceholder:m,emptyMessage:h,ariaLabel:x,disabled:p,className:g,showSelectedDetails:b=!1,allowCustomValue:j=!1,clearLabel:f}){let[v,k]=(0,a.useState)(!1),[y,w]=(0,a.useState)(""),I=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),S=d.find(t=>t.value===e),C=S?.label??(e||u),N=y.trim(),T=j&&N.length>0&&!d.some(e=>e.value.toLowerCase()===N.toLowerCase()||e.label.toLowerCase()===N.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{k(e),e||w("")},open:v,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":v,"aria-label":x,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",b&&S&&"h-auto min-h-8 py-2",g),disabled:p,role:"combobox",type:"button",variant:"outline",children:[b&&S?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:S.label}),S.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:S.description}),S.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:S.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:C}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:I,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(i.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:w,placeholder:m,value:y}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:h}),(0,t.jsxs)(i.CommandGroup,{children:[f&&e&&(0,t.jsx)(i.CommandItem,{"aria-label":f,onSelect:()=>{c(""),w(""),k(!1)},value:"__clear_selection__",children:f}),T&&(0,t.jsx)(i.CommandItem,{"aria-label":N,onSelect:()=>{c(N),w(""),k(!1)},value:N,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(n.ItemContent,{className:"min-w-0",children:(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:N})})})}),d.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{c(r.value),w(""),k(!1)},value:r.value,children:(0,t.jsx)(n.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(n.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(n.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(n.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},346194,e=>{"use strict";var t=e.i(843476),r=e.i(113030),a=e.i(948148),s=e.i(271645),i=e.i(929592),n=e.i(519455),l=e.i(776639),o=e.i(793479),c=e.i(110204),d=e.i(967489),u=e.i(987968),m=e.i(624687),h=e.i(637611);let x="__github_account_default__";e.s(["MergePullRequestButton",0,function({pullRequest:e,onMerged:p,size:g="sm",variant:b="outline",open:j,onOpenChange:f,showTrigger:v=!0,requestSource:k}){let y=(0,a.useTranslations)("pullRequests"),[w,I]=(0,s.useState)(!1),[S,C]=(0,s.useState)(null),[N,T]=(0,s.useState)(""),[E,R]=(0,s.useState)(""),[A,D]=(0,s.useState)(""),[P,$]=(0,s.useState)(x),[L,M]=(0,s.useState)(!1),[U,_]=(0,s.useState)(!1),[q,F]=(0,s.useState)(null),[O="",z=""]=e.repositoryNameWithOwner.split("/",2),G=j??w,B=e=>{e||(M(!1),C(null),F(null)),void 0===j&&I(e),f?.(e)};(0,s.useEffect)(()=>{if(!G)return;let t=!0,r=window.setTimeout(()=>{M(!0),C(null),F(null),(0,h.controlPlaneRequest)(`query GitHubPullRequestMergeOptions(
|
|
2
2
|
$owner: String!
|
|
3
3
|
$name: String!
|
|
4
4
|
$number: Int!
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),n=e.i(271645),a=e.i(519455),s=e.i(317056),i=e.i(906197),o=e.i(337822),l=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:m,emptyMessage:f,ariaLabel:p,disabled:h,className:w,showSelectedDetails:b=!1,allowCustomValue:x=!1}){let[
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),n=e.i(271645),a=e.i(519455),s=e.i(317056),i=e.i(906197),o=e.i(337822),l=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:m,emptyMessage:f,ariaLabel:p,disabled:h,className:w,showSelectedDetails:b=!1,allowCustomValue:x=!1,clearLabel:g}){let[k,v]=(0,n.useState)(!1),[j,y]=(0,n.useState)(""),I=(0,n.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),N=c.find(t=>t.value===e),C=N?.label??(e||u),A=j.trim(),E=x&&A.length>0&&!c.some(e=>e.value.toLowerCase()===A.toLowerCase()||e.label.toLowerCase()===A.toLowerCase());return(0,t.jsxs)(o.Popover,{onOpenChange:e=>{v(e),e||y("")},open:k,children:[(0,t.jsx)(o.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(a.Button,{"aria-expanded":k,"aria-label":p,className:(0,l.cn)("min-w-0 w-full justify-between font-normal",b&&N&&"h-auto min-h-8 py-2",w),disabled:h,role:"combobox",type:"button",variant:"outline",children:[b&&N?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:N.label}),N.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:N.description}),N.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:N.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:C}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(o.PopoverContent,{ref:I,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(s.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(s.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:y,placeholder:m,value:j}),(0,t.jsxs)(s.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(s.CommandEmpty,{children:f}),(0,t.jsxs)(s.CommandGroup,{children:[g&&e&&(0,t.jsx)(s.CommandItem,{"aria-label":g,onSelect:()=>{d(""),y(""),v(!1)},value:"__clear_selection__",children:g}),E&&(0,t.jsx)(s.CommandItem,{"aria-label":A,onSelect:()=>{d(A),y(""),v(!1)},value:A,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(i.ItemContent,{className:"min-w-0",children:(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:A})})})}),c.map(r=>(0,t.jsx)(s.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{d(r.value),y(""),v(!1)},value:r.value,children:(0,t.jsx)(i.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(i.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(i.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(i.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},467511,e=>{"use strict";let t="format raw rawText markdown wikiMarkup",r="accountId displayName avatarUrl",n="source stale fetchedAt",a="relationship key summary status",s="id key summary statusId status statusCategory issueType priority assignee assigneeAccountId assigneeAvatarUrl projectKey updatedAt",i=`${s}
|
|
2
2
|
jiraUrl description
|
|
3
3
|
descriptionContent { ${t} }
|
|
4
4
|
reporter { ${r} }
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
cache { ${n} }
|
|
27
27
|
commentsCache { ${n} }`;e.s(["JIRA_CACHE_FIELDS",0,n,"JIRA_PERSON_FIELDS",0,r,"JIRA_RICH_TEXT_FIELDS",0,t,"JIRA_SUMMARY_FIELDS",0,s,"JIRA_TICKET_DETAIL_FIELDS",0,i])},486122,e=>{"use strict";var t=e.i(271645),r=e.i(637611);e.s(["useJiraTicketChanges",0,function(e,n){let a=(0,t.useRef)(e),s=(0,t.useRef)(n);(0,t.useEffect)(()=>{a.current=e,s.current=n},[e,n]),(0,t.useEffect)(()=>{let e=(0,r.controlPlaneSubscriptions)().subscribe({query:`subscription JiraTicketChanged {
|
|
28
28
|
jiraTicketChanged { issueKey projectKey event }
|
|
29
|
-
}`},{next:e=>{let t=e.data?.jiraTicketChanged;t&&a.current(t)},error:()=>void 0,complete:()=>void 0}),t=(0,r.onControlPlaneConnected)(()=>s.current?.());return()=>{e(),t()}},[])}])},799676,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(705844),a=e.i(30030),s=e.i(30207),i=e.i(934620),o=e.i(248425),l=Object.defineProperty,d=(e,t)=>l(e,"name",{value:t,configurable:!0}),c="Avatar",[u,m]=(0,a.createContextScope)(c),f=[0,()=>void 0],[p,h]=u(c),w=r.forwardRef(d(function(e,n){let{__scopeAvatar:a,...s}=e,[i,l]=r.useState("idle"),[d,c]=v();return(0,t.jsx)(p,{scope:a,imageLoadingStatus:i,setImageLoadingStatus:l,imageCount:d,setImageCount:c,children:(0,t.jsx)(o.Primitive.span,{...s,ref:n})})},"Avatar")),b=r.forwardRef(d(function(e,n){let{__scopeAvatar:a,src:l,onLoadingStatusChange:d,...c}=e,u=h("AvatarImage",a);y(u.setImageCount);let m=g(l,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:u.imageLoadingStatus,setLoadingStatus:u.setImageLoadingStatus}),f=(0,s.useCallbackRef)(e=>{d?.(e)}),p=r.useRef(m);return(0,i.useLayoutEffect)(()=>{let e=p.current;p.current=m,m!==e&&f(m)},[m,f]),"loaded"===m?(0,t.jsx)(o.Primitive.img,{...c,ref:n,src:l}):null},"AvatarImage")),x=r.forwardRef(d(function(e,n){let{__scopeAvatar:a,delayMs:s,...i}=e,l=h("AvatarFallback",a),[d,c]=r.useState(void 0===s);return r.useEffect(()=>{if(void 0!==s){let e=window.setTimeout(()=>c(!0),s);return()=>window.clearTimeout(e)}},[s]),d&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(o.Primitive.span,{...i,ref:n}):null},"AvatarFallback"));function g(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:n,crossOrigin:a}){return(0,i.useLayoutEffect)(()=>{if(!e)return void r("error");let t=new window.Image,s=d(e=>{r(k(e.currentTarget))},"handleLoad"),i=d(()=>r("error"),"handleError");return t.addEventListener("load",s),t.addEventListener("error",i),n&&(t.referrerPolicy=n),t.crossOrigin=a??null,t.src=e,r(k(t)),()=>{t.removeEventListener("load",s),t.removeEventListener("error",i),r("idle")}},[e,a,n,r]),t}function k(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function v(){let e=f;if(n.IS_DEVELOPMENT){let[t]=e=r.useState(0),n=r.useRef(!1);r.useEffect(()=>{t>1&&!n.current&&(n.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function y(e){n.IS_DEVELOPMENT&&r.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}d(g,"useImageLoadingStatus"),d(k,"getImageLoadingStatus"),d(v,"useImageCount"),d(y,"useUpdateImageCount"),e.s(["Avatar",0,w,"AvatarFallback",0,x,"AvatarImage",0,b,"Fallback",0,x,"Image",0,b,"Root",0,w,"createAvatarScope",0,m],97456);var j=e.i(97456),j=j,I=e.i(975157);e.s(["Avatar",0,function({className:e,size:r="default",...n}){return(0,t.jsx)(j.Root,{className:(0,I.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":r,"data-slot":"avatar",...n})},"AvatarFallback",0,function({className:e,...r}){return(0,t.jsx)(j.Fallback,{className:(0,I.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...r})},"AvatarImage",0,function({className:e,...r}){return(0,t.jsx)(j.Image,{className:(0,I.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...r})}],799676)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(975157);let a=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,n.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,n.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,n.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,n.cn)(a({variant:r,className:e})),...s})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...n}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...n})},"TableCell",0,function({className:e,...n}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...n})},"TableFooter",0,function({className:e,...n}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...n})},"TableHead",0,function({className:e,...n}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...n})},"TableHeader",0,function({className:e,...n}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...n})},"TableRow",0,function({className:e,...n}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...n})}])},997778,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(271645),a=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:i=!1,onRun:o}){let l=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(a.DropdownMenu,{children:[(0,t.jsx)(a.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(a.DropdownMenuContent,{align:"start",className:"max-w-64",children:[i&&(0,t.jsx)(a.DropdownMenuItem,{onSelect:()=>o(null),children:l("fullRun")}),s.map(e=>(0,t.jsx)(a.DropdownMenuItem,{onSelect:()=>o(e.key),children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,n.cloneElement)(e,{onClick:()=>o(null)})}])},586592,e=>{"use strict";var t=e.i(843476),r=e.i(832297),n=e.i(482022),a=e.i(948148),s=e.i(271645),i=e.i(929592),o=e.i(487486),l=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),m=e.i(637611),f=e.i(880181),p=e.i(997778),h=e.i(505624),w=e.i(349049),b=e.i(399668);function x(e){return"string"==typeof e&&e.length>0?e:null}function g({run:e,onAnswered:r}){let n=(0,a.useTranslations)("workflows"),o=(0,b.useWorkflowLabels)(),[d,c]=(0,s.useState)({}),[f,p]=(0,s.useState)(!1),[h,w]=(0,s.useState)(null),k=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=x(t.id);if(!r||"PENDING"!==t.status)return[];let n=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=x(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:x(e.header),prompt:x(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=x(e.label);return t?[{id:x(e.id)??t,label:t,description:x(e.description)}]:[]})}})(e)??[]);return n.length?[{id:r,kind:e.kind,questions:n}]:[]})),[e]);if(0===k.length)return null;let v=(e,t)=>`${e}:${t}`,y=async(e,t)=>{p(!0);try{await (0,m.controlPlaneRequest)("mutation AnswerWorkflowQuestion($batchId: ID!, $answers: JSON!) { answerWorkflowQuestion(batchId: $batchId, answers: $answers) { id status } }",{batchId:e.id,answers:Object.fromEntries(e.questions.map(e=>[e.id,{answers:t[e.id]??[]}]))}),c(t=>{let r={...t};for(let t of e.questions)delete r[v(e.id,t.id)];return r}),w(null),await r()}catch(e){w(e instanceof Error?e.message:String(e))}finally{p(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[h&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:h})}),k.map(r=>{let a=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[v(r.id,e.id)]??[]).length>0);return(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-amber-500/50 bg-amber-500/5 p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("questionFrom",{step:o.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let n=d[v(r.id,e.id)]??[];return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.header||e.prompt}),e.header&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.prompt}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map((s,i)=>(0,t.jsx)(l.Button,{"aria-pressed":a?void 0:n.includes(s.label),disabled:f,onClick:()=>{a?y(r,{[e.id]:[s.label]}):c(t=>{let n=new Set(t[v(r.id,e.id)]??[]);return e.multiSelect?n.has(s.label)?n.delete(s.label):n.add(s.label):(n.clear(),n.add(s.label)),{...t,[v(r.id,e.id)]:[...n]}})},size:"sm",title:s.description??void 0,variant:n.includes(s.label)||a&&0===i?"default":"outline",children:s.label},s.id))})]},e.id)}),!a&&(0,t.jsx)(l.Button,{disabled:f||!s,onClick:()=>void y(r,Object.fromEntries(r.questions.map(e=>[e.id,d[v(r.id,e.id)]??[]]))),size:"sm",children:n("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:r.questions[0].header||r.questions[0].prompt}),(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:`/workflows/runs/${e.id}`,children:n("answerOnRunPage")})})]})]},r.id)})]})}let k=`
|
|
29
|
+
}`},{next:e=>{let t=e.data?.jiraTicketChanged;t&&a.current(t)},error:()=>void 0,complete:()=>void 0}),t=(0,r.onControlPlaneConnected)(()=>s.current?.());return()=>{e(),t()}},[])}])},799676,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(705844),a=e.i(30030),s=e.i(30207),i=e.i(934620),o=e.i(248425),l=Object.defineProperty,d=(e,t)=>l(e,"name",{value:t,configurable:!0}),c="Avatar",[u,m]=(0,a.createContextScope)(c),f=[0,()=>void 0],[p,h]=u(c),w=r.forwardRef(d(function(e,n){let{__scopeAvatar:a,...s}=e,[i,l]=r.useState("idle"),[d,c]=v();return(0,t.jsx)(p,{scope:a,imageLoadingStatus:i,setImageLoadingStatus:l,imageCount:d,setImageCount:c,children:(0,t.jsx)(o.Primitive.span,{...s,ref:n})})},"Avatar")),b=r.forwardRef(d(function(e,n){let{__scopeAvatar:a,src:l,onLoadingStatusChange:d,...c}=e,u=h("AvatarImage",a);j(u.setImageCount);let m=g(l,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:u.imageLoadingStatus,setLoadingStatus:u.setImageLoadingStatus}),f=(0,s.useCallbackRef)(e=>{d?.(e)}),p=r.useRef(m);return(0,i.useLayoutEffect)(()=>{let e=p.current;p.current=m,m!==e&&f(m)},[m,f]),"loaded"===m?(0,t.jsx)(o.Primitive.img,{...c,ref:n,src:l}):null},"AvatarImage")),x=r.forwardRef(d(function(e,n){let{__scopeAvatar:a,delayMs:s,...i}=e,l=h("AvatarFallback",a),[d,c]=r.useState(void 0===s);return r.useEffect(()=>{if(void 0!==s){let e=window.setTimeout(()=>c(!0),s);return()=>window.clearTimeout(e)}},[s]),d&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(o.Primitive.span,{...i,ref:n}):null},"AvatarFallback"));function g(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:n,crossOrigin:a}){return(0,i.useLayoutEffect)(()=>{if(!e)return void r("error");let t=new window.Image,s=d(e=>{r(k(e.currentTarget))},"handleLoad"),i=d(()=>r("error"),"handleError");return t.addEventListener("load",s),t.addEventListener("error",i),n&&(t.referrerPolicy=n),t.crossOrigin=a??null,t.src=e,r(k(t)),()=>{t.removeEventListener("load",s),t.removeEventListener("error",i),r("idle")}},[e,a,n,r]),t}function k(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function v(){let e=f;if(n.IS_DEVELOPMENT){let[t]=e=r.useState(0),n=r.useRef(!1);r.useEffect(()=>{t>1&&!n.current&&(n.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function j(e){n.IS_DEVELOPMENT&&r.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}d(g,"useImageLoadingStatus"),d(k,"getImageLoadingStatus"),d(v,"useImageCount"),d(j,"useUpdateImageCount"),e.s(["Avatar",0,w,"AvatarFallback",0,x,"AvatarImage",0,b,"Fallback",0,x,"Image",0,b,"Root",0,w,"createAvatarScope",0,m],97456);var y=e.i(97456),y=y,I=e.i(975157);e.s(["Avatar",0,function({className:e,size:r="default",...n}){return(0,t.jsx)(y.Root,{className:(0,I.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":r,"data-slot":"avatar",...n})},"AvatarFallback",0,function({className:e,...r}){return(0,t.jsx)(y.Fallback,{className:(0,I.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...r})},"AvatarImage",0,function({className:e,...r}){return(0,t.jsx)(y.Image,{className:(0,I.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...r})}],799676)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(975157);let a=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,n.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,n.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,n.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,n.cn)(a({variant:r,className:e})),...s})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...n}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...n})},"TableCell",0,function({className:e,...n}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...n})},"TableFooter",0,function({className:e,...n}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...n})},"TableHead",0,function({className:e,...n}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...n})},"TableHeader",0,function({className:e,...n}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...n})},"TableRow",0,function({className:e,...n}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...n})}])},997778,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(271645),a=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:i=!1,onRun:o}){let l=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(a.DropdownMenu,{children:[(0,t.jsx)(a.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(a.DropdownMenuContent,{align:"start",className:"max-w-64",children:[i&&(0,t.jsx)(a.DropdownMenuItem,{onSelect:()=>o(null),children:l("fullRun")}),s.map(e=>(0,t.jsx)(a.DropdownMenuItem,{onSelect:()=>o(e.key),children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,n.cloneElement)(e,{onClick:()=>o(null)})}])},586592,e=>{"use strict";var t=e.i(843476),r=e.i(832297),n=e.i(482022),a=e.i(948148),s=e.i(271645),i=e.i(929592),o=e.i(487486),l=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),m=e.i(637611),f=e.i(880181),p=e.i(997778),h=e.i(505624),w=e.i(349049),b=e.i(399668);function x(e){return"string"==typeof e&&e.length>0?e:null}function g({run:e,onAnswered:r}){let n=(0,a.useTranslations)("workflows"),o=(0,b.useWorkflowLabels)(),[d,c]=(0,s.useState)({}),[f,p]=(0,s.useState)(!1),[h,w]=(0,s.useState)(null),k=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=x(t.id);if(!r||"PENDING"!==t.status)return[];let n=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=x(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:x(e.header),prompt:x(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=x(e.label);return t?[{id:x(e.id)??t,label:t,description:x(e.description)}]:[]})}})(e)??[]);return n.length?[{id:r,kind:e.kind,questions:n}]:[]})),[e]);if(0===k.length)return null;let v=(e,t)=>`${e}:${t}`,j=async(e,t)=>{p(!0);try{await (0,m.controlPlaneRequest)("mutation AnswerWorkflowQuestion($batchId: ID!, $answers: JSON!) { answerWorkflowQuestion(batchId: $batchId, answers: $answers) { id status } }",{batchId:e.id,answers:Object.fromEntries(e.questions.map(e=>[e.id,{answers:t[e.id]??[]}]))}),c(t=>{let r={...t};for(let t of e.questions)delete r[v(e.id,t.id)];return r}),w(null),await r()}catch(e){w(e instanceof Error?e.message:String(e))}finally{p(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[h&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:h})}),k.map(r=>{let a=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[v(r.id,e.id)]??[]).length>0);return(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-amber-500/50 bg-amber-500/5 p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("questionFrom",{step:o.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let n=d[v(r.id,e.id)]??[];return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.header||e.prompt}),e.header&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.prompt}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map((s,i)=>(0,t.jsx)(l.Button,{"aria-pressed":a?void 0:n.includes(s.label),disabled:f,onClick:()=>{a?j(r,{[e.id]:[s.label]}):c(t=>{let n=new Set(t[v(r.id,e.id)]??[]);return e.multiSelect?n.has(s.label)?n.delete(s.label):n.add(s.label):(n.clear(),n.add(s.label)),{...t,[v(r.id,e.id)]:[...n]}})},size:"sm",title:s.description??void 0,variant:n.includes(s.label)||a&&0===i?"default":"outline",children:s.label},s.id))})]},e.id)}),!a&&(0,t.jsx)(l.Button,{disabled:f||!s,onClick:()=>void j(r,Object.fromEntries(r.questions.map(e=>[e.id,d[v(r.id,e.id)]??[]]))),size:"sm",children:n("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:r.questions[0].header||r.questions[0].prompt}),(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:`/workflows/runs/${e.id}`,children:n("answerOnRunPage")})})]})]},r.id)})]})}let k=`
|
|
30
30
|
id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
|
|
31
31
|
sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
|
|
32
32
|
workflow { id name }
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
44
|
-
`;e.s(["WorkflowResourcePanel",0,function({resourceKind:e,resourceId:x,sessionData:v}){let
|
|
44
|
+
`;e.s(["WorkflowResourcePanel",0,function({resourceKind:e,resourceId:x,sessionData:v}){let j=(0,a.useTranslations)("workflows"),y=(0,b.useWorkflowLabels)(),I=(0,h.useOpenWorkflowDestination)(),[N,C]=(0,s.useState)([]),[A,E]=(0,s.useState)([]),[R,S]=(0,s.useState)(null),[T,L]=(0,s.useState)(null),D=(0,s.useCallback)(async()=>{try{let t=await (0,m.controlPlaneRequest)(`query ResourceWorkflows($kind: String!, $resourceId: ID!) {
|
|
45
45
|
workflowRunsForResource(kind: $kind, resourceId: $resourceId) { ${k} }
|
|
46
46
|
workflowsAcceptingResource(kind: $kind) {
|
|
47
47
|
id name description enabled
|
|
48
48
|
hasPlainTrigger(resourceKind: $kind)
|
|
49
49
|
triggerChoices(resourceKind: $kind) { key label description }
|
|
50
50
|
}
|
|
51
|
-
}`,{kind:e,resourceId:x});C(t.workflowRunsForResource),E(t.workflowsAcceptingResource),L(null)}catch(e){L(e instanceof Error?e.message:String(e))}},[x,e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void D(),0),t=(0,m.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void D(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[D]);let $=async(t,r)=>{S(t);try{await (0,m.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:v,resourceKind:e,resourceId:x,subjectKey:`${e}:${x}`,choice:r}}),await D()}catch(e){L(e instanceof Error?e.message:String(e))}finally{S(null)}},
|
|
51
|
+
}`,{kind:e,resourceId:x});C(t.workflowRunsForResource),E(t.workflowsAcceptingResource),L(null)}catch(e){L(e instanceof Error?e.message:String(e))}},[x,e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void D(),0),t=(0,m.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void D(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[D]);let $=async(t,r)=>{S(t);try{await (0,m.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:v,resourceKind:e,resourceId:x,subjectKey:`${e}:${x}`,choice:r}}),await D()}catch(e){L(e instanceof Error?e.message:String(e))}finally{S(null)}},_=N[0],P=(0,s.useMemo)(()=>_?(0,f.currentPageWorkflowNodeIds)(_,e,x):new Set,[_,x,e]),O=(0,s.useMemo)(()=>_?(0,f.workflowRunNodeDestinations)(_):new Map,[_]);return N.length||A.length||T?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:j("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:j("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:"/workflows",children:j("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[T&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:T})}),A.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:A.map(e=>(0,t.jsxs)(c.Item,{size:"sm",variant:"outline",children:[(0,t.jsxs)(c.ItemContent,{children:[(0,t.jsx)(c.ItemTitle,{children:e.name}),e.description&&(0,t.jsx)(c.ItemDescription,{children:e.description})]}),(0,t.jsx)(c.ItemActions,{children:(0,t.jsx)(p.WorkflowChoiceMenu,{button:(0,t.jsxs)(l.Button,{disabled:!e.enabled||null!==R,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",j("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void $(e.id,t)})})]},e.id))}),_&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(u.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${_.id}`,children:[_.workflow.name," #",_.displayNumber]}),(0,t.jsx)(o.Badge,{variant:(0,w.workflowStatusVariant)(_.status),children:y.status(_.status)})]}),(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${_.id}`,children:[(0,t.jsx)(n.ExternalLink,{})," ",j("fullRun")]})})]}),(0,t.jsx)(g,{onAnswered:D,run:_}),(0,t.jsx)(w.WorkflowGraph,{attempts:_.attempts,compact:!0,currentPageNodeIds:P,definition:_.version.definition,destinations:O,generation:_.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&I(t)}}),N.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:N.slice(1,6).map(e=>(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{className:"gap-2",href:`/workflows/runs/${e.id}`,children:[(0,t.jsxs)("span",{children:["#",e.displayNumber," · ",e.workflow.name]}),(0,t.jsx)(o.Badge,{variant:(0,w.workflowStatusVariant)(e.status),children:y.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},440289,e=>{"use strict";var t=e.i(637611);async function r(e){let r=Date.now()+6e5;for(;Date.now()<r;){await new Promise(e=>window.setTimeout(e,750));let r=(await (0,t.controlPlaneRequest)(`query WorktreeJob($id: ID!) {
|
|
52
52
|
agentJob(id: $id) {
|
|
53
53
|
status error
|
|
54
54
|
worktreeOperationResult { outcome preparationConflictPaths }
|