import{r as e,j as t}from"./vendor-react-AXa6hZO5.js";import{ar as s,cN as o,tt as a,tu as n}from"./index-D35RxkWr.js";import{Z as i,s as l,a as r,o as c,I as d,a4 as p}from"./c6eedc03a-C8LSdtro.js";import{as as m}from"./vendor-icons-DsiQAprm.js";import{M as u,d as g}from"./vendor-intl-BdADXLLt.js";const k="curl -fsSL https://claude.ai/install.sh | bash",h="https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code",b="https://plugins.jetbrains.com/plugin/27310-claude-code-beta-",x="https://slack.com/marketplace/A08SF47R6P4-claude",f="https://claude.com/product/claude-code",j=g({vscode:{defaultMessage:"See every change before it lands. Accept, tweak, or redirect Claude without leaving your editor.",id:"u4GrqXcR2/"},jetbrains:{defaultMessage:"Claude Code works inside the IDE you already know. No workflow changes needed.",id:"DC5XFpX01K"},desktop:{defaultMessage:"Get the full Claude Code experience in a native window. No terminal required.",id:"3bs/L1f60D"},terminal:{defaultMessage:"Run Claude Code directly from the command line. Works in any shell.",id:"PRZrOGhThN"},mobile:{defaultMessage:"Monitor progress, get notified when you're needed, and review changes on the go.",id:"p9soKJ+jhS"},slack:{defaultMessage:"Turn a bug report into a pull request without leaving your team chat.",id:"Ksa5WnooAs"}});function v({iconSrc:e,iconSrcDark:s,iconNode:o,iconWidth:a=20,iconHeight:n=20,onClick:i,children:l,tooltip:r}){const m={width:a,height:n},u=t.jsxs("button",{type:"button",onClick:i,className:"border-0.5 mb-2 me-2 inline-flex items-center gap-2 rounded-xl border-border-200 bg-transparent p-2 align-top text-text-100 transition-colors hover:border-transparent hover:bg-bg-400",children:[e?t.jsxs(t.Fragment,{children:[t.jsx(d,{src:e,alt:"",width:a,height:n,style:m,className:c("object-contain",s&&"dark:hidden")}),s&&t.jsx(d,{src:s,alt:"",width:a,height:n,style:m,className:"hidden object-contain dark:block"})]}):t.jsx("span",{className:"flex items-center justify-center",style:m,children:o}),t.jsx("span",{className:"text-sm",children:l})]});return r?t.jsx(p,{multiline:!0,content:r,side:"bottom",className:"!max-w-[17rem] text-center",children:u}):u}function w({showTerminal:d=!0,showDesktop:p=!0,onPlatformClick:g,className:k}){const w=i(),y=l(),C=r(),S=w||y,[$,M]=e.useState(!1),N=e.useCallback((e,t)=>{g(e),window.open(t,"_blank","noopener,noreferrer")},[g]),A=e.useCallback(()=>{g("desktop"),window.location.assign(s(y?"win-x64":"mac"))},[g,y]),z=e.useCallback(()=>{g("mobile"),M(!0)},[g]);return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:c("-mb-2 -me-2 text-balance",k),children:[d&&t.jsx(v,{iconNode:t.jsx(o,{size:16}),onClick:()=>N("terminal",f),tooltip:t.jsx(u,{...j.terminal}),children:t.jsx(u,{defaultMessage:"Terminal",id:"GAHVEi8lHA"})}),t.jsx(v,{iconSrc:"/images/home-page-assets/vscode.svg",iconWidth:16,iconHeight:16,onClick:()=>N("vscode",h),tooltip:t.jsx(u,{...j.vscode}),children:t.jsx(u,{defaultMessage:"VS Code",id:"Ma0wJFlsrr"})}),t.jsx(v,{iconSrc:"/images/install-hub/jetbrains-icon.svg",iconWidth:16,iconHeight:16,onClick:()=>N("jetbrains",b),tooltip:t.jsx(u,{...j.jetbrains}),children:t.jsx(u,{defaultMessage:"JetBrains",id:"wDQllQfqj7"})}),p&&S&&!C&&t.jsx(v,{iconSrc:w?"/images/install-hub/apple-icon.svg":void 0,iconSrcDark:w?"/images/install-hub/apple-icon-white.svg":void 0,iconNode:w?void 0:t.jsx(m,{size:16,weight:"fill"}),iconWidth:w?14:16,iconHeight:w?17:16,onClick:A,tooltip:t.jsx(u,{...j.desktop}),children:t.jsx(u,{defaultMessage:"Desktop app",id:"SR19nKO/BD"})}),t.jsx(v,{iconNode:t.jsx(a,{}),onClick:z,tooltip:t.jsx(u,{...j.mobile}),children:t.jsx(u,{defaultMessage:"Mobile",id:"GWtmtuCmOx"})}),t.jsx(v,{iconSrc:"/images/install-hub/slack-icon.svg",iconWidth:18,iconHeight:18,onClick:()=>N("slack",x),tooltip:t.jsx(u,{...j.slack}),children:t.jsx(u,{defaultMessage:"Slack",id:"sjzDbuQbES"})})]}),t.jsx(n,{isOpen:$,onClose:()=>M(!1),onAppStoreClick:g})]})}
/*!-----------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
 * Released under the MIT license
 * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
 *-----------------------------------------------------------------------------*/const y=Object.freeze(Object.defineProperty({__proto__:null,conf:{comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},language:{defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}}},Symbol.toStringTag,{value:"Module"}));export{f as C,v as I,b as J,x as S,h as V,k as a,w as b,j as c,y as p};
