1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4b7a9d95-d1eb-42d1-b040-37e695efa1fa",e._sentryDebugIdIdentifier="sentry-dbid-4b7a9d95-d1eb-42d1-b040-37e695efa1fa")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2059],{362:(e,t,r)=>{"use strict";r.d(t,{SQ:()=>l,_2:()=>d,lp:()=>c,mB:()=>h,rI:()=>o,ty:()=>i});var a=r(66352),s=r(23551);r(95132);var n=r(91989);function o({...e}){return(0,a.jsx)(n.bL,{"data-slot":"dropdown-menu",...e})}function i({className:e,...t}){return(0,a.jsx)(n.l9,{"data-slot":"dropdown-menu-trigger",className:(0,s.cn)("cursor-pointer",e),...t})}function l({className:e,sideOffset:t=4,...r}){return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,s.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...r})})}function d({className:e,...t}){return(0,a.jsx)(n.q7,{"data-slot":"dropdown-menu-item",className:(0,s.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function c({className:e,...t}){return(0,a.jsx)(n.JU,{"data-slot":"dropdown-menu-label",className:(0,s.cn)("px-2 py-1.5 text-xs font-medium",e),...t})}function h({className:e,...t}){return(0,a.jsx)(n.wv,{"data-slot":"dropdown-menu-separator",className:(0,s.cn)("bg-border -mx-1 my-1 h-px",e),...t})}},14383:(e,t,r)=>{"use strict";let a,s;r.r(t),r.d(t,{__N_SSG:()=>e4,default:()=>e5,getPostSchemaMarkup:()=>e6});var n=r(66352);let o=/^v(\d+)\.(\d+)(?:\.\d+)?$/,i=/^v(\d+)\.(\d+)$/;function l(e){let t=o.exec(e);return t?`v${t[1]}.${t[2]}`:e}function d(e,t){let r=e?.title;return"string"==typeof r&&""!==r.trim()?r.replace(/\s+/g," ").trim():t.replace(/\s+/g," ").trim()}let c="/docs/install/releases/feature-stages",h="/docs/admin/licensing",p={alpha:{label:"Alpha",className:"bg-orange-900 text-orange-200",link:c},experimental:{label:"Experimental",className:"bg-orange-900 text-orange-200",link:c},"early access":{label:"Early Access",className:"bg-orange-900 text-orange-200",link:c},early_access:{label:"Early Access",className:"bg-orange-900 text-orange-200",link:c},beta:{label:"Beta",className:"bg-sky-900 text-sky-200",link:c},deprecated:{label:"Deprecated",className:"bg-red-900 text-red-200"},enterprise:{label:"Enterprise",className:"bg-teal-900 text-teal-200",link:h},premium:{label:"Premium",className:"bg-purple-900 text-purple-200",link:h},"ai governance add-on":{label:"AI Governance Add-On",className:"bg-purple-900 text-purple-200",link:h}},u=new Set(["path","route","children","navigable","icon_path","last_updated"]),m=new Set(["description"]),x=e=>"string"==typeof e&&""!==e.trim(),g=e=>"string"==typeof e&&Object.hasOwn(p,e),f=e=>{if(g(e))return e;if(Array.isArray(e)){let t=e.filter(g);return t.length>0?t:void 0}};function b(e,t){if(!t)return e;let r={...e};for(let[a,s]of(r.title=d(t,e.title),Object.entries(t)))if(!("title"===a||u.has(a))){if("state"===a){let e=f(s);void 0!==e&&(r.state=e);continue}if(m.has(a)){x(s)&&(r[a]=s);continue}}return r}let v="/docs",w=e=>"object"==typeof e&&null!==e,k=e=>"string"==typeof e&&""!==e.trim(),j=e=>0===e.length?"":`${e.join("/")}/`;var y=r(23551),C=r(59262),_=r(95132);let N=new Set,L=e=>(N.add(e),a||(a=fetch("/beta-docs/versions.json",{signal:AbortSignal.timeout(5e3)}).then(e=>e.ok?e.json():null).then(e=>(e=>{var t;if(!w(e)||!k(e.mainline)||!Array.isArray(e.lines))return null;let r=[];for(let t of e.lines){if(!w(t)||!k(t.id))return null;r.push(t.id)}return r.includes(e.mainline)?{mainline:e.mainline,lines:r,banner:w(t=e.banner)&&"boolean"==typeof t.enabled&&k(t.betaBase)?{enabled:t.enabled,betaBase:t.betaBase,...k(t.legacyBase)?{legacyBase:t.legacyBase}:{}}:null}:null})(e)).catch(()=>null).then(e=>{for(let t of(s={value:e},N))t();return e})),()=>{N.delete(e)}),S=()=>s,F=()=>void 0,$=({product:e,route:t,title:r,className:a})=>{let s=(0,_.useSyncExternalStore)(L,S,F),[o,d]=(0,_.useState)(null),c=s?(({versions:e,product:t,route:r,title:a})=>{let s,n,o,d;if(null===e||"v2"!==t)return null;let{banner:c}=e;if(null===c||!c.enabled)return null;let h=(e=>{let t;try{t=new URL(e)}catch{return null}if("https:"!==t.protocol||""!==t.search||""!==t.hash)return null;let{pathname:r}=t;if(!r.startsWith("/")||r.endsWith("/"))return null;for(let e of r.slice(1).split("/")){let t;try{t=decodeURIComponent(e)}catch{return null}if(""===t||"."===t||".."===t)return null}return r})(c.betaBase);if(null===h)return null;let p=(e=>{let t=e.split("?")[0]?.split("#")[0]??"";if(t!==v&&!t.startsWith(`${v}/`))return null;let r=t.slice(v.length).replace(/^\/|\/$/g,""),a=""===r?[]:r.split("/"),s=a[0];if(void 0!==s&&(s.startsWith("@")||i.test(s))){let e,t,r=(e=s.startsWith("@")?decode
1URIComponent(s.slice(1)):s,(t=i.exec(l(e)))?`${t[1]}.${t[2]}`:null);return null===r?null:{line:r,slug:j(a.slice(1))}}return{line:null,slug:j(a)}})(r);if(null===p)return null;let u=p.line??e.mainline;return e.lines.includes(u)?{message:"Try the new docs website (currently in beta):",href:(s=e.mainline,n=p.slug,`${h}/${u===s?"":`@${u}/`}${n}`),linkText:(o=a.trim(),d=`Coder ${u} docs`,""===o?d:`${d} - ${o}`),storageKey:"coder-docs-beta-banner:legacy"}:null})({versions:s.value,product:e,route:t,title:r}):null,h=c?.storageKey,p=(0,_.useCallback)(()=>{if(void 0!==h){try{window.localStorage.setItem(h,"1")}catch{}d(h)}},[h]);return!c||c.storageKey===o||(e=>{try{return null!==window.localStorage.getItem(e)}catch{return!1}})(c.storageKey)?null:(0,n.jsxs)("div",{role:"region","aria-label":"Beta documentation notice",className:(0,y.cn)("not-prose mb-8 flex w-full items-start justify-between gap-4","rounded border border-black/10 bg-glacier px-4 py-3 text-sm text-black",a),children:[(0,n.jsxs)("p",{className:"break-words",children:[c.message," ",(0,n.jsx)("a",{href:c.href,className:"font-semibold text-black underline underline-offset-2 transition hover:opacity-70",children:c.linkText})]}),(0,n.jsx)("button",{type:"button",onClick:p,"aria-label":"Dismiss the beta documentation notice",className:"shrink-0 rounded p-1 text-black/60 transition hover:bg-black/10 hover:text-black",children:(0,n.jsx)(C.X,{"aria-hidden":!0,size:16})})]})};var A=r(65291),T=r(46757),D=r(25110);function M({className:e,orientation:t="horizontal",decorative:r=!0,...a}){return(0,n.jsx)(D.b,{"data-slot":"separator",decorative:r,orientation:t,className:(0,y.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...a})}var I=r(7191),E=r.n(I),z=r(75386),R=r(40625);let B={stableRef:"main",stableRefCodeServer:"main",mainlineRef:"main",mainlineRefCodeServer:"main",releases:{main:{ref:"main",branch:"main",version:"main",labels:["development"]}},generatedAt:"2026-09-18T23:14:29.764Z"};r(2272);let V="/docs",O="main",W=e=>(function(e,t=B){if(!e)return null;let r=t.releases[e];return r||null})(e)?.labels??[],P=({versions:e,currentVersion:t,latestDocsUrl:r,getLabels:a=W})=>{let s=(0,z.useRouter)(),o=s.asPath,i=function(e){let{pathname:t,search:r}=new URL(e,"https://docs.invalid"),a=t.slice(V.length).split("/"),s=Z(a[1]??"")?a.slice(2).join("/"):a.slice(1).join("/");return`${s?`/${s}`:""}${r}`}(o),{selectedValue:d,showFallbackOption:c}=function(e,t,r){let a,s=r.map(l),n=(Z(a=e.split(/[/?#]/)[2]??"")?a.startsWith("@")?decodeURIComponent(a.slice(1)):a:null)??l(t);return{selectedValue:n,showFallbackOption:n!==O&&!s.includes(n)}}(o,t,e),h=e.length+ +!!c+1;return(0,n.jsxs)(T.l6,{disabled:h<=1,value:d,onValueChange:e=>{if("archives"===e){r&&s.push(r);return}s.push(H(e,i))},children:[(0,n.jsx)(T.bq,{className:"w-full",children:(0,n.jsxs)("span",{className:"flex min-w-0 items-center gap-2 overflow-hidden",children:[(0,n.jsx)(R.Z,{className:"size-4"}),(0,n.jsx)(T.yv,{})]})}),(0,n.jsxs)(T.gC,{className:"dark [&>div]:p-0",children:[(0,n.jsxs)(T.s3,{className:"p-1",children:[c&&(0,n.jsx)(E(),{href:H(d,i),children:(0,n.jsx)(T.eb,{value:d,children:d})}),e.map(e=>{var t,r;let s,o=l(e),d=a(e);return(0,n.jsx)(E(),{href:H(o,i),children:(0,n.jsx)(T.eb,{value:o,children:(t=e,r=d,(s=U.filter(e=>r.includes(e))).length>0?`${t} (${s.join(", ")})`:t)})},o)}),(0,n.jsx)(E(),{href:H(O,i),children:(0,n.jsx)(T.eb,{value:O,children:"main (development)"})})]}),r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(M,{className:"my-1"}),(0,n.jsx)(T.s3,{className:"p-1",children:(0,n.jsx)(E(),{href:r,children:(0,n.jsx)(T.eb,{value:"archives",children:"Archives"})})})]})]})]})};function Z(e){return e.startsWith("@")||i.test(e)}function H(e,t){return`${V}${i.test(e)?`/${e}`:`/@${encodeURIComponent(e)}`}${t}`}let U=Object.entries({mainline:0,stable:1,security:2,ESR:3,development:null}).filter(e=>null!==e[1]).sort((e,t)=>e[1]-t[1]).map(e=>e[0]),q=/\/@release\/(\d+)\.(\d+)(?=\/|#|$)/,G=/\/@main(?=\/|#|$)/;var K=r(85117),J=r(78763);r(93195);let Q=e=>{let t=new URL(e);return t.pathname+t.hash},X=({searchVersion:e,product:t,indexedVersions:r})=>{let a=(0,z.useRouter)(),s=(({product:e,searchVersion:t})=>[`tags:${e}`,`version:${t}`])({product:t,searchVersion:e});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{children:` 2 .dark { 3 --docsearch-searchbox-background: color-mix(in oklab, var(--input) 30%, transparent); 4 --docsearch-muted-color: var(--color-muted-foreground); 5 --docsearch-text-color: var(--color-white); 6 --docsearch-searchbox-focus-background: color-mix(in oklab, var(--input) 50%, transparent); 7 --docsearch-highlight-color: var(--color-white); 8 --docsearch-modal-width: 700px; 9 --docsearch-modal-shadow: none; 10 --docsearch-container-background: color-mix(in oklab, var(--color-black) 75%, transparent); 11 --docsearch-modal-background: var(--background); 12 /* Cap modal height so a query with many hits doesn't push the 13 * scrollable list off the bottom of the viewport. The 14 * Dropdown's built-in max-height calc subtracts the search 15 * box and footer from this value. */ 16 --docsearch-modal-height: min(80vh, 720px); 17 --docsearch-hit-background: transparent; 18 --docsearch-hit-shadow: none; 19 --docsearch-key-pressed-shadow: none; 20 --docsearch-footer-height: 0; 21 } 22 23 .DocSearch-Button { 24 border: 1px solid var(--input); 25 margin: 0; 26 border-radius: calc(var(--radius) - 2px); 27 width: 100%; 28 box-sizing: border-box; 29 background: var(--docsearch-searchbox-background); 30 color: var(--docsearch-muted-color); 31 } 32 33 .DocSearch-Button-Placeholder { 34 font-size: var(--text-sm); 35 } 36 37 .DocSearch-Search-Icon { 38 width: calc(var(--spacing) * 4); 39 height: calc(var(--spacing) * 4); 40 stroke-width: 2px; 41 color: var(--docsearch-text-color); 42 } 43 44 .DocSearch-Button-Keys { 45 min-width: auto; 46 } 47 48 .DocSearch-Button-Key { 49 padding: 0; 50 margin: 0; 51 background: transparent; 52 color: var(--docsearch-muted-color); 53 } 54 55 /* Override DocSearch's top-anchored layout so the modal stays 56 * vertically centered regardless of result count. The stock
57 * rule is "margin: 60px auto auto", which pushes a tall 58 * results list off the bottom of the viewport. */ 59 .DocSearch-Container { 60 align-items: center; 61 justify-content: center; 62 display: flex; 63 } 64 /* Constrain the modal to a flex column with a fixed 65 * max-height so the search bar stays pinned at the top 66 * and the dropdown fills the remaining height as the 67 * sole scroll region. v4 already sets display:flex and 68 * flex-direction:column on .DocSearch-Modal, so the 69 * display:flex declaration here is redundant but harmless. 70 * overflow: hidden keeps tall hits lists from visibly 71 * bleeding past the rounded corners; the dropdown's own 72 * overflow provides the actual scroll container. */ 73 .DocSearch-Modal { 74 margin: 0; 75 max-height: var(--docsearch-modal-height); 76 width: 100%; 77 display: flex; 78 position: relative; 79 overflow: hidden; 80 } 81 82 @media (min-width: 1024px) { 83 .DocSearch-Modal { 84 border: 1px solid var(--input); 85 } 86 } 87 88 /* Pin the search bar so neither trackpad nor arrow-key 89 * navigation can scroll it out of view. flex: 0 0 auto keeps 90 * it at its intrinsic height regardless of content below. */ 91 .DocSearch-SearchBar { 92 flex: 0 0 auto; 93 padding: var(--docsearch-spacing); 94 } 95
96 .DocSearch-Form { 97 border-block-end: none; 98 } 99 100 /* The dropdown is the sole scrollable region. flex: 1 1 auto 101 * gives it an intrinsic flex-basis (its content size) so the 102 * modal sizes itself to fit hits up to the modal's own 103 * max-height. flex: 1 1 0 was wrong here: the parent has no 104 * explicit height, so a basis of 0 collapsed the dropdown to 105 * zero height and search results stopped rendering even 106 * though the data was there. Override the stock max-height 107 * calc (which targets the document, not the flex parent); 108 * the modal's own max-height is what bounds us. min-height: 0 109 * is required for flex children to be allowed to shrink past 110 * their content size. position: relative establishes the 111 * containing block for the bottom-fade indicator. 112 * overscroll-behavior: contain prevents trackpad scroll- 113 * chaining to the page underneath when the user reaches the 114 * top or bottom of the result list. */ 115 .DocSearch-Dropdown { 116 flex: 1 1 auto; 117 min-height: 0; 118 max-height: none; 119 overflow-y: auto; 120 overscroll-behavior: contain; 121 position: relative; 122 /* Scroll-shadow indicators using the Komarov technique: 123 * the fade only appears when there is more content beyond 124 * the visible region in that direction. Each edge has two 125 * layered backgrounds. The cover (solid modal-bg, pinned 126 * to CONTENT via background-attachment: local) sits at the 127 * top or bottom of the scrollable content and scrolls with 128 * it. The shadow (gradient from bg to transparent, pinned 129 * to the VIEWPORT via background-attachment: scroll) sits 130 * at the top or bottom edge of the dropdown and stays put. 131 * When the user is at the corresponding edge, the cover 132 * overlaps the shadow and its opaque bg fully hides it. As 133 * soon as the user scrolls away from the edge, the cover 134 * moves out of the visible area and the shadow becomes 135 * visible, signaling more content in that direction. The 136 * previous implementation used position: sticky on an 137 * ::after pseudo-element, which kept the bottom fade 138 * visible at all times because sticky pins to a viewport 139 * edge regardless of scroll position. */ 140 background: 141 linear-gradient(var(--docsearch-modal-background), var(--docsearch-modal-background)) top / 100% 48px no-repeat local, 142 linear-gradient(var(--docsearch-modal-background), var(--docsearch-modal-background)) bottom / 100% 48px no-repeat local, 143 linear-gradient(var(--docsearch-modal-background), transparent) top / 100% 48px no-repeat scroll, 144 linear-gradient(transparent, var(--docsearch-modal-background)) bottom / 100% 48px no-repeat scroll; 145 } 146 147 .DocSearch-MagnifierLabel .DocSearch-Search-Icon { 148 width: calc(var(--spacing) * 4); 149 height: calc(var(--spacing) * 4); 150 } 151 152 #docsearch-list { 153 display: flex; 154 flex-direction: column; 155 gap: calc(var(--spacing) * 2); 156 } 157 158 .DocSearch-Hit { 159 padding-bottom: 0; 160 } 161 162 .DocSearch-Hit[aria-selected=true] a { 163 background-color: color-mix(in oklab, var(--input) 50%, transparent); 164 } 165 166 .DocSearch-Hit mark { 167 position: relative; 168 font-weight: 600; 169 color: var(--color-primary-foreground); 170 171 &::after { 172 content: ''; 173 position: absolute; 174 inset: -0.1em; 175 background-color: var(--color-sky-400); 176 opacity: 0.2; 177 border-radius: 0.25rem; 178 } 179 } 180 181 .DocSearch-Hit[aria-selected=true] mark { 182 text-decoration: none; 183 } 184 185 /* Hide the lvl0-grouping section header. lvl0 was dropped from 186 * searchableAttributes (audit/upload/05_drop_lvl0_searchable.py), 187 * so visually grouping by it surfaces an arbitrary signal that 188 * users found confusing. Hits render as a flat list; the lvl0 189 * value still appears as a breadcrumb chip on each card. */ 190 .DocSearch-Hit-source { 191 display: none; 192 } 193 194 .DocSearch-HitsFooter { 195 padding: 0; 196 } 197
198 .DocSearch-Footer { 199 display: none; 200 } 201 `}),(0,n.jsx)("div",{role:"search","aria-label":"Search documentation",children:(0,n.jsx)(J.VA,{appId:"HFB7GDLFQ5",apiKey:"0b8df9c4ba2971da5d383b90ad9b0827",indexName:"docs",placeholder:"Search",disableUserPersonalization:!0,transformSearchClient:e=>{let t=e.search.bind(e),r=async(...e)=>{let r=await t(...e);for(let e of r?.results??[])for(let t of e?.hits??[])t.__originalLvl1=t?.hierarchy?.lvl1,t?.hierarchy&&(t.hierarchy.lvl1=t.objectID),t?._highlightResult?.hierarchy?.lvl0&&(t._highlightResult.hierarchy.lvl0={value:"",matchLevel:"none",matchedWords:[]});return r};return(0,K.b)({...e,search:r},{appId:"HFB7GDLFQ5",surface:"docs"})},transformItems:e=>e.map(e=>{var t;t=e.url,e.url=t.replace(G,"").replace(q,(e,t,a)=>{let s,n;return(s=t,n=a,r.some(e=>{let t=o.exec(e);return null!==t&&t[1]===s&&t[2]===n}))?`/v${t}.${a}`:""});let a=e.__originalLvl1;return void 0!==a&&e.hierarchy&&(e.hierarchy.lvl1=a),e}),insights:{onActive:e=>{let t=e.item;a.prefetch(Q(t.url))}},navigator:{navigate({itemUrl:e}){a.push(Q(e))}},hitComponent:({hit:e})=>{let t=t=>{let r=e._snippetResult?.hierarchy[t];return r?r.value:r=e.hierarchy[t]},r=null,a=[];for(let e=6;e>=0;e--){let s=t(`lvl${e}`);if(s){if(!r){r=s;continue}a.push(s)}}a.reverse();let s=e._snippetResult?.content?.value||e.content;return(0,n.jsx)(E(),{href:Q(e.url),className:"rounded border p-4 py-2 text-sm text-muted-foreground",children:(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsx)("h2",{dangerouslySetInnerHTML:{__html:r??""},className:"text-18px text-white"}),a.length?(0,n.jsx)("div",{children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:a.join(" > ")},className:"self-start rounded bg-smoke p-1"})}
201):null,s?(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:s}}):null]})})},maxResultsPerGroup:20,searchParameters:{facetFilters:s}})})]})};var Y=r(75849);function ee({className:e,children:t,...r}){return(0,n.jsxs)(Y.bL,{"data-slot":"scroll-area",className:(0,y.cn)("relative",e),...r,children:[(0,n.jsx)(Y.LM,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:t}),(0,n.jsx)(et,{}),(0,n.jsx)(Y.OK,{})]})}function et({className:e,orientation:t="vertical",...r}){return(0,n.jsx)(Y.VM,{"data-slot":"scroll-area-scrollbar",orientation:t,className:(0,y.cn)("flex touch-none p-px transition-colors select-none","vertical"===t&&"h-full w-2.5 border-l border-l-transparent","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent",e),...r,children:(0,n.jsx)(Y.lr,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}let er="focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring focus-visible:outline-none",ea=({routes:e,currentRoute:t,baseRoute:r,currentVersion:a,searchVersion:s,versions:o,indexedVersions:i,product:l})=>(0,n.jsxs)("aside",{className:"fixed inset-0 z-10 hidden w-full bg-black p-5 pt-16 [--search-height:--spacing(24)] data-[mobile-visibility=visible]:block lg:sticky lg:top-20 lg:mb-40 lg:block! lg:p-0","data-mobile-visibility":"hidden",id:"docs-sidebar",children:[(0,n.jsxs)("div",{className:"mb-4 flex flex-col gap-2",children:["code-server"!==l&&(0,n.jsx)(P,{versions:o,currentVersion:a,latestDocsUrl:"https://github.com/coder/coder/releases"}),(0,n.jsx)(X,{searchVersion:s,product:l,indexedVersions:i})]}),(0,n.jsxs)(ee,{className:"h-(--sidebar-max-height) pr-3 [--sidebar-max-height:calc(100dvh-var(--docs-top-padding)-var(--search-height))]",children:[(0,n.jsx)("nav",{"aria-label":"Documentation",className:"flex flex-col gap-2",children:e.map(e=>(0,n.jsx)(es,{trailing:0,doc:e,currentRoute:t,baseRoute:r},e.route))}),(0,n.jsx)(et,{orientation:"vertical"})]})]}),es=({currentRoute:e,trailing:t,doc:r,baseRoute:a})=>{let s=!(e.length-1<t)&&e[t].route===r.route,o=r.children?.filter(e=>e.navigable)??[],i=o.length>0,l=t<0,[d,c]=(0,_.useState)(l||s);(0,_.useEffect)(()=>{s&&c(!0)},[s]);let h=l||d,p=r.route.endsWith("/about")?`${a}/about`:r.route,u=(0,y.cn)(["hover:text-violet focus:text-violet text-smoke/60 relative","dark:text-white/60 dark:hover:text-white dark:focus:text-white","flex-1 cursor-pointer text-left text-[14px]",0===t&&"text-[15px]","transition-colors duration-150",er,{"text-violet font-medium dark:text-white":s}]);return(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex w-full items-center justify-between gap-2",children:[(0,n.jsx)(E(),{href:""===r.route?"#":p,className:u,children:r.title}),i?(0,n.jsx)("button",{type:"button",onClick:()=>c(e=>!e),"aria-expanded":h,"aria-label":`${h?"Collapse":"Expand"} ${r.title} section`,className:(0,y.cn)(["hover:text-violet focus:text-violet text-smoke/60","dark:text-white/60 dark:hover:text-white dark:focus:text-white","-mr-2 flex shrink-0 cursor-pointer items-center justify-center p-2","transition-colors duration-150",er,{"text-violet dark:text-white":s}]),children:(0,n.jsx)(A.zp,{className:(0,y.cn)(["size-2.5 shrink-0 transition-transform duration-150",{"rotate-90":h}])})}):(0,n.jsx)("span",{"aria-hidden":!0,className:"size-2.5 shrink-0 opacity-0"})]}),i&&h&&(0,n.jsx)("div",{className:`ruler ${t>0?"nested":""} ${h?"active":""}`,children:(0,n.jsx)("div",{className:"wrapper flex flex-col gap-2 pl-3",children:o.map(r=>(0,n.jsx)(es,{doc:r,currentRoute:e,baseRoute:a,trailing:t+1},r.route))})})]})};var en=r(39586);let eo=({state:e,className:t})=>{if(!e)return null;let r=(Array.isArray(e)?e:[e]).map((e,t)=>{let{label:r,className:a=""}=p[e],s="link"in p[e]?p[e].link:void 0,o=s?"a":"span",i=(0,n.jsx)(o,{className:(0,y.cn)(["not-prose",a,"px-2.5 py-1 font-mono text-xs no-underline!",s&&"transition hover:opacity-80"]),children:r},t);return s?(0,n.jsx)(E(),{href:s,passHref:!0,legacyBehavior:!0,children:i},t):i});return(0,n.jsx)("div",{className:(0,y.cn)("flex gap-2",t),children:r})},ei=({filePath:e,product:t})=>{let r="coder/code-server",a=e;
201switch(t){case"v1":r="coder/docs";break;case"v2":r="coder/coder",a=`docs/${e}`;break;case"code-server":r="coder/code-server",a=`docs/${e}`;break;default:throw Error(`unrecognized product ${t}`)}return(0,n.jsxs)("footer",{className:"mt-16 border-t py-8 text-sm dark:text-white/60",children:["Found an opportunity to improve our docs?"," ",(0,n.jsx)("a",{href:`https://github.com/${r}/edit/main/${a}`,rel:"noreferrer",target:"_blank",className:"underline underline-offset-2 transition-colors hover:text-white",children:"Make an edit."})]})};var el=r(362),ed=r(92326),ec=r(44905),eh=r(78681),ep=r(54471),eu=r(53637),em=r(92468);let ex=e=>`https://coder.com${e}`,eg=({className:e,markdownHref:t})=>{let r=(0,z.useRouter)(),[a,s]=(0,_.useState)("idle"),o=(0,_.useRef)(void 0);(0,_.useEffect)(()=>()=>clearTimeout(o.current),[]);let i=(0,en.WR)(r.asPath),l=t??(0,en.p0)(r.asPath),d=e=>{s(e),clearTimeout(o.current),o.current=setTimeout(()=>s("idle"),1500)},c=async e=>{if(!navigator.clipboard)return!1;try{return await navigator.clipboard.writeText(e),!0}catch{return!1}},h=async()=>{let e=null;try{let t=await fetch(l,{headers:{Accept:"text/markdown"}});t.ok&&(e=await t.text())}catch{}await c(e??ex(l))&&d("markdown")},p=async()=>{await c(ex(i))&&d("url")},u=`Read ${ex(l)} and help me with questions about this Coder docs page.`,m=`https://chatgpt.com/?hints=search&q=${encodeURIComponent(u)}`,x=`https://claude.ai/new?q=${encodeURIComponent(u)}`;return(0,n.jsxs)(el.rI,{children:[(0,n.jsxs)(el.ty,{className:(0,y.cn)("border-smoke hover:bg-smoke data-[state=open]:bg-smoke inline-flex shrink-0 items-center gap-1.5 rounded-md border bg-transparent px-2.5 py-1.5 text-sm font-medium text-white/80 outline-none transition-colors hover:text-white focus-visible:ring-2 focus-visible:ring-white/40 data-[state=open]:text-white",e),children:[(0,n.jsx)(ed.G,{className:"size-4"}),"Copy page",(0,n.jsx)(ec.a,{className:"size-3.5 opacity-70"})]}),(0,n.jsxs)(el.SQ,{align:"end",className:"w-60",children:[(0,n.jsx)(el.lp,{className:"text-muted-foreground",children:"This page"}),(0,n.jsxs)(el._2,{onSelect:e=>{e.preventDefault(),h()},children:["markdown"===a?(0,n.jsx)(eh.J,{}):(0,n.jsx)(ed.G,{}),"markdown"===a?"Copied Markdown":"Copy as Markdown"]}),(0,n.jsx)(el._2,{asChild:!0,children:(0,n.jsxs)("a",{href:l,target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)(ep.D,{}),"View as Markdown"]})}),(0,n.jsxs)(el._2,{onSelect:e=>{e.preventDefault(),p()},children:["url"===a?(0,n.jsx)(eh.J,{}):(0,n.jsx)(eu.X,{}),"url"===a?"Copied URL":"Copy page URL"]}),(0,n.jsx)(el.mB,{}),(0,n.jsx)(el.lp,{className:"text-muted-foreground",children:"Ask about this page"}),(0,n.jsx)(el._2,{asChild:!0,children:(0,n.jsxs)("a",{href:m,target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)(em.B,{}),"Open in ChatGPT"]})}),(0,n.jsx)(el._2,{asChild:!0,children:(0,n.jsxs)("a",{href:x,target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)(em.B,{}),"Open in Claude"]})})]})]})};var ef=r(17902);let eb=({parts:e,last_updated:t})=>{let r=e.length-1;return(0,n.jsxs)("div",{className:"mb-4",children:[(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-3 text-14px leading-[145%] tracking-[0.28px]",children:e.map((t,a)=>a===r?(0,n.jsx)("span",{children:t.title},t.title):(0,n.jsxs)(_.Fragment,{children:[(0,n.jsx)(E(),{href:t.path,title:t.title,className:"font-medium opacity-65 transition-all hover:text-violet hover:opacity-100 dark:hover:text-white",children:t.title}),a!==e.length-1&&(0,n.jsx)("span",{className:"h-1 w-0.75 bg-current"})]},t.path))}),t&&(0,n.jsxs)("div",{children:[(0,n.jsx)(ef.z,{}),(0,n.jsxs)("p",{children:["Last Updated: ",(0,n.jsx)("span",{children:t})]})]})]})};var ev=r(28027),ew=r(80723);function ek({className:e,...t}){return(0,n.jsx)(ew.bL,{"data-slot":"tabs",className:(0,y.cn)("flex flex-col gap-2",e),...t})}function ej({className:e,...t}){return(0,n.jsx)(ew.B8,{"data-slot":"tabs-list",className:(0,y.cn)("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function ey({className:e,...t}){return(0,n.jsx)(ew.l9,{"data-slot":"tabs-trigger",className:(0,y.cn)("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focu
201s-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function eC({className:e,...t}){return(0,n.jsx)(ew.UC,{"data-slot":"tabs-content",className:(0,y.cn)("flex-1 outline-none",e),...t})}function e_({children:e}){let t=(0,_.useMemo)(()=>{let t=[],r={content:[]},a=null;return _.Children.forEach(e,e=>{("h2"===e.type||"h3"===e.type||"h4"===e.type)&&(null===a||e.type===a)?(null===a&&(a=e.type),r.header&&(t.push(r),r={content:[]}),r.header=e.props.children,r.content=[]):r.content.push(e)}),r.header&&t.push(r),t},[e]),[r,a]=(0,_.useState)("0");return(0,n.jsx)("div",{children:(0,n.jsxs)(ek,{value:r,onValueChange:a,className:"mb-[1.25em] gap-0 rounded border",children:[(0,n.jsx)("div",{className:"bg-smoke p-0",children:(0,n.jsxs)(ee,{children:[(0,n.jsx)(ej,{className:"gap-1 bg-smoke p-0",children:t.map((e,t)=>(0,n.jsx)(ey,{value:`${t}`,className:"rounded-none border-0 border-y-1 border-transparent! px-3 font-medium data-[state=active]:border-b-white! [&_a]:hidden",children:e.header},t))}),(0,n.jsx)(et,{orientation:"horizontal"})]})}),t.map((e,t)=>(0,n.jsx)(eC,{value:`${t}`,className:"p-4 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",children:e.content},t))]})})}var eN=r(53928),eL=r(60415);let eS=({children:e})=>(0,n.jsxs)("div",{className:"relative my-6 flex last-of-type:mb-0",children:[(0,n.jsx)(eL.A,{children:e}),(0,n.jsx)(eN.A,{text:e.props.children})]});var eF=r(28782),e$=r(81297),eA=r(25320),eT=r.n(eA),eD=r(42441),eM=r(80907);let eI=(e,t,r,a)=>{let s=`${e.route}-${r.key}`;if("h1"===t)return(0,n.jsx)(_.Fragment,{},"header");if("span"===t&&"className"in r&&r.className.includes("icon-link"))return(0,n.jsx)(eD.N,{className:"size-4"},s);if("a"===t&&r&&"href"in r&&"string"==typeof r.href){if(r.href.startsWith("#"))return(0,n.jsx)("a",{href:r.href,children:a},s);try{new URL(r.href)}catch(s){let t=eM.join(e.baseRoute,r.href);return(0,n.jsx)(E(),{href:t,children:a},t)}return(0,_.createElement)("a",{target:"_blank",rel:"noopener",...r,key:s},a)}if("div"===t&&"tabs"===r.className)return(0,n.jsx)(e_,{children:a},s);if("button"===t)return(0,_.createElement)(ev.A,{size:"large",...r,key:s},a);if("img"===t&&r.height&&r.width){let e=-1!==r.src.indexOf(".svg"),t=-1!==r.src.indexOf(".gif")?(0,_.createElement)("img",{...r,key:s,alt:"",loading:"lazy"}):e?(0,_.createElement)("img",{...r,key:s,style:{height:`${r.height}px`},alt:""}):(0,n.jsx)(eT(),{alt:"",...r,loading:"lazy"});return(0,n.jsx)(eF.A,{className:"next-image",zoomImg:{src:r.src,alt:r.alt},children:t},s)}if("pre"===t&&"code"===a.type)return(0,_.createElement)(eS,{...r,key:s},a);if("video"===t&&r.autoPlay)return(0,_.createElement)("video",{...r,key:s,muted:!0},a);let o=Object.keys(p).find(e=>r.className===`badge-${e}`);if(o)return(0,_.createElement)(eo,{heading:r.heading,...r,key:s,state:o,className:"before:content-['_']"});if(e.createElement){let n=e.createElement(t,{...r,key:s},a);if(n)return n}return _.createElement(t,{...r,key:s},a)},eE=({html:e,baseRoute:t,createElement:r,route:a})=>{let s=_.useMemo(()=>(0,e$.Ay)(e,{library:{cloneElement:_.cloneElement,createElement:eI.bind(null,{baseRoute:t,createElement:r,route:a}),isValidElement:_.isValidElement}}),[t,r,e,a]);return(0,n.jsx)(n.Fragment,{children:s})},ez=({tableOfContents:e})=>{let t=(0,_.useRef)(null),r=()=>{t.current&&(t.current.open=!1)};return(0,n.jsxs)("details",{ref:t,className:"not-prose group mb-8 rounded border border-white/10 lg:hidden",children:[(0,n.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-2 px-4 py-3 [&::-webkit-details-marker]:hidden",children:[(0,n.jsx)(A.zp,{"aria-hidden":!0,className:"size-3 shrink-0 text-white/50 transition-transform duration-200 group-open:rotate-90"}),(0,n.jsx)("span",{className:"font-mono text-mono-12px font-medium text-white/80",children:"On this page"})]}),(0,n.jsx)("nav",{"aria-label":"On this page",className:"max-h-[50dvh] overflow-y-auto border-t border-white/10 px-4 py-2",children:(0,n.jsx)("ul",{children:e.map(({title:e,id:t})=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{title:e,href:`#${t}`,onClick:r,className:"block py-2 text-[14px] tracking-[0.02em] text-black/60 transition-colors duration-200 hover:text-violet dark:text-white/60 dark:hover:text-white",children:e})},t))})})]})};var eR=r(35318);let eB=({currentRoute:e,crumbs:t,baseRoute:r,product:a,doc:s})=>{let o=b(e[e.length-1],s.attributes),i=(0,en.h2)(s.attributes?.markdown_url),l=(0,_.useCallback)(e=>{if("children"===e&&o.children?.length!==0)return(0,n.jsx)("div",{className:"cards-wrapper",children:o.children?.map(e=>(0,n.jsx)("div",{className:"card",children:(0,n.jsxs)(E(),{href:e.route||"#",children:[(0,n.jsx)("p",{className:"title",children:e.title}),e.description&&(0,n.jsx)("div",{className:"description",children:e.description})]})}
201,e.title))})},[o.children]);return(0,n.jsxs)("div",{className:"max-w-[65ch]",children:[t.length>0&&(0,n.jsx)(eb,{parts:t,last_updated:o.last_updated}),(0,n.jsxs)("div",{className:"my-6 flex items-start justify-between gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("h1",{className:"text-40px leading-[105%] font-medium",children:o.title}),o.state&&(0,n.jsx)(eo,{state:o.state})]}),(0,n.jsx)(eg,{className:"mt-1.5",markdownHref:i})]}),s.tableOfContents.length>1&&(0,n.jsx)(ez,{tableOfContents:s.tableOfContents}),s.html&&(0,n.jsx)(eR.A,{className:(0,y.cn)(["prose-img:border prose-img:border-smoke prose-img:m-0 prose-code:bg-smoke mt-5","prose-kbd:bg-smoke prose-kbd:text-white prose-kbd:font-mono prose-kbd:text-[0.875em] prose-kbd:font-medium prose-kbd:px-1 prose-kbd:pt-0.5 prose-kbd:pb-1 prose-kbd:rounded prose-kbd:border prose-kbd:border-white/15 prose-kbd:shadow-none","prose-ol:marker:text-inherit prose-table:border-smoke! prose-td:text-inherit prose-thead:bg-transparent prose-th:text-inherit prose-th:border-smoke! prose-td:border-smoke! prose-tr:last-of-type:[&_td]:border-0 prose-th:bg-smoke","[&_blockquote_p:after]:content-none! [&_blockquote_p:before]:content-none!","[--markdown-alert-color:var(--color-smoke)] [&_.markdown-alert]:my-[1em] [&_.markdown-alert]:p-5 [&_.markdown-alert]:rounded [&_.markdown-alert]:border [&_.markdown-alert]:border-(--markdown-alert-color)","[&_.markdown-alert-title]:mt-0 [&_.markdown-alert-title]:flex [&_.markdown-alert-title]:items-center [&_.markdown-alert-title]:gap-1 [&_.markdown-alert-title]:text-(--markdown-alert-color)","[&_.markdown-alert_svg]:fill-current","[&_.markdown-alert_p]:last-of-type:mb-0 [&_.markdown-alert-title]:font-medium","[&_.markdown-alert-note]:[--markdown-alert-color:var(--color-sky-500)]","[&_.markdown-alert-warning]:[--markdown-alert-color:var(--color-amber-500)]","[&_.markdown-alert-caution]:[--markdown-alert-color:var(--color-ember)]","[&_.markdown-alert-tip]:[--markdown-alert-color:var(--color-teal-500)]","[&_.markdown-alert-important]:[--markdown-alert-color:var(--color-indigo-400)]","[&_.cards-wrapper]:flex [&_.cards-wrapper]:grid-cols-2 [&_.cards-wrapper]:flex-col [&_.cards-wrapper]:gap-4 [&_.cards-wrapper]:md:grid","[&_.card_a]:border-smoke [&_.card_a]:block [&_.card_a]:h-full [&_.card_a]:rounded [&_.card_a]:border [&_.card_a]:p-5","[&_.card_a]:hover:bg-smoke [&_.card_a]:no-underline [&_.card_a]:transition-all [&_.card_a]:duration-30 [&_.card_a]:hover:text-inherit","[&_.card_.title]:text-clamp-18/18 [&_.card_.title]:leading-[1.25] [&_.card_.title]:font-medium [&_.card_.title]:tracking-[0.02em]","[&_.card_.description]:text-smoke [&_.card_.description]:mt-1.5 [&_.card_.description]:text-sm [&_.card_.description]:leading-[1.45] [&_.card_.description]:tracking-[0.02em] [&_.card_.description]:dark:text-white/80","prose-headings:[&:not(th)]:flex prose-headings:[&:not(th)]:flex-wrap prose-headings:items-center prose-headings:[&>a]:first:-ml-6 prose-headings:[&>a]:first:opacity-0 prose-headings:[&>a]:first:transition-opacity prose-headings:[&>a]:first:duration-200 prose-headings:[&>a]:first:mr-2 prose-headings:hover:[&>a]:first:opacity-100 prose-headings:focus-within:[&>a]:first:opacity-100","prose-p:[&>a:has(.next-image)]:inline-block [&>div:is(:first-child)_img]:hidden [&>hr]:hidden"]),children:(0,n.jsx)(eE,{baseRoute:r,html:s.html,createElement:l,route:o.path})}),(0,n.jsx)(ei,{product:a,filePath:o.path})]})},eV=({tableOfContents:e})=>{let{activeElementId:t}=eO("h2[id]");return(0,n.jsxs)("div",{className:"sticky top-20 -ml-(--active-indicator-position) w-full [--active-indicator-position:--spacing(5)] [--toc-heading-height:--spacing(8)] lg:mb-40 dark:text-white/60",children:[(0,n.jsx)("p",{id:"docs-on-this-page-heading",className:"mb-4 pl-(--active-indicator-position) font-mono text-mono-12px font-medium text-black dark:text-white/80",children:"On this page"}),(0,n.jsx)(ee,{className:"h-(--toc-max-height) [--toc-max-height:calc(100dvh-var(--docs-top-padding)-var(--toc-heading-height))]",children:(0,n.jsx)("nav",{"aria-labelledby":"docs-on-this-page-heading",className:"pl-(--active-indicator-position)",children:(0,n.jsx)("ul",{className:"space-y-1",children:e.map(({title:e,id:r})=>{let a=t===r;return(0,n.jsx)("li",{children:(0,n.jsxs)("a",{title:e,href:`#${r}`,className:(0,y.cn)(["hover:text-violet relative block py-1 text-[14px] tracking-[0.02em] text-black/60 transition-colors duration-200 dark:text-white/60 dark:hover:text-white",{"text-violet dark:text-white":a}]),children:[a&&(0,n.jsx)("span",{className:"absolute top-2.75 -left-(--active-indicator-position) h-1.75 w-1.5 scale-100 bg-violet transition-transform dark:bg-white"}),e]})},r)})})})})]})}
201,eO=e=>{let[t,r]=(0,_.useState)({activeElementId:void 0});return(0,_.useEffect)(()=>{let t=new Set,a=new IntersectionObserver(e=>{let a;e.forEach(e=>{let r=e.target.getAttribute("id");e.isIntersecting?t.add(r):t.delete(r),t.forEach(e=>{let t=document.getElementById(e);if(!t)return;let r=a?a.getBoundingClientRect().top:1/0,s=t.getBoundingClientRect().top;s>0&&s<r&&(a=t)})}),a&&r({activeElementId:a.id})});return document.querySelectorAll(e).forEach(e=>{a.observe(e)}),()=>{a.disconnect()}},[e]),t},eW=({baseRoute:e,quickstartLink:t})=>(0,n.jsxs)("section",{className:"mb-24 flex max-w-[628px] flex-col gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,n.jsx)("h1",{className:"m-0 text-[52px] leading-[105%] font-medium",children:"Coder Docs"}),(0,n.jsx)("p",{className:"text-[20px] text-white/80",children:"Coder provides AI development infrastructure for customizable workspaces, enabling builders and their AI coding agents to work side by side in secure, consistent environments."})]}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-3 sm:flex-nowrap",children:[(0,n.jsx)(ev.A,{className:"w-full",addSquare:!0,color:"white",href:`${e}/install`,children:"Install Coder"}),(0,n.jsx)(ev.A,{className:"w-full",addSquare:!0,color:"white",href:t,children:"Quickstart Guide"}),(0,n.jsx)(ev.A,{className:"w-full",color:"fadedWhite",href:`${e}/about`,children:"About Coder"})]})]}),eP=["get-started","tutorials/quickstart"],eZ=(e,t)=>{for(let r of e)r.route&&t.add(r.route),r.children&&eZ(r.children,t)},eH=({headerText:e,callToAction:t,children:r,headerLevel:a="h2"})=>(0,n.jsxs)("section",{className:"flex flex-col flex-wrap gap-6",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)(a,{className:"text-2xl font-medium text-primary",children:e}),void 0!==t&&(0,n.jsx)(ev.A,{color:"fadedWhite",size:"small",href:t.link,children:t.text})]}),r]}),eU=["developer","templateAdmin","deploymentAdmin"],eq={developer:{displayTitle:"Developers",description:"Learn how to create, access, and manage your workspaces in Coder.",link:"/user-guides",icon:(0,n.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("line",{x1:"5.33398",y1:"30.665",x2:"37.3333",y2:"30.665",stroke:"#FF8067",strokeWidth:"2.67"}),(0,n.jsx)("line",{x1:"4.00236",y1:"8",x2:"4.00236",y2:"29.3331",stroke:"#FF8067",strokeWidth:"2.67"}),(0,n.jsx)("line",{x1:"36.0024",y1:"10.655",x2:"36.0024",y2:"32",stroke:"#FF8067",strokeWidth:"2.67"}),(0,n.jsx)("line",{x1:"2.66663",y1:"9.32003",x2:"34.6673",y2:"9.32003",stroke:"#FF8067",strokeWidth:"2.67"}),(0,n.jsx)("path",{d:"M10.6667 14.6666L16 19.9999L10.6667 25.3333",stroke:"#FF8067",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M21.3333 24.6667H29.3333",stroke:"#FF8067",strokeWidth:"2.66667"})]})},templateAdmin:{displayTitle:"Template Admins",description:"Discover how to write templates, define team access, and wrangle infrastructure costs.",link:"/admin/templates",icon:(0,n.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M5.33335 6.66669L18.6667 6.66669",stroke:"#F08DFF",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M6.66669 32V8",stroke:"#F08DFF",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M33.3333 34.6667V12",stroke:"#F08DFF",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M5.33333 33.3333H32",stroke:"#F08DFF",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M17.3333 12L17.3333 8",stroke:"#F08DFF",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M16.6667 10.6667L32 10.6667",stroke:"#F08DFF",strokeWidth:"2.66667"}),(0,n.jsx)("path",{d:"M20 24L20 20",stroke:"#F08DFF",strokeWidth:"2.66667"})]})},deploymentAdmin:{displayTitle:"Deployment Admins",description:"Find out how to manage your deployment's users, control plane, provisioners, security, and authentication.",link:"/admin",icon:(0,n.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_1001_39527)",children:[(0,n.jsx)("line",{y1:"-1.335",x2:"31.9993",y2:"-1.335",transform:"matrix(1 -8.74228e-08 -8.74228e-08 -1 5.33398 8)",stroke:"#A4E8F2",strokeWidth:"2.67"}),(0,n.jsx)("line",{y1:"-1.335",x2:"21.3331",y2:"-1.335",transform:"matrix(0 -1 -1 0 2.66736 32)",stroke:"#A4E8F2",strokeWidth:"2.67"}),(0,n.jsx)("line",{y1:"-1.335",x2:"21.3449",y2:"-1.335",transform:"matrix(4.37114e-08 -1 -1 -4.37114e-08 34.6674 29.3449)",stroke:"#A4E8F2",strokeWidth:"2.67"}),(0,n.jsx)("line",{y1:"-1.335",x2:"32.0007",y2:"-1.335",transform:"matrix(1 0 0 -1 2.66663 29.3449)",stroke:"#A4E8F2",strokeWidth:"2.67"}),(0,n.jsx)("rect",{x:"1.335",y:"-1.335",width:"10.3883",height:"10.3883",transform:"matrix(1 0 0 -1 18.9424 23.8592)",stroke:"#A4E8F2",strokeWidth:"2.67"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_1001_39527",children:(0,n.jsx)("rect",{width:"40",height:"40",fill:"white",transform:"matrix(1 0 0 -1 0 40)"})})})]})}},eG=({persona:e,headerLevel:t="h2",baseRoute:r})=>{let a=eq[e];return(0,n.jsx)("a",{className:"flex w-full text-inherit visited:text-inherit hover:text-inherit focus:text-inherit active:text-inherit",href:`${r}${a.link}`,children:(0,n.jsxs)("div",{className:"w-full rounded border-1 border-smoke p-6 transition-all duration-300 ease-in-out hover:bg-smoke",children:[(0,n.jsx)("div",{role:"presentation",className:"mb-5",children:a.icon}),(0,n.jsx)(t,{className:"pb-2.5 text-[20px] leading-[1.15] font-medium tracking-[0.4px]",children:a.displayTitle}),(0,n.jsx)("p",{className:"text-base leading-[1.45] tracking-[0.32px] text-white/80",children:a.description})]})})}
201,eK=({icon:e,link:t,headerText:r,description:a,headerLevel:s="h2",hideHeader:o=!1})=>t?(0,n.jsx)("a",{className:"flex w-full text-inherit visited:text-inherit hover:text-inherit focus:text-inherit active:text-inherit [&>article]:text-inherit [&>article]:transition-all [&>article]:duration-200 [&>article]:ease-in-out",href:t.href.startsWith("/")?`${t.baseRoute}${t.href}`:t.href,target:t.openInNewTab?"_blank":void 0,rel:t.openInNewTab?"noreferrer":void 0,children:(0,n.jsxs)("article",{className:"rounded border border-smoke p-6 pr-[60px] hover:bg-smoke",children:[(0,n.jsx)("div",{role:"presentation",className:"mb-6",children:e}),(0,n.jsx)(s,{className:o?"sr-only":"pb-2.5 text-[20px] font-medium tracking-[0.4px]",children:r}),(0,n.jsx)("p",{className:"leading-[1.45] font-normal tracking-[0.32px] text-white/80",children:a})]})}):null,eJ=[{amount:60,unit:"seconds"},{amount:60,unit:"minutes"},{amount:24,unit:"hours"},{amount:7,unit:"days"},{amount:4.34524,unit:"weeks"},{amount:12,unit:"months"},{amount:1/0,unit:"years"}],eQ=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),eX=({headline:e,link:t,timestampIso:r,headerLevel:a="h2"})=>(0,n.jsxs)("a",{className:"grid grid-cols-[110px_1fr] items-center gap-[67px] py-8 leading-none",href:t,children:[(0,n.jsx)("time",{className:"text-[18px] text-white/70",dateTime:r,children:((e,t=new Date)=>{let r=(new Date(e).getTime()-t.getTime())/1e3;for(let e of eJ){if(Math.abs(r)<e.amount)return eQ.format(Math.round(r),e.unit);r/=e.amount}return eQ.format(Math.round(r),"years")})(r)}),(0,n.jsx)(a,{className:"text-[20px] font-medium",children:e})]}),eY=({baseRoute:e,manifest:t,recentNewsPreviews:r})=>{let a=((e,t)=>{let r=new Set;for(let a of(eZ(e,r),eP)){let e=`${t}/${a}`;if(r.has(e))return e}return`${t}/${eP[0]}`})(t.routes,e);return(0,n.jsxs)("div",{className:"[&_:is(ul,ol)]:list-none",children:[(0,n.jsx)(eW,{baseRoute:e,quickstartLink:a}),(0,n.jsxs)("div",{className:"flex flex-col gap-12 bg-black text-white",children:[(0,n.jsx)(eH,{headerText:"Quick-Start",children:(0,n.jsx)("ul",{className:"flex grid-cols-3 flex-col gap-6 md:grid",children:eU.map(t=>(0,n.jsx)("li",{className:"flex",children:(0,n.jsx)(eG,{persona:t,headerLevel:"h3",baseRoute:e})},t))})}),(0,n.jsx)(eH,{headerText:"Ecosystem",children:(0,n.jsx)("ul",{className:"m-0 flex flex-col gap-6 p-0 md:flex-row md:flex-wrap md:gap-5 [&>li]:flex [&>li]:flex-1 [&>li]:flex-shrink-0 [&>li]:flex-col [&>li]:md:flex-[0_0_calc((100%-1.25rem)/2)]",children:e0.map(t=>(0,n.jsx)("li",{children:(0,n.jsx)(eK,{headerLevel:"h3",headerText:t.headerText,description:t.description,icon:t.icon,link:{href:t.link,openInNewTab:t.openLinkInNewTab,baseRoute:e}})},t.headerText))})}),(0,n.jsx)(eH,{headerText:"Recent updates",callToAction:{text:"See changelog",link:"/changelog"},children:r.length>0&&(0,n.jsx)("ol",{className:"m-0 p-0 md:grid md:grid-cols-[max-content_1fr] md:gap-x-8 md:gap-y-2 [&_li]:col-span-full [&_li]:grid [&_li]:grid-cols-subgrid [&_li]:border-t [&_li]:border-white/10 [&_li:last-child]:border-b [&_li:last-child]:border-white/10 [&_li:last-child]:pb-3",children:r.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(eX,{headerLevel:"h4",headline:e.title,timestampIso:e._firstPublishedAt,link:e.link})},e.id))})}),(0,n.jsx)(eH,{headerText:"Reference",children:(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-6 lg:flex-row lg:flex-wrap",children:[(0,n.jsxs)(E(),{className:"block flex-grow rounded border border-smoke p-6 text-center text-[20px] font-medium transition-all duration-300 ease-in-out visited:text-inherit hover:bg-smoke",href:`${e}/reference/api`,children:[(0,n.jsx)("span",{className:"tracking-[0.02em]",children:"API"})," docs"]}),(0,n.jsxs)(E(),{className:"block flex-grow rounded border border-smoke p-6 text-center text-[20px] font-medium transition-all duration-300 ease-in-out visited:text-inherit hover:bg-smoke",href:`${e}/reference/cli`,children:[(0,n.jsx)("span",{className:"tracking-[0.02em]",children:"CLI"})," docs"]})]})})]})]})},e0=[{headerText:"Backstage",link:"https://github.com/coder/backstage-plugins",openLinkInNewTab:!0,description:"Leverage the official Backstage plugin to use the Coder API when building developer portals.",icon:(0,n.jsxs)("svg",{width:"35",height:"44",viewBox:"0 0 35 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{clipPath:"url(#clip0_1001_39536)",children:(0,n.jsx)("path",{d:"M31.1162 17.0505C31.6128 16.7453 32.0757 16.3883 32.4971 15.9855C32.5787 15.9073 32.6563 15.8284 32.7334 15.7493C33.0284 15.4491 33.3006 15.1272 33.5476 14.7863C33.7979 14.4398 34.0135 14.0696 34.1913 13.6809C34.4381 13.1502 34.5896 12.5802 34.6389 11.9971C34.7912 10.0059 33.6154 8.02577 30.9811 6.42883L20.3887 0L8.03989 11.8319L0 19.5354L11.1516 26.3031C12.9375 27.39
20163 14.9889 27.9793 17.0828 27.9887C19.6419 27.9887 22.0939 27.0848 23.903 25.3511C25.8702 23.4656 26.5234 21.0253 25.3095 18.9979C25.1122 18.6687 24.878 18.3632 24.6113 18.0873C25.2615 18.2323 25.9255 18.3061 26.5917 18.3074C26.597 18.3074 26.6021 18.3078 26.6072 18.3078C27.6951 18.3094 28.7737 18.1076 29.7874 17.7129C30.2493 17.5324 30.694 17.3107 31.1162 17.0505ZM20.7879 23.1918C18.8041 25.0925 15.6128 25.3724 13.0148 23.7976L5.29986 19.1144L12.2252 12.4766L20.072 17.2398C22.8996 18.9538 22.7436 21.318 20.7879 23.1918ZM21.7052 14.7494L14.4509 10.3454L21.0645 4.00276L28.1876 8.32722C30.8512 9.94188 31.1973 12.1308 29.271 13.9766C28.2719 14.9222 26.9881 15.5107 25.6196 15.6505C24.2511 15.7902 22.8749 15.4734 21.7052 14.7494ZM24.772 34.2635C22.7618 36.1894 20.031 37.2503 17.0828 37.2503C14.7591 37.2409 12.4824 36.5948 10.5001 35.3822L0 29.01V31.5439L11.1516 38.3116C12.9375 39.4048 14.9889 39.9878 17.0828 39.9972C19.6419 39.9972 22.0939 39.0933 23.903 37.3596C25.2253 36.0924 25.9557 34.5739 25.9238 33.099L25.9236 32.915C25.5853 33.4015 25.1996 33.8532 24.772 34.2635ZM24.772 30.2605C22.7618 32.1865 20.031 33.2473 17.0828 33.2473C14.7591 33.2379 12.4824 32.5918 10.5001 31.3792L0 25.007V27.5412L11.1516 34.3088C12.9375 35.402 14.9889 35.985 17.0828 35.9945C19.6419 35.9945 22.0939 35.0905 23.903 33.3569C25.2253 32.0894 25.9557 30.5711 25.9238 29.096L25.9236 28.9123C25.5854 29.3988 25.1996 29.8504 24.772 30.2605ZM24.772 26.2577C22.7618 28.1837 20.031 29.2446 17.0828 29.2446C14.7591 29.2351 12.4824 28.589 10.5001 27.3764L0 21.0042V23.5382L11.1516 30.3059C12.9375 31.399 14.9889 31.982 17.0828 31.9915C19.6419 31.9915 22.0939 31.0876 23.903 29.3539C25.2253 28.0866 25.9557 26.5681 25.9238 25.0932L25.9236 24.906C25.5858 25.3939 25.2 25.8468 24.772 26.2577ZM33.3657 28.9006C31.6897 30.497 29.4966 31.4391 27.1849 31.5556V31.5554H27.1837L27.1849 34.2937C29.1722 34.1828 31.0551 33.3687 32.4971 31.9968C33.9314 30.6224 34.6683 29.1103 34.652 27.6182V27.3926C34.2754 27.9376 33.8445 28.4428 33.3657 28.9006ZM24.772 38.2662C22.7618 40.1922 20.031 41.2531 17.0828 41.2531C14.7591 41.2436 12.4824 40.5975 10.5001 39.3849L0 33.0127V35.5467L11.1516 42.3144C12.9375 43.4076 14.9889 43.9905 17.0828 44C19.6419 44 22.0939 43.0961 23.903 41.3624C25.2253 40.0951 25.9557 38.5767 25.9238 37.1017L25.9236 36.918C25.5854 37.4045 25.1996 37.8561 24.772 38.2662ZM33.5766 16.6814C33.5069 16.7519 33.4384 16.8224 33.3657 16.8921C32.6823 17.5313 31.9141 18.0733 31.0829 18.5029C30.2332 18.9314 29.3251 19.2328 28.3879 19.3975C27.9077 19.4863 27.4217 19.54 26.9338 19.5583C26.9857 19.7238 27.0266 19.892 27.0621 20.0617C27.1477 20.4667 27.1869 20.8801 27.179 21.294L27.1794 22.2852H27.1849C28.0766 22.2308 28.9545 22.0387 29.7874 21.7156C30.7944 21.3216 31.7148 20.7348 32.4971 19.9883C32.5795 19.9092 32.6516 19.8283 32.7295 19.7484C33.0245 19.4481 33.2966 19.1261 33.5435 18.7852C33.7944 18.4385 34.0105 18.0679 34.1887 17.6787C34.4349 17.1465 34.585 16.5749 34.6322 15.9904C34.6416 15.8635 34.6532 15.7364 34.652 15.6097V15.3994C34.578 15.5057 34.5007 15.6114 34.4202 15.7166C34.1599 16.0558 33.8781 16.3781 33.5766 16.6814ZM33.5733 24.6826C33.5028 24.754 33.4392 24.8271 33.3657 24.8976C31.6898 26.4942 29.4966 27.4363 27.1849 27.5528V27.5526H27.1819L27.1831 30.2909H27.1845L27.1849 30.2911V30.2909C29.1722 30.1801 31.0551 29.3659 32.4971 27.994C33.2031 27.3391 33.7772 26.5551 34.1887 25.6845C34.4348 25.1522 34.585 24.5807 34.6322 23.9962C34.6416 23.8691 34.6532 23.7421 34.652 23.6152V23.39C34.5755 23.5004 34.5016 23.6111 34.4186 23.7203C34.1578 24.0589 33.8754 24.3803 33.5733 24.6826ZM33.5733 20.6799C33.5028 20.7512 33.4395 20.8244 33.3657 20.8949C32.6833 21.5359 31.9142 22.0778 31.0808 22.5045C29.8685 23.1187 28.5419 23.4746 27.1849 23.5498H27.1801L27.1813 26.2882H27.1843L27.1849 26.2884V26.2882C29.1722 26.1773 31.0552 25.363 32.4971 23.9911C32.5795 23.912 32.6516 23.831 32.7295 23.7511C33.0245 23.4509 33.2966 23.1289 33.5435 22.7879C33.7944 22.4413 34.0105 22.0706 34.1887 21.6815C34.4349 21.1493 34.585 20.5777 34.6322 19.9932C34.6416 19.8663 34.6532 19.7392 34.652 19.6125V19.3872C34.5755 19.4976 34.5016 19.6084 34.4186 19.7175C34.1577 20.056 33.8754 20.3775 33.5733 20.6799Z",fill:"#7DF3E1"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_1001_39536",children:(0,n.jsx)("rect",{width:"34.6522",height:"44",fill:"white"})})})]})},{headerText:"VS Code",link:"/user-guides/workspace-access/vscode",openLinkInNewTab:!1,description:"Start coding in VS Code with one click from your Coder deployment.",icon:(0,n.jsxs)("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_1001_39542)",children:[(0,n.jsx)("mask",{id:"mask0_1001_39542",className:"mask-alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"44",height:"44",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.2012 43.6995C31.8942 43.9695 32.6844 43.9522 33.3839 43.6156L42.4428 39.2567C43.3946 38.7986 44 37.8352 44 36.7784V7.22185C44 6.16497 43.3947 5.20159 42.4428 4.74355L33.3839 0.384452C32.4659 -0.0572571 31.3916 0.0509341 30.5859 0.636658C30.4709 0.720328 30.3612 0.813749 30.2584 0.9167L12.9162 16.7383L5.36237 11.0042C4.65916 10.4705 3.6756 10.5142 3.02251 11.1083L0.599733 13.3122C-0.199123 14.0388 -0.200038 15.2956 0.597753 16.0235L7.14872 22L0.597753 27.9766C-0.200038 28.7045 -0.199123 29.9613 0.599733 30.6879L3.02251 32.89
20118C3.6756 33.4859 4.65916 33.5296 5.36237 32.9958L12.9162 27.2618L30.2584 43.0833C30.5327 43.3579 30.8548 43.5646 31.2012 43.6995ZM33.0067 12.0115L19.848 22L33.0067 31.9885V12.0115Z",fill:"white"})}),(0,n.jsxs)("g",{mask:"url(#mask0_1001_39542)",children:[(0,n.jsx)("path",{d:"M42.4436 4.75033L33.3777 0.385242C32.3283 -0.120016 31.0742 0.0931126 30.2506 0.916669L0.571996 27.9766C-0.226284 28.7044 -0.225366 29.9612 0.573976 30.6879L2.99822 32.8918C3.65171 33.4858 4.63589 33.5296 5.33949 32.9958L41.0794 5.88276C42.2785 4.97315 44.0006 5.82833 44.0006 7.33335V7.2281C44.0006 6.17166 43.3954 5.20864 42.4436 4.75033Z",fill:"#0065A9"}),(0,n.jsx)("g",{filter:"url(#filter0_d_1001_39542)",children:(0,n.jsx)("path",{d:"M42.4433 39.2497L33.3773 43.6148C32.3279 44.1201 31.0738 43.9069 30.2503 43.0834L0.57163 16.0235C-0.22665 15.2956 -0.225733 14.0388 0.57361 13.3121L2.99785 11.1083C3.65134 10.5142 4.63552 10.4704 5.33913 11.0042L41.0791 38.1173C42.2781 39.0269 44.0003 38.1717 44.0003 36.6667V36.772C44.0003 37.8284 43.3951 38.7914 42.4433 39.2497Z",fill:"#007ACC"})}),(0,n.jsx)("g",{filter:"url(#filter1_d_1001_39542)",children:(0,n.jsx)("path",{d:"M33.3771 43.6156C32.3274 44.1206 31.0733 43.9069 30.2496 43.0833C31.2644 44.0981 32.9996 43.3794 32.9996 41.9442V2.05573C32.9996 0.620565 31.2644 -0.0981738 30.2496 0.916641C31.0733 0.0930097 32.3274 -0.12042 33.3771 0.384391L42.4415 4.7435C43.3939 5.20154 43.9996 6.16492 43.9996 7.2218V36.7783C43.9996 37.8352 43.3939 38.7986 42.4414 39.2566L33.3771 43.6156Z",fill:"#1F9CF0"})}),(0,n.jsx)("g",{className:"mix-blend-overlay",opacity:"0.25",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.1747 43.6994C31.8677 43.9694 32.658 43.9521 33.3574 43.6155L42.4163 39.2566C43.3682 38.7985 43.9735 37.8352 43.9735 36.7782V7.22176C43.9735 6.16483 43.3682 5.20145 42.4163 4.74341L33.3574 0.384331C32.4395 -0.0573788 31.3651 0.0508123 30.5594 0.636532C30.4444 0.720207 30.3347 0.813628 30.2319 0.916579L12.8897 16.7381L5.33587 11.0041C4.63271 10.4703 3.64911 10.5141 2.99602 11.1081L0.573245 13.312C-0.225612 14.0387 -0.226528 15.2955 0.571265 16.0233L7.12223 21.9999L0.571265 27.9765C-0.226528 28.7044 -0.225612 29.9611 0.573245 30.6878L2.99602 32.8917C3.64911 33.4858 4.63271 33.5295 5.33587 32.9957L12.8897 27.2617L30.2319 43.0833C30.5062 43.3577 30.8283 43.5645 31.1747 43.6994ZM32.9802 12.0114L19.8215 21.9999L32.9802 31.9884V12.0114Z",fill:"url(#paint0_linear_1001_39542)"})})]})]}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_d_1001_39542",x:"-3.69316",y:"6.9648",width:"51.3601",height:"40.5881",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"1.83333"}),(0,n.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,n.jsx)("feBlend",{mode:"overlay",in2:"BackgroundImageFix",result:"effect1_dropShadow_1001_39542"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1001_39542",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter1_d_1001_39542",x:"26.583",y:"-3.55327",width:"21.0833",height:"51.1066",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"1.83333"}),(0,n.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,n.jsx)("feBlend",{mode:"overlay",in2:"BackgroundImageFix",result:"effect1_dropShadow_1001_39542"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1001_39542",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_1001_39542",x1:"21.9735",y1:"0.113342",x2:"21.9735",y2:"43.8865",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"white"}),(0,n.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),(0,n.jsx)("clipPath",{id:"clip0_1001_39542",children:(0,n.jsx)("rect",{width:"44",height:"44",fill:"white"})})]})]})},{headerText:"JetBrains Gateway",link:"/user-guides/workspace-access/jetbrains",openLinkInNewTab:!1,description:"Access Coder remote environments from JetBrains IDEs such as IntelliJ and PyCharm.",icon:(0,n.jsxs)("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M13.9838 2.51625L2.51625 13.9838C0.9075 15.5925 0 17.7787 0 20.0613V40.5625C0 42.46 1.54 44 3.4375 44H23.9387C26.2213 44 28.4006 43.0925 30.0163 41.4837L41.4837 30.0163C43.0925 28.4075 44 26.2213 44 23.9387V3.4375C44 1.54 42.46 0 40.5625 0H20.0613C17.7787 0 15.5994 0.9075 13.9838 2.51625Z",fill:"url(#paint0_linear_1001_39559)"}),(0,n.jsx)("path",{d:"M33 11H5.5V38.5H33V11Z",fill:"black"}),(0,n.jsx)("path",{d:"M20.625 32.3125H8.9375V35.0625H20.625V32.3125Z",fill:"white"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_1001_39559",x1:"0.584376",y1:"43.12",x2:"43.0512",y2:"1.24437",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#FF9419"}),(0,n.jsx)("stop",{offset:"0.43",stopColor:"#FF021D"}),(0,n.jsx)("stop",{offset:"0.99",stopColor:"#E600FF"})]})})]})},{headerText:"Dev Containers",link:"/admin/templates/managing-templates/devcontainers",openLinkInNewTab:!1,description:"Build development environments with Dev Containers on Docker, Kubernetes, and OpenShift.",icon:(0,n.jsxs)("svg",{width:"46",height:"44",viewBox:"0 0 46 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M22.5488 0C23.7022 0.00164305 24.5426 0.11337 25.07 0.335182C25.7535 0.626001 26.4444 0.907783 27.1427 1.18053C27.8476 1.45492 28.5352 1.73917 29.2056 2.03327C29.9351 2.35202 30.6235 2.63956 31.2709 2.89587C32.8285 3.51366 34.3623 4.11584 35.8723 4.7024C37.3625 5.2824 38.8429 5.88868 40.3134 6.52126C41.2746 6.9353 42.3393 7.22612 43.2019 7.76094C43.9248 8.20784 44.4498 8.79359 44.7767 9.51818C44.9756 9.9618 45.0774 10.7422 45.0824 11.8595C45.0889 13.3662 45.0922 16.7476 45.0922 22.0037C45.0906 27.2598 45.0865 30.642 45.0799 32.1503C45.0733 33.2676 44.9706 34.0481 44.7718 34.4917C44.4449 35.2163 43.9199 35.8012 43.197 36.2465C42.3344 36.7813 41.2697 37.0721 40.3085 37.4861C38.838 38.1187 37.3576 38.725 35.8673 39.305C34.3574 39.8899 32.8236 40.4913 31.266 41.1091C30.6186 41.3654 29.9293 41.6529 29.1982 41.9717C28.5278 42.2658 27.8402 42.55 27.1353 42.8244C26.437 43.0955 25.7462 43.3765 25.0626 43.6673C24.5369 43.8891 23.6973 44 22.5438 44C21.3888 44 20.5484 43.8883 20.0226 43.6648C19.3391 43.3756 18.6482 43.0947 17.9499 42.8219C17.245 42.5475 16.5574 42.2633 15.887 41.9692C15.1575 41.6504 14.4691 41.3629 13.8217 41.1066C12.2641 40.4888 10.7303 39.8866 9.22037 39.3001C7.73013 38.7201 6.24974 38.1138 4.77922 37.4812C3.81803 37.0672 2.75334 36.7763 1.89074 36.2415C1.1678 35.7946 0.642842 35.2089 0.315876 34.4843C0.117067 34.0407 0.0151984 33.2602 0.0102693 32.1429C0.00205402 30.6363 -0.0012323 27.2541 0.000410745 21.9963C0.000410745 16.7402 0.00451818 13.3588 0.0127334 11.8521C0.0176626 10.7349 0.119532 9.9544 0.318341 9.51078C0.64695 8.7862 1.17272 8.20045 1.89567 7.75354C2.75827 7.21873 3.82296 6.92791 4.78414 6.51633C6.25467 5.88375 7.73506 5.27747 9.2253 4.69747C10.7353 4.11091 12.269 3.50955 13.8267 2.89341C14.474 2.63709 15.1625 2.34956 15.892 2.03081C16.5623 1.7367 17.2499 1.45245 17.9548 1.17806C18.6548 0.905319 19.3465 0.624358 20.03 0.335182C20.5558 0.111727 21.3954 0 22.5488 0ZM3.32512 22.0012C3.32676 26.3685 3.32348 29.45 3.31526 31.2458C3.31033 32.2481 3.33005 32.8552 3.37441 33.0672C3.38278 33.1076 3.40055 33.1455 3.42626 33.1776C3.45197 33.2097 3.48488 33.2352 3.52228 33.252C4.54426 33.7301 5.65989 34.2058 6.86917 34.679C7.95851 35.1062 9.77983 35.8406 12.3331 36.8823C13.4323 37.3292
20114.0345 37.5765 14.1397 37.6242C14.7903 37.915 15.3908 38.1631 15.9413 38.3685C17.3231 38.8877 18.5471 39.383 19.6135 39.8546C20.55 40.2662 21.6098 40.6063 22.5463 40.6063C23.4853 40.6063 24.5451 40.2662 25.4816 39.8546C26.548 39.383 27.772 38.8877 29.1538 38.3685C29.7043 38.1631 30.3048 37.915 30.9554 37.6242C31.0606 37.5765 31.6628 37.3292 32.762 36.8823C35.3153 35.839 37.1366 35.1037 38.2259 34.6765C39.4352 34.2033 40.5508 33.7277 41.5728 33.2495C41.6102 33.2328 41.6431 33.2073 41.6688 33.1751C41.6945 33.143 41.7123 33.1051 41.7207 33.0647C41.765 32.8527 41.7848 32.2456 41.7798 31.2434C41.7716 29.4475 41.7675 26.366 41.7675 21.9988C41.7675 17.6332 41.7716 14.5517 41.7798 12.7542C41.7831 11.7519 41.7626 11.1448 41.7182 10.9328C41.7098 10.8924 41.6921 10.8545 41.6664 10.8224C41.6407 10.7903 41.6077 10.7648 41.5703 10.748C40.5484 10.2699 39.4327 9.79421 38.2235 9.32101C37.1341 8.89382 35.3128 8.15938 32.7595 7.11768C31.6603 6.67077 31.0581 6.42349 30.953 6.37585C30.3023 6.08503 29.7018 5.83693 29.1514 5.63155C27.7696 5.11234 26.5455 4.61779 25.4792 4.14787C24.5451 3.73383 23.4829 3.39371 22.5463 3.39371C21.6073 3.39371 20.5475 3.73383 19.6135 4.14787C18.5455 4.61943 17.3206 5.11481 15.9388 5.63401C15.3884 5.83939 14.7878 6.08749 14.1372 6.37831C14.032 6.42596 13.4299 6.67324 12.3307 7.12015C9.77901 8.16184 7.95851 8.89628 6.86917 9.32347C5.65989 9.79667 4.54426 10.2723 3.52228 10.7505C3.48488 10.7672 3.45197 10.7927 3.42626 10.8249C3.40055 10.857 3.38278 10.8949 3.37441 10.9353C3.33005 11.1473 3.30951 11.7544 3.31279 12.7566C3.32101 14.5541 3.32512 17.6357 3.32512 22.0012Z",fill:"#0097FB"}),(0,n.jsx)("path",{d:"M22.5465 16.1947C22.7075 16.1947 22.811 16.1841 22.857 16.1627C23.6884 15.7832 24.5124 15.4521 25.329 15.1695C25.9944 14.9411 26.512 14.7464 26.8817 14.5854C28.2126 14.0037 29.1639 13.7573 30.5564 13.1682C31.2054 12.8939 31.9258 12.6351 32.7178 12.3919C32.7933 12.3689 32.8674 12.3401 32.9396 12.3056C33.628 11.9869 34.1136 11.8357 34.3962 11.8522C35.6112 11.9212 36.5822 13.1535 35.8897 14.3192C35.3771 15.1843 34.7585 15.1177 34.0043 15.4677C33.2485 15.816 32.5921 16.0814 32.0351 16.2637C30.6057 16.7271 29.5681 17.2594 28.1608 17.7104C27.9587 17.7762 26.7461 18.2297 24.5231 19.0709C24.449 19.0993 24.3853 19.1494 24.3404 19.2145C24.2956 19.2797 24.2716 19.3568 24.2717 19.4356C24.2783 22.3882 24.2807 25.9429 24.2791 30.0999C24.2791 31.1235 24.2775 31.6427 24.2742 31.6575C24.0351 32.6014 23.5866 33.2767 22.5465 33.2767C21.5089 33.2767 21.0604 32.6039 20.8213 31.6575C20.818 31.6427 20.8164 31.1235 20.8164 30.0999C20.8131 25.9429 20.8147 22.3882 20.8213 19.4356C20.8214 19.3568 20.7975 19.2797 20.7526 19.2145C20.7077 19.1494 20.644 19.0993 20.5699 19.0709C18.3469 18.2297 17.1343 17.7762 16.9322 17.7104C15.5249 17.2619 14.4874 16.7295 13.0579 16.2662C12.5009 16.0838 11.8445 15.8185 11.0887 15.4702C10.3346 15.1202 9.71594 15.1867 9.20085 14.3217C8.5083 13.1559 9.47934 11.9236 10.6944 11.8546C10.977 11.8382 11.4625 11.9894 12.1509 12.3081C12.2231 12.3426 12.2973 12.3714 12.3728 12.3944C13.1647 12.6375 13.8852 12.8963 14.5342 13.1707C15.9267 13.7597 16.878 14.0037 18.2089 14.5854C18.5785 14.7464 19.0969 14.9411 19.764 15.1695C20.5806 15.4521 21.4038 15.7832 22.2335 16.1627C22.2811 16.1841 22.3855 16.1947 22.5465 16.1947Z",fill:"#0097FB"})]})},{headerText:"Cursor",link:"/user-guides/workspace-access/cursor",openLinkInNewTab:!1,description:"Connect Cursor to your Coder workspaces for AI-assisted remote development.",icon:(0,n.jsx)("svg",{width:"39",height:"44",viewBox:"0 0 466.73 532.09",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z",fill:"#EDECEC"})})},{headerText:"Devin Desktop",link:"/user-guides/workspace-access/devin-desktop",openLinkInNewTab:!1,description:"Access your Coder workspaces from Devin Desktop (formerly Windsurf) with full remote development support.",icon:(0,n.jsx)("svg",{width:"76",height:"44",viewBox:"4.89 11.2 30.44 17.6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"m35.0485 11.204h-.2901c-1.5267-.0024-2.7657 1.234-2.7657 2.7605v6.1739c0 1.2328-1.019 2.2315-2.2318 2.2315-.7206 0-1.44-.3626-1.8668-.9713l-6.3055-9.0057c-.5231-.7479-1.3745-1.1937-2.296-1.1937-1.4375 0-2.7312 1.2222-2.7312 2.7309v6.2094c0 1.2329-1.0107 2.2316-2.2318 2.2316-.7229 0-1.4411-.3627-1.868-.9713l-7.0557-10.0781c-.15934-.2283-.51723-.1153-.51723.1629v5.3843c0 .2723.08324.5363.23899.7597l6.94394 9.9164c.4102.5861 1.0155 1.0213 1.7134 1.1794 1.7467.3971 3.3543-.9475 3.3543-2.6607v-6.2059c0-1.2329.9988-2.2316 2.2318-2.2316h.0035c.7432 0 1.44.3627 1.8668.9714l6.3067 9.0045c.5244.749 1.3317 1.1936 2.2948 1.1936 1.4697 0 2.7289-1.2233 2.7289-2.7308v-6.2083c0-1.2329.9987-2.2315 2.2318-2.2315h.2461c.1546 0 .2794-.1249.2794-.2794v-5.8623c0-.1546-.1248-.2794-.2794-.2794z",fill:"#FFFFFF"})})}];var e3=r(53244);let e2=/^\/docs(?:\/@[\w\-.%]+)?$/;var e1=r(2272),e4=!0;function e5(e){(0,_.useEffect)(()=>(document.body.classList.add("dark"),()=>{document.body.classList.remove("dark")}),[]);let{baseRoute:t,currentVersion:r,searchVersion:a,currentRoute:s,supportedVersions:l,indexedVersions:c,manifest:h,product:p,content:u}=e,m=s[s.length-1],x=function(e,{currentRoute:t,content:r,baseRouteConfig:a,pageMetaConfig:s,product:n,productC
201onfig:l,baseRoute:d,currentVersion:c}){let h=l[n].title,p=e=>(function(e,t,r){if(!o.test(t))return e;let a=`${r} Docs`;return e.includes(a)?e.replace(a,`${r} ${t} Docs`):e})(e,c,h),u=(0,_.useMemo)(()=>b(e,r.attributes),[e,r.attributes]),m=(e=>{let t=u.route;if(Object.keys(a).includes(t)){let e=a[t];return{...e,title:p(e.title)}}let r=s[t];if(r)return{...r,title:p(r.title)};let o=`${l[n].title} Docs`,i=u.title,d=e.length>1?e[e.length-2]:void 0;return{title:p((d&&d.title!==i?[i,d.title,o]:[i,o]).join(" | ")),description:u.description}})(t),{description:x}=m,g=(0,_.useMemo)(()=>{let e=new URLSearchParams;e.set("title",u.title),x&&e.set("description",x);let r=t.map((e,r)=>r===t.length-1?u.title:e.title).join(" > ");r&&e.set("badge",r),e.set("header",`${l[n].title} Docs`);let a=e1.env.VERCEL_URL||"";return a&&(a=`https://${a}`),`${a}/api/dynamic-og?${e.toString()}`},[u,x,t,n,l]);return{title:m.title,description:m.description,url:e.route,indexable:!d.includes("v1")&&!d.split("/").some(e=>e.startsWith("@")||i.test(e)),image:g}}(m,e),g=function(e,{baseRoute:t,currentRoute:r,content:a}){return(0,_.useMemo)(()=>{if(t===e.route)return[];let s=[{title:"Home",path:t}];r.forEach((e,a)=>{a===r.length-1||e.route!==t&&s.push({title:e.title,path:e.route||""})});let n=d(a.attributes,e.title);return s.push({title:n,path:e.route}),s},[r,t,e,a.attributes])}(m,e),f=(0,z.useRouter)(),v=function(e){let t=e.split(/[?#]/)[0];if(e2.test(t))return!0;let r=t.split("/");return 3===r.length&&"docs"===r[1]&&i.test(r[2])}(f.asPath),w=v?(0,n.jsx)(eY,{...e}):(0,n.jsx)(eB,{...e,doc:u,crumbs:g}),k=u.tableOfContents.length>1&&!v,j=v?"":d(u.attributes,m.title);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e3.A,{...x}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e6({headline:x.title??"",description:x.description??"",author:"Coder",slug:m.route}))}}),(0,n.jsx)("style",{children:` 202 html { 203 scroll-behavior: auto; 204 205 /* .selection::bg-sky-800! */ 206 ::selection { 207 background-color: oklch(44.3% 0.11 240.79) !important; 208 } 209 } 210 `}),(0,n.jsxs)("section",{className:(0,y.cn)("dark","container flex flex-col gap-10 pt-(--docs-top-padding) lg:grid lg:gap-20 dark:text-white","[--docs-top-padding:--spacing(24)] lg:[--docs-top-padding:--spacing(30)]",k?"grid-cols-[230px_max-content_1fr]":"grid-cols-[230px_1fr]"),children:[(0,n.jsx)("div",{className:"-mt-10 lg:mt-0",children:(0,n.jsx)(ea,{routes:h.routes,currentRoute:s,baseRoute:t,versions:l,indexedVersions:c,currentVersion:r,product:p,searchVersion:a})}),(0,n.jsxs)("main",{id:"main-content",tabIndex:-1,className:"pb-40 focus:outline-none",children:[(0,n.jsx)($,{product:p,route:(0,en.WR)(f.asPath),title:j}),w]}
210),k&&(0,n.jsx)("div",{className:"hidden lg:block",children:(0,n.jsx)(eV,{tableOfContents:u.tableOfContents})})]})]})}let e6=({headline:e,description:t,slug:r,author:a,authors:s,datePublished:n,image:o="https://coder.com/og-image.png"})=>({"@context":"https://schema.org","@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":`https://coder.com/blog/${r}`},headline:e,description:t,image:o,author:s?s.map(({name:e})=>({"@type":"Person",name:e})):a,publisher:{"@type":"Organization",name:"Coder",logo:{"@type":"ImageObject",url:"https://coder.com/coder-logo-300x300.png"}},datePublished:n})},15231:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/[[...slug]]",function(){return r(14383)}])},28782:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(66352),s=r(18696);r(6103);var n=r(23551);function o({children:e,zoomImg:t,zoomMargin:r=40,className:i}){return(0,a.jsx)("span",{className:(0,n.cn)("flex justify-center",i),children:(0,a.jsx)(s.i,{zoomImg:t,zoomMargin:r,wrapElement:"span",children:e})})}},35318:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(66352),s=r(23551),n=r(929);let o=({className:e,...t})=>{let r=(0,n.usePathname)(),o=r?.startsWith("/docs");return(0,a.jsx)("div",{...t,className:(0,s.cn)(["prose","prose-headings:font-medium prose-headings:tracking-[0.02em] prose-headings:text-black dark:prose-headings:text-white prose-h1:text-24px prose-h1:mt-12 prose-h1:mb-1 prose-h2:text-24px prose-h2:mt-10 prose-h2:mb-4 prose-h3:text-22px prose-h3:mt-8 prose-h3:mb-3 prose-h4:text-20px prose-h4:mt-6","prose-p:text-smoke dark:prose-p:text-white/80 prose-p:text-18px prose-p:leading-[1.65] prose-p:tracking-[0.02em] prose-p:mb-b","dark:prose-ul:text-white/80 dark:prose-ol:text-white/80","prose-strong:text-black dark:prose-strong:text-white prose-strong:font-medium","prose-ul:pl-5 prose-ul:my-6 prose-li:my-2 prose-li:text-18px prose-li:leading-[1.65] prose-li:tracking-[0.02em] prose-li:pl-1 prose-ol:my-6 prose-ol:pl-6","[&_blockquote_p]:not-italic",!o&&"prose-blockquote:pl-0 prose-blockquote:my-12 prose-blockquote:border-l-0 prose-blockquote:after:content-none prose-blockquote:before:content-none prose-blockquote:text-24px prose-blockquote:font-medium [&_blockquote_p]:text-24px [&_blockquote_p]:leading-[1.4]","prose-code:text-mono-12px prose-code:font-normal prose-code:before:content-none prose-code:after:content-none prose-code:bg-cinder prose-code:px-1 prose-code:pt-0.5 prose-code:pb-1 prose-code:rounded prose-code:font-mono prose-code:tracking-[-0.02em] prose-code:text-white prose-code:wrap-anywhere prose-pre:bg-cinder prose-pre:text-white prose-pre:p-4 prose-pre:overflow-x-auto","prose-a:text-smoke dark:prose-a:text-white prose-a:font-normal prose-a:hover:text-violet dark:prose-a:hover:text-purple prose-a:underline prose-a:underline-offset-2 prose-a:transition-colors prose-a:duration-300","prose-table:my-6 prose-table:border dark:prose-table:border-lightGrey prose-table:rounded-lg prose-thead:bg-linen prose-th:px-4 prose-th:py-3 prose-th:text-left prose-th:font-medium prose-th:text-gray-900 prose-th:border-b dark:prose-th:border-lightGrey prose-td:px-4 prose-td:py-3 prose-td:text-sm prose-td:text-smoke prose-td:border-b dark:prose-td:border-lightGrey",e])})}},46757:(e,t,r)=>{"use strict";r.d(t,{bq:()=>p,eb:()=>m,gC:()=>u,l6:()=>d,s3:()=>c,yv:()=>h});var a=r(66352),s=r(23551);r(95132);var n=r(29280),o=r(44905),i=r(78681),l=r(67839);function d({...e}){return(0,a.jsx)(n.bL,{"data-slot":"select",...e})}function c({...e}){return(0,a.jsx)(n.YJ,{"data-slot":"select-group",...e})}function h({...e}){return(0,a.jsx)(n.WT,{"data-slot":"select-value",...e})}function p({className:e,size:t="default",children:r,...i}){return(0,a.jsxs)(n.l9,{"data-slot":"select-trigger","data-size":t,className:(0,s.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i,children:[r,(0,a.jsx)(n.In,{asChild:!0,children:(0,a.jsx)(o.a,{className:"size-4 opacity-50"})})]})}function u({className:e,children:t,position:r="popper",...o}){return(0,a.jsx)(n.ZL,{children:(0,a.jsxs)(n.UC,{"data-slot":"select-content",className:(0,s.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
210de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...o,children:[(0,a.jsx)(x,{}),(0,a.jsx)(n.LM,{className:(0,s.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),(0,a.jsx)(g,{})]})})}function m({className:e,children:t,...r}){return(0,a.jsxs)(n.q7,{"data-slot":"select-item",className:(0,s.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...r,children:[(0,a.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(i.J,{className:"size-4"})})}),(0,a.jsx)(n.p4,{children:t})]})}function x({className:e,...t}){return(0,a.jsx)(n.PP,{"data-slot":"select-scroll-up-button",className:(0,s.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,a.jsx)(l.Z,{className:"size-4"})})}function g({className:e,...t}){return(0,a.jsx)(n.wn,{"data-slot":"select-scroll-down-button",className:(0,s.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,a.jsx)(o.a,{className:"size-4"})})}},53928:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(66352),s=r(78681),n=r(92326),o=r(95132);let i=({text:e})=>{let[t,r]=(0,o.useState)(!1);return(0,a.jsx)("button",{className:"absolute right-2 bottom-2 flex size-8 cursor-pointer items-center justify-center rounded text-white/60 transition-colors duration-300 hover:text-white [&_svg]:size-4",type:"button",disabled:t,onClick:()=>{navigator.clipboard.writeText(e),r(!0),setTimeout(()=>{r(!1)},1e3)},title:"Copy code",children:t?(0,a.jsx)(s.J,{}):(0,a.jsx)(n.G,{})})}},60415:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,d:()=>i});var a=r(66352),s=r(95132),n=r(20231),o=r(49370);r(25825);let i=[{match:/\/\*[\s\S]*?\*\//g,type:"comment"},{match:/\/\/[^\n]*/g,type:"comment"},{match:/#[^\n]*/g,type:"comment"},{match:/<<-\s*(\w+)[\s\S]*?^\s*\1/gm,type:"string"},{match:/\b[A-Za-z_]\w*(?=\s*=)/g,type:"attr-name"},{match:/"(?:\\.|[^"\\])*"/g,type:"string",sub:[{match:/\$\{[^}]+\}/g,type:"interpolation",sub:[{match:/^\$\{|\}$/g,type:"punct"},{match:/\b\d+(\.\d+)?\b/g,type:"number"},{match:/\b(?:true|false|null)\b/g,type:"literal"},{match:/\b[A-Za-z_]\w*\b/g,type:"identifier"},{match:/\./g,type:"punct"}]}]},{match:/\b0x[0-9a-fA-F]+\b/g,type:"number"},{match:/\b\d+(\.\d+)?(?:[kKmMgG]b?)?\b/g,type:"number"},{match:/\b(?:true|false|null)\b/g,type:"literal"},{match:/\b(?:for|in|if)\b/g,type:"keyword"},{match:/\b(?:provider|metadata|spec|count|env|variable)\b/g,type:"keyword"},{match:/\b[A-Za-z_]\w*(?=\s*\()/g,type:"func"},{match:/[{}\[\]\(\)=,\.]/g,type:"punct"},{match:/\b[A-Za-z_]\w*\b/g,type:"identifier"}];(0,n.rI)("hcl",{default:i});let l=({children:e})=>{let t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{t.current&&(0,n.li)(t.current,(0,o.o)(t.current.textContent))},[e]),(0,a.jsx)("code",{ref:t,className:"block w-full overflow-auto p-5! font-mono! text-sm! whitespace-pre",style:{whiteSpace:"pre-wrap"},children:e})}},85117:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});var a=r(44107);function s(e,{appId:t,surface:r="unknown"}={}){let n=e.search.bind(e),o=async(...e)=>{try{return await n(...e)}catch(n){var s;return function(e,{appId:t,surface:r}){try{var s;let n=(s=e)&&"object"==typeof s?{name:"string"==typeof s.name?s.name:"UnknownError",message:"string"==typeof s.message?s.message:String(s),status:"number"==typeof s.status?s.status:void 0,transporterStackTrace:Array.isArray(s.transporterStackTrace)?s.transporterStackTrace:void 0}:{name:"UnknownError",message:String(s)},o=Array.isArray(n.transporterStackTrace)?n.transporterStackTrace.length:void 0;a.wd("algolia.search.retry_exhausted",{level:"warning",tags:{"algolia.surface":r??"unknown","algolia.appId":t??"unknown","algolia.error.
210name":n.name,"algolia.error.status":void 0!==n.status?String(n.status):"unknown","algolia.hosts.retried":void 0!==o?String(o):"unknown"},extra:{message:n.message}})}catch{}}(n,{appId:t,surface:r}),{results:Array.from({length:Array.isArray(s=e[0])?Math.max(s.length,1):1},()=>({hits:[],nbHits:0,page:0,nbPages:0,hitsPerPage:20,query:"",params:"",processingTimeMS:0,exhaustiveNbHits:!0}))}}};return{...e,search:o}}}},e=>{e.O(0,[7295,929,8731,3591,8936,1989,218,9496,636,6593,8792],()=>e(e.s=15231)),_N_E=e.O()}]);
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.