1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,353408,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"}),"HistoryOutlined");e.s(["default",0,o])},931762,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"m12 4.14 6 2.25v4.7c0 1.19-.23 2.36-.64 3.44l1.51 1.51c.72-1.53 1.13-3.22 1.13-4.95V5l-8-3-5.22 1.96 1.55 1.55zM2.81 2.81 1.39 4.22 4 6.83v4.26c0 5.05 3.41 9.76 8 10.91 1.72-.43 3.28-1.36 4.55-2.62l3.23 3.23 1.41-1.41zM12 19.92c-3.45-1.13-6-4.82-6-8.83V8.83l9.14 9.14c-.9.88-1.97 1.57-3.14 1.95"}),"RemoveModeratorOutlined");e.s(["default",0,o])},738507,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M14.12 10.47 12 12.59l-2.13-2.12-1.41 1.41L10.59 14l-2.12 2.12 1.41 1.41L12 15.41l2.12 2.12 1.41-1.41L13.41 14l2.12-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4zM6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8z"}),"DeleteForeverOutlined");e.s(["default",0,o])},233295,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForwardOutlined");e.s(["default",0,o])},788217,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"SyncOutlined");e.s(["default",0,o])},846365,721109,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"}),"LinkOff");e.s(["default",0,o],846365);let a=(0,t.default)((0,r.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V6h5.17l1.41 1.41.59.59H20zm-7.84-6H8v2h4.16l-1.59 1.59L11.99 17 16 13.01 11.99 9l-1.41 1.41z"}),"DriveFileMoveOutlined");e.s(["default",0,a],721109)},88621,103661,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3m-5.55-8h-2.9v3H8l4 4 4-4h-2.55z"}),"CloudDownloadOutlined");e.s(["default",0,o],88621);let a=(0,t.default)((0,r.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"}),"CloudUploadOutlined");e.s(["default",0,a],103661)},446080,871134,963182,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"m12.36 6 .4 2H18v6h-3.36l-.4-2H7V6zM14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6z"}),"FlagOutlined");e.s(["default",0,o],446080);let a=(0,t.default)((0,r.jsx)("path",{d:"m14 6-1-2H5v17h2v-7h5l1 2h7V6zm4 8h-4l-1-2H7V6h5l1 2h5z"}),"OutlinedFlag");e.s(["default",0,a],871134);let n=(0,t.default)((0,r.jsx)("path",{d:"M6.99 11 3 15l3.99 4v-3H14v-2H6.99zM21 9l-3.99-4v3H10v2h7.01v3z"}),"SwapHorizOutlined");e.s(["default",0,n],963182)},490254,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMoreOutlined");e.s(["default",0,o])},142455,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.
116-1.26 9-6.45 9-12V5z"}),"Shield");e.s(["default",0,o])},302418,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage");e.s(["default",0,o])},590577,e=>{"use strict";var t=e.i(968460),r=e.i(394488);let o=(0,t.default)((0,r.jsx)("path",{d:"M22 19h-6v-4h-2.68c-1.14 2.42-3.6 4-6.32 4-3.86 0-7-3.14-7-7s3.14-7 7-7c2.72 0 5.17 1.58 6.32 4H24v6h-2zm-4-2h2v-4h2v-2H11.94l-.23-.67C11.01 8.34 9.11 7 7 7c-2.76 0-5 2.24-5 5s2.24 5 5 5c2.11 0 4.01-1.34 4.71-3.33l.23-.67H18zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3m0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1"}),"VpnKeyOutlined");e.s(["default",0,o])},890931,e=>{"use strict";var t=e.i(831761),r=e.i(570926),o=e.i(270007),a=e.i(939670);e.i(17694);var n=e.i(556983),i=e.i(853908),l=e.i(68241),s=e.i(362282),c=e.i(317425),d=e.i(174495),u=e.i(581701),p=e.i(664307),h=e.i(653899),x=e.i(394488);let m=(0,e.i(968460).default)((0,x.jsx)("path",{d:"m5 9 1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7z"}),"North");var y=Object.defineProperty,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,j=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&v(e,r,t[r]);if(f)for(var r of f(t))b.call(t,r)&&v(e,r,t[r]);return e},S=(0,c.styled)(s.Stack)(({theme:e})=>({gap:e.spacing(2),borderRadius:2*e.shape.borderRadius,backgroundColor:e.palette.grey[20],border:`1px solid ${e.palette.divider}`,padding:e.spacing(1.5),fontFamily:"monospace"})),_=(0,c.styled)(e=>(0,x.jsx)(d.Accordion,j({disableGutters:!0,elevation:0,square:!0},e)))(()=>({background:"transparent","&::before":{display:"none"}})),T=(0,c.styled)(e=>(0,x.jsx)(u.AccordionSummary,j({expandIcon:(0,x.jsx)(h.default,{sx:{fontSize:16}})},e)))(({theme:e})=>({flexDirection:"row-reverse",gap:e.spacing(.75),backgroundColor:e.palette.grey[70],borderRadius:e.shape.borderRadius,minHeight:"unset",padding:e.spacing(.75,1),"& .MuiAccordionSummary-content":{margin:0},"& .MuiAccordionSummary-expandIconWrapper":{color:e.palette.text.secondary,transition:"transform 150ms ease"},"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"}})),k=(0,c.styled)(p.AccordionDetails)(({theme:e})=>({padding:e.spacing(1,0,0,0),borderBottom:"none",fontSize:12,fontWeight:400,color:e.palette.text.primary,"& pre":{fontFamily:"monospace",margin:0}})),w=(0,c.styled)(l.Box)(({theme:e})=>({backgroundColor:e.palette.background.default,borderRadius:e.shape.borderRadius,padding:e.spacing(1.5)})),C=(0,c.styled)("pre")(({theme:e})=>({fontFamily:"monospace",fontSize:e.spacing(1.5),whiteSpace:"pre-wrap",overflowX:"auto",margin:0,color:"inherit",backgroundColor:e.palette.background.default,borderRadius:e.shape.borderRadius,padding:e.spacing(1.5)})),R=(0,c.styled)(s.Stack)(()=>({flexDirection:"row",alignItems:"center",gap:2})),I=(0,c.styled)("button",{shouldForwardProp:e=>"$isActive"!==e})(({theme:e,$isActive:t})=>({all:"unset",cursor:"pointer",padding:e.spacing(.5,1),fontSize:12,fontWeight:500,fontFamily:e.typography.fontFamily,color:t?e.palette.text.primary:e.palette.text.secondary,borderBottom:t?`1px solid ${e.palette.text.secondary}`:"1px solid transparent",transition:"color 150ms ease, border-color 150ms ease","&:hover":{color:e.palette.text.primary}})),z=(0,c.styled)(l.Box)(({theme:e})=>({fontFamily:"monospace",fontSize:e.spacing(1.5),"& *":{fontFamily:"inherit",fontSize:"inherit"}})),B=(0,c.styled)(l.Box)(({theme:e})=>({fontFamily:"monospace",fontSize:e.spacing(1.5),"& *":{fontFamily:"inherit",fontSize:"inherit"}})),O=(0,c.styled)(a.Typography)(({theme:e})=>({fontSize:e.spacing(1.5),fontWeight:400,fontFamily:"monospace"})),L=(0,c.styled)(O)(({theme:e})=>({color:e.palette.syntax.addition})),P=(0,c.styled)(O)(({theme:e})=>({color:e.palette.syntax.deletion})),D=(0,c.styled)(O)(({theme:e})=>({color:e.palette.syntax.modification})),A=(0,c.styled)(O)(({theme:e})=>({color:e.palette.syntax.resourceType})),W=(0,c.styled)(a.Typography)(({theme:e})=>({marginTop:e.spacing(2),color:e.palette.syntax.resourceType}));function M({expanded:e,title:t,icon:l=(0,x.jsx)(x.Fragment,{}),time:s,children:c,onChange:d,stickyHeader:u=!1,copyText:p,rightAction:h,autoScrollToEnd:m=!1}){let y=(0,r.useRef)(null),f=(0,r.useRef)(e);return(0,r.useEffect)(()=>{let t=!f.current;if(f.current=e,!m||!e||!t)return;let r=setTimeout(()=>{let e=y.current;if(!e)return;let t=e.parentElement;for(;t;){let{overflow:e,overflowY:r}=getComputedStyle(t);
1if(/auto|scroll/.test(e+r))break;t=t.parentElement}if(!t)return;let r=e.getBoundingClientRect().bottom-t.getBoundingClientRect().bottom;r>0&&t.scrollBy({top:r+16,behavior:"smooth"})},400);return()=>clearTimeout(r)},[e,m]),(0,x.jsxs)(_,{expanded:e,onChange:d,children:[(0,x.jsx)(T,{sx:{position:u?"sticky":"relative",top:u?-20:"unset",zIndex:u?1:"unset"},children:(0,x.jsxs)(n.FlexCenterRow,{gap:1,width:"100%",children:[l,void 0===t?(0,x.jsx)(o.Skeleton,{variant:"text",width:100,height:5,sx:{backgroundColor:"grey.30"}}):(0,x.jsx)(a.Typography,{sx:e=>({fontSize:e.spacing(1.5),fontWeight:500,color:e.palette.text.secondary,flexGrow:1}),children:t}),void 0===t?(0,x.jsx)(o.Skeleton,{variant:"text",width:50,height:5,sx:{backgroundColor:"grey.30"}}):s&&(0,x.jsx)(a.Typography,{sx:e=>({fontSize:e.spacing(1.5),fontWeight:500,color:e.palette.text.secondary}),children:s}),e&&p&&(0,x.jsx)("span",{onClick:e=>e.stopPropagation(),children:(0,x.jsx)(i.TextCopy,{text:p,sx:{fontSize:14,color:"text.secondary"}})}),h&&(0,x.jsx)("span",{onClick:e=>e.stopPropagation(),children:h})]})}),(0,x.jsx)(k,{ref:y,children:c})]})}var H=(e,t)=>{let r=((e,t)=>{switch(e){case"minus":return t.match(/^(\s*)-/);case"tilde":return t.match(/^(\s*)~/);default:return t.match(/^(\s*)\+/)}})(t,e);if(!r)return e;let o=r[1],a=e.slice(r[0].length);return(0,x.jsxs)(x.Fragment,{children:[o," ","plus"===t?(0,x.jsx)(L,{component:"span",children:"+"}):"minus"===t?(0,x.jsx)(P,{component:"span",children:"-"}):(0,x.jsx)(D,{component:"span",children:"~"}),a]})},E=({diffs:e})=>(0,x.jsx)(l.Box,{children:e.map((e,t)=>(0,x.jsx)(C,{children:e.split(RegExp("(?<=\\n)")).map((e,t)=>{let r=e.trim();return r.startsWith("+ ")?(0,x.jsx)(O,{children:H(e,"plus")},t):r.startsWith("- ")?(0,x.jsx)(O,{children:H(e,"minus")},t):r.startsWith("~ ")?(0,x.jsx)(O,{children:H(e,"tilde")},t):r.startsWith("Resources:")?(0,x.jsx)(A,{component:"span",children:e},t):(0,x.jsx)(O,{component:"span",children:e},t)})},t))});function F(e,o){let a,n,i,l=(0,t.c)(7),s=void 0===o?50:o,[c,d]=(0,r.useState)(!1),[u,p]=(0,r.useState)(!1);return l[0]!==s||l[1]!==e?(a=()=>{let t=()=>{let t=e.current;if(!t)return;let{scrollTop:r,scrollHeight:o,clientHeight:a}=t;d(r>s),p(r+a<o-s)},r=e.current;if(!r)return;r.addEventListener("scroll",t);let o=new ResizeObserver(()=>t());return o.observe(r),window.addEventListener("resize",t),t(),()=>{r.removeEventListener("scroll",t),window.removeEventListener("resize",t),o.disconnect()}},n=[e,s],l[0]=s,l[1]=e,l[2]=a,l[3]=n):(a=l[2],n=l[3]),(0,r.useEffect)(a,n),l[4]!==u||l[5]!==c?(i={showUp:c,showDown:u},l[4]=u,l[5]=c,l[6]=i):i=l[6],i}var J=(0,c.styled)(m)(({theme:e})=>({color:e.palette.text.disabled,backgroundColor:e.palette.exceptions[45],padding:e.spacing(1.25),fontSize:e.spacing(4.5),borderRadius:"50%"}));
1function N({showUp:e,showDown:t,onScrollUp:r,onScrollDown:o}){return(0,x.jsxs)(s.Stack,{position:"absolute",right:40,bottom:24,gap:1,zIndex:2,children:[e&&(0,x.jsx)(J,{onClick:r}),t&&(0,x.jsx)(J,{onClick:o,sx:{rotate:"180deg"}})]})}e.s(["DiffAddition",()=>L,"DiffDeletion",()=>P,"DiffLines",()=>E,"DiffModification",()=>D,"DiffOperationTitle",()=>W,"DiffTypo",()=>O,"LogContentWell",()=>w,"LogOutputContainer",()=>B,"LogPanel",()=>S,"LogPre",()=>C,"LogSection",()=>M,"LogSectionAccordion",()=>_,"LogSectionDetails",()=>k,"LogSectionSummary",()=>T,"LogSummaryContainer",()=>z,"LogTab",()=>I,"LogTabGroup",()=>R,"ScrollControls",()=>N,"useScrollPositionVisibility",()=>F],890931)},96134,591060,572570,302223,e=>{"use strict";var t=e.i(396115),r=e.i(831761),o=e.i(991001),a=e.i(788217),n=e.i(13897),i=e.i(968460),l=e.i(394488);let s=(0,i.default)((0,l.jsx)("path",{d:"M18.6 19.5H21v2h-6v-6h2v2.73c1.83-1.47 3-3.71 3-6.23 0-4.07-3.06-7.44-7-7.93V2.05c5.05.5 9 4.76 9 9.95 0 2.99-1.32 5.67-3.4 7.5M4 12c0-2.52 1.17-4.77 3-6.23V8.5h2v-6H3v2h2.4C3.32 6.33 2 9.01 2 12c0 5.19 3.95 9.45 9 9.95v-2.02c-3.94-.49-7-3.86-7-7.93m12.24-3.89-5.66 5.66-2.83-2.83-1.41 1.41 4.24 4.24 7.07-7.07z"}),"PublishedWithChangesOutlined");var c=e.i(738507);let d=(0,i.default)((0,l.jsx)("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10zM21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"InputOutlined");var u=e.i(142455),p=e.i(931762),h=e.i(846365),x=e.i(721109);let m=(0,i.default)((0,l.jsx)("path",{d:"M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7zM20.1 3H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M19 19H5V5h14z"}),"ListAltOutlined");var y=e.i(88621),f=e.i(103661),g=e.i(446080),b=e.i(871134),v=e.i(963182);let j=(0,i.default)((0,l.jsx)("path",{d:"M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"}),"CompareArrowsOutlined");var S=e.i(590577);let _=(0,i.default)((0,l.jsx)("path",{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V6h4.05l1.83-2h4.24l1.83 2H20zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"}),"CameraAltOutlined"),T=(0,i.default)((0,l.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined"),k={init:o.default,refresh:a.default,preview:n.default,apply:s,destroy:c.default,import:d,protect:u.default,unprotect:p.default,remove:h.default,move:x.default,list:m,show:n.default,download:y.default,upload:f.default,taint:g.default,untaint:b.default,replace:v.default,"targeted-refresh":a.default,"targeted-destroy":c.default,"migrate-backend":j,"rotate-passphrase":S.default,capture:_,unknown:T},w={safe:"text.secondary",caution:"text.secondary",destructive:"error.40"};function C(e){return k[e]??T}let R=e=>{let o,a,n,i=(0,r.c)(8),{iconKey:l,riskClass:s,fontSize:c}=e,d=void 0===c?20:c;i[0]!==l?(o=C(l),i[0]=l,i[1]=o):o=i[1];let u=o,p=w[void 0===s?"safe":s];return i[2]!==d||i[3]!==p?(a={fontSize:d,color:p},i[2]=d,i[3]=p,i[4]=a):a=i[4],i[5]!==u||i[6]!==a?(n=(0,t.jsx)(u,{sx:a}),i[5]=u,i[6]=a,i[7]=n):n=i[7],n};e.s(["OperationIcon",0,R,"getOperationIconComponent",()=>C],591060);var I=e.i(68241),z=e.i(362282),B=e.i(939670),O=e.i(51133),L=e.i(306515),P=e.i(776976);let D=e=>{let o,a,n,i,l,s,c,d,u=(0,r.c)(21),{variant:p,title:h,children:x}=e,m="warning"===(void 0===p?"info":p),y=m?"warning.main":"divider",f=m?"warning.main":"text.secondary",g=m?P.default:L.default;return u[0]!==y||u[1]!==m?(o=e=>({borderLeft:"3px solid",borderColor:y,backgroundColor:m?(0,O.alpha)(e.palette.warning.main,.06):(0,O.alpha)(e.palette.text.primary,.03),borderRadius:1,px:1.5,py:1}),u[0]=y,u[1]=m,u[2]=o):o=u[2],u[3]!==f?(a={fontSize:18,color:f,mt:"2px"},u[3]=f,u[4]=a):a=u[4],u[5]!==g||u[6]!==a?(n=(0,t.jsx)(g,{sx:a}
1),u[5]=g,u[6]=a,u[7]=n):n=u[7],u[8]!==h?(i=h&&(0,t.jsx)(B.Typography,{variant:"caption",sx:{fontWeight:600,color:"text.primary",display:"block"},children:h}),u[8]=h,u[9]=i):i=u[9],u[10]!==x?(l=(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",children:x}),u[10]=x,u[11]=l):l=u[11],u[12]!==i||u[13]!==l?(s=(0,t.jsxs)(I.Box,{children:[i,l]}),u[12]=i,u[13]=l,u[14]=s):s=u[14],u[15]!==n||u[16]!==s?(c=(0,t.jsxs)(z.Stack,{direction:"row",spacing:1,alignItems:"flex-start",children:[n,s]}),u[15]=n,u[16]=s,u[17]=c):c=u[17],u[18]!==o||u[19]!==c?(d=(0,t.jsx)(I.Box,{sx:o,children:c}),u[18]=o,u[19]=c,u[20]=d):d=u[20],d};e.i(614330);var A=e.i(278357),W=e.i(565462),M=e.i(642668);let H={[W.StackJobOperationType.update]:{outcome:{succeeded:"Infrastructure updated",failed:"Update failed",noChanges:"Already up to date"}},[W.StackJobOperationType.update_preview]:{outcome:{succeeded:"Preview complete",failed:"Preview failed",noChanges:"No changes detected"}},[W.StackJobOperationType.refresh]:{outcome:{succeeded:"State refreshed",failed:"Refresh failed",noChanges:"No drift detected"}},[W.StackJobOperationType.destroy]:{outcome:{succeeded:"Infrastructure destroyed",failed:"Destroy failed",noChanges:"Nothing to destroy"}},[W.StackJobOperationType.destroy_preview]:{outcome:{succeeded:"Destroy preview complete",failed:"Destroy preview failed",noChanges:"No changes detected"}},[W.StackJobOperationType.state_download]:{securityNote:"The exported state file contains all secrets in plaintext. Do not commit it to version control or share it over unencrypted channels."},[W.StackJobOperationType.state_upload]:{securityNote:"Uploading replaces the entire current state. Resources absent from the uploaded file will no longer be tracked.",outcome:{succeeded:"State uploaded",failed:"Upload failed"}},[W.StackJobOperationType.state_protect]:{outcome:{succeeded:"Resource protected",failed:"Couldn't protect the resource"}},[W.StackJobOperationType.state_unprotect]:{outcome:{succeeded:"Protection removed",failed:"Couldn't remove protection"}},[W.StackJobOperationType.state_remove]:{outcome:{succeeded:"Resource removed from state",failed:"Couldn't remove the resource"}},[W.StackJobOperationType.state_move]:{outcome:{succeeded:"Resource moved",failed:"Couldn't move the resource"}},[W.StackJobOperationType.state_taint]:{outcome:{succeeded:"Resource tainted",failed:"Couldn't taint the resource"}},[W.StackJobOperationType.state_untaint]:{outcome:{succeeded:"Taint cleared",failed:"Couldn't clear the taint"}},[W.StackJobOperationType.state_replace]:{outcome:{succeeded:"Resource replaced",failed:"Couldn't replace the resource"}},[W.StackJobOperationType.targeted_refresh]:{outcome:{succeeded:"Resource state refreshed",failed:"Couldn't refresh the resource"}},[W.StackJobOperationType.targeted_destroy]:{outcome:{succeeded:"Resource destroyed",failed:"Couldn't destroy the resource"}},[W.StackJobOperationType.state_migrate_backend]:{securityNote:"The previous backend still holds a copy of the state until you remove it. Verify the migrated state before deleting the old backend.",outcome:{succeeded:"State backend migrated",failed:"Backend migration failed"}},[W.StackJobOperationType.state_rotate_passphrase]:{outcome:{succeeded:"Secrets passphrase rotated",failed:"Passphrase rotation failed"}}};function E(e){if(void 0!==e)return H[e]}function F(e,t,r=!1){let o=E(e)?.outcome;if(o)switch(t){case M.WorkflowExecutionResult.succeeded:case M.WorkflowExecutionResult.discovered:return r&&o.noChanges?o.noChanges:o.succeeded;case M.WorkflowExecutionResult.failed:return o.failed;default:return}}let J={safe:void 0,caution:"warning.main",destructive:"error.main"},N=e=>{let o,a,n,i,l,s,c,d,u,p,h=(0,r.c)(25),{operation:x,provisioner:m}=e;h[0]!==x||h[1]!==m?(o=(0,A.getOperationMeta)(x,m),h[0]=x,h[1]=m,h[2]=o):o=h[2];let y=o;if(!y)return null;h[3]!==x?(a=E(x),h[3]=x,h[4]=a):a=h[4];let f=a,g=J[y.riskClass];return h[5]!==g?(n={display:"flex",alignItems:"center",gap:1.25,...g?{borderLeft:"3px solid",borderColor:g,pl:1.25}:{}},h[5]=g,h[6]=n):n=h[6],h[7]!==y.iconKey||h[8]!==y.riskClass?(i=(0,t.jsx)(R,{iconKey:y.iconKey,riskClass:y.riskClass,fontSize:22}),h[7]=y.iconKey,h[8]=y.riskClass,h[9]=i):i=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(l={fontWeight:600,color:"text.primary",fontFamily:"monospace"},h[10]=l):l=h[10],h[11]!==y.label?(s=(0,t.jsx)(B.Typography,{variant:"subtitle1",sx:l,children:y.label}),h[11]=y.label,h[12]=s):s=h[12],h[13]!==y.description?(c=(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",children:y.description}),h[13]=y.description,h[14]=c):c=h[14],h[15]!==n||h[16]!==i||h[17]!==s||h[18]!==c?(d=(0,t.jsxs)(I.Box,{sx:n,children:[i,s,c]}),h[15]=n,h[16]=i,h[17]=s,h[18]=c,h[19]=d):d=h[19],h[20]!==f?(u=f?.securityNote&&(0,t.jsx)(D,{variant:"warning",title:"Handle with care",children:f.securityNote}),h[20]=f,h[21]=u):u=h[21],h[22]!==d||h[23]!==u?(p=(0,t.jsxs)(z.Stack,{spacing:1,children:[d,u]}),h[22]=d,h[23]=u,h[24]=p):p=h[24],p};e.s(["OperationSummaryHeader",0,N],572570);var V=e.i(329806);let $=e=>{let o,a,n,i,l,s,c=(0,r.c)(16),{result:d,status:u,title:p,ranAtLabel:h}=e;return c[0]!==d||c[1]!==u?(o=(0,t.jsx)(V.WorkflowExecutionIcon,{status:u,result:d,size:22}),c[0]=d,c[1]=u,c[2]=o):o=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(a={fontWeight:600,color:"text.primary"},c[3]=a):a=c[3],c[4]!==d||c[5]!==u||c[6]!==p?(n=p??(0,V.getStatusLabel)(u,d),c[4]=d,c[5]=u,c[6]=p,c[7]=n):n=c[7],c[8]!==n?(i=(0,t.jsx)(B.Typography,{variant:"subtitle1",sx:a,children:n}),c[8]=n,c[9]=i):i=c[9],c[10]!==h?(l=h&&(0,t.jsxs)(B.Typography,{variant:"body2",color:"text.secondary",children:["·"," ",h]}),c[10]=h,c[11]=l):l=c[11],c[12]!==o||c[13]!==i||c[14]!==l?(s=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,flexWrap:"wrap",children:[o,i,l]}),c[12]=o,c[13]=i,c[14]=l,c[15]=s):s=c[15],s};var U=e.i(570926),K=e.i(890931),G=e.i(174495),q=e.i(664307),X=e.i(581701),Y=e.i(490254);let Z=e=>{let o,a,n,i,l,s=(0,r.c)(9),{title:c,rightMeta:d}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(o={width:"100%"},s[0]=o):o=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(a={fontWeight:600,color:"text.secondary"},s[1]=a):a=s[1],s[2]!==c?(n=(0,t.jsx)(B.Typography,{variant:"caption",sx:a,children:c}),s[2]=c,s[3]=n):n=s[3],s[4]!==d?(i=d&&(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:d}),s[4]=d,s[5]=i):i=s[5],s[6]!==n||s[7]!==i?(l=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:1,sx:o,children:[n,i]}),s[6]=n,s[7]=i,s[8]=l):l=s[8],l},Q=e=>{let o,a,n,i,l,s=(0,r.c)(24),{title:c,rightMeta:d,collapsible:u,defaultExpanded:p,flushContent:h,children:x}=e,m=void 0!==p&&p,y=void 0!==h&&h;s[0]!==y?(o=y?void 0:{p:1.5},s[0]=y,s[1]=o):o=s[1];let f=o;if(void 0!==u&&u){let e,r,o,a,n;return s[2]===Symbol.for("react.memo_cache_sentinel")?(e={border:1,borderColor:"divider",borderRadius:1,overflow:"hidden","&:before":{display:"none"},bgcolor:"transparent"},s[2]=e):e=s[2],s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(Y.default,{sx:{fontSize:18}}),s[3]=r):r=s[3],s[4]!==d||s[5]!==c?(o=(0,t.jsx)(X.AccordionSummary,{expandIcon:r,sx:ee,children:(0,t.jsx)(Z,{title:c,rightMeta:d})}),s[4]=d,s[5]=c,s[6]=o):o=s[6],s[7]!==x||s[8]!==f?(a=(0,t.jsx)(q.AccordionDetail
1s,{sx:f,children:x}),s[7]=x,s[8]=f,s[9]=a):a=s[9],s[10]!==m||s[11]!==o||s[12]!==a?(n=(0,t.jsxs)(G.Accordion,{defaultExpanded:m,disableGutters:!0,elevation:0,square:!0,sx:e,children:[o,a]}),s[10]=m,s[11]=o,s[12]=a,s[13]=n):n=s[13],n}return s[14]===Symbol.for("react.memo_cache_sentinel")?(a={border:1,borderColor:"divider",borderRadius:1,overflow:"hidden"},s[14]=a):a=s[14],s[15]!==d||s[16]!==c?(n=(0,t.jsx)(I.Box,{sx:et,children:(0,t.jsx)(Z,{title:c,rightMeta:d})}),s[15]=d,s[16]=c,s[17]=n):n=s[17],s[18]!==x||s[19]!==f?(i=(0,t.jsx)(I.Box,{sx:f,children:x}),s[18]=x,s[19]=f,s[20]=i):i=s[20],s[21]!==n||s[22]!==i?(l=(0,t.jsxs)(I.Box,{sx:a,children:[n,i]}),s[21]=n,s[22]=i,s[23]=l):l=s[23],l};function ee(e){return{bgcolor:(0,O.alpha)(e.palette.text.primary,.03),minHeight:0,px:1.25,"& .MuiAccordionSummary-content":{my:.75}}}function et(e){return{bgcolor:(0,O.alpha)(e.palette.text.primary,.03),px:1.25,py:.75,borderBottom:1,borderColor:"divider"}}let er=e=>{let o,a,n,i,l,s,c=(0,r.c)(18),{summary:d}=e;if(!d)return null;let{created:u,updated:p,replaced:h,deleted:x,unchanged:m}=d;if(0===u+p+h+x){let e,r=m>0?` (${m} unchanged)`:"";return c[0]!==r?(e=(0,t.jsxs)(B.Typography,{variant:"body2",color:"text.secondary",children:["No changes â infrastructure already matches configuration",r,"."]}),c[0]=r,c[1]=e):e=c[1],e}return c[2]!==u?(o=u>0&&(0,t.jsxs)(K.DiffAddition,{component:"span",children:["+",u," created"]}),c[2]=u,c[3]=o):o=c[3],c[4]!==p?(a=p>0&&(0,t.jsxs)(K.DiffModification,{component:"span",children:["~",p," updated"]}),c[4]=p,c[5]=a):a=c[5],c[6]!==h?(n=h>0&&(0,t.jsxs)(K.DiffModification,{component:"span",children:["±",h," replaced"]}),c[6]=h,c[7]=n):n=c[7],c[8]!==x?(i=x>0&&(0,t.jsxs)(K.DiffDeletion,{component:"span",children:["-",x," deleted"]}),c[8]=x,c[9]=i):i=c[9],c[10]!==m?(l=m>0&&(0,t.jsxs)(B.Typography,{variant:"body2",color:"text.secondary",children:[m," unchanged"]}),c[10]=m,c[11]=l):l=c[11],c[12]!==o||c[13]!==a||c[14]!==n||c[15]!==i||c[16]!==l?(s=(0,t.jsxs)(z.Stack,{direction:"row",gap:2,flexWrap:"wrap",alignItems:"baseline",children:[o,a,n,i,l]}),c[12]=o,c[13]=a,c[14]=n,c[15]=i,c[16]=l,c[17]=s):s=c[17],s};var eo=e.i(273413),ea=e.i(909433),en=e.i(507316),ei=e.i(876501),el=e.i(932170);let es={create:"created",update:"updated",replace:"replaced",delete:"deleted",unchanged:"unchanged",other:""},ec=["create","update","replace","delete"],ed={color:"text.secondary",fontWeight:600,borderColor:"divider",py:.5},eu={borderColor:"divider",py:.5},ep=e=>{let o,a,n,i,l,s,c,d,u,p=(0,r.c)(19),{deltas:h}=e;if(p[0]!==h){c=Symbol.for("react.early_return_sentinel");e:{let e=h.filter(eh);if(0===e.length){c=null;break e}a=eo.Table,i="small",p[8]===Symbol.for("react.memo_cache_sentinel")?(l={"& td, & th":{fontSize:"0.8125rem"}},p[8]=l):l=p[8],p[9]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(ei.TableHead,{children:(0,t.jsxs)(el.TableRow,{children:[(0,t.jsx)(en.TableCell,{sx:ed,children:"Type"}),(0,t.jsx)(en.TableCell,{sx:ed,children:"Name"}),(0,t.jsx)(en.TableCell,{sx:ed,children:"Status"})]})}),p[9]=s):s=p[9],o=ea.TableBody,n=e.map(ex)}p[0]=h,p[1]=o,p[2]=a,p[3]=n,p[4]=i,p[5]=l,p[6]=s,p[7]=c}else o=p[1],a=p[2],n=p[3],i=p[4],l=p[5],s=p[6],c=p[7];return c!==Symbol.for("react.early_return_sentinel")?c:(p[10]!==o||p[11]!==n?(d=(0,t.jsx)(o,{children:n}),p[10]=o,p[11]=n,p[12]=d):d=p[12],p[13]!==a||p[14]!==i||p[15]!==l||p[16]!==s||p[17]!==d?(u=(0,t.jsxs)(a,{size:i,sx:l,children:[s,d]}),p[13]=a,p[14]=i,p[15]=l,p[16]=s,p[17]=d,p[18]=u):u=p[18],u)};function eh(e){return ec.includes(e.changeType)}function ex(e,r){return(0,t.jsxs)(el.TableRow,{children:[(0,t.jsxs)(en.TableCell,{sx:eu,children:[(0,t.jsx)(B.Typography,{component:"span",variant:"body2",sx:{mr:1,fontFamily:"monospace"},children:(e=>{switch(e){case"create":return(0,t.jsx)(K.DiffAddition,{component:"span",children:"+"});case"update":return(0,t.jsx)(K.DiffModification,{component:"span",children:"~"});case"replace":return(0,t.jsx)(K.DiffModification,{component:"span",children:"±"});case"delete":return(0,t.jsx)(K.DiffDeletion,{component:"span",children:"-"});default:return(0,t.jsx)(B.Typography,{component:"span",color:"text.disabled",children:"·"})}})(e.changeType)}),(0,t.jsx)(B.Typography,{component:"span",variant:"body2",color:"text.primary",children:e.resourceKind})]}),(0,t.jsx)(en.TableCell,{sx:eu,children:(0,t.jsx)(B.Typography,{variant:"body2",color:"text.primary",children:e.resourceName})}),(0,t.jsx)(en.TableCell,{sx:eu,children:(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",children:es[e.changeType]})})]},`${e.resourceKind}-${e.resourceName}-${r}`)}let em={color:"text.secondary",fontWeight:600,borderColor:"divider",py:.5},ey={borderColor:"divider",py:.5},ef=e=>{let o,a,n,i,l=(0,r.c)(6),{outputs:s}=e;return 0===s.length?null:(l[0]===Symbol.for("react.memo_cache_sentinel")?(o={"& td, & th":{fontSize:"0.8125rem"}},l[0]=o):o=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(ei.TableHead,{children:(0,t.jsxs)(el.TableRow,{children:[(0,t.jsx)(en.TableCell,{sx:em,children:"Name"}),(0,t.jsx)(en.TableCell,{sx:em,children:"Value"})]})}),l[1]=a):a=l[1],l[2]!==s?(n=s.map(eg),l[2]=s,l[3]=n):n=l[3],l[4]!==n?(i=(0,t.jsxs)(eo.Table,{size:"small",sx:o,children:[a,(0,t.jsx)(ea.TableBody,{children:n})]}),l[4]=n,l[5]=i):i=l[5],i)};function eg(e,r){return(0,t.jsxs)(el.TableRow,{children:[(0,t.jsx)(en.TableCell,{sx:ey,children:(0,t.jsx)(B.Typography,{variant:"body2",color:"text.primary",sx:{fontFamily:"monospace"},children:e.name})}),(0,t.jsx)(en.TableCell,{sx:ey,children:(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",sx:{fontFamily:"monospace"},children:e.value})})]},`${e.name}-${r}`)}let eb=e=>{let o,a,n,i,l,s,c=(0,r.c)(14),{summary:d}=e;if(!d)return null;let{created:u,updated:p,replaced:h,deleted:x}=d;return u+p+h+x===0?null:(c[0]===Symbol.for("react.memo_cache_sentinel")?(o={fontSize:"0.75rem"},c[0]=o):o=c[0],c[1]!==u?(a=u>0&&(0,t.jsxs)(K.DiffAddition,{component:"span",children:["+",u]}),c[1]=u,c[2]=a):a=c[2],c[3]!==p?(n=p>0&&(0,t.jsxs)(K.DiffModification,{component:"span",children:["~",p]}),c[3]=p,c[4]=n):n=c[4],c[5]!==h?(i=h>0&&(0,t.jsxs)(K.DiffModification,{component:"span",children:["±",h]}),c[5]=h,c[6]=i):i=c[6],c[7]!==x?(l=x>0&&(0,t.jsxs)(K.DiffDeletion,{component:"span",children:["-",x]}),c[7]=x,c[8]=l):l=c[8],c[9]!==a||c[10]!==n||c[11]!==i||c[12]!==l?
1(s=(0,t.jsxs)(z.Stack,{direction:"row",gap:.75,alignItems:"baseline",sx:o,children:[a,n,i,l]}),c[9]=a,c[10]=n,c[11]=i,c[12]=l,c[13]=s):s=c[13],s)},ev=e=>{let o,a,n,i,l,s,c,d,u,p,h,x,m,y=(0,r.c)(46),{phase:f}=e;y[0]===Symbol.for("react.memo_cache_sentinel")?(o={minWidth:0},y[0]=o):o=y[0],y[1]!==f.result||y[2]!==f.status?(a=(0,t.jsx)(V.WorkflowExecutionIcon,{status:f.status,result:f.result,size:14}),y[1]=f.result,y[2]=f.status,y[3]=a):a=y[3],y[4]===Symbol.for("react.memo_cache_sentinel")?(n={fontWeight:600,color:"text.secondary",fontFamily:"monospace"},y[4]=n):n=y[4],y[5]!==f.label?(i=(0,t.jsx)(B.Typography,{variant:"caption",sx:n,children:f.label}),y[5]=f.label,y[6]=i):i=y[6],y[7]!==a||y[8]!==i?(l=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:.75,sx:o,children:[a,i]}),y[7]=a,y[8]=i,y[9]=l):l=y[9];let g=l;y[10]!==f.changeSummary?(s=(0,t.jsx)(eb,{summary:f.changeSummary}),y[10]=f.changeSummary,y[11]=s):s=y[11],y[12]!==f.durationLabel?(c=f.durationLabel&&(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:f.durationLabel}),y[12]=f.durationLabel,y[13]=c):c=y[13],y[14]!==s||y[15]!==c?(d=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,children:[s,c]}),y[14]=s,y[15]=c,y[16]=d):d=y[16];let b=d;if(y[17]!==f.changeSummary||y[18]!==f.deltas||y[19]!==f.diffs.length||y[20]!==f.outputs.length){if(u=[],f.changeSummary||f.deltas.length>0){let e;y[22]===Symbol.for("react.memo_cache_sentinel")?(e={id:"summary",label:"Summary"},y[22]=e):e=y[22],u.push(e)}if(f.diffs.length>0){let e;y[23]===Symbol.for("react.memo_cache_sentinel")?(e={id:"diff",label:"Diff"},y[23]=e):e=y[23],u.push(e)}if(f.outputs.length>0){let e;y[24]===Symbol.for("react.memo_cache_sentinel")?(e={id:"outputs",label:"Outputs"},y[24]=e):e=y[24],u.push(e)}y[17]=f.changeSummary,y[18]=f.deltas,y[19]=f.diffs.length,y[20]=f.outputs.length,y[21]=u}else u=y[21];let[v,j]=(0,U.useState)(u[0]?.id??"summary");y[25]!==v||y[26]!==u?(p=u.some(e=>e.id===v)?v:u[0]?.id??"summary",y[25]=v,y[26]=u,y[27]=p):p=y[27];let S=p,_=f.result===M.WorkflowExecutionResult.skipped,T=(f.preludeMessages?.length??0)>0;return y[28]!==S||y[29]!==T||y[30]!==_||y[31]!==f.changeSummary||y[32]!==f.deltas||y[33]!==f.diffs||y[34]!==f.outputs||y[35]!==f.preludeMessages||y[36]!==u?(h=_?(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",children:"This phase was skipped for this stack job."}):u.length>0?(0,t.jsxs)(z.Stack,{gap:1.5,children:[u.length>1&&(0,t.jsx)(z.Stack,{direction:"row",justifyContent:"flex-end",children:(0,t.jsx)(K.LogTabGroup,{children:u.map(e=>(0,t.jsx)(K.LogTab,{$isActive:S===e.id,onClick:()=>j(e.id),children:e.label},e.id))})}),"summary"===S&&(0,t.jsxs)(z.Stack,{gap:1.5,children:[(0,t.jsx)(er,{summary:f.changeSummary}),(0,t.jsx)(ep,{deltas:f.deltas})]}),"diff"===S&&(0,t.jsx)(K.DiffLines,{diffs:f.diffs}),"outputs"===S&&(0,t.jsx)(ef,{outputs:f.outputs})]}):T?(0,t.jsx)(I.Box,{sx:{fontFamily:"monospace",fontSize:"0.75rem",color:"text.secondary"},children:f.preludeMessages.map(ej)}):null,y[28]=S,y[29]=T,y[30]=_,y[31]=f.changeSummary,y[32]=f.deltas,y[33]=f.diffs,y[34]=f.outputs,y[35]=f.preludeMessages,y[36]=u,y[37]=h):h=y[37],y[38]!==f.errors?(x=f.errors&&f.errors.length>0&&(0,t.jsx)(B.Typography,{variant:"caption",color:"error.main",sx:{display:"block",mt:1,whiteSpace:"pre-wrap"},children:f.errors.join("\n")}),y[38]=f.errors,y[39]=x):x=y[39],y[40]!==f.isPrimary||y[41]!==b||y[42]!==h||y[43]!==x||y[44]!==g?(m=(0,t.jsxs)(Q,{title:g,rightMeta:b,collapsible:!0,defaultExpanded:f.isPrimary,children:[h,x]}),y[40]=f.isPrimary,y[41]=b,y[42]=h,y[43]=x,y[44]=g,y[45]=m):m=y[45],m};function ej(e,r){return(0,t.jsx)(I.Box,{sx:{whiteSpace:"pre-wrap"},children:e},r)}let eS=e=>{let o,a,n,i,l,s,c=(0,r.c)(18),{operation:d,outcome:u,deploy:p}=e;c[0]!==p?.phases?(o=p?.phases??[],c[0]=p?.phases,c[1]=o):o=c[1];let h=o;c[2]!==h?(a=h.find(e_),c[2]=h,c[3]=a):a=c[3];let x=a,m=0===(x?.changeSummary?x.changeSummary.created+x.changeSummary.updated+x.changeSummary.replaced+x.changeSummary.deleted:void 0),y=u.result,f=u.status;return c[4]!==m||c[5]!==d||c[6]!==u.result?(n=F(d,u.result,m),c[4]=m,c[5]=d,c[6]=u.result,c[7]=n):n=c[7],c[8]!==u.ranAtLabel||c[9]!==u.result||c[10]!==u.status||c[11]!==n?(i=(0,t.jsx)($,{result:y,status:f,title:n,ranAtLabel:u.ranAtLabel}),c[8]=u.ranAtLabel,c[9]=u.result,c[10]=u.status,c[11]=n,c[12]=i):i=c[12],c[13]!==h?(l=0===h.length?(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",children:"Phase details will appear here as the job runs."}):h.map(eT),c[13]=h,c[14]=l):l=c[14],c[15]!==i||c[16]!==l?(s=(0,t.jsxs)(z.Stack,{gap:2,children:[i,l]}),c[15]=i,c[16]=l,c[17]=s):s=c[17],s};function e_(e){return e.isPrimary}function eT(e){return(0,t.jsx)(ev,{phase:e},e.operationType)}let ek=e=>{let o,n,i=(0,r.c)(4),{reconciliation:l}=e;if(!l)return null;let s=l.changedCount+l.unchangedCount;i[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(a.default,{sx:{fontSize:16,color:"text.secondary"}}),i[0]=o):o=i[0];let c=l.changedCount>0?` (${l.changedCount} updated)`:" (no changes)";return i[1]!==c||i[2]!==s?(n=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,children:[o,(0,t.jsxs)(B.Typography,{variant:"body2",color:"text.secondary",children:["Refresh reconciled ",s," resources",c]})]}),i[1]=c,i[2]=s,i[3]=n):n=i[3],n},ew=e=>{let o,a,n,i=(0,r.c)(7),{phases:l,defaultExpanded:s}=e,c=void 0!==s&&s;return 0===l.length?null:(i[0]!==l?(o=l.map(eC),i[0]=l,i[1]=o):o=i[1],i[2]!==o?(a=(0,t.jsx)(z.Stack,{gap:1,children:o}),i[2]=o,i[3]=a):a=i[3],i[4]!==c||i[5]!==a?(n=(0,t.jsx)(Q,{title:"Execution detail",collapsible:!0,defaultExpanded:c,children:a}),i[4]=c,i[5]=a,i[6]=n):n=i[6],n)};function eC(e,r){return(0,t.jsxs)(I.Box,{children:[(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:1,children:[(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,sx:{minWidth:0},children:[(0,t.jsx)(V.WorkflowExecutionIcon,{status:e.status,result:e.result,size:14}),(0,t.jsx)(B.Typography,{variant:"body2",sx:{color:"text.primary"},children:e.label})]}),e.durationLabel&&(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:e.durationLabel})]}),e.errors&&e.errors.length>0&&(0,t.jsx)(B.Typography,{variant:"caption",color:"error.main",sx:{dis
1play:"block",mt:.5,ml:2.75,whiteSpace:"pre-wrap"},children:e.errors.join("\n")})]},`${e.label}-${r}`)}var eR=e.i(233295),eI=e.i(853908);let ez=e=>{let o,a,n,i,l,s,c,d=(0,r.c)(13),{label:u,value:p}=e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(o={minWidth:0},d[0]=o):o=d[0],d[1]!==u?(a=u&&(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",sx:{minWidth:64},children:u}),d[1]=u,d[2]=a):a=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(n={wordBreak:"break-all",color:"text.primary"},d[3]=n):n=d[3],d[4]!==p?(i=(0,t.jsx)(B.Typography,{variant:"body2",sx:n,children:p}),d[4]=p,d[5]=i):i=d[5],d[6]===Symbol.for("react.memo_cache_sentinel")?(l={color:"text.secondary"},d[6]=l):l=d[6],d[7]!==p?(s=(0,t.jsx)(eI.TextCopy,{text:p,sx:l}),d[7]=p,d[8]=s):s=d[8],d[9]!==a||d[10]!==i||d[11]!==s?(c=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,sx:o,children:[a,i,s]}),d[9]=a,d[10]=i,d[11]=s,d[12]=c):c=d[12],c},eB=e=>{let o,a=(0,r.c)(3),{source:n,destination:i}=e;return i?(a[0]!==i||a[1]!==n?(o=(0,t.jsx)(Q,{title:"Backend",children:n?(0,t.jsxs)(z.Stack,{gap:1,children:[(0,t.jsx)(ez,{label:"From",value:n}),(0,t.jsx)(I.Box,{sx:{display:"flex",alignItems:"center",color:"text.disabled",pl:"64px"},children:(0,t.jsx)(eR.default,{sx:{fontSize:16,transform:"rotate(90deg)"}})}),(0,t.jsx)(ez,{label:"To",value:i})]}):(0,t.jsx)(ez,{label:"To",value:i})}),a[0]=i,a[1]=n,a[2]=o):o=a[2],o):null},eO=e=>{let o,a=(0,r.c)(2),{children:n}=e;return a[0]!==n?(o=(0,t.jsx)(z.Stack,{gap:2,sx:eL,children:n}),a[0]=n,a[1]=o):o=a[1],o};function eL(e){return{border:1,borderColor:"divider",borderRadius:2,p:2,bgcolor:(0,O.alpha)(e.palette.text.primary,.015)}}var eP=e.i(734052),eD=e.i(677737);let eA=e=>{let o,a,n,i,l,s,c,d,u,p,h=(0,r.c)(19),{format:x,sizeBytes:m,onDownload:f}=e;if(h[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",children:"Format"}),h[0]=o):o=h[0],h[1]!==x?(a=function(e){switch(e){case"pulumi-deployment-v3":return"Pulumi Deployment v3";case"terraform-state-v4":return"Terraform State v4";default:return e}}(x),h[1]=x,h[2]=a):a=h[2],h[3]!==a?(n=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,children:[o,(0,t.jsx)(eD.Chip,{label:a,size:"small",variant:"outlined"})]}),h[3]=a,h[4]=n):n=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",children:"Size"}),h[5]=i):i=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(l={fontWeight:500},h[6]=l):l=h[6],h[7]!==m)s=m<1024?`${m} B`:m<1048576?`${(m/1024).toFixed(1)} KB`:`${(m/1048576).toFixed(1)} MB`,h[7]=m,h[8]=s;else s=h[8];return h[9]!==s?(c=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,children:[i,(0,t.jsx)(B.Typography,{variant:"body2",sx:l,children:s})]}),h[9]=s,h[10]=c):c=h[10],h[11]!==n||h[12]!==c?(d=(0,t.jsxs)(z.Stack,{gap:1,children:[n,c]}),h[11]=n,h[12]=c,h[13]=d):d=h[13],h[14]!==f?(u=f&&(0,t.jsx)(eP.Button,{variant:"contained",startIcon:(0,t.jsx)(y.default,{}),onClick:f,children:"Download file"}),h[14]=f,h[15]=u):u=h[15],h[16]!==d||h[17]!==u?(p=(0,t.jsx)(I.Box,{sx:eW,children:(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:2,flexWrap:"wrap",children:[d,u]})}),h[16]=d,h[17]=u,h[18]=p):p=h[18],p};function eW(e){return{borderRadius:1,p:2,bgcolor:(0,O.alpha)(e.palette.text.primary,.03)}}var eM=e.i(353408);let eH=e=>{let o,a,n,i,l,s,c,d,u=(0,r.c)(16),{title:p,description:h,onReRun:x,actionLabel:m,actionIcon:y}=e,f=void 0===m?"Re-run":m;return u[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(eM.default,{sx:{fontSize:20,color:"text.secondary",mt:"2px"}}),u[0]=o):o=u[0],u[1]===Symbol.for("react.memo_cache_sentinel")?(a={flex:1,minWidth:0},u[1]=a):a=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(n={color:"text.primary"},u[2]=n):n=u[2],u[3]!==p?(i=(0,t.jsx)(B.Typography,{variant:"subtitle2",sx:n,children:p}),u[3]=p,u[4]=i):i=u[4],u[5]===Symbol.for("react.memo_cache_sentinel")?(l={mt:.5},u[5]=l):l=u[5],u[6]!==h?(s=(0,t.jsx)(B.Typography,{variant:"body2",color:"text.secondary",sx:l,children:h}
1),u[6]=h,u[7]=s):s=u[7],u[8]!==y||u[9]!==f||u[10]!==x?(c=x&&(0,t.jsx)(eP.Button,{variant:"contained",size:"small",startIcon:y,onClick:x,sx:{mt:1.5},children:f}),u[8]=y,u[9]=f,u[10]=x,u[11]=c):c=u[11],u[12]!==i||u[13]!==s||u[14]!==c?(d=(0,t.jsx)(I.Box,{sx:eE,children:(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"flex-start",gap:1.5,children:[o,(0,t.jsxs)(I.Box,{sx:a,children:[i,s,c]})]})}),u[12]=i,u[13]=s,u[14]=c,u[15]=d):d=u[15],d};function eE(e){return{borderRadius:1,p:2,bgcolor:(0,O.alpha)(e.palette.text.primary,.03)}}let eF=e=>{let o,a,n,i,l,s,c,d=(0,r.c)(13),{label:u,value:p}=e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(o={minWidth:0},d[0]=o):o=d[0],d[1]!==u?(a=u&&(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",sx:{minWidth:64},children:u}),d[1]=u,d[2]=a):a=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(n={fontFamily:"monospace",wordBreak:"break-all",color:"text.primary"},d[3]=n):n=d[3],d[4]!==p?(i=(0,t.jsx)(B.Typography,{variant:"body2",sx:n,children:p}),d[4]=p,d[5]=i):i=d[5],d[6]===Symbol.for("react.memo_cache_sentinel")?(l={color:"text.secondary"},d[6]=l):l=d[6],d[7]!==p?(s=(0,t.jsx)(eI.TextCopy,{text:p,sx:l}),d[7]=p,d[8]=s):s=d[8],d[9]!==a||d[10]!==i||d[11]!==s?(c=(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,sx:o,children:[a,i,s]}),d[9]=a,d[10]=i,d[11]=s,d[12]=c):c=d[12],c},eJ=e=>{let o,a,n=(0,r.c)(7),{identifier:i,destination:l}=e;if(!i&&!l)return null;let s=!!l,c=s?"Move":"Resource";return n[0]!==l||n[1]!==i||n[2]!==s?(o=s?(0,t.jsxs)(z.Stack,{gap:1,children:[i&&(0,t.jsx)(eF,{label:"From",value:i}),(0,t.jsx)(I.Box,{sx:{display:"flex",alignItems:"center",color:"text.disabled",pl:"64px"},children:(0,t.jsx)(eR.default,{sx:{fontSize:16,transform:"rotate(90deg)"}})}),l&&(0,t.jsx)(eF,{label:"To",value:l})]}):i&&(0,t.jsx)(eF,{value:i}),n[0]=l,n[1]=i,n[2]=s,n[3]=o):o=n[3],n[4]!==c||n[5]!==o?(a=(0,t.jsx)(Q,{title:c,children:o}),n[4]=c,n[5]=o,n[6]=a):a=n[6],a},eN=e=>{let o,a,n,i,l,s,c=(0,r.c)(20),{operation:d,outcome:u,phases:p,subject:h,reconciliation:x}=e,m=u.result,y=u.status;c[0]!==d||c[1]!==u.result?(o=F(d,u.result),c[0]=d,c[1]=u.result,c[2]=o):o=c[2],c[3]!==u.ranAtLabel||c[4]!==u.result||c[5]!==u.status||c[6]!==o?(a=(0,t.jsx)($,{result:m,status:y,title:o,ranAtLabel:u.ranAtLabel}),c[3]=u.ranAtLabel,c[4]=u.result,c[5]=u.status,c[6]=o,c[7]=a):a=c[7];let f=h?.identifier,g=h?.destination;return c[8]!==f||c[9]!==g?(n=(0,t.jsx)(eJ,{identifier:f,destination:g}),c[8]=f,c[9]=g,c[10]=n):n=c[10],c[11]!==x?(i=(0,t.jsx)(ek,{reconciliation:x}),c[11]=x,c[12]=i):i=c[12],c[13]!==p?(l=(0,t.jsx)(ew,{phases:p}),c[13]=p,c[14]=l):l=c[14],c[15]!==a||c[16]!==n||c[17]!==i||c[18]!==l?(s=(0,t.jsxs)(z.Stack,{gap:2,children:[a,n,i,l]}),c[15]=a,c[16]=n,c[17]=i,c[18]=l,c[19]=s):s=c[19],s}
1,eV={[W.StackJobOperationType.state_download]:e=>{let o,a,n,i,l,s=(0,r.c)(17),{outcome:c,phases:d,artifact:u,onReRun:p}=e,h=c.result===M.WorkflowExecutionResult.succeeded||c.result===M.WorkflowExecutionResult.discovered||c.result===M.WorkflowExecutionResult.failed||c.result===M.WorkflowExecutionResult.cancelled,x=c.result,m=c.status;return s[0]!==c.result?(o=function(e){switch(e){case M.WorkflowExecutionResult.succeeded:case M.WorkflowExecutionResult.discovered:return"State file exported";case M.WorkflowExecutionResult.failed:return"Download failed";case M.WorkflowExecutionResult.cancelled:return"Download cancelled";default:return}}(c.result),s[0]=c.result,s[1]=o):o=s[1],s[2]!==c.ranAtLabel||s[3]!==c.result||s[4]!==c.status||s[5]!==o?(a=(0,t.jsx)($,{result:x,status:m,title:o,ranAtLabel:c.ranAtLabel}),s[2]=c.ranAtLabel,s[3]=c.result,s[4]=c.status,s[5]=o,s[6]=a):a=s[6],s[7]!==u||s[8]!==h||s[9]!==p?(n=u?(0,t.jsx)(eA,{format:u.format,sizeBytes:u.sizeBytes,onDownload:u.onDownload}):h?(0,t.jsx)(eH,{title:"The download link has expired",description:"Exported state files aren't stored, and the secure download link expires about an hour after the operation runs. Re-run the download to get a fresh file.",actionLabel:"Re-run download",actionIcon:(0,t.jsx)(y.default,{}),onReRun:p}):null,s[7]=u,s[8]=h,s[9]=p,s[10]=n):n=s[10],s[11]!==d?(i=(0,t.jsx)(ew,{phases:d}),s[11]=d,s[12]=i):i=s[12],s[13]!==a||s[14]!==n||s[15]!==i?(l=(0,t.jsxs)(z.Stack,{gap:2,children:[a,n,i]}),s[13]=a,s[14]=n,s[15]=i,s[16]=l):l=s[16],l},[W.StackJobOperationType.state_upload]:e=>{let o,a,n,i,l,s=(0,r.c)(16),{operation:c,outcome:d,phases:u,reconciliation:p}=e,h=d.result,x=d.status;return s[0]!==c||s[1]!==d.result?(o=F(c,d.result),s[0]=c,s[1]=d.result,s[2]=o):o=s[2],s[3]!==d.ranAtLabel||s[4]!==d.result||s[5]!==d.status||s[6]!==o?(a=(0,t.jsx)($,{result:h,status:x,title:o,ranAtLabel:d.ranAtLabel}),s[3]=d.ranAtLabel,s[4]=d.result,s[5]=d.status,s[6]=o,s[7]=a):a=s[7],s[8]!==p?(n=(0,t.jsx)(ek,{reconciliation:p}),s[8]=p,s[9]=n):n=s[9],s[10]!==u?(i=(0,t.jsx)(ew,{phases:u}),s[10]=u,s[11]=i):i=s[11],s[12]!==a||s[13]!==n||s[14]!==i?(l=(0,t.jsxs)(z.Stack,{gap:2,children:[a,n,i]}),s[12]=a,s[13]=n,s[14]=i,s[15]=l):l=s[15],l},[W.StackJobOperationType.update]:eS,[W.StackJobOperationType.update_preview]:eS,[W.StackJobOperationType.refresh]:eS,[W.StackJobOperationType.destroy]:eS,[W.StackJobOperationType.destroy_preview]:eS,[W.StackJobOperationType.state_protect]:eN,[W.StackJobOperationType.state_unprotect]:eN,[W.StackJobOperationType.state_remove]:eN,[W.StackJobOperationType.state_move]:eN,[W.StackJobOperationType.state_taint]:eN,[W.StackJobOperationType.state_untaint]:eN,[W.StackJobOperationType.state_replace]:eN,[W.StackJobOperationType.targeted_refresh]:eN,[W.StackJobOperationType.targeted_destroy]:eN,[W.StackJobOperationType.state_migrate_backend]:e=>{let o,a,n,i,l,s=(0,r.c)(16),{operation:c,outcome:d,phases:u,backendMigration:p}=e,h=d.result,x=d.status;return s[0]!==c||s[1]!==d.result?(o=F(c,d.result),s[0]=c,s[1]=d.result,s[2]=o):o=s[2],s[3]!==d.ranAtLabel||s[4]!==d.result||s[5]!==d.status||s[6]!==o?(a=(0,t.jsx)($,{result:h,status:x,title:o,ranAtLabel:d.ranAtLabel}),s[3]=d.ranAtLabel,s[4]=d.result,s[5]=d.status,s[6]=o,s[7]=a):a=s[7],s[8]!==p?(n=p&&(0,t.jsx)(eB,{source:p.source,destination:p.destination}),s[8]=p,s[9]=n):n=s[9],s[10]!==u?(i=(0,t.jsx)(ew,{phases:u}),s[10]=u,s[11]=i):i=s[11],s[12]!==a||s[13]!==n||s[14]!==i?(l=(0,t.jsxs)(z.Stack,{gap:2,children:[a,n,i]}),s[12]=a,s[13]=n,s[14]=i,s[15]=l):l=s[15],l},[W.StackJobOperationType.state_rotate_passphrase]:e=>{let o,a,n,i,l,s=(0,r.c)(17),{operation:c,outcome:d,phases:u,passphraseRotation:p}=e,h=d.result===M.WorkflowExecutionResult.succeeded||d.result===M.WorkflowExecutionResult.discovered,x=d.result,m=d.status;return s[0]!==c||s[1]!==d.result?(o=F(c,d.result),s[0]=c,s[1]=d.result,s[2]=o):o=s[2],s[3]!==d.ranAtLabel||s[4]!==d.result||s[5]!==d.status||s[6]!==o?(a=(0,t.jsx)($,{result:x,status:m,title:o,ranAtLabel:d.ranAtLabel}),s[3]=d.ranAtLabel,s[4]=d.result,s[5]=d.status,s[6]=o,s[7]=a):a=s[7],s[8]!==p||s[9]!==h?(n=h&&(0,t.jsx)(Q,{title:"Passphrase",children:(0,t.jsxs)(z.Stack,{gap:.5,children:[(0,t.jsx)(B.Typography,{variant:"body2",color:"text.primary",children:"All secret values in the state are now encrypted with a new passphrase."}),p?.newPassphraseRef&&(0,t.jsxs)(z.Stack,{direction:"row",alignItems:"center",gap:1,sx:{minWidth:0},children:[(0,t.jsx)(B.Typography,{variant:"caption",color:"text.secondary",sx:{minWidth:64},children:"Secret"}),(0,t.jsx)(B.Typography,{variant:"body2",sx:{wordBreak:"break-all",color:"text.primary"},children:p.newPassphraseRef}),(0,t.jsx)(eI.TextCopy,{text:p.newPassphraseRef,sx:{color:"text.secondary"}})]})]})}),s[8]=p,s[9]=h,s[10]=n):n=s[10],s[11]!==u?(i=(0,t.jsx)(ew,{phases:u}),s[11]=u,s[12]=i):i=s[12],s[13]!==a||s[14]!==n||s[15]!==i?(l=(0,t.jsxs)(z.Stack,{gap:2,children:[a,n,i]}),s[13]=a,s[14]=n,s[15]=i,s[16]=l):l=s[16],l}};function e$(e){return void 0!==e&&void 0!==eV[e]}e.s(["OperationBody",0,e=>{let o,a,n,i=(0,r.c)(9),l=eV[e.operation];return l?(i[0]!==e.operation||i[1]!==e.provisioner?(o=(0,t.jsx)(N,{operation:e.operation,provisioner:e.provisioner}),i[0]=e.operation,i[1]=e.provisioner,i[2]=o):o=i[2],i[3]!==l||i[4]!==e?(a=(0,t.jsx)(l,{...e}),i[3]=l,i[4]=e,i[5]=a):a=i[5],i[6]!==o||i[7]!==a?(n=(0,t.jsxs)(eO,{children:[o,a]}),i[6]=o,i[7]=a,i[8]=n):n=i[8],n):null},"hasOperationBody",()=>e$],302223),e.s([],96134)},926917,e=>{"use strict";e.i(6434),e.s([])},146732,645518,727624,297327,943024,225933,275986,80950,337903,431856,289014,e=>{"use strict";var t=e.i(6434);e.s(["AwsIcon",()=>t.aws_default],146732),e.s(["GcpIcon",()=>t.gcp_default],645518),e.s(["AzureIcon",()=>t.azure_default],727624),e.s(["KubernetesIcon",()=>t.kubernetes_default],297327),e.s(["CivoIcon",()=>t.civo_default],943024),e.s(["CloudflareIcon",()=>t.cloudflare_default],225933),e.s(["ConfluentIcon",()=>t.confluent_default],275986),e.s(["DigitalOceanIcon",()=>t.digital_ocean_default],80950),e.s(["SnowflakeIcon",()=>t.snowflake_default],337903),e.s(["AtlasIcon",()=>t.atlas_default],431856),e.s(["Auth0Icon",()=>t.auth0_default],289014)},838924,e=>{"use strict";var t=e.i(6434);e.s(["ConnectionsIcon",()=>t.connections_default])},412296,e=>{"use strict";var t=e.i(396115),r=e.i(831761),o=e.i(68241),a=e.i(898638),n=e.i(939670),i=e.i(583124);e.i(926917);var l=e.i(146732),s=e.i(645518),c=e.i(727624),d=e.i(297327),u=e.i(943024),p=e.i(225933),h=e.i(275986),x=e.i(80950),m=e.i(337903),y=e.i(431856),f=e.i(289014),g=e.i(838924);let b={[i.CloudResourceProvider.aws]:{icon:l.AwsIcon,viewBox:"0 0 16 9"},[i.CloudResourceProvider.gcp]:{icon:s.GcpIcon,viewBox:"0 0 41 40"},[i.CloudResourceProvider.azure]:{icon:c.AzureIcon,viewBox:"0 0 100 100"},[i.CloudResourceProvider.kubernetes]:{icon:d.KubernetesIcon,viewBox:"0 0 33 32"},[i.CloudResourceProvider.civo]:{icon:u.CivoIcon,viewBox:"0 0 711.364 238.193"},[i.CloudResourceProvider.cloudflare]:{icon:p.CloudflareIcon,viewBox:"0 -70 256 256"},[i.CloudResourceProvider.confluent]:{icon:h.ConfluentIcon,viewBox:"0 0 16 16"},[i.CloudResourceProvider.digital_ocean]:{icon:x.DigitalOceanIcon,viewBox:"0 0 32 32"},[i.CloudResourceProvider.snowflake]:{icon:m.SnowflakeIcon,viewBox:"0 0 32 32"},[i.CloudResourceProvider.atlas]:{icon:y.AtlasIcon,viewBox:"0 0 32 32"},[i.CloudResourceProvider.auth0]:{icon:f.Auth0Icon,viewBox:"0 0 512 512"}};e.s(["ProviderConnectionDisplay",0,e=>{let i,l,s,c,d=(0,r.c)(9),{providerInfo:u}=e;if(!u||!u.connection){let e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(n.Typography,{variant:"subtitle2",children:"-"}),d[0]=e):e=d[0],e}let p=b[u.provider];return d[1]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignItems:"center",gap:1},d[1]=i):i=d[1],d[2]!==p?(l=p?(0,t.jsx)(a.SvgIcon,{component:p.icon,sx:{fontSize:20}
1,viewBox:p.viewBox}):(0,t.jsx)(a.SvgIcon,{component:g.ConnectionsIcon,sx:{fontSize:18,color:"text.secondary"},viewBox:"0 0 16 16"}),d[2]=p,d[3]=l):l=d[3],d[4]!==u.connection?(s=(0,t.jsx)(n.Typography,{variant:"subtitle2",fontWeight:600,color:"primary.main",children:u.connection}),d[4]=u.connection,d[5]=s):s=d[5],d[6]!==l||d[7]!==s?(c=(0,t.jsxs)(o.Box,{sx:i,children:[l,s]}),d[6]=l,d[7]=s,d[8]=c):c=d[8],c}])},822538,e=>{"use strict";var t=e.i(6434);e.s(["DockerIcon",()=>t.docker_default])},628892,e=>{"use strict";var t=e.i(396115),r=e.i(831761),o=e.i(68241),a=e.i(898638),n=e.i(939670);e.i(926917);var i=e.i(822538);e.s(["ContainerRegistryDisplay",0,e=>{let l,s,c,d=(0,r.c)(5),{containerRegistry:u}=e;if(!u){let e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(n.Typography,{variant:"subtitle2",children:"-"}),d[0]=e):e=d[0],e}return d[1]===Symbol.for("react.memo_cache_sentinel")?(l={display:"flex",alignItems:"center",gap:1},d[1]=l):l=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(a.SvgIcon,{component:i.DockerIcon,sx:{fontSize:20},viewBox:"0 0 32 32"}),d[2]=s):s=d[2],d[3]!==u?(c=(0,t.jsxs)(o.Box,{sx:l,children:[s,(0,t.jsx)(n.Typography,{variant:"subtitle2",fontWeight:600,color:"primary.main",children:u})]}),d[3]=u,d[4]=c):c=d[4],c}])},303149,552724,e=>{"use strict";var t=e.i(6434);e.s(["ServiceHubIcon",()=>t.service_hub_default],303149),e.s(["InfraChartIcon",()=>t.infra_chart_default],552724)},480390,559349,410074,69698,363014,498207,660607,680447,173712,893346,e=>{"use strict";var t=e.i(396115),r=e.i(831761),o=e.i(362282),a=e.i(301413);e.i(409024);var n=e.i(919117),i=e.i(412296),l=e.i(628892),s=e.i(68241),c=e.i(898638),d=e.i(939670),u=e.i(432699);e.i(926917);var p=e.i(303149),h=e.i(552724);let x=e=>{let o,a,n,i,l,x=(0,r.c)(12),{parent:m}=e;if(!m||!m.name){let e;return x[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"subtitle2",color:"text.secondary",fontStyle:"italic",children:"Standalone resource - not managed by a Service or InfraProject"}),x[0]=e):e=x[0],e}let y=m.kind===u.ApiResourceKind.service,f=y?"service":"infra-project",g=y?p.ServiceHubIcon:h.InfraChartIcon,b=y?"0 0 16 16":"0 0 32 32";return x[1]===Symbol.for("react.memo_cache_sentinel")?(o={display:"flex",alignItems:"center",gap:1},x[1]=o):o=x[1],x[2]===Symbol.for("react.memo_cache_sentinel")?(a={fontSize:18},x[2]=a):a=x[2],x[3]!==g||x[4]!==b?(n=(0,t.jsx)(c.SvgIcon,{component:g,sx:a,viewBox:b}),x[3]=g,x[4]=b,x[5]=n):n=x[5],x[6]!==f||x[7]!==m.name?(i=(0,t.jsxs)(d.Typography,{variant:"subtitle2",fontWeight:600,color:"primary.main",children:[f," / ",m.name]}),x[6]=f,x[7]=m.name,x[8]=i):i=x[8],x[9]!==n||x[10]!==i?(l=(0,t.jsxs)(s.Box,{sx:o,children:[n,i]}),x[9]=n,x[10]=i,x[11]=l):l=x[11],l};var m=e.i(570926),y=e.i(904549),f=e.i(232709);e.i(592318);var g=e.i(208798);let b=({resourceId:e,cloudResourceKind:r,cloudResource:i,onDelete:l})=>{let{command:s}=(0,y.useCloudResourceCrud)(),{navigate:c,ApiResourceDeleteSection:d,ApiResourceDestroySection:u,ApiResourcePurgeSection:p,DestructiveActionDialog:h,getCloudResourceDisplayName:x,checkBillingAndProceed:b}=(0,n.useCloudResourceUI)(),v=x(r)||"Cloud Resource",j=i?.metadata?.name||"",[S,_]=(0,m.useState)(!1),[T,k]=(0,m.useState)(!1),[w,C]=(0,m.useState)(!1),[R,I]=(0,m.useState)(!1),[z,B]=(0,m.useState)(!1),[O,L]=(0,m.useState)(!1),[P,D]=(0,m.useState)(!1),[A,W]=(0,m.useState)(!1),[M,H]=(0,m.useState)(!1),[E,F]=(0,m.useState)(null),J=(0,m.useCallback)(()=>{_(!0)},[]),N=(0,m.useCallback)(()=>{_(!1)},[]),V=(0,m.useCallback)(()=>{s&&i&&(k(!0),s.destroy(i).then(()=>{N(),C(!0),(0,g.notifyStackJobCreated)(),setTimeout(()=>C(!1),5e3)}).finally(()=>{k(!1)}))},[s,i,N]),$=(0,m.useCallback)(()=>{I(!0)},[]),U=(0,m.useCallback)(()=>{I(!1)},[]),K=(0,m.useCallback)(()=>{s&&e&&(B(!0),s.purge(e).then(()=>{U(),L(!0),(0,g.notifyStackJobCreated)(),setTimeout(()=>{let e=i?.metadata?.org||"default";c(`/orgs/${e}/cloud-resources`)},1500)}).finally(()=>{B(!1)}))},[s,e,U,c]),G=(0,m.useCallback)(()=>{b(()=>{H(!1),F(null),D(!0)})},[b]),q=(0,m.useCallback)(()=>{D(!1),H(!1),F(null)},[]),X=(0,m.useCallback)(e=>{H(e),e&&F(null)},[]),Y=(0,m.useCallback)(()=>{s&&(W(!0),s.delete(e,"",M).then(()=>{q(),l?.();let t=j||e,r=i?.metadata?.org||"default";c(`/orgs/${r}/cloud-resources?deleted=${encodeURIComponent(t)}`)}).catch(e=>{e.message?.includes(f.IAC_STACK_HAS_RESOURCES_ERROR)&&F({title:"Infrastru
1cture Still Exists",content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:"This cloud resource has IaC resources in its stack, indicating that infrastructure is still provisioned on your cloud provider."}),(0,t.jsxs)("ul",{children:[(0,t.jsxs)("li",{children:["ðï¸ ",(0,t.jsx)("strong",{children:"Resources exist"})," on your cloud provider"]}),(0,t.jsxs)("li",{children:["â ï¸ ",(0,t.jsx)("strong",{children:"Orphaned resources"})," may result from deletion"]}),(0,t.jsxs)("li",{children:["ð° ",(0,t.jsx)("strong",{children:"Ongoing costs"})," could continue to accrue"]})]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("strong",{children:"To proceed anyway:"}),' Check the "Force Delete" checkbox and click Delete again.']})]})})}).finally(()=>{W(!1)}))},[s,e,j,M,q,l,c]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.Stack,{sx:{mt:2},gap:2,children:[i&&(0,t.jsxs)(t.Fragment,{children:[w&&(0,t.jsx)(a.SuccessPanel,{message:"Destroy stack job initiated successfully.",onClose:()=>C(!1)}),(0,t.jsx)(u,{title:`Destroy ${v}`,description:`Triggers IaC destruction to tear down the ${v} from your cloud provider. The database record will remain.`,buttonLabel:"Destroy",onAction:J,loading:T})]}),i&&(0,t.jsxs)(t.Fragment,{children:[O&&(0,t.jsx)(a.SuccessPanel,{message:"Purge operation initiated successfully.",onClose:()=>L(!1)}),(0,t.jsx)(p,{title:`Purge ${v}`,description:`Destroys the ${v} and removes it from the database. This action is irreversible and can not be undone.`,buttonLabel:"Purge",onAction:$,loading:z})]}),(0,t.jsx)(d,{title:`Delete ${v}`,description:`The ${v} will be permanently deleted. This action is irreversible and can not be undone.`,onDelete:G})]}),i&&(0,t.jsx)(h,{open:S,onClose:N,onConfirm:V,loading:T,title:`Destroy ${v}`,resourceType:v,resourceName:j,description:`This will trigger IaC destruction to tear down the ${v} from your cloud provider. The database record will remain.`,variant:"warning",consequences:["All cloud infrastructure for this resource will be destroyed","Applications depending on this resource may fail","The database record will remain for reference"],confirmLabel:"Destroy"}),i&&(0,t.jsx)(h,{open:R,onClose:U,onConfirm:K,loading:z,title:`Purge ${v}`,resourceType:v,resourceName:j,description:`This will destroy the ${v} and remove it from the database. This action is irreversible.`,variant:"destructive",consequences:["All cloud infrastructure will be destroyed","The database record will be permanently deleted","All associated stack jobs will be removed"],confirmLabel:"Purge"}),(0,t.jsx)(h,{open:P,onClose:q,onConfirm:Y,loading:A,title:`Delete ${v}`,resourceType:v,resourceName:j,description:`The ${v} will be permanently deleted from the database. This action is irreversible.`,variant:"destructive",consequences:["The resource record will be permanently deleted from the database","This action cannot be undone"],showForceOption:!0,forceChecked:M,onForceChange:X,confirmLabel:"Delete",infoPanel:E})]})};e.i(614330);var v=e.i(626558),j=e.i(34876);let S={pulumi:{icon:j.ACTION_ICONS.RES_PULUMI,label:"Pulumi"},opentofu:{icon:j.ACTION_ICONS.RES_TERRAFORM,label:"Terraform (Tofu)"}};e.s(["ProvisionerDisplay",0,e=>{let o,a,n,i,l,c=(0,r.c)(10),{provisioner:u}=e,p=(0,v.resolveProvisionerFamily)(u),h=void 0===p?void 0:S[p];if(!h){let e;return c[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"subtitle2",children:"-"}),c[0]=e):e=c[0],e}return c[1]===Symbol.for("react.memo_cache_sentinel")?(o={display:"flex",alignItems:"center",gap:1},c[1]=o):o=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a={fontSize:20,cursor:"default"},c[2]=a):a=c[2],c[3]!==h.icon?(n=(0,t.jsx)(j.ActionIcon,{name:h.icon,sx:a}),c[3]=h.icon,c[4]=n):n=c[4],c[5]!==h.label?(i=(0,t.jsx)(d.Typography,{variant:"subtitle2",fontWeight:600,children:h.label}),c[5]=h.label,c[6]=i):i=c[6],c[7]!==n||c[8]!==i?(l=(0,t.jsxs)(s.Box,{sx:o,children:[n,i]}),c[7]=n,c[8]=i,c[9]=l):l=c[9],l}],559349);var _=e.i(302418);e.s(["StateBackendDisplay",0,e=>{let o,a,i,l,c,u,p=(0,r.c)(13),{stateBackend:h,orgSlug:x}=e,{navigate:m}=(0,n.useCloudResourceUI)();p[0]!==m||p[1]!==x||p[2]!==h?(o=()=>{h&&x&&m(`/orgs/${x}/settings/state-backends/${h}`)},p[0]=m,p[1]=x,p[2]=h,p[3]=o):o=p[3];let y=o;if(!h){let e;return p[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"subtitle2",children:"-"}),p[4]=e):e=p[4],e}
1return p[5]===Symbol.for("react.memo_cache_sentinel")?(a={display:"flex",alignItems:"center",gap:1,cursor:"pointer",borderRadius:1,px:.5,mx:-.5,"&:hover":{bgcolor:"action.hover"},transition:"background-color 150ms"},p[5]=a):a=p[5],p[6]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(_.default,{sx:{fontSize:18,color:"text.secondary"}}),p[6]=i):i=p[6],p[7]===Symbol.for("react.memo_cache_sentinel")?(l={fontFamily:"monospace",fontSize:"0.8rem"},p[7]=l):l=p[7],p[8]!==h?(c=(0,t.jsx)(d.Typography,{variant:"subtitle2",fontWeight:600,color:"primary.main",sx:l,children:h}),p[8]=h,p[9]=c):c=p[9],p[10]!==y||p[11]!==c?(u=(0,t.jsxs)(s.Box,{onClick:y,sx:a,children:[i,c]}),p[10]=y,p[11]=c,p[12]=u):u=p[12],u}],410074);var T=e.i(6434),T=T;e.s(["PulumiStackDisplay",0,e=>{let a,n,i,l,u,p,h,x,m,y,f,g,b,v,j,S,_=(0,r.c)(26),{pulumi:k}=e;if(!k||!k.stackFqdn){let e;return _[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"subtitle2",children:"-"}),_[0]=e):e=_[0],e}return _[1]===Symbol.for("react.memo_cache_sentinel")?(a={display:"flex",alignItems:"center",gap:1},_[1]=a):a=_[1],_[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(c.SvgIcon,{component:T.pulumi_default,sx:{fontSize:18},viewBox:"0 0 32 32"}),_[2]=n):n=_[2],_[3]===Symbol.for("react.memo_cache_sentinel")?(i={fontFamily:"monospace",backgroundColor:"action.hover",px:1,py:.25,borderRadius:.5},_[3]=i):i=_[3],_[4]!==k.stackFqdn?(l=(0,t.jsxs)(s.Box,{sx:a,children:[n,(0,t.jsx)(d.Typography,{variant:"subtitle2",fontWeight:600,sx:i,children:k.stackFqdn})]}),_[4]=k.stackFqdn,_[5]=l):l=_[5],_[6]===Symbol.for("react.memo_cache_sentinel")?(u={display:"flex",flexWrap:"wrap",gap:2,pl:3.5},_[6]=u):u=_[6],_[7]===Symbol.for("react.memo_cache_sentinel")?(p={display:"flex",alignItems:"center",gap:.5},h=(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",children:"Organization:"}),_[7]=p,_[8]=h):(p=_[7],h=_[8]),_[9]!==k.organization?(x=(0,t.jsxs)(s.Box,{sx:p,children:[h,(0,t.jsx)(d.Typography,{variant:"caption",fontWeight:500,children:k.organization})]}),_[9]=k.organization,_[10]=x):x=_[10],_[11]===Symbol.for("react.memo_cache_sentinel")?(y={display:"flex",alignItems:"center",gap:.5},m=(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",children:"Project:"}),_[11]=m,_[12]=y):(m=_[11],y=_[12]),_[13]!==k.project?(f=(0,t.jsxs)(s.Box,{sx:y,children:[m,(0,t.jsx)(d.Typography,{variant:"caption",fontWeight:500,children:k.project})]}),_[13]=k.project,_[14]=f):f=_[14],_[15]===Symbol.for("react.memo_cache_sentinel")?(g={display:"flex",alignItems:"center",gap:.5},b=(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",children:"Stack:"}),_[15]=g,_[16]=b):(g=_[15],b=_[16]),_[17]!==k.stackName?(v=(0,t.jsxs)(s.Box,{sx:g,children:[b,(0,t.jsx)(d.Typography,{variant:"caption",fontWeight:500,children:k.stackName})]}),_[17]=k.stackName,_[18]=v):v=_[18],_[19]!==f||_[20]!==v||_[21]!==x?(j=(0,t.jsxs)(s.Box,{sx:u,children:[x,f,v]}),_[19]=f,_[20]=v,_[21]=x,_[22]=j):j=_[22],_[23]!==j||_[24]!==l?(S=(0,t.jsxs)(o.Stack,{spacing:1,children:[l,j]}),_[23]=j,_[24]=l,_[25]=S):S=_[25],S}],69698);var k=T;e.s(["TerraformStackDisplay",0,e=>{let o,a,n,i,l=(0,r.c)(6),{terraform:u}=e;if(!u||!u.backendKey){let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"subtitle2",children:"-"}),l[0]=e):e=l[0],e}return l[1]===Symbol.for("react.memo_cache_sentinel")?(o={display:"flex",alignItems:"center",gap:1},l[1]=o):o=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(c.SvgIcon,{component:k.terraform_default,sx:{fontSize:18},viewBox:"0 0 32 32"}),l[2]=a):a=l[2],l[3]===Symbol.for("react.memo_cache_sentinel")?(n={fontFamily:"monospace",backgroundColor:"action.hover",px:1,py:.25,borderRadius:.5},l[3]=n):n=l[3],l[4]!==u.backendKey?(i=(0,t.jsxs)(s.Box,{sx:o,children:[a,(0,t.jsx)(d.Typography,{variant:"subtitle2",fontWeight:600,sx:n,children:u.backendKey})]}),l[4]=u.backendKey,l[5]=i):i=l[5],i}],363014);var w=e.i(677737),C=e.i(375281),R=e.i(326114),I=T,z=T,B=T,O=T;let L={[C.GitRepoProvider.git_repo_provider_unspecified]:{icon:B.git_default,viewBox:"0 0 32 32",label:"Git"},[C.GitRepoProvider.github]:{icon:I.github_default,viewBox:"0 0 98 96",label:"GitHub"},[C.GitRepoProvider.gitlab]:{icon:z.gitlab_default,viewBox:"0 0 32 32",label:"GitLab"}},P={[R.PulumiProjectRuntime.pulumi_project_runtime_unspecified]:"Unspecified",[R.PulumiProjectRuntime.no
1dejs]:"Node.js",[R.PulumiProjectRuntime.python]:"Python",[R.PulumiProjectRuntime.go]:"Go",[R.PulumiProjectRuntime.dotnet]:".NET",[R.PulumiProjectRuntime.java]:"Java",[R.PulumiProjectRuntime.yaml]:"YAML"};e.s(["IacModuleDisplay",0,e=>{let a,n,i,l,u,p,h,x,m,y,f,g,b,v=(0,r.c)(30),{iacModule:j}=e;if(!j||!j.cloneUrl){let e;return v[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"subtitle2",color:"text.secondary",fontStyle:"italic",children:"Using default IaC module from registry"}),v[0]=e):e=v[0],e}let S=L[j.gitProvider]||L[C.GitRepoProvider.git_repo_provider_unspecified],_=P[j.pulumiProjectRuntime],T=j.pulumiProjectRuntime!==R.PulumiProjectRuntime.pulumi_project_runtime_unspecified;return v[1]===Symbol.for("react.memo_cache_sentinel")?(a={display:"flex",alignItems:"center",gap:1},v[1]=a):a=v[1],v[2]===Symbol.for("react.memo_cache_sentinel")?(n={fontSize:18},v[2]=n):n=v[2],v[3]!==S.icon||v[4]!==S.viewBox?(i=(0,t.jsx)(c.SvgIcon,{component:S.icon,sx:n,viewBox:S.viewBox}),v[3]=S.icon,v[4]=S.viewBox,v[5]=i):i=v[5],v[6]===Symbol.for("react.memo_cache_sentinel")?(l={fontFamily:"monospace",backgroundColor:"action.hover",px:1,py:.25,borderRadius:.5},v[6]=l):l=v[6],v[7]!==j.cloneUrl?(u=(0,t.jsx)(d.Typography,{variant:"subtitle2",fontWeight:600,sx:l,children:j.cloneUrl}),v[7]=j.cloneUrl,v[8]=u):u=v[8],v[9]!==i||v[10]!==u?(p=(0,t.jsxs)(s.Box,{sx:a,children:[i,u]}),v[9]=i,v[10]=u,v[11]=p):p=v[11],v[12]===Symbol.for("react.memo_cache_sentinel")?(h={display:"flex",flexWrap:"wrap",gap:2,pl:3.5},v[12]=h):h=v[12],v[13]!==j.gitConnection?(x=j.gitConnection&&(0,t.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",children:"Connection:"}),(0,t.jsx)(d.Typography,{variant:"caption",fontWeight:600,color:"primary.main",children:j.gitConnection})]}),v[13]=j.gitConnection,v[14]=x):x=v[14],v[15]!==j.projectDir?(m=j.projectDir&&(0,t.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[(0,t.jsx)(c.SvgIcon,{component:O.code_default,sx:{fontSize:14,color:"text.secondary"},viewBox:"0 0 24 24"}),(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",children:"Dir:"}),(0,t.jsx)(d.Typography,{variant:"caption",fontWeight:500,sx:{fontFamily:"monospace"},children:j.projectDir})]}),v[15]=j.projectDir,v[16]=m):m=v[16],v[17]!==_||v[18]!==T?(y=T&&(0,t.jsx)(w.Chip,{label:_,size:"small",variant:"outlined",sx:{height:20,fontSize:"0.7rem"}}),v[17]=_,v[18]=T,v[19]=y):y=v[19],v[20]!==j.gitRevision?(f=j.gitRevision&&(0,t.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",children:"Rev:"}),(0,t.jsx)(w.Chip,{label:j.gitRevision,size:"small",color:"info",variant:"outlined",sx:{height:20,fontSize:"0.7rem",fontFamily:"monospace"}})]}),v[20]=j.gitRevision,v[21]=f):f=v[21],v[22]!==y||v[23]!==f||v[24]!==x||v[25]!==m?(g=(0,t.jsxs)(s.Box,{sx:h,children:[x,m,y,f]}),v[22]=y,v[23]=f,v[24]=x,v[25]=m,v[26]=g):g=v[26],v[27]!==g||v[28]!==p?(b=(0,t.jsxs)(o.Stack,{spacing:1.5,children:[p,g]}),v[27]=g,v[28]=p,v[29]=b):b=v[29],b}],498207),e.s(["CloudResourceSettingsTab",0,e=>{let s,c,d,u,p,h,m=(0,r.c)(32),{spec:y,resourceId:f,cloudResourceKind:g,cloudResource:v,onDelete:j}=e,{ApiResourceCopySection:S,getCloudResourceDisplayName:_}=(0,n.useCloudResourceUI)();e:{let e,r,o,a;if(!y){let e;m[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],m[0]=e):e=m[0],s=e;break e}let n=!!y.containerRegistry;m[1]!==y.parent?(e={header:"Parent",config:[{key:"Managed By",component:(0,t.jsx)(x,{parent:y.parent})}]},m[1]=y.parent,m[2]=e):e=m[2],m[3]!==y.providerInfo?(r={header:"Provider Connection",config:[{key:"Connection",component:(0,t.jsx)(i.ProviderConnectionDisplay,{providerInfo:y.providerInfo})}]},m[3]=y.providerInfo,m[4]=r):r=m[4],m[5]!==n||m[6]!==y.containerRegistry?(o=n?[{header:"Container Registry",config:[{key:"Docker Credential",component:(0,t.jsx)(l.ContainerRegistryDisplay,{containerRegistry:y.containerRegistry})}]}]:[],m[5]=n,m[6]=y.containerRegistry,m[7]=o):o=m[7],m[8]!==e||m[9]!==r||m[10]!==o?(a=[e,r,...o],m[8]=e,m[9]=r,m[10]=o,m[11]=a):a=m[11],s=a}let T=s;m[12]!==g||m[13]!==_?(c=_(g)||"Cloud Resource",m[12]=g,m[13]=_,m[14]=c):c=m[14];let k=c;if(!y)return null;m[15]!==T||m[16]!==y?(d=(0,t.jsx)(a.DetailsOverview,{data:y,sections:T}),m[15]=T,m[16]=y,m[17]=d):d=m[17];let w=`${k} ID`,C=`${k} ID`;return m[18]!==S||m[19]!==f||m[20]!==w||m[21]!==C?(u=(0,t.jsx)(S,{title:w,description:"Used when interacting with Planton API",copyContent:f,footerLable:"Learn more about",footerLink:C}
1),m[18]=S,m[19]=f,m[20]=w,m[21]=C,m[22]=u):u=m[22],m[23]!==v||m[24]!==g||m[25]!==j||m[26]!==f?(p=(0,t.jsx)(b,{resourceId:f,cloudResourceKind:g,cloudResource:v,onDelete:j}),m[23]=v,m[24]=g,m[25]=j,m[26]=f,m[27]=p):p=m[27],m[28]!==d||m[29]!==u||m[30]!==p?(h=(0,t.jsxs)(o.Stack,{gap:2,children:[d,u,p]}),m[28]=d,m[29]=u,m[30]=p,m[31]=h):h=m[31],h}],660607),e.s([],480390);var D=e.i(273413),A=e.i(909433),W=e.i(507316),M=e.i(105248),H=e.i(876501),E=e.i(932170),F=e.i(802560);let J=e=>{let o,a,n,i,l,s,c=(0,r.c)(15),{text:u,truncate:p}=e,h=void 0!==p&&p,[x,y]=(0,m.useState)(!1);c[0]!==u?(o=e=>{e.stopPropagation(),navigator.clipboard.writeText(u),y(!0),setTimeout(()=>y(!1),1500)},c[0]=u,c[1]=o):o=c[1];let f=o;if(!u){let e;return c[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.Typography,{variant:"body2",color:"text.secondary",children:"-"}),c[2]=e):e=c[2],e}let g=x?"Copied!":h?u:"Click to copy";return c[3]===Symbol.for("react.memo_cache_sentinel")?(a={textDecoration:"underline"},c[3]=a):a=c[3],c[4]!==h?(n=h&&{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},c[4]=h,c[5]=n):n=c[5],c[6]!==n?(i={fontFamily:'"JetBrains Mono", monospace',fontSize:"0.8125rem",cursor:"pointer","&:hover":a,...n},c[6]=n,c[7]=i):i=c[7],c[8]!==f||c[9]!==i||c[10]!==u?(l=(0,t.jsx)(d.Typography,{component:"span",onClick:f,sx:i,children:u}),c[8]=f,c[9]=i,c[10]=u,c[11]=l):l=c[11],c[12]!==l||c[13]!==g?(s=(0,t.jsx)(F.Tooltip,{title:g,arrow:!0,placement:"top",children:l}),c[12]=l,c[13]=g,c[14]=s):s=c[14],s},N={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},V=e=>{let o,a,n,i,l,s,c,u,p,h,x,m=(0,r.c)(26),{resources:y,renderRowActions:f,onRowClick:g}=e,b=!!f,v=!!g;if(m[0]===Symbol.for("react.memo_cache_sentinel")?(o={tableLayout:"fixed"},m[0]=o):o=m[0],m[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(W.TableCell,{sx:{width:"16%"},children:(0,t.jsx)(d.Typography,{variant:"body2",fontWeight:600,color:"text.secondary",children:"Type"})}),m[1]=a):a=m[1],m[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(W.TableCell,{sx:{width:"30%"},children:(0,t.jsx)(d.Typography,{variant:"body2",fontWeight:600,color:"text.secondary",children:"Address"})}),m[2]=n):n=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(W.TableCell,{sx:{width:"18%"},children:(0,t.jsx)(d.Typography,{variant:"body2",fontWeight:600,color:"text.secondary",children:"Provider"})}),m[3]=i):i=m[3],m[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(W.TableCell,{sx:{width:"14%"},children:(0,t.jsx)(d.Typography,{variant:"body2",fontWeight:600,color:"text.secondary",children:"Name"})}),m[4]=l):l=m[4],m[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(W.TableCell,{sx:{width:"14%"},children:(0,t.jsx)(d.Typography,{variant:"body2",fontWeight:600,color:"text.secondary",children:"External ID"})}),m[5]=s):s=m[5],m[6]!==b?(c=b&&(0,t.jsx)(W.TableCell,{sx:{width:"8%"}}),m[6]=b,m[7]=c):c=m[7],m[8]!==c?(u=(0,t.jsx)(H.TableHead,{children:(0,t.jsxs)(E.TableRow,{children:[a,n,i,l,s,c]})}),m[8]=c,m[9]=u):u=m[9],m[10]!==b||m[11]!==v||m[12]!==g||m[13]!==f||m[14]!==y){let e;m[16]!==b||m[17]!==v||m[18]!==g||m[19]!==f?(e=(e,r)=>(0,t.jsxs)(E.TableRow,{hover:!0,sx:{cursor:v?"pointer":"default"},onClick:v?()=>g(e):void 0,children:[(0,t.jsx)(W.TableCell,{children:(0,t.jsx)(F.Tooltip,{title:e.resourceType,placement:"top-start",children:(0,t.jsx)(d.Typography,{variant:"body2",sx:N,children:e.resourceType})})}),(0,t.jsx)(W.TableCell,{children:(0,t.jsx)(J,{text:e.address,truncate:!0})}),(0,t.jsx)(W.TableCell,{children:(0,t.jsx)(J,{text:e.provider,truncate:!0})}),(0,t.jsx)(W.TableCell,{children:(0,t.jsx)(F.Tooltip,{title:e.logicalName||"",placement:"top-start",children:(0,t.jsx)(d.Typography,{variant:"body2",sx:N,children:e.logicalName||"-"})})}),(0,t.jsx)(W.TableCell,{children:(0,t.jsx)(J,{text:e.resourceExternalId,truncate:!0})}),b&&(0,t.jsx)(W.TableCell,{align:"center",sx:{py:1},onClick:$,children:f(e)})]},e.address||r),m[16]=b,m[17]=v,m[18]=g,m[19]=f,m[20]=e):e=m[20],p=y.map(e),m[10]=b,m[11]=v,m[12]=g,m[13]=f,m[14]=y,m[15]=p}else p=m[15];return m[21]!==p?(h=(0,t.jsx)(A.TableBody,{children:p}),m[21]=p,m[22]=h):h=m[22],m[23]!==h||m[24]!==u?(x=(0,t.jsx)(M.TableContainer,{children:(0,t.jsxs)(D.Table,{size:"small",sx:o,children:[u,h]})}),m[23]=h,m[24]=u,m[25]=x):x=m[25],x};function $(e){return e.stopPropagation()}var U=e.i(853908),K=e.i(706769);let G=e=>{let a,n,i,l,c,u=(0,r.c)(13),{resource:p,open:h,onClose:x,actions:m}=e;u[0]!==p?(a=p?[{label:"Address",value:p.address,mono:!0},{label:"Type",value:p.resourceType,mono:!0},{label:"Provider",value:p.provider,mono:!0},{label:"Name",value:p.logicalName},{label:"External ID",value:p.resourceExternalId,mono:!0}]:[],u[0]=p,u[1]=a):a=u[1];let y=a;return u[2]!==y?(n=y.map(q),u[2]=y,u[3]=n):n=u[3],u[4]!==m?(i=m&&(0,t.jsxs)(s.Box,{children:[(0,t.jsx)(K.Divider,{sx:{mb:1.5}}),(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",sx:{dis
1play:"block",mb:.5},children:"Actions"}),m]}),u[4]=m,u[5]=i):i=u[5],u[6]!==n||u[7]!==i?(l=(0,t.jsxs)(o.Stack,{gap:2.5,children:[n,i]}),u[6]=n,u[7]=i,u[8]=l):l=u[8],u[9]!==x||u[10]!==h||u[11]!==l?(c=(0,t.jsx)(U.DrawerComponent,{open:h,handleClose:x,title:"Resource Details",belowHeader:!0,children:l}),u[9]=x,u[10]=h,u[11]=l,u[12]=c):c=u[12],c};function q(e){return(0,t.jsxs)(s.Box,{children:[(0,t.jsx)(d.Typography,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:e.label}),e.mono?(0,t.jsx)(J,{text:e.value}):(0,t.jsx)(d.Typography,{variant:"body2",children:e.value||"-"})]},e.label)}e.s(["IacResourcesPanel",0,e=>{let a,n,i,l,s,c,u=(0,r.c)(19),{resources:p,provisioner:h,title:x,renderRowActions:y,renderDrawerActions:f}=e,[g,b]=(0,m.useState)(null);u[0]!==p||u[1]!==x?(a=x&&(0,t.jsxs)(o.Stack,{direction:"row",alignItems:"center",gap:1,children:[(0,t.jsx)(d.Typography,{variant:"subtitle2",fontWeight:600,children:x}),(0,t.jsx)(U.GreyChip,{label:p.length})]}),u[0]=p,u[1]=x,u[2]=a):a=u[2],u[3]!==h||u[4]!==y||u[5]!==p?(n=(0,t.jsx)(U.StyledTableContainer,{children:(0,t.jsx)(V,{resources:p,provisioner:h,renderRowActions:y,onRowClick:b})}),u[3]=h,u[4]=y,u[5]=p,u[6]=n):n=u[6];let v=!!g;return u[7]===Symbol.for("react.memo_cache_sentinel")?(i=()=>b(null),u[7]=i):i=u[7],u[8]!==f||u[9]!==g?(l=g&&f?f(g):void 0,u[8]=f,u[9]=g,u[10]=l):l=u[10],u[11]!==g||u[12]!==v||u[13]!==l?(s=(0,t.jsx)(G,{resource:g,open:v,onClose:i,actions:l}),u[11]=g,u[12]=v,u[13]=l,u[14]=s):s=u[14],u[15]!==a||u[16]!==n||u[17]!==s?(c=(0,t.jsxs)(o.Stack,{gap:1.5,children:[a,n,s]}),u[15]=a,u[16]=n,u[17]=s,u[18]=c):c=u[18],c}],680447),e.s(["IAC_RESOURCES_COLUMNS",0,[{header:"Type",width:"16%"},{header:"Address",width:"30%"},{header:"Provider",width:"18%"},{header:"Name",width:"14%"},{header:"External ID",width:"14%"},{header:"",width:"8%"}]],173712),e.s([],893346)},267391,950615,91870,e=>{"use strict";var t=e.i(396115),r=e.i(831761),o=e.i(68241),a=e.i(939670),n=e.i(51133),i=e.i(317425);let l=(0,i.styled)(o.Box)(({theme:e})=>({backgroundColor:(0,n.alpha)(e.palette.divider,.15),borderLeft:`2px solid ${e.palette.text.secondary}`,borderRadius:e.shape.borderRadius,padding:e.spacing(.875,1.25)})),s=(0,i.styled)(o.Box)(({theme:e})=>({backgroundColor:(0,n.alpha)(e.palette.warning.main,.08),borderLeft:`2px solid ${e.palette.warning.main}`,borderRadius:e.shape.borderRadius,padding:e.spacing(.875,1.25)}));e.s(["INFO_STRIP_ICON_SIZE",0,14,"InfoStrip",0,l,"InfoStripValueText",0,e=>{let o,n=(0,r.c)(3),{children:i,sx:l}=e;return n[0]!==i||n[1]!==l?(o=(0,t.jsx)(a.Typography,{component:"span",variant:"body2",fontWeight:500,color:"text.primary",sx:l,children:i}),n[0]=i,n[1]=l,n[2]=o):o=n[2],o},"WarningStrip",0,s],950615);var c=e.i(570926),d=e.i(882532),u=e.i(974797),p=e.i(511152),h=e.i(218317),x=e.i(55017);let m=e=>{let n,i,l,m,f,g,b,v,j,S=(0,r.c)(23),{stripName:_,errorMessage:T}=e,k=(0,u.useTheme)(),[w,C]=(0,c.useState)(!1);S[0]===Symbol.for("react.memo_cache_sentinel")?(n={display:"flex",alignItems:"center",justifyContent:"space-between"},S[0]=n):n=S[0],S[1]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignItems:"center",gap:.75},S[1]=i):i=S[1],S[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(p.default,{sx:{fontSize:16,color:"warning.main"},"aria-hidden":"true"}),S[2]=l):l=S[2];let R="dark"===k.palette.mode?"#fbbf24":"#b45309";return S[3]!==R?(m={color:R,fontWeight:500},S[3]=R,S[4]=m):m=S[4],S[5]!==_||S[6]!==m?(f=(0,t.jsxs)(o.Box,{sx:i,children:[l,(0,t.jsxs)(a.Typography,{variant:"body2",sx:m,children:[_," details unavailable"]})]}),S[5]=_,S[6]=m,S[7]=f):f=S[7],S[8]!==T||S[9]!==w||S[10]!==k.palette.text?(g=T&&(0,t.jsxs)(o.Box,{onClick:()=>C(y),sx:{display:"inline-flex",alignItems:"center",gap:.25,cursor:"pointer",color:k.palette.text.disabled,fontSize:11,"&:hover":{color:k.palette.text.secondary}},role:"button","aria-expanded":w,children:[w?"Hide details":"View details",w?(0,t.jsx)(x.default,{sx:{fontSize:14}}):(0,t.jsx)(h.default,{sx:{fontSize:14}})]}),S[8]=T,S[9]=w,S[10]=k.palette.text,S[11]=g):g=S[11],S[12]!==f||S[13]!==g?(b=(0,t.jsxs)(o.Box,{sx:n,children:[f,g]}
1),S[12]=f,S[13]=g,S[14]=b):b=S[14],S[15]!==T||S[16]!==w||S[17]!==k.palette.mode||S[18]!==k.palette.text?(v=T&&(0,t.jsx)(d.Collapse,{in:w,children:(0,t.jsx)(o.Box,{sx:{mt:1,p:1,borderRadius:1,bgcolor:"dark"===k.palette.mode?"rgba(0,0,0,0.3)":"rgba(0,0,0,0.04)",border:"1px solid",borderColor:"dark"===k.palette.mode?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.08)"},children:(0,t.jsx)(a.Typography,{component:"pre",sx:{fontFamily:"monospace",fontSize:11,color:k.palette.text.secondary,whiteSpace:"pre-wrap",wordBreak:"break-word",m:0},children:T})})}),S[15]=T,S[16]=w,S[17]=k.palette.mode,S[18]=k.palette.text,S[19]=v):v=S[19],S[20]!==b||S[21]!==v?(j=(0,t.jsxs)(s,{children:[b,v]}),S[20]=b,S[21]=v,S[22]=j):j=S[22],j};function y(e){return!e}class f extends c.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("InfoStripErrorBoundary caught error:",{stripName:this.props.stripName,error:e.message,stack:e.stack,componentStack:t.componentStack})}render(){return this.state.hasError?(0,t.jsx)(m,{stripName:this.props.stripName,errorMessage:this.state.error?.message}):this.props.children}}e.s(["InfoStripErrorBoundary",()=>f],91870),e.s([],267391)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.