1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86620],{3695:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var o=r(19287),n=r(81278),i=r(40252);let l=e=>{let{asPath:t}=(0,n.useRouter)();if((0,o.jN)(e)||(0,o.i9)(e)||(0,o.cu)(e))return e;let r=(0,o.Fd)(t);return(0,i.resolve)((0,o.Uf)(r).path,e)}},4955:(e,t,r)=>{"use strict";r.d(t,{A:()=>o.A});var o=r(92189)},24256:(e,t,r)=>{"use strict";r.d(t,{y:()=>s,A:()=>i});var o=r(70719),n=r(3985);let i=(0,o.Ay)("div").withConfig({componentId:"sc-4610b84c-0"})({display:"flex",boxSizing:"border-box",minWidth:0},n.Q7);var l=r(98297);let s=(0,l.I4)("div")((0,l.sx)({display:"flex",boxSizing:"border-box",minWidth:0}))},26742:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>tv,default:()=>tY});var o,n=r(2860),i=r(75162),l=r(91142),s=r(98297);let a=r.p+"static/media/purple-planet.dfa1dfae.svg";var c=r(6422),d=r(44678),p=r(33292),h=r(43214),u=r(25962),g=r(98670);let b=({selected:e,onSelect:t})=>{let r=(0,u.A)(),o=(0,g.A)(r.breakpoints.down("md")),i=(0,g.A)(r.breakpoints.down("lg"));return(0,n.Y)(s.lq,{bg:a,priority:!0,container:{maxWidth:!1},grid:{spacing:4,flexDirection:"column",alignItems:"center",items:[{children:(0,n.FD)(c.A,{display:"flex",alignItems:"center",flexDirection:"column",mb:"50px",children:[(0,n.Y)(s.UQ,{title:"Download and Deployment Options"}),(0,n.Y)(x,{onSelect:t,selected:e,sections:[{key:"client-tools",title:"Download Client Tools",subtitle:"Dev and resource access tools",icon:"laptop"},{key:"deploy-teleport-agent",title:"Deploy Teleport Agent",subtitle:`Options for deploying ${i?"":"Teleport "}Agents`,icon:"ssh"},{key:"deploy-teleport-cluster",title:"Deploy Teleport Cluster",subtitle:"Options for hosting a cluster",icon:"cluster"},{key:"all-downloads",title:"See All Downloads",subtitle:`Full list of direct ${o?"":"Teleport "}downloads`,icon:"search-list"}]})]})}]}})},x=({selected:e,onSelect:t,sections:r})=>(0,n.Y)(c.A,{display:"flex",gap:4,sx:{flexDirection:{xs:"column",md:"row"},width:{xs:"100%",md:"unset"}},role:"tablist",children:r.map(r=>(0,n.Y)(m,{selected:e==r.key,onClick:()=>t(r.key),title:r.title,subtitle:r.subtitle,icon:r.icon},r.key))}),m=({selected:e,onClick:t,title:r,subtitle:o,icon:i})=>(0,n.FD)(f,{selected:e,onClick:t,role:"tab","aria-selected":e,children:[(0,n.Y)(y,{selected:e,children:(0,n.Y)(h.A,{name:i,width:"22px",height:"22px"})}),(0,n.FD)(c.A,{display:"flex",flexDirection:"column",sx:{alignItems:{xs:"flex-start",md:"center"}},children:[(0,n.Y)(d.A,{mb:"0",fontWeight:s.bo.fontWeights.bold,sx:{fontSize:{xs:s.bo.fontSizes["text-xl"],md:s.bo.fontSizes["text-md"],xl:s.bo.fontSizes["text-lg"]}},children:r}),(0,n.Y)(d.A,{textAlign:"center",mb:"0",fontSize:{xs:s.bo.fontSizes["text-md"],md:s.bo.fontSizes["text-sm"],xl:s.bo.fontSizes["text-md"]},letterSpacing:"unset",color:`rgba(${e?"0, 0, 0":"255, 255, 255"}, 0.72)`,children:o})]})]}),f=(0,s.I4)(p.A,{shouldForwardProp:e=>"selected"!==e})(({selected:e})=>(0,s.sx)({display:"flex",flexDirection:{xs:"row",md:"column"},boxSizing:"border-box",gap:{xs:3,md:"12px",xl:3},width:{xs:"100%",md:"224px",xl:"308px"},borderRadius:s.bo.radii.sm,alignItems:"center",padding:{xs:2,xl:"36px"},color:e?s.bo.colors.black:s.bo.colors.white,transition:"all 100ms ease-out",backgroundColor:e?"white":"rgba(159, 133, 255, 0.10)",boxShadow:"0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12)","&:hover":{backgroundColor:e?"white":"rgba(159,133,255,0.18)",cursor:"pointer"},"&:active":{backgroundColor:"rgba(159, 133, 255, 0.25)",cursor:"pointer"},"&.Mui-focusVisible":{outline:"2px solid rgba(0,0,0,.4)",outlineOffset:2}})),y=(0,s.I4)(c.A,{shouldForwardProp:e=>"selected"!==e})(({selected:e})=>(0,s.sx)({transition:"all 100ms ease-out",backgroundColor:e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.07)",borderRadius:s.bo.radii.sm,p:{xs:"10px",md:1,xl:2}})),A=(0,s.I4)(c.A)` 2 opacity: 0; 3 animation: fade-in ${({ms:e})=>e||300}ms ease-out forwards; 4 5 @keyframes fade-in { 6 to { 7 opacity: 1; 8 } 9 } 10`;var w=r(55729);let k=({children:e})=>(0,n.Y)(v,{children:(0,n.Y)(Y,{children:e})}),v=(0,s.I4)(c.A)((0,s.sx)({boxSizing:"border-box",borderRadius:s.bo.radii.sm,background:s.bo.colors.white,width:{xs:"100%",md:"640px"},minWidth:"400px",paddingX:{xs:3,md:6},paddingY:{xs:0,md:6},display:"flex",flexDirection:"column",alignItems:"center",transition:"height 300ms ease",boxShadow:{xs:"none",md:"0 5px 5px -3px rgba(0,0,0,0.2), 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12)"}}));function Y({children:e}){let t=(0,w.useRef)(null),r=(0,w.useRef)(null);return(0,w.useLayoutEffect)(()=>
10{if(!t.current||!r.current)return;let e=t.current,o=r.current,n=()=>e.style.height=o.getBoundingClientRect().height+"px";n();let i=new ResizeObserver(n);return i.observe(o),()=>i.disconnect()},[]),(0,n.Y)(S,{ref:t,width:"100%",children:(0,n.Y)("div",{ref:r,children:e})})}let S=(0,s.I4)(c.A)` 11 overflow: hidden; 12 transition: height 300ms ease; 13 // Add a padding so the 'HighlightPanel' can have boxshadow horizontally. 14 // Visually, this padding does nothing. 15 padding: 0 10px; 16`,D=r.p+"static/media/wave-2.2b072a62.svg",C=({title:e,subtitle:t,children:r,noBackgroundImage:o})=>(0,n.FD)(T,{children:[!o&&(0,n.Y)(I,{src:D}),(0,n.Y)(d.A,{variant:"h2",marginTop:13,marginX:3,fontWeight:s.bo.fontWeights.black,letterSpacing:"-0.225px",mb:"4px",lineHeight:s.bo.lineHeights.h2,sx:{fontSize:{xs:"28px",md:s.bo.fontSizes["section-h2"]},textAlign:"center"},children:e}),(0,n.Y)(d.A,{mb:3,fontSize:s.bo.fontSizes["header-3"],marginX:3,children:t}),(0,n.Y)(c.A,{marginBottom:13,sx:{width:{xs:"100%",md:"fit-content"}},children:r})]}),T=(0,s.I4)(c.A)((0,s.sx)({display:"flex",flexDirection:"column",alignItems:"center",width:"100%",minHeight:620,position:"relative"})),I=(0,s.I4)("img")((0,s.sx)({display:{xs:"none",md:"block"},position:"absolute",top:16,zIndex:-100,objectFit:"cover",width:"100%",height:620}));function F({tabs:e,active:t,onChange:r,containerSx:o,children:i}){return(0,n.FD)(n.FK,{children:[(0,n.Y)(z,{sx:o,role:"tablist",children:e.map((o,i)=>(0,n.FD)(W,{role:"tab","aria-selected":o.key===t,selected:o.key===t,onClick:()=>r(o.key),isMiddle:1===i&&3===e.length,children:[o.icon&&(0,n.Y)(h.A,{name:o.icon,width:"16px",height:"16px"}),o.label]},o.key))}),i]})}let z=(0,s.I4)(c.A)((0,s.sx)({boxSizing:"border-box",backgroundColor:s.bo.colors["even-lighter-gray"],borderRadius:"36px",p:"8px",width:"100%",display:"flex",alignItems:"stretch"})),W=(0,s.I4)(p.A,{shouldForwardProp:e=>"selected"!==e&&"isMiddle"!==e})(({selected:e,isMiddle:t})=>(0,s.sx)({fontFamily:s.bo.fonts.body,fontSize:s.bo.fontSizes["text-lg"],boxSizing:"border-box",width:t?{xs:"auto",sm:"33%"}:{xs:"fit-content",sm:"33%"},px:2,borderRadius:"36px",backgroundColor:e?s.bo.colors["dark-purple"]:"transparent",color:e?s.bo.colors.white:"inherit",flexGrow:t?{xs:1,sm:0}:0,lineHeight:s.bo.lineHeights.md,height:"40px",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",justifyContent:"center",transition:"all 100ms ease-out",border:"1px solid transparent",fontWeight:s.bo.fontWeights.light,"&:hover":e?{}:{backgroundColor:"rgba(0,0,0,0.13)",border:"1px solid rgba(0,0,0,.18)"},"&:active":{backgroundColor:"rgba(0,0,0,0.13)",cursor:"pointer"},"&.Mui-focusVisible":{outline:"2px solid rgba(0,0,0,.4)",outlineOffset:2}}));var E=r(84765),M=r(57101),R=r(51233),O=r(17786);function $(e){return(0,n.Y)(H,{...e,IconComponent:P})}let P=e=>(0,n.Y)(h.A,{name:"arrow-down",size:"sm",...e}),H=(0,s.I4)(O.A)((0,s.sx)({height:s.bo.lineHeights.xxl,alignSelf:"stretch",backgroundColor:"rgba(0, 0, 0, 0.06)","& .MuiSelect-select.MuiSelect-select":{backgroundColor:"transparent"},"& .MuiSelect-select.MuiSelect-outlined":{padding:`${s.bo.space[2]}px ${s.bo.space[3]}px`,paddingRight:`${s.bo.space[5]}px`,boxSizing:"border-box",width:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"block"},"& .MuiSelect-icon":{right:s.bo.space[3]},"& .MuiOutlinedInput-notchedOutline":{borderColor:"rgba(0, 0, 0, 0.13)"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"rgba(0, 0, 0, 0.87)"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"rgba(0, 0, 0, 0.87)"}}));var L=r(4955);let V={releaseId:"",product:"",version:"",notesMd:"",status:"preview",assets:[]};var j=((o={}).Teleport="teleport",o.Connect="connect",o.TshClient="tshClient",o.AuthenticationPackage="authenticationPackage",o.AccessRequestPlugin="plugin",o.AuditEventHandler="auditEventHandler",o.TerraformProvider="terraformProvider",o.InstallScript="installScript",o.LicenseCheck="licenseCheck",o.ClientTools="clientTools",o.MacOsInAppUpdate="macOsInAppUpdate",o.AgentInstaller="agentInstaller",o);let _=new Set(["darwin","windows","linux"]),N=["oss","ent"];var K=r(24256),q=r(14102),B=r(64372);let U=({notes:e})=>{let[t,r]=(0,w.useState)(!1),o=()=>r(e=>!e);return(0,n.FD)(c.A,{children:[(0,n.FD)(K.A,{tabIndex:0,onKeyDown:e=>
16{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),o())},cursor:"pointer",onClick:o,"aria-expanded":t,children:[t&&(0,n.Y)(A,{display:"flex",children:(0,n.FD)(G,{children:[(0,n.Y)(h.A,{name:"arrow-down"})," Hide release notes"]})}),!t&&(0,n.Y)(A,{display:"flex",children:(0,n.FD)(G,{children:[(0,n.Y)(h.A,{name:"arrow-right"})," Show release notes"]})})]}),t&&(0,n.Y)(A,{children:(0,n.Y)(X,{children:e})})]})},G=(0,s.I4)(c.A)((0,s.sx)({display:"flex",alignItems:"center",width:"fit-content",marginLeft:"-4px",fontSize:{xs:s.bo.fontSizes["text-md"],md:s.bo.fontSizes["text-lg"]}})),X=(0,s.I4)(q.$)((0,s.sx)({color:s.Tj.darkest,...s.bo.textStyles.textSM,lineHeight:s.bo.lineHeights.md2,a:{color:`${B.A[500]}`},h2:{...s.bo.textStyles.textSM},h3:{textTransform:"uppercase",...s.bo.textStyles.textSM}}));var Q=r(55611),Z=r(70719);let J=(0,Z.Ay)("button").withConfig({componentId:"sc-4bf7ecdd-0"})((0,Q.Ay)({backgroundColor:"transparent",border:"none",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center",color:"gray",cursor:"pointer",...s.bo.textStyles.textMD,height:"30px",transition:"all .3s",width:"30px","&:hover, &:active, &:focus":{backgroundColor:"lightest-gray"}})),ee=(0,Z.Ay)(K.A).withConfig({componentId:"sc-4bf7ecdd-1"})((0,Q.Ay)({alignItems:"center",backgroundColor:s.bo.colors.black,borderRadius:"default",color:"white",minHeight:"40px",marginBottom:4,paddingLeft:2,paddingRight:2,overflow:"hidden",...s.bo.textStyles.headerTitle})),et=(0,Z.Ay)(K.A).withConfig({componentId:"sc-4bf7ecdd-2"})((0,Q.Ay)({width:["max-content"],maxWidth:"90vw",backgroundColor:"white",borderRadius:"md",flexDirection:"column",left:["initial","-250px"],marginTop:2,padding:3,position:"absolute",zIndex:50})),er=(0,Z.Ay)(L.A).withConfig({componentId:"sc-4bf7ecdd-3"})((0,Q.Ay)({border:"1px solid grey",borderRadius:"circle",cursor:"pointer",...s.bo.textStyles.textXS,textTransform:"uppercase",padding:"0px 24px",transition:"all 0.3s ease 0s",boxShadow:"rgb(0 0 0 / 24%) 0px 2px 6px","&:hover, &:focus, &:active":{boxShadow:"rgb(0 0 0 / 24%) 0px 4px 12px"}})),eo=(0,Z.Ay)(K.A).withConfig({componentId:"sc-4bf7ecdd-4"})((0,Q.Ay)({...s.bo.textStyles.titleXXS,justifyContent:"space-between",marginBottom:2})),en=(0,Z.Ay)(K.A).withConfig({componentId:"sc-4bf7ecdd-5"})((0,Q.Ay)({filter:"drop-shadow(#D2DBDF 0px 4px 16px)",position:"absolute",height:0,zIndex:100})),ei=({children:e,onClose:t})=>{let[r,o]=(0,w.useState)(!1),i=(0,w.useRef)(null),l=()=>{t(!1)};return(0,w.useEffect)(()=>{let e=e=>{let{target:r}=e;i.current?.contains(r)||t()},r=setTimeout(()=>{document.addEventListener("click",e)},10);return()=>{clearTimeout(r),document.removeEventListener("click",e)}},[t]),(0,n.Y)(en,{role:"tooltip",children:(0,n.FD)(et,{ref:i,children:[(0,n.FD)(eo,{children:["SHA256 Checksum",(0,n.Y)(J,{onClick:l,children:(0,n.Y)(h.A,{name:"close",size:"xs"})})]}),(0,n.Y)(ee,{children:e}),(0,n.FD)(K.A,{children:[(0,n.Y)(er,{marginRight:2,onClick:()=>{navigator&&navigator.clipboard&&navigator.clipboard.writeText&&o(!0),navigator.clipboard.writeText(e)},variant:"primary",children:r?"Copied!":"Copy"}),(0,n.Y)(er,{onClick:l,variant:"secondary",children:"Close"})]})]})})},el=({sx:e,sha256:t})=>{let[r,o]=(0,w.useState)(!1);return(0,n.FD)(n.FK,{children:[(0,n.Y)(es,{tabIndex:0,"aria-expanded":r,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&o(!0)},onClick:()=>o(!0),sx:e,children:(0,n.Y)(d.A,{fontSize:"12px",children:"SHA256"})}),r&&(0,n.Y)(ei,{onClose:()=>o(!1),children:t})]})},es=(0,s.I4)(c.A)((0,s.sx)({borderRadius:"4px",padding:"4px 8px",border:`1px solid ${s.bo.colors["page-bg"]}`,width:"fit-content",cursor:"pointer",transition:"all 0.3s","&:hover, &:focus, &:active":{border:`1px solid ${s.Tj["light-blue"]}`,color:s.Tj["light-blue"]}}));function ea(e){if(!e)return null;let t=e.replace(/^v/,"").split(".")[0];if(!t)return null;let r=parseInt(t,10);return isNaN(r)?null:r}function ec(e){if(!e)return null;let t=e.replace(/^v/,"").replace(/-.+$/,"").split("."),r=parseInt(t[0]||"",10),o=parseInt(t[1]||"0",10),n=parseInt(t[2]||"0",10);return isNaN(r)?null:{major:r,minor:isNaN(o)?0:o,patch:isNaN(n)?0:n}}let ed=e=>{switch(e){case"linux":return"Linux";case"windows":return"Windows";case"darwin":return"macOS";default:return""}},ep=(e,t=!1)=>{switch(e){case j.Connect:return`${t?"":"Desktop App: "}Teleport Connect`;case j.TshClient:return`${t?"":"CLI App: "}tsh`;case j.AuthenticationPackage:return"Authentication Package";case j.Teleport:return"Teleport Binaries";case j.AccessRequestPlugin:return"Access Request Plugin";case j.InstallScript:return"Install Script";case j.TerraformProvider:return"Terraform Provider";case j.LicenseCheck:return"Miscellaneous";case j.ClientTools:return"CLI Client Tools";case j.AuditEventHandler:return"Audit Event Handler";case j.AgentInstaller:return"Agent Installer & Updater";case j.MacOsInAppUpdate:return""}},eh=e=>{switch(e){case"amd64":return"AMD 64-bits";case"arm32":return"ARM 32-bits";case"arm64":return"ARM 64-bits";case"universal":return"Universal Binary";case"386":return"386";case"arm":return"ARM"}};function eu(e,t){let r=ec(e.version),o=ec(t.version);return r||o?r?o?o.major!==r.major?o.major-r.major:o.minor!==r.minor?o.minor-r.minor:o.patch-r.patch:-1:1:0}var eg=r(17958),eb=r(23270);let ex=({children:e,copyContent:t,containerSx:r})=>{let[o,i]=(0,w.useState)(!1),l=(0,w.useRef)(null),s=()=>{!navigator.clipboard||t&&(navigator.clipboard.writeText(t),i(!0),setTimeout(()=>{i(!1),l.current?.blur()},1e3))};return(0,n.FD)(em,{sx:r,children:[(0,n.Y)(c.A,{children:e||t}),null!=t&&(0,n.Y)(K.A,{onClick:s,tabIndex:0,role:"button","aria-label":"Copy to clipboard",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&s()},gap:"4px",height:"20px",children:o?(0,n.Y)(d.A,{marginTop:"3px",variant:"inherit",visibility:o?"visible":"hidden",children:"Copied"}):(0,n.Y)(ef,{name:"copy-squares",width:"20px",height:"20px"})})]})},em=(0,s.I4)(c.A)((0,s.sx)({padding:"12px",backgroundColor:"rgba(0, 0, 0, .06)",border:"1px solid rgba(0, 0, 0, .13)",borderRadius:"4px",fontFamily:"Ubuntu Mono",fontSize:s.bo.fontSizes["text-md"],fontWeight:s.bo.fontWeights.regular,lineHeight:s.bo.lineHeights.sm,display:"flex",justifyContent:"space-between",alignItems:"center",overflow:"auto"})),ef=(0,s.I4)(h.A)` 17 &:hover { 18 cursor: pointer; 19 }
20`,ey=({value:e,onChange:t})=>(0,n.Y)(eg.A,{sx:{display:"inline-block",marginX:"2px",paddingX:"8px",width:"110px",cursor:"pointer"},children:(0,n.FD)(K.A,{alignItems:"center",children:[(0,n.Y)(eA,{disableUnderline:!0,value:e,onChange:e=>t(e.target.value)}),(0,n.Y)(h.A,{name:"pencil"})]})}),eA=(0,s.I4)(eb.A)((0,s.sx)({fontSize:s.bo.fontSizes["text-sm"]})),ew={brokenVersions:["18.2.2","18.2.1"],hiddenTypes:[j.InstallScript,j.MacOsInAppUpdate,j.LicenseCheck],clientTools:{downloadKinds:{darwin:[{kind:j.Connect,package:"macOS Disk Image"},{kind:j.ClientTools,package:"macOS Installer Package"}],windows:[{kind:j.Connect,package:"Windows Executable"},{kind:j.ClientTools,package:"Windows Zip Archive"}],linux:[{kind:j.Connect,package:""},{kind:j.Teleport,package:""}]},linuxViewScript:"https://github.com/gravitational/teleport/blob/master/assets/install-scripts/shim/install.sh",linuxManualInstall:"https://goteleport.com/docs/installation/linux/#other-install-methods"},agents:{linux:{learnMore:"https://goteleport.com/docs/installation/linux/#installing-teleport-as-an-agent",dbs:"https://goteleport.com/docs/enroll-resources/database-access/",k8s:"https://goteleport.com/docs/enroll-resources/kubernetes-access/",app:"https://goteleport.com/docs/enroll-resources/application-access/",desktop:"https://goteleport.com/docs/enroll-resources/desktop-access/"},helm:{k8s:"https://goteleport.com/docs/installation/helm/",helmConfigReference:"https://goteleport.com/docs/reference/helm-reference/",troubleshootingGuide:"https://goteleport.com/docs/zero-trust-access/management/admin/troubleshooting/"},docker:{docs:"https://goteleport.com/docs/installation/docker/",appsDockerCompose:"https://goteleport.com/docs/enroll-resources/application-access/getting-started/",dbsDockerCompose:"https://goteleport.com/docs/installation/docker/"}},clusters:{enterpriseComparison:"https://goteleport.com/docs/feature-matrix/",selfHostingEnterprise:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/",cloud:{tryForFree:"/signup"},linux:{deploy:"https://goteleport.com/docs/installation/linux/#installing-teleport-as-a-cluster"},helm:{basic:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/helm-deployments/kubernetes-cluster/",custom:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/helm-deployments/custom/",aws:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/helm-deployments/aws/",azure:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/helm-deployments/azure/",gcp:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/helm-deployments/gcp/",runUsingHelm:"https://goteleport.com/docs/zero-trust-access/deploy-a-cluster/helm-deployments/"}},allDownloads:{defaultDownloadType:j.Connect,downloadTypeOrder:[j.Connect,j.Teleport,j.ClientTools,j.TshClient,j.TerraformProvider,j.AuditEventHandler,j.AccessRequestPlugin,j.AgentInstaller,j.InstallScript,j.AuthenticationPackage,j.LicenseCheck]},CacheTTL:1800},ek=(0,s.I4)(d.A)` 21 color: var(--Foreground-Default, #000); 22 font-size: ${s.bo.fontSizes["text-md"]}px; 23 font-weight: ${s.bo.fontWeights.regular}; 24 line-height: 125%; 25 fontsize: ${s.bo.fontSizes["text-sm"]}; 26 color: ${s.bo.colors.black}; 27`;var ev=r(46774);let eY=({versions:e,latestVersion:t,supportedMajors:r,selectedVersion:o,onChange:i,showVPrefix:l=!1,selectSx:s,loading:a=!1})=>{let[d,p]=(0,w.useState)(null),[u,g]=(0,w.useState)(null),[b,x]=(0,w.useState)(null),m=(0,w.useRef)(null),f=!!d,y=Object.keys(e).sort((e,t)=>Number(t)-Number(e)),A=(0,w.useCallback)(()=>{m.current&&(clearTimeout(m.current),m.current=null)},[]),k=()=>{A(),p(null),g(null),x(null)},v=()=>{m.current=setTimeout(()=>{g(null),x(null)},300)};return(0,n.FD)(n.FK,{children:[(0,n.Y)($,{value:"",open:!1,onOpen:e=>{e.preventDefault()},onClick:e=>{p(e.currentTarget)},renderValue:()=>o?o===t?`${l?"v":""}${o} (latest)`:`${l?"v":""}${o}`:"Select version",displayEmpty:!0,disabled:a,sx:s}),(0,n.Y)(ev.Ay,{open:f,anchorEl:d,onClose:k,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{sx:{mt:.5,minWidth:d?.offsetWidth||200,maxHeight:400,overflow:"hidden"}},children:(0,n.Y)(c.A,{sx:{py:1},children:y.map(e=>{let t=e===ea(o)?.toString(),i=!!e&&r.includes(e);return(0,n.FD)(eS,{onMouseEnter:t=>{A(),g(e),x(t.currentTarget)},onMouseLeave:v,selected:t,children:[(0,n.FD)(c.A,{sx:{flex:1},children:[e,!i&&(0,n.Y)(c.A,{component:"span",sx:{ml:1,color:"text.secondary"},children:"(unsupported)"})]}),(0,n.Y)(h.A,{name:"arrow-right",size:"sm",ml:2})]},e)})})}),u&&b&&(0,n.Y)(ev.Ay,{open:!0,anchorEl:b,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"},disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0,disableScrollLock:!0,hideBackdrop:!0,style:{pointerEvents:"none"},PaperProps:{onMouseEnter:()=>{A()},onMouseLeave:()=>{g(null),x(null)},sx:{ml:0,maxHeight:250,overflowY:"auto",pointerEvents:"auto"}},children:e[u]?.map(e=>(0,n.FD)(eD,{onClick:()=>{i(e),k()},selected:o===e,children:[e,e===t&&(0,n.Y)(c.A,{component:"span",sx:{ml:1,color:"text.secondary"},children:"(latest)"})]},e))})]})},eS=(0,s.I4)(c.A,{shouldForwardProp:e=>"selected"!==e})(({selected:e})=>(0,s.sx)({display:"flex",alignItems:"center",justifyContent:"space-between",padding:`${s.bo.space[2]}px ${s.bo.space[3]}
27px`,cursor:"pointer",fontSize:`${s.bo.fontSizes["text-lg"]}px`,backgroundColor:e?"rgba(103, 58, 183, 0.08)":"transparent","&:hover":{backgroundColor:e?"rgba(103, 58, 183, 0.12)":"rgba(0, 0, 0, 0.04)"}})),eD=(0,s.I4)(c.A,{shouldForwardProp:e=>"selected"!==e})(({selected:e})=>(0,s.sx)({padding:`${s.bo.space[2]}px ${s.bo.space[3]}px`,cursor:"pointer",fontSize:`${s.bo.fontSizes["text-lg"]}px`,backgroundColor:e?"rgba(103, 58, 183, 0.08)":"transparent","&:hover":{backgroundColor:e?"rgba(103, 58, 183, 0.12)":"rgba(0, 0, 0, 0.04)"}})),eC=({version:e,layout:t="horizontal"})=>{let r=(0,u.A)(),o=(0,g.A)(r.breakpoints.down("sm"));return(0,n.FD)(eT,{layout:t,isSmDown:o,children:[(0,n.FD)(eI,{children:[(0,n.Y)(eF,{children:(0,n.Y)(h.A,{name:"warning",size:"sm"})}),(0,n.FD)(ez,{children:["Version ",e," of Teleport is no longer supported. Please upgrade immediately for security patches and new platform capabilities."]})]}),(0,n.Y)(eW,{href:"https://goteleport.com/docs/upgrading/upgrading-manual/",target:"_blank",rel:"noopener noreferrer",children:"See upgrade guide"})]})},eT=(0,s.I4)(c.A,{shouldForwardProp:e=>"layout"!==e&&"isSmDown"!==e})(({layout:e,isSmDown:t})=>(0,s.sx)({display:"flex",flexDirection:"vertical"===e||t?"column":"row",padding:"12px 16px",alignItems:"vertical"===e||t?"stretch":"center",gap:`${s.bo.space[3]}px`,alignSelf:"stretch",borderRadius:`${s.bo.radii.md}px`,border:`2px solid ${s.bo.colors.warning}`,backgroundColor:"rgba(255, 171, 0, 0.1)",marginBottom:`${s.bo.space[3]}px`})),eI=(0,s.I4)(c.A)((0,s.sx)({display:"flex",alignItems:"center",gap:`${s.bo.space[3]}px`,flex:1})),eF=(0,s.I4)(c.A)((0,s.sx)({display:"flex",padding:`${s.bo.space[2]}px`,alignItems:"center",gap:"10px",borderRadius:s.bo.radii.circle,backgroundColor:"#8F5F00",flexShrink:0,color:s.bo.colors.white})),ez=(0,s.I4)(c.A)((0,s.sx)({fontSize:`${s.bo.fontSizes["text-md"]}px`,fontWeight:s.bo.fontWeights.bold,lineHeight:s.bo.lineHeights.sm3,color:s.bo.colors.black})),eW=(0,s.I4)(E.A)((0,s.sx)({display:"flex",padding:`${s.bo.space[2]}px ${s.bo.space[4]}px`,justifyContent:"center",alignItems:"center",gap:`${s.bo.space[2]}px`,borderRadius:`${s.bo.radii.default}px`,border:"1px solid rgba(0, 0, 0, 0.18)",fontSize:`${s.bo.fontSizes["text-md"]}px`,lineHeight:s.bo.lineHeights.sm3,color:s.bo.colors.black,textDecoration:"none",whiteSpace:"nowrap",flexShrink:0,"&:hover":{textDecoration:"underline"}})),eE=({version:e})=>(0,n.Y)(eM,{children:(0,n.FD)(eR,{children:[(0,n.Y)(eO,{children:(0,n.Y)(h.A,{name:"warning",size:"sm"})}),(0,n.FD)(e$,{children:["Failed to load version ",e,". Please refresh the page to try again."]})]})}),eM=(0,s.I4)(c.A)((0,s.sx)({display:"flex",flexDirection:"column",padding:"12px 16px",alignItems:"stretch",gap:`${s.bo.space[3]}px`,alignSelf:"stretch",borderRadius:`${s.bo.radii.md}px`,border:`2px solid ${s.bo.colors.danger}`,backgroundColor:"rgba(211, 47, 47, 0.08)",marginTop:`${s.bo.space[4]}px`})),eR=(0,s.I4)(c.A)((0,s.sx)({display:"flex",alignItems:"center",gap:`${s.bo.space[3]}px`,flex:1})),eO=(0,s.I4)(c.A)((0,s.sx)({display:"flex",padding:`${s.bo.space[2]}px`,alignItems:"center",gap:"10px",borderRadius:s.bo.radii.circle,backgroundColor:s.bo.colors.danger,flexShrink:0,color:s.bo.colors.white})),e$=(0,s.I4)(c.A)((0,s.sx)({fontSize:`${s.bo.fontSizes["text-md"]}px`,fontWeight:s.bo.fontWeights.bold,lineHeight:s.bo.lineHeights.sm3,color:s.bo.colors.black})),eP=({os:e,clientOSVersions:t,selectedVersion:r,setSelectedVersion:o,selectableVersions:i,latestVersion:l,supportedMajors:a,versionLoading:p,versionLoadError:h})=>{let[u,g]=(0,w.useState)(j.Connect),b=t.find(e=>e.version===r)||V,x=ew.clientTools.downloadKinds[e],m=x.find(e=>e.kind===u)?.package,f=b.assets.find(e=>e.kind==u&&(e.package===m||""===m));return(0,w.useEffect)(()=>{x.some(e=>e.kind===u)||g(x[0]?.kind??j.Connect)},[x,u,g]),(0,n.FD)(c.A,{display:"flex",flexDirection:"column",width:"100%",children:[(0,n.Y)(eH,{selectedKind:u,setSelectedKind:g,availableKinds:x.map(e=>e.kind),selectedVersion:r,setSelectedVersion:o,selectableVersions:i,latestVersion:l,supportedMajors:a,versionLoading:p}),(0,n.Y)(c.A,{mt:3,mb:0,width:"100%",children:!p&&!h&&!a.includes(ea(r)?.toString()??"")&&(0,n.Y)(eC,{version:r,layout:"vertical"})}),"linux"!==e&&(0,n.Y)(eL,{name:ep(u,!0),os:e,downloadLink:f?.publicUrl,sha256:f?.sha256??"",selectedVersion:r,versionLoading:p,versionLoadError:h}),"linux"===e&&(0,n.FD)(c.A,{my:3,children:[(0,n.Y)(d.A,{variant:"h4",fontSize:s.bo.fontSizes["text-xl"],lineHeight:s.bo.lineHeights.md,mb:1,fontWeight:700,children:"Install Teleport Connect on Linux with a Single Command"}),(0,n.Y)(ex,{copyContent:`curl https://cdn.teleport.dev/install${u===j.Connect?"-connect":""}.sh | bash -s ${r}`}),(0,n.FD)(c.A,{fontSize:"12px",mt:"2px",children:[(0,n.Y)(E.A,{tabIndex:0,target:"_blank",href:ew.clientTools.linuxViewScript,color:s.bo.colors.black,children:"View Script"})," ","or"," ",(0,n.Y)(E.A,{tabIndex:0,target:"_blank",href:ew.clientTools.linuxManualInstall,color:s.bo.colors.black,children:"Install Manually"})]})]}
27),f&&!p&&!h&&(0,n.Y)(c.A,{sx:{marginTop:{xs:3,md:0}},children:(0,n.Y)(U,{notes:b.notesMd})})]})},eH=({availableKinds:e,selectedKind:t,setSelectedKind:r,selectedVersion:o,setSelectedVersion:i,selectableVersions:l,latestVersion:s,supportedMajors:a,versionLoading:d})=>(0,n.FD)(c.A,{display:"flex",width:"100%",justifyContent:"stretch",gap:"8px",children:[(0,n.FD)(c.A,{display:"flex",flexGrow:"1",flexDirection:"column",gap:"4px",width:"70%",children:[(0,n.Y)(ek,{children:"Download Type"}),(0,n.Y)($,{onChange:e=>r(e.target.value),value:t,disabled:d,children:e.map(e=>(0,n.Y)(M.A,{value:e,children:ep(e)},e))})]}),(0,n.FD)(c.A,{flexGrow:"1",display:"flex",flexDirection:"column",gap:"4px",width:"30%",children:[(0,n.Y)(ek,{children:"Version"}),(0,n.Y)(eY,{versions:l,latestVersion:s,supportedMajors:a,selectedVersion:o,onChange:i,loading:d})]})]}),eL=({name:e,os:t,downloadLink:r,sha256:o,selectedVersion:i,versionLoading:l,versionLoadError:a})=>{let d=(0,u.A)(),p=(0,g.A)(d.breakpoints.down("md")),[b,x]=(0,w.useState)(!1);return((0,w.useEffect)(()=>{if(!b)return;let e=setTimeout(()=>{x(!1)},2e3);return()=>clearTimeout(e)},[b]),l)?(0,n.Y)(c.A,{mt:4,display:"flex",justifyContent:"center",width:"100%",children:(0,n.Y)(R.A,{size:24})}):a?(0,n.Y)(eE,{version:i}):r?(0,n.FD)(c.A,{display:"flex",width:"100%",flexDirection:"column",alignItems:"end",gap:1,children:[(0,n.FD)(L.A,{tabIndex:0,mt:4,variant:"primary",shape:"lg",width:"100%",gap:"12px",as:"a",href:r,referrerPolicy:"no-referrer-when-downgrade",onClick:()=>{x(!0)},children:[!b&&(0,n.Y)(h.A,{name:"download-square"}),b?"Download started!":`Download ${e} for ${ed(t)}`]}),!p&&(0,n.Y)(el,{sha256:o,sx:{position:"relative",zIndex:10,mb:"-16px"}})]}):(0,n.FD)(c.A,{mt:4,textAlign:"center",fontSize:s.bo.fontSizes["text-lg"],fontWeight:s.bo.fontWeights.bold,color:"text.secondary",children:[e," is not available on ",ed(t)," for v",i,"."," ",(0,n.Y)("br",{})," Try selecting a newer version."]})},eV=({versions:e,selectedOs:t,setSelectedOs:r,selectedVersion:o,setSelectedVersion:i,selectableVersions:l,latestVersion:s,supportedMajors:a,versionLoading:d,versionLoadError:p})=>(0,n.Y)(C,{title:"Download Client Tools",subtitle:"Download developer and resources access tools",children:(0,n.FD)(k,{children:[(0,n.Y)(F,{tabs:[{label:"macOS",icon:"mac",key:"darwin"},{label:"Windows",icon:"windows-color",key:"windows"},{label:"Linux",icon:"linux-color",key:"linux"}],active:t,onChange:r}),(0,n.Y)(c.A,{mt:"16px",width:"100%",children:(0,n.Y)(eP,{os:t,clientOSVersions:e.get(t)||[],selectedVersion:o,setSelectedVersion:i,selectableVersions:l,latestVersion:s,supportedMajors:a,versionLoading:d,versionLoadError:p})})]})});var ej=r(95076);let e_=(0,s.I4)(c.A)` 28 padding: 24px 28px; 29 border-radius: 16px; 30 font-size: 14px; 31 line-height: 150%; 32 margin-bottom: 24px; 33 background-color: #512fc923; 34 border: 2px solid 35 var(--Data-Purple-Primary, ${s.bo.colors["darkest-purple"]}); 36 box-shadow: 37 0 5px 5px -3px rgba(81, 47, 201, 0.4), 38 0 8px 10px 1px rgba(81, 47, 201, 0.28), 39 0 3px 14px 2px rgba(81, 47, 201, 0.24); 40`;var eN=r(81278),eK=r(52229);let eq=["linux","helm","docker"],eB=({selectedVersion:e,setSelectedVersion:t,selectableVersions:r,latestVersion:o,supportedMajors:i,filter:l})=>{let a=(0,eN.useRouter)(),d=(0,eK.useSearchParams)(),p=(0,u.A)(),h=(0,g.A)(p.breakpoints.down("sm")),[b,x]=(0,w.useState)("linux");return(0,w.useEffect)(()=>{let e=d.get("platform");eq.includes(e)&&x(e)},[d]),(0,n.Y)(C,{title:"Deploy Teleport Agent",subtitle:"Options for deploying Teleport agents",children:(0,n.Y)(k,{children:(0,n.Y)(F,{tabs:[{icon:"linux-color",label:"Linux",key:"linux"},{icon:"kubernetes-color",label:h?"Helm":"Helm Chart",key:"helm"},{icon:"docker-color",label:h?"Docker":"Docker Image",key:"docker"}],active:b,onChange:e=>{let t={pathname:a.pathname,query:{...a.query,platform:e}};a.replace(t,void 0,{shallow:!0}),x(e)},children:(0,n.FD)(c.A,{mt:3,width:"100%",children:[(0,n.Y)(s.wv,{when:"linux"===b,children:(0,n.Y)(A,{children:(0,n.Y)(eU,{})})}),(0,n.Y)(s.wv,{when:"helm"===b,children:(0,n.Y)(A,{children:(0,n.Y)(eG,{filter:l})})}),(0,n.Y)(s.wv,{when:"docker"===b,children:(0,n.Y)(A,{children:(0,n.Y)(eX,{selectedVersion:e,setSelectedVersion:t,selectableVersions:r,latestVersion:o,supportedMajors:i,filter:l})})})]})})})})};function eU(){let[e,t]=(0,w.useState)("example.com"),r="teleport node configure \\\n--output=file \\\n--token=<token-generated-above>\\\n--proxy=your.proxy.address:443",{learnMore:o,dbs:i,k8s:l,app:s,desktop:a}=ew.agents.linux;return(0,n.FD)(c.A,{display:"flex",gap:3,flexDirection:"column",children:[(0,n.Y)(e_,{sx:{marginBottom:0},children:"The simplest way to install an agent on Linux is through your Teleport clusterâs web interface, which generates a joining script and automates these steps."}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"1. Install Teleport on Linux"}),(0,n.Y)(d.A,{children:"Copy and paste a single command to install Teleport on Linux. The script will download and install Teleport on any Linux machine."}),(0,n.Y)(c.A,{mt:1,children:(0,n.FD)(ex,{copyContent:`curl "https://${e}/scripts/install.sh" | sudo bash`,children:['curl "https://',(0,n.Y)(ey,{value:e,onCh
40ange:t}),'/scripts/install.sh" | sudo bash']})})]}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"2. Configure Teleport"}),(0,n.FD)(d.A,{children:["Once installed, you will need to configure the Teleport agent to connect to a Teleport Cluster. The Teleport Agent can provide multiple services, both to access the host and to proxy app, db and Kubernetes sessions."," ",(0,n.Y)(E.A,{href:o,target:"_blank",children:"Learn more about how to configure Teleport."})]}),(0,n.Y)(d.A,{mt:"16px",children:"To configure the agent for SSH access, first log in to your Teleport cluster and run the following to generate a join token. Youâll need this token for the next step."}),(0,n.Y)(c.A,{mt:1,children:(0,n.Y)(ex,{copyContent:"tctl tokens add --type=node --format=text"})}),(0,n.Y)(d.A,{my:1,children:"See the Teleport docs to configure agents for:"}),(0,n.FD)(c.A,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:1,mb:1},children:[(0,n.Y)(eZ,{label:"Databases",icon:"database",link:i}),(0,n.Y)(eZ,{label:"Kubernetes",icon:"kubernetes",link:l}),(0,n.Y)(eZ,{label:"Applications",icon:"app",link:s}),(0,n.Y)(eZ,{label:"Desktops",icon:"desktop",link:a})]}),(0,n.Y)(d.A,{children:"Switching back to the host you are deploying to agent on, run the following command to generate a configuration file for SSH access."}),(0,n.Y)(c.A,{mt:1,children:(0,n.Y)(ex,{copyContent:r,children:(0,n.Y)(c.A,{sx:{whiteSpace:"pre"},children:r})})})]}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"3. Start Teleport"}),(0,n.Y)(c.A,{mt:1,children:(0,n.Y)(ex,{copyContent:"sudo systemctl teleport enable --now"})})]})]})}function eG({filter:e}){let t="helm repo add teleport https://charts.releases.teleport.dev\nhelm repo update",{k8s:r,helmConfigReference:o,troubleshootingGuide:i}=ew.agents.helm;return(0,n.FD)(c.A,{display:"flex",gap:3,flexDirection:"column",children:[(0,n.FD)(c.A,{children:[(0,n.FD)(d.A,{variant:"h3",fontSize:s.bo.fontSizes["header-2"],children:["Install"," ","ent"===e?"Teleport Enterprise Edition":"Teleport Community Edition"," ","in Kubernetes"]}),(0,n.Y)(e_,{my:2,children:"Teleport offers a Helm Chart to make it easy to provide zero trust access to Kubernetes clusters, but the easiest way to connect a Kubernetes cluster is through your Teleport cluster's web interface."}),(0,n.Y)(eQ,{children:"1. Add the Teleport Helm Repository"}),(0,n.Y)(d.A,{children:"Docker images are available both for enterprise and OSS editions."}),(0,n.Y)(c.A,{mt:1,children:(0,n.Y)(ex,{copyContent:t,children:(0,n.Y)(c.A,{sx:{whiteSpace:"pre"},children:t})})})]}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"2. Install the Teleport Kubernetes Agent"}),(0,n.FD)(d.A,{children:["Log in to your Teleport cluster and run the following to generate a join token:"," "]}),(0,n.Y)(c.A,{mt:1,children:(0,n.Y)(ex,{copyContent:"tctl tokens add --type=kube --ttl=10m"})}),(0,n.Y)(d.A,{children:"This will output the final Helm install command to install your agent in Kubernetes. Copy and run that command on the host you are installing the agent on."}),(0,n.Y)(c.A,{mt:1,children:(0,n.FD)(ex,{copyContent:null,children:["helm install teleport-kube-agent teleport/teleport-kube-agent \\",(0,n.Y)("br",{})," ","--set kubeClusterName=<your-kubernetes-cluster-name> \\",(0,n.Y)("br",{})," ",`--set authToken=<token> ${"ent"===e?"\\":""}`,(0,n.Y)("br",{})," ","ent"===e?"--set enterprise=true":""]})})]}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"3. Verify the Installation"}),(0,n.Y)(c.A,{my:1,children:(0,n.Y)(ex,{copyContent:"kubectl get pods -n teleport-agent"})}),(0,n.Y)(d.A,{children:"You should see the Teleport agent pod is running."})]}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"Additional Resources"}),(0,n.FD)("ul",{children:[(0,n.Y)("li",{children:(0,n.Y)(E.A,{target:"_blank",href:r,children:"Teleport Kubernetes Documentation"})}),(0,n.Y)("li",{children:(0,n.Y)(E.A,{target:"_blank",href:o,children:"Helm Chart Configuration Reference"})}),(0,n.Y)("li",{children:(0,n.Y)(E.A,{target:"_blank",href:i,children:"Troubleshooting Guide"})})]})]})]})}function eX({selectedVersion:e,setSelectedVersion:t,selectableVersions:r,latestVersion:o,supportedMajors:i,filter:l}){let{docs:a,appsDockerCompose:p,dbsDockerCompose:h}
40=ew.agents.docker;return(0,n.FD)(c.A,{display:"flex",gap:3,flexDirection:"column",children:[(0,n.FD)(c.A,{children:[(0,n.FD)(d.A,{variant:"h3",fontSize:s.bo.fontSizes["header-2"],children:["Install"," ","ent"===l?"Teleport Enterprise Edition":"Teleport Community Edition"," ","in Docker"]}),(0,n.Y)(d.A,{my:1,children:"Teleport Provides pre-built Docker image for Teleport. These images are hosted on Amazon ECR. The Docker image can be used to operate both as an agent and as a main cluster."}),(0,n.Y)(e_,{sx:{marginBottom:0},children:"Docker instances are not auto-updating. We recommend you use Helm for containerized, auto-updating agents on Kubernetes."})]}),(0,n.FD)(c.A,{children:[(0,n.FD)(eQ,{children:["Docker Image"," ",(0,n.Y)(eY,{versions:r,latestVersion:o,supportedMajors:i,selectedVersion:e,onChange:t,selectSx:{height:"40px",minWidth:"165px"},showVPrefix:!0})]}),(0,n.Y)(c.A,{mt:3,mb:0,width:"100%",children:e&&!i.includes(ea(e)?.toString()??"")&&(0,n.Y)(eC,{version:e,layout:"vertical"})}),(0,n.Y)(d.A,{children:"Docker images are available for enterprise and OSS editions."}),(0,n.Y)(c.A,{mt:1,children:(0,n.Y)(ex,{copyContent:"ent"===l?`public.ecr.aws/gravitational/teleport-ent-distroless:${e}`:`public.ecr.aws/gravitational/teleport-distroless:${e}`})})]}),(0,n.FD)(c.A,{children:[(0,n.Y)(eQ,{children:"Running Teleport on Docker"}),(0,n.FD)(d.A,{children:["For more about running Teleport on Docker, see the"," ",(0,n.Y)(E.A,{target:"_blank",href:a,children:"Teleport Documentation"}),"."]}),(0,n.FD)(c.A,{mt:"12px",children:[(0,n.Y)(d.A,{children:"Quick Links:"}),(0,n.FD)("ul",{style:{margin:"0"},children:[(0,n.Y)("li",{children:(0,n.Y)(d.A,{children:(0,n.Y)(E.A,{target:"_blank",href:p,children:"Connect Applications using Teleport with Docker"})})}),(0,n.Y)("li",{children:(0,n.Y)(d.A,{children:(0,n.Y)(E.A,{target:"_blank",href:h,children:"Connect Databases using Teleport with Docker"})})})]})]})]})]})}let eQ=({children:e})=>(0,n.Y)(d.A,{variant:"h3",fontSize:s.bo.fontSizes["text-xl"],fontWeight:s.bo.fontWeights.bold,mb:1,children:e}),eZ=({icon:e,label:t,link:r})=>(0,n.Y)(ej.A,{variant:"outlined",component:"a",href:r,target:"_blank",children:(0,n.FD)(c.A,{display:"flex",gap:1,children:[(0,n.Y)(h.A,{name:e}),t]})});var eJ=r(20461),e0=r(98036),e1=r(61348),e2=r(58820);let e4=()=>(0,n.FD)(e_,{sx:{mt:2},children:[(0,n.FD)(d.A,{variant:"h3",fontSize:"18px",fontWeight:"700",children:["Try Teleport Enterprise with SSO, Identity Governance, and Identity Security Free for 14 Days"," "]}),(0,n.FD)(eJ.A,{dense:!0,children:[(0,n.FD)(e0.Ay,{alignItems:"flex-start",sx:{mb:"4px"},children:[(0,n.Y)(e1.A,{sx:{minWidth:"unset",marginRight:"8px"},children:(0,n.Y)(h.A,{size:"sm",name:"checkmark-circle",color:"green"})}),(0,n.Y)(e2.A,{children:"Single Sign-On (SSO) with enterprise identity provider integrations"})]}),(0,n.FD)(e0.Ay,{sx:{alignItems:"baseline",mb:"4px"},children:[(0,n.Y)(e1.A,{sx:{minWidth:"unset",marginRight:"8px"},children:(0,n.Y)(h.A,{size:"sm",name:"checkmark-circle",color:"green"})}),(0,n.FD)(e2.A,{children:["Identity Governance: just-in-time access requests, streamlined access reviews, phish-proof device trust, and session / identity locking"," "]})]}),(0,n.FD)(e0.Ay,{sx:{alignItems:"baseline",mb:"4px"},children:[(0,n.Y)(e1.A,{sx:{minWidth:"unset",marginRight:"8px"},children:(0,n.Y)(h.A,{size:"sm",name:"checkmark-circle",color:"green"})}),(0,n.Y)(e2.A,{children:"Identity Security: Monitor Standing Privilege, monitor critical assets, policy visualization-On (SSO) with enterprise identity provider integrations"})]})]}),(0,n.FD)(d.A,{fontSize:"14px",children:["See our documentation for a"," ",(0,n.Y)(E.A,{href:ew.clusters.enterpriseComparison,target:"_blank",children:"detailed comparison"}),"."]})]}),e3=["cloud","linux","helm"],e5=()=>{let e=(0,eN.useRouter)(),t=(0,eK.useSearchParams)(),r=(0,u.A)(),o=(0,g.A)(r.breakpoints.down("sm")),[i,l]=(0,w.useState)("linux");return(0,w.useEffect)(()=>{let e=t.get("platform");e3.includes(e)&&l(e)},[t]),(0,n.Y)(C,{title:"Deploy Teleport Cluster",subtitle:"Options for hosting a cluster",children:(0,n.Y)(k,{children:(0,n.Y)(F,{active:i,onChange:t=>{let r={pathname:e.pathname,query:{...e.query,platform:t}};e.replace(r,void 0,{shallow:!0}),l(t)}
40,tabs:[{icon:"teleport",label:`${o?"":"Teleport "}Cloud`,key:"cloud"},{icon:"linux-color",label:"Linux",key:"linux"},{icon:"kubernetes-color",label:o?"Helm":"Helm Chart",key:"helm"}],children:(0,n.FD)(c.A,{mt:2,width:"100%",children:[(0,n.Y)(s.wv,{when:"cloud"===i,children:(0,n.Y)(A,{children:(0,n.Y)(e8,{})})}),(0,n.Y)(s.wv,{when:"linux"===i,children:(0,n.Y)(A,{children:(0,n.Y)(e7,{})})}),(0,n.Y)(s.wv,{when:"helm"===i,children:(0,n.Y)(A,{children:(0,n.Y)(e6,{})})})]})})})})};function e8(){let{tryForFree:e}=ew.clusters.cloud;return(0,n.FD)(c.A,{children:[(0,n.Y)(d.A,{variant:"h3",fontSize:s.bo.fontSizes["header-2"],sx:{mb:2},children:"Teleport Enterprise 14-day Trial"}),(0,n.Y)(d.A,{children:"Spin up a production-ready Teleport cluster in minutes with a trial. This is the fastest and most scalable way to run Teleport, trusted by teams of every size."}),(0,n.Y)(e4,{}),(0,n.Y)(ej.A,{sx:{width:"100%"},size:"large",variant:"contained",component:"a",target:"_blank",href:e,children:"Try Teleport Enterprise for Free"})]})}function e7(){return(0,n.FD)(c.A,{children:[(0,n.Y)(d.A,{variant:"h3",fontSize:s.bo.fontSizes["header-2"],sx:{mb:2},children:"Install Teleport Community Edition on Linux"}),(0,n.Y)(d.A,{children:"There are a few different ways to deploy a Community Edition cluster on a Linux host, so we recommend following the Teleport Docs for the latest, most up-to-date instructions."}),(0,n.FD)(d.A,{mt:2,children:["Note: if you are looking for Enterprise Edition instructions, see"," ",(0,n.Y)(E.A,{href:ew.clusters.selfHostingEnterprise,target:"_blank",children:"this Installation Documentation instead"}),"."]}),(0,n.Y)(e4,{}),(0,n.Y)(e9,{label:"Deploy a Teleport Cluster on Linux",link:ew.clusters.linux.deploy})]})}function e6(){let{basic:e,custom:t,aws:r,azure:o,gcp:i,runUsingHelm:l}=ew.clusters.helm;return(0,n.FD)(c.A,{children:[(0,n.FD)(d.A,{variant:"h3",fontSize:s.bo.fontSizes["header-2"],sx:{mb:2},children:["Install Teleport in Kubernetes"," "]}),(0,n.FD)(d.A,{children:["There are several different ways to deploy a cluster using Teleportâs helm chart. From"," ",(0,n.Y)(E.A,{target:"_blank",href:e,children:"basic"})," ","to"," ",(0,n.Y)(E.A,{target:"_blank",href:t,children:"custom"})," ","deployments to DigitalOcean to high availability in"," ",(0,n.Y)(E.A,{target:"_blank",href:r,children:"AWS"}),","," ",(0,n.Y)(E.A,{target:"_blank",href:o,children:"Azure"}),","," ",(0,n.Y)(E.A,{target:"_blank",href:i,children:"GCP"}),", Teleport has a guide for you."]}),(0,n.Y)(e9,{label:"Guides for Running Teleport using Helm",link:l,sx:{marginTop:3}})]})}let e9=({label:e,link:t,sx:r})=>{let o=(0,u.A)(),i=(0,g.A)(o.breakpoints.down("sm"));return(0,n.Y)(ej.A,{sx:{width:"100%",...r},variant:"contained",size:"large",component:"a",target:"_blank",href:t,children:(0,n.FD)(c.A,{display:"flex",gap:"12px",alignItems:"center",children:[!i&&(0,n.Y)(h.A,{name:"book",width:"24px"}),e,!i&&(0,n.Y)(h.A,{name:"external-link",width:"18px",mt:"-4px"})]})})};var te=r(93659),tt=r(42031),tr=r(63366),to=r(82411),tn=r(79190),ti=r(19858),tl=r(32016);let ts=(0,s.I4)(s.N_)((0,s.sx)({color:s.bo.colors.link,fontWeight:s.bo.fontWeights.bold,lineHeight:"160%"})),ta={width:"14%"},tc={width:{md:"320px",lg:"35%"}},td=({assets:e})=>(0,n.Y)(te.A,{children:(0,n.FD)(tt.A,{sx:{[`& .${tr.A.root}`]:{borderBottom:"none"},"table-layout":e.length>0?"fixed":"unset"},"aria-label":"simple table",children:[(0,n.Y)(tp,{}),(0,n.FD)(to.A,{children:[e.map(e=>(0,n.Y)(th,{pkgName:e.package,arch:e.arch,sha256:e.sha256,size:e.size,name:e.name,link:e.publicUrl},e.name)),(0,n.Y)(s.wv,{when:e?.length===0,children:(0,n.Y)(tn.A,{children:(0,n.Y)(ti.A,{colSpan:10,children:"No Results"})})})]})]})}),tp=()=>(0,n.Y)(tl.A,{children:(0,n.FD)(tn.A,{children:[(0,n.Y)(tg,{sx:{...ta},children:"Package Format"}),(0,n.Y)(tg,{children:"Architecture"}),(0,n.Y)(tg,{children:"Checksum"}),(0,n.Y)(tg,{children:"Size"}),(0,n.Y)(tg,{padding:"none",sx:{...tc},children:"Download Link"})]})}),th=({pkgName:e,arch:t,sha256:r,size:o,name:i,link:l})=>{let[s,a]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{if(!s)return;let e=setTimeout(()=>{a(!1)},2e3);return()=>clearTimeout(e)},[s]),(0,n.FD)(tn.A,{children:[(0,n.Y)(ti.A,{children:e}),(0,n.Y)(ti.A,{sx:{...ta},children:eh(t)}),(0,n.Y)(ti.A,{children:(0,n.Y)(el,{sha256:r})}),(0,n.Y)(ti.A,{children:tu(o)}),(0,n.Y)(ti.A,{padding:"none",sx:{downloadColWidth:tc,textWrap:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},title:i,children:(0,n.Y)("span",{onClick:()=>{a(!0)},children:s?"Download started!":(0,n.Y)(ts,{href:l,children:i})})})]})};function tu(e){if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1e3));return`${parseFloat((e/Math.pow(1e3,t)).toFixed(1))} ${["Bytes","KB","MB","GB"][t]}`}let tg=(0,s.I4)(ti.A)` 41 font-size: 24px; 42 font-weight: 700; 43`;var tb=r(77678);let tx=({assets:e})=>(0,n.Y)(eJ.A,{sx:{width:"100%",padding:0},children:e.map((t,r)=>(0,n.Y)(e0.Ay,{alignItems:"flex-start",sx:{padding:0},children:(0,n.Y)(e2.A,{sx:{margin:0},primary:(0,n.Y)(d.A,{fontWeight:"bold",fontSize:s.bo.fontSizes["text-xl"],children:t.package}),secondary:(0,n.FD)(n.FK,{children:[(0,n.Y)(d.A,{color:s.bo.colors.black,children:eh(t.arch)}),(0,n.Y)(d.A,{color:s.bo.colors.black,children:tu(t.size)}),(0,n.Y)(ts,{fontSize:s.bo.fontSizes["text-lg"],href:t.publicUrl,children:t.name}),(0,n.Y)(el,{sha256:t.sha256,sx:{marginTop:1}}),r!==e.length-1&&(0,n.Y)(tb.A,{variant:"inset",sx:{marginY:"12px",marginLeft:0}})]})})},t.name))}),tm=({osVersions:e,selectedOs:t,setSelectedOs:r,selectedVersion:o,setSelectedVersion:i,selectableVersions:l,latestVersion:s,supportedMajors:a,filter:d,versionLoading:p,versionLoadError:h})=>
43(0,n.Y)(C,{noBackgroundImage:!0,title:(0,n.FD)(n.FK,{children:["See all downloads for ",(0,n.Y)("br",{}),"ent"===d?"Teleport Enterprise Edition":"Teleport Community Edition"]}),subtitle:"Full list of Teleport's direct downloads",children:(0,n.Y)(c.A,{sx:{display:"flex",flexDirection:"column",alignItems:"center",boxSizing:"border-box",width:"100%",paddingX:{xs:2,md:6}},children:(0,n.Y)(F,{containerSx:{width:{sm:"100%",md:"550px"}},onChange:r,active:t,tabs:[{icon:"mac",label:"macOS",key:"darwin"},{icon:"windows-color",label:"Windows",key:"windows"},{icon:"linux-color",label:"Linux",key:"linux"}],children:(0,n.Y)(tf,{versions:e.get(t)??[],selectedVersion:o,setSelectedVersion:i,selectableVersions:l,latestVersion:s,supportedMajors:a,versionLoading:p,versionLoadError:h})})})}),tf=({versions:e,selectedVersion:t,setSelectedVersion:r,selectableVersions:o,latestVersion:i,supportedMajors:l,versionLoading:s,versionLoadError:a})=>{let{defaultDownloadType:d}=ew.allDownloads,p=(0,eN.useRouter)(),h=(0,eK.useSearchParams)(),{downloadTypeOrder:b}=ew.allDownloads,x=(0,u.A)(),m=(0,g.A)(x.breakpoints.down("md")),[f,y]=(0,w.useState)(d),A=tw(e),k=(A.length>0?A:[j.Connect]).sort((e,t)=>(b.indexOf(e)??999)-(b.indexOf(t)??999)),v=e=>{let t={pathname:p.pathname,query:{...p.query,kind:e}};p.replace(t,void 0,{shallow:!0}),y(e)},Y=e.find(e=>e.version===t)||V,S=ty(Y,f),[D,C]=(0,w.useState)("all"),T=e=>{let t={pathname:p.pathname,query:{...p.query,package:e}};p.replace(t,void 0,{shallow:!0}),C(e)},I=tA(Y,f),[F,z]=(0,w.useState)("all"),W=e=>{let t={pathname:p.pathname,query:{...p.query,arch:e}};p.replace(t,void 0,{shallow:!0}),z(e)};(0,w.useEffect)(()=>{k.includes(f)||v(d)},[f,k]),(0,w.useEffect)(()=>{"all"!==D&&S.length>0&&!S.includes(D)&&T("all")},[D,S]),(0,w.useEffect)(()=>{"all"!==F&&I.length>0&&!I.includes(F)&&W("all")},[F,I]),(0,w.useEffect)(()=>{let e=h.get("kind");k.includes(e)&&y(e);let t=h.get("package");S.includes(t)&&C(t);let r=h.get("arch");I.includes(r)&&z(r)},[]);let E=Y.assets.filter(e=>e.kind==f&&("all"===D||e.package===D)&&("all"===F||e.arch===F));return(0,n.FD)(c.A,{sx:{mt:2,display:"flex",flexDirection:"column",alignItems:"center",width:"90vw",maxWidth:"1500px"},children:[(0,n.FD)(c.A,{display:"flex",width:"100%",maxWidth:"1000px",justifyContent:"stretch",gap:1,mb:3,alignItems:"center",sx:{flexDirection:{xs:"column",md:"row"}},children:[(0,n.FD)(c.A,{display:"flex",flexDirection:"column",flexGrow:"1",gap:"4px",sx:{width:{xs:"100%",md:"20%"},minWidth:"300px"},children:[(0,n.Y)(ek,{children:"Download Type"}),(0,n.Y)($,{onChange:e=>v(e.target.value),value:f,disabled:s,children:k.map(e=>(0,n.Y)(M.A,{value:e,children:ep(e)},e))})]}),(0,n.FD)(c.A,{display:"flex",gap:1,width:"100%",children:[(0,n.FD)(c.A,{display:"flex",flexGrow:"1",flexDirection:"column",gap:"4px",sx:{width:{xs:"33.33%",md:"5%"}},children:[(0,n.Y)(ek,{children:"Version"}),(0,n.Y)(eY,{versions:o,latestVersion:i,supportedMajors:l,selectedVersion:t,onChange:r,loading:s})]}),(0,n.FD)(c.A,{display:"flex",flexGrow:"1",flexDirection:"column",gap:"4px",sx:{width:{xs:"33.33%",md:"20%"}},children:[(0,n.Y)(ek,{children:"Package Format"}),(0,n.FD)($,{MenuProps:{PaperProps:{style:{maxHeight:"300px"}}},onChange:e=>T(e.target.value),value:D,disabled:s,children:[(0,n.Y)(M.A,{value:"all",children:"All"}),S?.map(e=>(0,n.Y)(M.A,{value:e,children:e},e))]})]}),(0,n.FD)(c.A,{display:"flex",flexDirection:"column",flexGrow:"1",gap:"4px",sx:{width:{xs:"33.33%",md:"10%"}},children:[(0,n.Y)(ek,{children:"Architecture"}),(0,n.FD)($,{value:F,onChange:e=>W(e.target.value),disabled:s,children:[(0,n.Y)(M.A,{value:"all",children:"All"}),I.map(e=>(0,n.Y)(M.A,{value:e,children:eh(e)},e))]})]})]})]}),s?(0,n.Y)(c.A,{mt:4,display:"flex",justifyContent:"center",width:"100%",children:(0,n.Y)(R.A,{size:24})}):a?(0,n.Y)(c.A,{width:"100%",maxWidth:"1000px",children:(0,n.Y)(eE,{version:t})}):(0,n.FD)(n.FK,{children:[(0,n.Y)(c.A,{width:"100%",children:t&&!l.includes(ea(t)?.toString()??"")&&(0,n.Y)(eC,{version:t})}),(0,n.Y)(c.A,{width:"100%",children:(0,n.Y)(U,{notes:Y.notesMd})}),(0,n.Y)(c.A,{mt:3,width:"100%",children:m?(0,n.Y)(tx,{assets:E}):(0,n.Y)(td,{assets:E})})]})]})},ty=(e,t)=>{let r=new Set;
43return e.assets.forEach(e=>{e.kind==t&&r.add(e.package)}),[...r].filter(e=>""!==e)},tA=(e,t)=>{let r=new Set;return e.assets.forEach(e=>{e.kind==t&&r.add(e.arch)}),[...r]},tw=e=>{let t=new Set;return e.forEach(e=>{e.assets.forEach(e=>{t.add(e.kind)})}),[...t]},tk=["client-tools","deploy-teleport-agent","deploy-teleport-cluster","all-downloads"];var tv=!0;let tY=({versions:e,os:t,versionMetadata:r})=>{let{selectedTab:o,selectedOs:a,selectedVersion:c,osVersions:d,latestVersion:p,selectableVersions:h,supportedMajors:u,filter:g,versionLoading:x,versionLoadError:m,handleTabChange:f,handleOsChange:y,handleVersionChange:k}=function({versions:e,os:t,versionMetadata:r}){let o=(0,eN.useRouter)(),n=(0,eK.useSearchParams)(),i=(0,w.useMemo)(()=>{let e=n.get("filter");return"string"==typeof e&&N.includes(e)?e:"oss"},[n]),[l,s]=(0,w.useState)(()=>{let e=o.query.tab;return tk.includes(e)?e:"client-tools"}),[a,c]=(0,w.useState)(()=>{let e=n.get("os");return e&&Set.prototype.has.call(_,e)?e:t}),[d,p]=(0,w.useState)(()=>{let t=n.get("version");return t&&e.some(e=>e.version===t)?t:e[0]?.version??""}),[h,u]=(0,w.useState)(e),[g,b]=(0,w.useState)(!1),[x,m]=(0,w.useState)(!1),f=(0,w.useRef)(null),y=async(t,r)=>{if(null===f.current&&(f.current={[ea(d)?.toString()??""]:e}),f.current[t])return b(!1),m(!1),u(f.current[t]),!0;b(!0),m(!1);try{let e=new URL("/api/teleportReleases",window.location.origin);e.searchParams.set("filter",r),e.searchParams.set("majorVersion",t);let o=await fetch(e.toString());if(o.ok){let e=(await o.json()).sort(eu).map(e=>({...e,assets:e.assets.map(e=>{var t;return{...e,kind:(e=>e.toLowerCase().includes("teleport-connect")||e.toLowerCase().includes("teleport connect")?e.includes("-mac.zip")?j.MacOsInAppUpdate:j.Connect:e.includes("tsh")?j.TshClient:e.includes("terraform-provider")?j.TerraformProvider:e.includes("teleport-access-")?j.AccessRequestPlugin:e.includes("teleport-event-handler")?j.AuditEventHandler:e.match(/install.*\.sh/g)?j.InstallScript:e.match(/license-check.*\.sh/g)?j.LicenseCheck:e.includes("teleport-tools-")?j.ClientTools:e.includes("teleport-update-")?j.AgentInstaller:e.includes("-windows-")?e.includes("windows-auth-setup")?j.AuthenticationPackage:j.ClientTools:j.Teleport)(e.name),package:(t=e).name?t.name.endsWith(".tar.gz")?t.name.includes("centos7-bin")?"RHEL 7 / CentOS 7":`${ed(t.os)} Tarball`:t.name.endsWith(".deb")?"Debian Package":t.name.endsWith(".rpm")?"RPM Package":t.name.endsWith(".exe")?"Windows Executable":t.name.endsWith(".dmg")?"macOS Disk Image":t.name.endsWith(".pkg")?"macOS Installer Package":t.name.endsWith(".zip")?`${t.os?ed(t.os)+" ":""}Zip Archive`:t.name.endsWith(".sh")?"Shell Script":"":""}})})).filter(e=>!ew.brokenVersions.includes(e.version));if(e.length>0)return u(e),f.current[t]=e,!0}m(!0)}catch(e){console.error("Failed to fetch versions for major:",t,e),m(!0)}finally{b(!1)}return!1},A=(0,w.useMemo)(()=>{var e,t,r;let o,n;return e=h.filter(e=>"published"===e.status),t=ew.hiddenTypes,r=e.map(e=>({...e,assets:e.assets.filter(e=>!t.includes(e.kind))})),n=new Map((o=["darwin","windows","linux"]).map(e=>[e,[]])),r.forEach(e=>{o.forEach(t=>{n.get(t)?.push({...e,assets:e.assets.filter(e=>e.os===t)})})}),n},[h]),k=(0,w.useRef)(d),v=(0,w.useMemo)(()=>{if(!r)return{};let e=function(e,t){if(!e)return[];let r=Object.keys(e.versions).map(Number),o=new Set(e.supportedMajors.map(Number)),n=ea(t)??ea(null);if(null===n||o.has(n))return[...o].sort((e,t)=>t-e).map(String);let i=new Set([n-1,n,n+1,...o]);return r.filter(e=>i.has(e)).sort((e,t)=>t-e).map(String)}(r,k.current)??[];return Object.fromEntries(Object.entries(r.versions).filter(([t])=>e.includes(t)).map(([e,t])=>[e,t.filter(e=>!e.includes("-"))]))},[r]),Y=e=>{o.replace({pathname:o.pathname,query:{...o.query,...e}},void 0,{shallow:!0})},S=async e=>{let t=ea(e),r=ea(d);null!==t&&(null!==r&&t!==r&&await y(t.toString(),i),Y({version:e}),p(e))};return{selectedTab:l,selectedOs:a,selectedVersion:d,osVersions:A,selectableVersions:v,latestVersion:r?.latest??"",supportedMajors:r?.supportedMajors??[],filter:i,versionLoading:g,versionLoadError:x,handleTabChange:e=>{Y({tab:e}),s(e)},handleOsChange:e=>{Y({os:e}),c(e)},handleVersionChange:S}}({versions:e,os:t,versionMetadata:r});return(0,n.FD)(s.YW,{title:"Download Teleport: Unified Identity Securing Classic & AI Infrastru
43cture",description:"Browse Teleport downloads for every platform and version, including server binaries, agents, and client tools.",header:(0,n.Y)(l.default,{border:"none",headerColor:"dark-purple",mode:"full"}),children:[(0,n.Y)(b,{selected:o,onSelect:f}),"client-tools"==o&&(0,n.Y)(A,{children:(0,n.Y)(eV,{versions:d,selectedOs:a,setSelectedOs:y,selectedVersion:c,setSelectedVersion:k,selectableVersions:h,latestVersion:p,supportedMajors:u,versionLoading:x,versionLoadError:m})}),"deploy-teleport-agent"==o&&(0,n.Y)(A,{children:(0,n.Y)(eB,{selectedVersion:c,setSelectedVersion:k,selectableVersions:h,latestVersion:p,supportedMajors:u,filter:g})}),"deploy-teleport-cluster"==o&&(0,n.Y)(A,{children:(0,n.Y)(e5,{})}),"all-downloads"==o&&(0,n.Y)(A,{children:(0,n.Y)(tm,{osVersions:d,selectedOs:a,setSelectedOs:y,selectedVersion:c,setSelectedVersion:k,selectableVersions:h,latestVersion:p,supportedMajors:u,filter:g,versionLoading:x,versionLoadError:m})}),(0,n.Y)(i.default,{subscribe:!1})]})}},39481:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var o=r(2860),n=r(19287),i=r(70719),l=r(82203),s=r.n(l),a=r(3985),c=r(3695),d=r(40134),p=r(81278),h=r(43034);let u={boxSizing:"border-box",minWidth:0,transition:(0,a.kY)([["color","interaction"]])},g={prop:"scheme",variants:{docs:{color:"note","&:visited":{color:"dark-purple"},"&:hover, &:active, &:focus":{color:"light-purple"}},site:{color:"dark-purple","&:visited":{color:"dark-purple"},"&:hover, &:active, &:focus":{color:"light-purple",outline:"none"}},comment:{color:"inherit","&:hover, &:active, &:focus":{opacity:.5}},white:{color:"white","&:hover, &:active, &:focus":{opacity:.8}},termsPurple:{color:"white",textDecoration:"underline",cursor:"pointer",transition:(0,a.kY)([["color","interaction"]]),"&:hover":{color:"white"},"&:focus, &:active":{color:"white",outline:"none"}},termsWhite:{color:"gray",textDecoration:"underline",cursor:"pointer",transition:(0,a.kY)([["color","interaction"]]),"&:hover":{color:"purple"},"&:focus, &:active":{color:"purple",outline:"none"}}}},b=(0,i.Ay)("a").withConfig({componentId:"sc-c1a7b4a5-0"})({...u},(0,a.Ox)(g),a.Q7),x=(0,i.Ay)(s()).withConfig({componentId:"sc-c1a7b4a5-1"})({...u},(0,a.Ox)(g),a.Q7),m=({children:e,href:t,as:r,sametab:i=!1,replace:l,scroll:s,shallow:a,passthrough:u,prefetch:g,locale:m,...f})=>{let y=(0,c.U)(t||"/"),A=(0,p.useRouter)(),w=e=>{let t=e.currentTarget;t.hasAttribute("href-override")&&((0,d.N)(e),e.preventDefault(),A.push(t.href))};if(u||(0,n.jN)(y)||(0,n.cu)(y)||y.startsWith("/static/")||y.startsWith("https://goteleport.com/"))return(0,o.Y)(b,{href:y,...f,tabIndex:0,onClick:e=>w(e),children:e});if((0,n.i9)(y))return(0,o.Y)(b,{href:y,target:i?"_self":"_blank",rel:"noopener noreferrer",tabIndex:0,onClick:e=>w(e),...f,children:e});let k={href:y,as:r,replace:l,scroll:s,shallow:a,prefetch:g,locale:!(0,h.q)(y)&&m};return(0,o.Y)(x,{onClick:e=>w(e),tabIndex:0,...f,...k,children:e})}},43078:(e,t,r)=>{"use strict";r.d(t,{DB:()=>x,ah:()=>m,Ay:()=>o.A});var o=r(39481),n=r(3985),i=r(2860),l=r(19287),s=r(82203),a=r.n(s),c=r(3695),d=r(40134),p=r(81278),h=r(98297),u=r(43034);let g={docs:{color:h.bo.colors.note,"&:visited":{color:h.bo.colors["dark-purple"]},"&:hover, &:active, &:focus":{color:h.bo.colors["light-purple"]}},site:{color:h.bo.colors["dark-purple"],"&:visited":{color:h.bo.colors["dark-purple"]},"&:hover, &:active, &:focus":{color:h.bo.colors["light-purple"],outline:"none"}},comment:{color:"inherit","&:hover, &:active, &:focus":{opacity:.5}},white:{color:"white","&:hover, &:active, &:focus":{opacity:.8}},termsPurple:{color:"white",textDecoration:"underline",cursor:"pointer",transition:(0,n.kY)([["color","interaction"]]),"&:hover":{color:"white"},"&:focus, &:active":{color:"white",outline:"none"}},termsWhite:{color:h.bo.colors.gray,textDecoration:"underline",cursor:"pointer",transition:(0,n.kY)([["color","interaction"]]),"&:hover":{color:"purple"},"&:focus, &:active":{color:"purple",outline:"none"}},none:{}},b=(0,h.I4)("a")((0,h.sx)({boxSizing:"border-box",minWidth:0,transition:(0,n.kY)([["color","interaction"]])})),x=({children:e,href:t,as:r,sametab:o=!1,replace:n,scroll:s,shallow:x,passthrough:m,prefetch:f,locale:y,scheme:A="none",...w})=>{let k=(0,c.U)(t||""),v=(0,p.useRouter)(),Y=e=>{let t=e.currentTarget;t.hasAttribute("href-override")&&((0,d.N)(e),e.preventDefault(),v.push(t.href))};if(m||(0,l.jN)(k)||(0,l.cu)(k)||k.startsWith("/static/")||k.startsWith("https://goteleport.com/"))return(0,i.Y)(b,{sx:g[A],href:k,...w,onClick:e=>Y(e),children:e});if((0,l.i9)(k))return(0,i.Y)(b,{...(0,h.oz)(g[A],w),href:k,target:o?"_self":"_blank",rel:"noopener noreferrer",onClick:e=>Y(e),...w,children:e});let S={href:k,as:r,replace:n,scroll:s,shallow:x,prefetch:f,locale:!(0,u.q)(k)&&y};return(0,i.Y)(a(),{passHref:!0,...S,legacyBehavior:!0,children:(0,i.Y)(b,{...(0,h.oz)(A&&g[A],w),onClick:e=>Y(e),...w,children:e})})},m=(0,h.I4)(x,{shouldForwardProp:e=>"variant"!==e})(({variant:e})=>[(0,h.sx)({display:"block",px:2,lineHeight:h.bo.lineHeights.xl,borderRadius:"default",color:h.bo.colors.darkest,transition:(0,n.kY)([["backgroundColor","interaction"],["color","interaction"]]),background:h.bo.colors["lightest-gray"],textDecoration:"none","@media(min-width:1125px)":{background:"transparent",lineHeight:h.bo.lineHeights.lg,px:1},"&:hover, &:active, &:focus":{background:"white",color:h.bo.colors["dark-purple"]},"&:active, &:focus":{outline:"none",background:h.bo.colors["lightest-gray"]}})]);m.displayName="StyledLink"},45724:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/download/[tab]",function(){return r(26742)}])},92189:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(55611),n=r(70719),i=r(3985),l=r(98297);let s=(0,n.Ay)("button").withConfig({componentId:"sc-4a7a87c4-0"})((0,o.Ay)({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",borderStyle:"solid",borderRadius:"default",overflow:"hidden",fontWeight:l.bo.fontWeights.bold,whiteSpace:"nowrap",textDecoration:"none",cursor:"pointer",transition:(0,i.kY)([["background","interaction"],["color","interaction"]]),"&:focus":{outline:"none"},"&:active":{transitionDuration:"0s",opacity:"0.56"},"&&:disabled":{backgroundColor:"lightest-gray",borderColor:"lightest-gray",color:"dark-gray",cursor:"default",pointerEvents:"none"}}),(0,i.Ox)({variants:{primary:{backgroundColor:"dark-purple",borderColor:"dark-purple",color:"white","&:focus, &:hover":{backgroundColor:"light-purple",borderColor:"light-purple",color:"white"}},secondary:{bg:"white",borderColor:"dark-purple",color:"dark-purple","&:focus, &:hover":{backgroundColor:"white",borderColor:"light-purple",color:"light-purple"}}
43,"secondary-white":{bg:"transparent",borderColor:"white",color:"white","&:hover, &:active, &:focus, &:hover":{bg:"rgba(255, 255, 255, 0.12)"}},"secondary-gray":{bg:"transparent",borderColor:"#A8AFB2",color:"#A8AFB2","&:hover, &:active, &:focus, &:hover":{bg:"rgba(255, 255, 255, 0.12)"}},"secondary-black":{bg:"transparent",borderColor:"black",color:"black","&:hover":{bg:"lightgrey"}}}}),(0,i.Ox)({prop:"shape",variants:{sm:{height:"24px",px:2,...l.bo.textStyles.textXS,textTransform:"uppercase",borderWidth:"1px"},md:{height:"32px",px:4,...l.bo.textStyles.buttonMD,borderWidth:"1px"},lg:{height:"48px",px:7,...l.bo.textStyles.textMD,fontWeight:l.bo.fontWeights.bold,borderWidth:"1px"},xl:{width:"267px",height:"56px",padding:"15px 98px",borderRadius:"8px",borderWidth:"1px",...l.bo.textStyles.textXL,fontWeight:l.bo.fontWeights.bold},xxl:{width:"340px",height:"56px",padding:"15px 98px",borderRadius:"8px",borderWidth:"1px",...l.bo.textStyles.textXL},outline:{height:"48px",px:7,...l.bo.textStyles.textMD,fontWeight:l.bo.fontWeights.bold,borderWidth:"1px"}}}),i.Q7);s.defaultProps={variant:"primary",shape:"md"};let a=s}},e=>{e.O(0,[89507,82771,27817,20695,70589,45824,33944,81934,52229,70723,31781,75162,91142,90636,46593,38792],()=>e(e.s=45724)),_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.