1import{B as L,u as E,bi as I,n as O,e as D,a as z,bj as R,b as e,i as a,P as Q,aq as $,bc as F,M as G,F as f,bk as K,bl as c,bm as A,K as x,A as m,bn as B,bo as P,Y as b,Q as p,$ as u,w as M,x as S,m as H,bp as _,bq as U}from"./index-COxKkHg0.js";import{B as y}from"./bot-nDfHUWWb.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const T=L("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]),W="https://www.aceplay.app/ace-mcp",Y="https://www.aceplay.app/OG.jpg",J={"@context":"https://schema.org","@type":"SoftwareApplication",name:"Ace MCP",alternateName:"Ace Model Context Protocol Server",description:"Connect Claude, ChatGPT, or any MCP-compatible AI to your Ace padel account. Ask about matches, level, and ratings in plain language. Read-only and revocable.",applicationCategory:"SportsApplication",applicationSubCategory:"DeveloperApplication",operatingSystem:"iOS, Android, Web",url:W,image:Y,offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},brand:{"@type":"Brand",name:"Ace"},author:{"@type":"Organization",name:"Ace",url:"https://www.aceplay.app",logo:"https://www.aceplay.app/favicon.png"}},V={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What is Ace MCP?",acceptedAnswer:{"@type":"Answer",text:"Ace MCP is a Model Context Protocol server that lets Claude, ChatGPT, or any MCP-compatible AI tool read your Ace padel data. You can ask about matches, level changes, and ratings in plain language."}},{"@type":"Question",name:"How do I connect Claude to my Ace account?",acceptedAnswer:{"@type":"Answer",text:"Generate an API key in your Ace profile under MCP Server, then paste the provided config snippet into Claude Desktop or run the Claude Code command. The whole setup takes under a minute."}},{"@type":"Question",name:"Is Ace MCP free?",acceptedAnswer:{"@type":"Answer",text:"Yes. Ace MCP is free for every Ace player. There is a generous rate limit per day and per minute to keep the service fast for everyone."}},{"@type":"Question",name:"Is it secure and private?",acceptedAnswer:{"@type":"Answer",text:"Yes. Ace MCP is read-only - the AI cannot create, edit, or delete anything in your account. Your API key is scoped to your account only, never shares contact details, and you can revoke it anytime from the MCP Server screen."}},{"@type":"Question",name:"What can the AI see through Ace MCP?",acceptedAnswer:{"@type":"Answer",text:"The AI can read your last 50 matches, your current level and confidence, your level change history, open matches near you, and public info on players, communities, tournaments, and your notifications. It cannot see private contact details or anyone else's private data."}}]};function ee(){const g=U(),j=E(),q=I("/profile/mcp-server"),{t:s}=O("mcp"),{user:h}=D(),[l,N]=z.useState(null),i=R(g,void 0),n=_(g,void 0),d=()=>{h?j("/profile/mcp-server"):j("/welcome",{state:{from:{pathname:"/profile/mcp-server"}}})},v=s(h?"info.hero.ctaPrimary":"info.hero.ctaPrimaryLoggedOut"),w=s(h?"info.finalCta.button":"info.finalCta.buttonLoggedOut"),o=async(t,r)=>{await navigator.clipboard.writeText(t),N(r),setTimeout(()=>N(null),1500)},k=s("info.what.examples",{returnObjects:!0})||[],C=s("info.tools.items",{returnObjects:!0})||[];return e.jsxs("div",{className:"min-h-screen bg-background text-foreground overflow-x-hidden pb-safe",children:[!a&&e.jsxs(e.Fragment,{children:[e.jsx(Q,{title:s("info.pageTitle"),description:s("info.pageDescription"),canonical:"/ace-mcp",availableLocales:["en"]}),e.jsxs($,{children:[e.jsx("meta",{name:"keywords",content:"MCP, Model Context Protocol, Ace padel, padel app, Claude integration, AI padel coach, ChatGPT padel, TrueSkill, padel stats, padel ratings"}),e.jsx("meta",{property:"og:image:width",content:"1200"}),e.jsx("meta",{property:"og:image:height",content:"630"}),e.jsx("meta",{property:"og:image:type",content:"image/jpeg"}),e.jsx("meta",{property:"og:image:alt",content:"Ace MCP - Connect Claude to your padel data"}),e.jsx("meta",{name:"twitter:image:alt",content:"Ace MCP - Connect Claude to your padel data"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(J)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(V)})]})]}),a?e.jsxs("div",{className:"sticky top-0 z-50 profile-header-glass",children:[e.jsx("div",{className:"pt-safe"}),e.jsxs("div",{className:"relative flex items-center justify-center px-4 py-3",children:[e.jsx("button",{onClick:q,className:"absolute left-4 top-1/2 -translate-y-1/2 h-10 w-10 flex items-center justify-center active:scale-95 transition-transform",type:"button","aria-label":s("common:nav.back","Back"),children:e.jsx(F,{className:"h-5 w-5"})}),e.jsx("span",{className:"text-[17px] font-semibold",children:s("menu.learnMore")}),e.jsx("div",{className:"absolute right-4 top-1/2 -translate-y-1/2 w-10"})]})]}):e.jsx(G,{transparent:!0}),e.jsx("main",{children:a?e.jsxs("div",{className:"mx-auto max-w-2xl space-y-5 px-4 pb-8 pt-5",children:[e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(f,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.hero.eyebrow")})]}),e.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground",children:s("info.hero.subtitle")}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-border/60 bg-secondary/50 px-3 py-1 text-xs font-medium",children:[e.jsx(K,{className:"h-3 w-3","aria-hidden":"true"}),s("info.hero.trustReadOnly")]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-border/60 bg-secondary/50 px-3 py-1 text-xs font-medium",children:[e.jsx(c,{className:"h-3 w-3","aria-hidden":"true"}),s("info.hero.trustRevoke")]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-border/60 bg-secondary/50 px-3 py-1 text-xs font-medium",children:[e.jsx(A,{className:"h-3 w-3","aria-hidden":"true"}),s("info.hero.trustNoContact")]})]}),e.jsxs(x,{onClick:d,className:"mt-4 w-full",size:"lg",children:[v,e.jsx(m,{className:"ml-1.5 h-4 w-4","aria-hidden":"true"})]})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(B,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.what.heading")})]}),e.jsx("p",{className:"mb-3 text-sm leading-relaxed text-muted-foreground",children:s("info.what.subtitle")}),e.jsx("ul",{className:"space-y-2",children:k.map((t,r)=>e.jsxs("li",{className:"rounded-xl border border-border/60 bg-secondary/40 px-3 py-2.5",children:[e.jsxs("p",{className:"text-sm font-semibold",children:['"',t.title,'"']}),e.jsx("p",{className:"mt-1 text-xs leading-relaxed text-muted-foreground",children:t.body})]},r))})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(y,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.levelExample.heading")})]}),e.jsx("p",{className:"mb-3 text-sm leading-relaxed text-muted-foreground",children:s("info.levelExample.subtitle")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx("div",{className:"flex h-7 w-7 flex-none items-center justify-center rounded-full bg-secondary",children:e.jsx(P,{className:"h-3.5 w-3.5 text-foreground","aria-hidden":"true"})}),e.jsx("div",{className:"flex-1 rounded-2xl rounded-tl-sm bg-secondary/60 px-3 py-2",children:e.jsx("p",{className:"text-sm font-medium leading-relaxed",children:s("info.levelExample.userQuestion")})})]}),e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx("div",{className:"flex h-7 w-7 flex-none items-center justify-center rounded-full bg-primary/15",children:e.jsx(y,{className:"h-3.5 w-3.5 text-primary","aria-hidden":"true"})}),e.jsx("div",{className:"flex-1 rounded-2xl rounded-tl-sm border border-border/60 bg-background px-3 py-2",children:e.jsx("p",{className:"text-sm leading-relaxed text-foreground
6/90",children:s("info.levelExample.aiAnswer")})})]})]}),e.jsx("p",{className:"mt-3 border-t border-border/40 pt-3 text-xs leading-relaxed text-muted-foreground",children:s("info.levelExample.footnote")})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(f,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.quickstart.heading")})]}),e.jsx("p",{className:"mb-3 text-sm leading-relaxed text-muted-foreground",children:s("info.quickstart.subtitle")}),e.jsx("ol",{className:"space-y-3",children:[{titleKey:"info.quickstart.step1Title",bodyKey:"info.quickstart.step1Body"},{titleKey:"info.quickstart.step2Title",bodyKey:"info.quickstart.step2Body"},{titleKey:"info.quickstart.step3Title",bodyKey:"info.quickstart.step3Body"}].map((t,r)=>e.jsxs("li",{className:"flex gap-3",children:[e.jsx("div",{className:"flex h-6 w-6 flex-none items-center justify-center rounded-full bg-primary/10 text-xs font-bold text-primary",children:r+1}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-semibold",children:s(t.titleKey)}),e.jsx("p",{className:"mt-0.5 text-xs leading-relaxed text-muted-foreground",children:s(t.bodyKey)})]})]},t.titleKey))})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(b,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.snippets.heading")})]}),e.jsx("p",{className:"mb-4 text-sm leading-relaxed text-muted-foreground",children:s("info.snippets.subtitle")}),e.jsxs("div",{className:"mb-5",children:[e.jsxs("div",{className:"mb-1.5 flex items-center justify-between gap-3",children:[e.jsx("span",{className:"text-sm font-semibold",children:s("info.snippets.claudeDesktopLabel")}),e.jsxs("button",{onClick:()=>o(i,"desktop"),className:"inline-flex h-8 items-center gap-1 rounded-full bg-secondary/60 px-3 text-xs font-medium text-muted-foreground hover:text-foreground active:scale-95 transition-transform",type:"button","aria-label":s("info.snippets.copy"),children:[l==="desktop"?e.jsx(p,{className:"size-3 text-primary"}):e.jsx(u,{className:"size-3"}),s(l==="desktop"?"info.snippets.copied":"info.snippets.copy")]})]}),e.jsx("p",{className:"mb-2 text-xs leading-relaxed text-muted-foreground",children:s("info.snippets.claudeDesktopHelp")}),e.jsx("pre",{className:"overflow-x-auto rounded-xl border border-border/60 bg-secondary/40 p-3 text-xs leading-relaxed",children:e.jsx("code",{children:i})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-1.5 flex items-center justify-between gap-3",children:[e.jsx("span",{className:"text-sm font-semibold",children:s("info.snippets.claudeCodeLabel")}),e.jsxs("button",{onClick:()=>o(n,"code"),className:"inline-flex h-8 items-center gap-1 rounded-full bg-secondary/60 px-3 text-xs font-medium text-muted-foreground hover:text-foreground active:scale-95 transition-transform",type:"button","aria-label":s("info.snippets.copy"),children:[l==="code"?e.jsx(p,{className:"size-3 text-primary"}):e.jsx(u,{className:"size-3"}),s(l==="code"?"info.snippets.copied":"info.snippets.copy")]})]}),e.jsx("p",{className:"mb-2 text-xs leading-relaxed text-muted-foreground",children:s("info.snippets.claudeCodeHelp")}),e.jsx("pre",{className:"overflow-x-auto rounded-xl border border-border/60 bg-secondary/40 p-3 text-xs leading-relaxed",children:e.jsx("code",{children:n})})]}),e.jsx("p",{className:"mt-3 text-xs leading-relaxed text-muted-foreground",children:s("info.snippets.placeholderNote")})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(T,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.tools.heading")})]}),e.jsx("p",{className:"mb-3 text-sm leading-relaxed text-muted-foreground",children:s("info.tools.subtitle")}),e.jsx("ul",{className:"space-y-2",children:C.map(t=>e.jsxs("li",{className:"rounded-xl border border-border/60 bg-secondary/40 px-3 py-2.5",children:[e.jsx("code",{className:"block break-all font-mono text-xs font-semibold text-primary",children:t.name}),e.jsx("p",{className:"mt-1 text-xs leading-relaxed text-muted-foreground",children:t.desc})]},t.name))})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(c,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.auth.heading")})]}),e.jsx("p",{className:"mb-3 text-sm leading-relaxed text-muted-foreground",children:s("info.auth.body")}),e.jsx("ul",{className:"space-y-3",children:[{titleKey:"info.auth.bullet1",bodyKey:"info.auth.bullet1Body"},{titleKey:"info.auth.bullet2",bodyKey:"info.auth.bullet2Body"},{titleKey:"info.auth.bullet3",bodyKey:"info.auth.bullet3Body"}].map(t=>e.jsxs("li",{className:"flex gap-2.5",children:[e.jsx("span",{"aria-hidden":"true",className:"mt-1.5 h-1.5 w-1.5 flex-none rounded-full bg-primary/60"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:s(t.titleKey)}),e.jsx("p",{className:"mt-0.5 text-xs leading-relaxed text-muted-foreground",children:s(t.bodyKey)})]})]},t.titleKey))})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(M,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.limits.heading")})]}),e.jsxs("ul",{className:"space-y-3",children:[e.jsxs("li",{className:"flex gap-2.5",children:[e.jsx("span",{"aria-hidden":"true",className:"mt-1.5 h-1.5 w-1.5 flex-none rounded-full bg-primary/60"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:s("info.limits.perMinute")}),e.jsx("p",{className:"mt-0.5 text-xs leading-relaxed text-muted-foreground",children:s("info.limits.perMinuteBody")})]})]}),e.jsxs("li",{className:"flex gap-2.5",children:[e.jsx("span",{"aria-hidden":"true",className:"mt-1.5 h-1.5 w-1.5 flex-none rounded-full bg-primary/60"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:s("info.limits.perDay")}),e.jsx("p",{className:"mt-0.5 text-xs leading-relaxed text-muted-foreground",children:s("info.limits.perDayBody")})]})]})]})]}),e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/10",children:e.jsx(S,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-base font-semibold",children:s("info.privacy.heading")})]}),e.jsx("p",{className:"mb-3 text-sm leading-relaxed text-muted-foreground",children:s("info.privacy.subtitle")}),e.jsx("ul",{className:"space-y-3",children:[{titleKey:"info.privacy.bullet1",bodyKey:"info.privacy.bullet1Body"},{titleKey:"info.privacy.bullet2",bodyKey:"info.privacy.bullet2Body"},{titleKey:"info.privacy.bullet3",bodyKey:"info.privacy.bullet3Body"},{titleKey:"info.privacy.bullet4",bodyKey:"info.privacy.bullet4Body"}].map(t=>e.jsxs("li",{className:"flex gap-2.5",children:[e.jsx("span",{"aria-hidden":"true",className:"mt-1.5 h-1.5 w-1.5 flex-none rounded-full bg-primary/60"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:s(t.titleKey)}),e.jsx("p",{className:"mt-0.5 text-xs leading-relaxed text-muted-foreground",children:s(t.bodyKey)})]})]},t.titleKey))})]}),e.jsxs("section",{className:"rounded-2xl border border-primary/20 bg-primary/5 p-5 text-center",children:[e.jsx("h2",{className:"text-base font-semibold",children:s("info.finalCta.heading")}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:s("info.finalCta.subtitle")}),e.jsxs(x,{onClick:d,className:"mt-4 w-full",size:"lg",children:[w,e.jsx(m,{className:"ml-1.5 h-4 w-4","aria-hidden":"true"})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("section",{className:`relative overflow-hidden px-6 ${a?"pt-8 pb-10":"pt-16 pb-20 md:pt-24 md:pb-28"}`,children:[e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 -z-10 h-[600px] opacity-50",style:{background:"radial-gradient(ellipse 80% 50% at 50% 0%, hsl(var(--primary) / 0.18) 0%, transparent 70%)"},"aria-hidden":"true"}),e.jsxs("div",{className:"mx-auto max-w-3xl text-center",children:[e.jsxs("div",{className:"mb-5 inline-flex items-center gap-2 rounded-full border border-border/60 bg-secondary/40 px-3 py-1 text-xs font-medium text-muted-foreground",children:[e.jsx(f,{className:"h-3.5 w-3.5 text-primary","aria-hidden":"true"}),s("info.hero.eyebrow")]}),e.jsxs("h1",{className:"hero-title text-[2.475rem] font-extrabold sm:text-[3.3rem] md:text-[4.125rem]",children:[s("info.hero.title")," ",e.jsx("span",{className:"text-gradient-brand",children:s("info.hero.titleAccent")})]}),e.jsx("p",{className:"mx-auto mt-5 max-w-xl text-base leading-relaxed text-muted-foreground md:text-lg",children:s("info.hero.subtitle")}),e.jsxs("div",{className:"mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row",children:[e.jsxs(x,{size:"lg",onClick:d,className:"w-full sm:w-auto",children:[v,e.jsx(m,{className:"ml-1.5 h-4 w-4","aria-hidden":"true"})]}),e.jsx("a",{href:"#tools",className:"inline-flex h-10 items-center justify-center gap-1.5 rounded-md px-4 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground",children:s("info.hero.ctaSecondary")})]}),e.jsxs("div",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-5 gap-y-2 text-xs text-muted-foreground",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(K,{className:"h-3.5 w-3.5","aria-hidden":"true"}),s("info.hero.trustReadOnly")]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(c,{className:"h-3.5 w-3.5","aria-hidden":"true"}),s("info.hero.trustRevoke")]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(A,{className:"h-3.5 w-3.5","aria-hidden":"true"}),s("info.hero.trustNoContact")]})]})]})]}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-5xl",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.what.heading")}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground md:text-base",children:s("info.what.subtitle")})]}),e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:k.map((t,r)=>e.jsxs("div",{className:"rounded-xl border border-border/60 bg-card p-5 transition-colors hover:border-border",children:[e.jsxs("p",{className:"text-base font-semibold",children:['"',t.title,'"']}),e.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:t.body})]},r))})]})}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-3xl",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("div",{className:"mb-3 inline-flex h-10 w-10 items-center justify-center rounded-full bg-primary/10",children:e.jsx(B,{className:"h-5 w-5 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.levelExample.heading")}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground md:text-base",children:s("info.levelExample.subtitle")})]}),e.jsxs("div",{className:"rounded-2xl border border-border/60 bg-card p-5 md:p-7",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-secondary",children:e.jsx(P,{className:"h-4 w-4 text-foreground","aria-hidden":"true"})}),e.jsx("div",{className:"flex-1 rounded-2xl rounded-tl-sm bg-secondary/60 px-4 py-3",children:e.jsx("p",{className:"text-sm font-medium leading-relaxed md:text-base",children:s("info.levelExample.userQuestion")})})]}),e.jsxs("div",{className:"mt-4 flex items-start gap-3",children:[e.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-full bg-primary/15",children:e.jsx(y,{className:"h-4 w-4 text-primary","aria-hidden":"true"})}),e.jsx("div",{className:"flex-1 rounded-2xl rounded-tl-sm border border-border/60 bg-background px-4 py-3",children:e.jsx("p",{className:"text-sm leading-relaxed text-foreground
6/90 md:text-base",children:s("info.levelExample.aiAnswer")})})]}),e.jsx("p",{className:"mt-5 border-t border-border/40 pt-4 text-center text-xs text-muted-foreground",children:s("info.levelExample.footnote")})]})]})}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.quickstart.heading")}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground md:text-base",children:s("info.quickstart.subtitle")})]}),e.jsx("ol",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:[{titleKey:"info.quickstart.step1Title",bodyKey:"info.quickstart.step1Body"},{titleKey:"info.quickstart.step2Title",bodyKey:"info.quickstart.step2Body"},{titleKey:"info.quickstart.step3Title",bodyKey:"info.quickstart.step3Body"}].map((t,r)=>e.jsxs("li",{className:"relative rounded-xl border border-border/60 bg-card p-6",children:[e.jsx("div",{className:"mb-3 inline-flex h-8 w-8 items-center justify-center rounded-full bg-primary/10 text-sm font-bold text-primary",children:r+1}),e.jsx("h3",{className:"text-base font-semibold",children:s(t.titleKey)}),e.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:s(t.bodyKey)})]},t.titleKey))})]})}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-3xl",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.snippets.heading")}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground md:text-base",children:s("info.snippets.subtitle")})]}),e.jsxs("div",{className:"mb-6 rounded-xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4 text-primary","aria-hidden":"true"}),e.jsx("span",{className:"text-sm font-semibold",children:s("info.snippets.claudeDesktopLabel")})]}),e.jsxs("button",{onClick:()=>o(i,"desktop"),className:"inline-flex items-center gap-1 rounded-md border border-border/60 bg-secondary/50 px-2 py-1 text-xs text-muted-foreground transition-colors hover:text-foreground","aria-label":s("info.snippets.copy"),children:[l==="desktop"?e.jsx(p,{className:"h-3 w-3"}):e.jsx(u,{className:"h-3 w-3"}),s(l==="desktop"?"info.snippets.copied":"info.snippets.copy")]})]}),e.jsx("p",{className:"mb-3 text-xs text-muted-foreground",children:s("info.snippets.claudeDesktopHelp")}),e.jsx("pre",{className:"overflow-x-auto rounded-md bg-secondary/60 p-3 text-xs leading-relaxed",children:e.jsx("code",{children:i})})]}),e.jsxs("div",{className:"rounded-xl border border-border/60 bg-card p-5",children:[e.jsxs("div",{className:"mb-2 flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4 text-primary","aria-hidden":"true"}),e.jsx("span",{className:"text-sm font-semibold",children:s("info.snippets.claudeCodeLabel")})]}),e.jsxs("button",{onClick:()=>o(n,"code"),className:"inline-flex items-center gap-1 rounded-md border border-border/60 bg-secondary/50 px-2 py-1 text-xs text-muted-foreground transition-colors hover:text-foreground","aria-label":s("info.snippets.copy"),children:[l==="code"?e.jsx(p,{className:"h-3 w-3"}):e.jsx(u,{className:"h-3 w-3"}),s(l==="code"?"info.snippets.copied":"info.snippets.copy")]})]}),e.jsx("p",{className:"mb-3 text-xs text-muted-foreground",children:s("info.snippets.claudeCodeHelp")}),e.jsx("pre",{className:"overflow-x-auto rounded-md bg-secondary/60 p-3 text-xs leading-relaxed",children:e.jsx("code",{children:n})})]}),e.jsx("p",{className:"mt-4 text-center text-xs text-muted-foreground",children:s("info.snippets.placeholderNote")})]})}),e.jsx("section",{id:"tools",className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-5xl",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("div",{className:"mb-3 inline-flex h-10 w-10 items-center justify-center rounded-full bg-primary/10",children:e.jsx(T,{className:"h-5 w-5 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.tools.heading")}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground md:text-base",children:s("info.tools.subtitle")})]}),e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:C.map(t=>e.jsxs("div",{className:"rounded-lg border border-border/60 bg-card p-4 transition-colors hover:border-border",children:[e.jsx("code",{className:"block break-all font-mono text-sm font-semibold text-primary",children:t.name}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:t.desc})]},t.name))})]})}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx("div",{className:"mb-3 inline-flex h-10 w-10 items-center justify-center rounded-full bg-primary/10",children:e.jsx(c,{className:"h-5 w-5 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.auth.heading")}),e.jsx("p",{className:"mx-auto mt-3 max-w-2xl text-sm leading-relaxed text-muted-foreground md:text-base",children:s("info.auth.body")})]}),e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3",children:[{titleKey:"info.auth.bullet1",bodyKey:"info.auth.bullet1Body"},{titleKey:"info.auth.bullet2",bodyKey:"info.auth.bullet2Body"},{titleKey:"info.auth.bullet3",bodyKey:"info.auth.bullet3Body"}].map(t=>e.jsxs("div",{className:"rounded-xl border border-border/60 bg-card p-5",children:[e.jsx("p",{className:"text-sm font-semibold",children:s(t.titleKey)}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:s(t.bodyKey)})]},t.titleKey))})]})}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-3xl",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx("div",{className:"mb-3 inline-flex h-10 w-10 items-center justify-center rounded-full bg-primary/10",children:e.jsx(M,{className:"h-5 w-5 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.limits.heading")})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[e.jsxs("div",{className:"rounded-xl border border-border/60 bg-card p-5",children:[e.jsx("p",{className:"text-base font-semibold",children:s("info.limits.perMinute")}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:s("info.limits.perMinuteBody")})]}),e.jsxs("div",{className:"rounded-xl border border-border/60 bg-card p-5",children:[e.jsx("p",{className:"text-base font-semibold",children:s("info.limits.perDay")}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:s("info.limits.perDayBody")})]})]})]})}),e.jsx("section",{className:`px-6 ${a?"py-8":"py-16 md:py-20"}`,children:e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx("div",{className:"mb-3 inline-flex h-10 w-10 items-center justify-center rounded-full bg-primary/10",children:e.jsx(S,{className:"h-5 w-5 text-primary","aria-hidden":"true"})}),e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.privacy.heading")}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground md:text-base",children:s("info.privacy.subtitle")})]}),e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[{titleKey:"info.privacy.bullet1",bodyKey:"info.privacy.bullet1Body"},{titleKey:"info.privacy.bullet2",bodyKey:"info.privacy.bullet2Body"},{titleKey:"info.privacy.bullet3",bodyKey:"info.privacy.bullet3Body"},{titleKey:"info.privacy.bullet4",bodyKey:"info.privacy.bullet4Body"}].map(t=>e.jsxs("div",{className:"rounded-xl border border-border/60 bg-card p-5",children:[e.jsx("p",{className:"text-sm font-semibold",children:s(t.titleKey)}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:s(t.bodyKey)})]},t.titleKey))})]})}),e.jsx("section",{className:`px-6 ${a?"py-10":"py-16 md:py-24"}`,children:e.jsxs("div",{className:"mx-auto max-w-xl text-center",children:[e.jsx("h2",{className:"text-2xl font-bold tracking-tight md:text-3xl",children:s("info.finalCta.heading")}),e.jsx("p",{className:"mt-3 text-sm text-muted-foreground md:text-base",children:s("info.finalCta.subtitle")}),e.jsxs(x,{size:"lg",onClick:d,className:"mt-6",children:[w,e.jsx(m,{className:"ml-1.5 h-4 w-4","aria-hidden":"true"})]})]})})]})}),!a&&e.jsx(H,{})]})}
6export{ee as default};
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.