1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3599],{63:(e,t,n)=>{var s=n(7260);n.o(s,"useParams")&&n.d(t,{useParams:function(){return s.useParams}}),n.o(s,"usePathname")&&n.d(t,{usePathname:function(){return s.usePathname}}),n.o(s,"useRouter")&&n.d(t,{useRouter:function(){return s.useRouter}}),n.o(s,"useSelectedLayoutSegments")&&n.d(t,{useSelectedLayoutSegments:function(){return s.useSelectedLayoutSegments}})},1309:(e,t,n)=>{n.d(t,{NavAuth:()=>m});var s=n(5155),a=n(2619),r=n.n(a),i=n(3680),l=n(2115);let o=2*Math.PI*18;function c(e){let{children:t}=e,[n,a]=(0,l.useState)(null);if((0,l.useEffect)(()=>{let e=!0;return fetch("/api/me/usage",{headers:{accept:"application/json"},cache:"no-store"}).then(e=>e.ok?e.json():null).then(t=>{e&&t&&a(t)}).catch(()=>{}),()=>{e=!1}},[]),!((null==n?void 0:n.enabled)&&null!=n.limit&&null!=n.remaining&&n.limit>0))return(0,s.jsx)("span",{className:"inline-grid h-10 w-10 place-items-center",children:t});let{remaining:r,limit:i}=n,c=Math.max(0,Math.min(1,r/i)),d="#22d3ee",u="".concat(r," of ").concat(i," scan").concat(1===i?"":"s"," left this month");return(0,s.jsxs)("span",{className:"relative inline-grid h-10 w-10 place-items-center",title:u,children:[(0,s.jsxs)("svg",{viewBox:"0 0 40 40",className:"pointer-events-none absolute inset-0 h-10 w-10 -rotate-90 animate-fade-up",role:"img","aria-label":u,children:[(0,s.jsx)("circle",{cx:"20",cy:"20",r:18,fill:"none",stroke:"currentColor",strokeWidth:"2.5",className:"text-ink/10"}),(0,s.jsx)("circle",{cx:"20",cy:"20",r:18,fill:"none",stroke:d,strokeWidth:"2.5",strokeLinecap:"round",strokeDasharray:o,strokeDashoffset:o*(1-c),className:"transition-[stroke-dashoffset] duration-500 ease-out motion-reduce:transition-none",style:{filter:"drop-shadow(0 0 3px ".concat(d,"66)")}})]}),t]})}var d=n(5062);let u=(0,n(4419).E)(),p="w-full rounded-xl px-3 py-2.5 text-sm font-medium text-ink/80 transition-colors hover:bg-ink/[0.06]";function m(e){let{alwaysAuth:t=!1,menu:n=!1}=e;return u?(0,s.jsx)(h,{menu:n}):t?(0,s.jsx)(x,{menu:n}):null}function x(e){let{menu:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r(),{href:"/sign-in",className:t?p:"rounded-full px-4 py-2 text-sm font-medium text-ink/70 transition-colors hover:text-ink",children:"Sign in"}),(0,s.jsx)(r(),{href:"/sign-up",className:t?(0,d.f)({variant:"primary",size:"md",peek:"up",className:"w-full"}):(0,d.f)({variant:"primary",shape:"pill",size:"md",peek:"up"}),children:"Sign up"})]})}function h(e){let{menu:t}=e,{isLoaded:n,isSignedIn:a}=(0,i.Jd)();return n?a?t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r(),{href:"/dashboard",className:(0,d.f)({variant:"primary",size:"md",peek:"up",className:"w-full"}),children:"Dashboard"}),(0,s.jsx)(i.ct,{children:(0,s.jsx)("button",{type:"button",className:"".concat(p," text-left"),children:"Sign out"})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r(),{href:"/dashboard",className:(0,d.f)({variant:"primary",shape:"pill",size:"md",peek:"up"}),children:"Dashboard"}),(0,s.jsx)("span",{className:"ml-2 inline-flex items-center",children:(0,s.jsx)(c,{children:(0,s.jsx)(i.uF,{appearance:{elements:{userButtonAvatarBox:"h-7 w-7"}}})})})]}):(0,s.jsx)(x,{menu:t}):null}},4419:(e,t,n)=>{n.d(t,{E:()=>s});function s(){return!!"pk_live_Y2xlcmsudWlzY2FubmVyLmNvbSQ".startsWith("pk_")}},4428:(e,t,n)=>{n.d(t,{FooterAccount:()=>u});var s=n(5155),a=n(2619),r=n.n(a),i=n(3680);let l=(0,n(4419).E)(),o="transition-colors hover:text-ink";function c(e){let{children:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-[11px] tracking-wide text-ink/60",children:"Account"}),(0,s.jsx)("ul",{className:"mt-4 space-y-3 text-sm text-ink/70",children:t})]})}function d(){return(0,s.jsxs)(c,{children:[(0,s.jsx)("li",{children:(0,s.jsx)(r(),{href:"/sign-in",className:o,children:"Sign in"})}),(0,s.jsx)("li",{children:(0,s.jsx)(r(),{href:"/sign-up",className:o,children:"Sign up"})})]})}function u(){return l?(0,s.jsx)(p,{}):(0,s.jsx)(d,{})}function p(){let{isLoaded:e,isSignedIn:t}=(0,i.Jd)();return e&&t?(0,s.jsxs)(c,{children:[(0,s.jsx)("li",{children:(0,s.jsx)(r(),{href:"/dashboard",className:o,children:"Dashboard"})}),(0,s.jsx)("li",{children:(0,s.jsx)(r(),{href:"/",className:o,children:"New scan"})}),(0,s.jsx)("li",{children:(0,s.jsx)(r(),{href:"/billing",className:o,children:"Manage billing"})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.ct,{children:(0,s.jsx)("button",{type:"button",className:o,children:"Sign out"})})})]}):(0,s.jsx)(d,{})}}
1,4652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return l}});let s=n(8140),a=n(5040),r=n(1356),i=s._(n(1124));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=r.Image},5085:(e,t,n)=>{n.d(t,{CommandSet:()=>w,InstallCommand:()=>m,McpConsole:()=>v});var s=n(5155),a=n(2115),r=n(5239),i=n(8910),l=n(1918),o=n(4883),c=n(2099);let d=/(uiscanner-mcp|uiscanner|ui_teardown|uix_your_key)/g;function u(e){let{code:t,tone:n="dark",className:a}=e,{copied:r,copy:i}=(0,c.useCopy)();return(0,s.jsx)("button",{type:"button",onClick:()=>void i(t),"aria-label":r?"Copied to clipboard":"Copy command",className:(0,l.cn)("inline-flex h-7 w-7 items-center justify-center rounded-md opacity-0 transition focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-scan/50 group-hover/code:opacity-100",r&&"opacity-100","dark"===n?"text-bone/60 hover:bg-white/10 hover:text-bone":"text-ink/60 hover:bg-ink/[0.06] hover:text-ink",a),children:r?(0,s.jsx)(o.Sr,{className:(0,l.cn)("h-3.5 w-3.5","dark"===n?"text-sky":"text-sky-deep")}):(0,s.jsx)(o.Td,{className:"h-3.5 w-3.5"})})}function p(e){let{code:t}=e;return(0,s.jsxs)("div",{className:"group/code relative mt-3 overflow-hidden rounded-xl border border-ink/10 bg-ink",children:[(0,s.jsx)(u,{code:t,tone:"dark",className:"absolute right-1.5 top-1.5 z-10"}),(0,s.jsx)("pre",{tabIndex:0,role:"region","aria-label":"Setup code, scrollable",className:"overflow-x-auto px-4 py-3 pr-10 font-mono text-[12px] leading-relaxed text-bone/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-scan/40",children:(0,s.jsx)("code",{children:t.split("\n").map((e,t)=>(0,s.jsx)("div",{children:/^\s*(#|\/\/)/.test(e)?(0,s.jsx)("span",{className:"text-bone/60",children:e||" "}):e.split(d).map((e,t)=>"uix_your_key"===e?(0,s.jsx)("span",{className:"italic text-bone/55",children:e},t):/^(uiscanner-mcp|uiscanner|ui_teardown)$/.test(e)?(0,s.jsx)("span",{className:"text-scan",children:e},t):(0,s.jsx)("span",{children:e||" "},t))},t))})})]})}function m(e){let{className:t}=e;return(0,s.jsxs)("div",{className:(0,l.cn)("group/code relative flex items-center gap-3 rounded-xl border border-sky/25 bg-sky-soft/70 px-4 py-3 text-left shadow-[0_18px_50px_-32px_rgba(42,111,208,0.5)] backdrop-blur-sm",t),children:[(0,s.jsx)("span",{"aria-hidden":!0,className:"select-none font-mono text-sm text-sky-deep/70",children:"$"}),(0,s.jsxs)("code",{className:"min-w-0 flex-1 overflow-x-auto whitespace-nowrap font-mono text-[13px] leading-relaxed text-ink sm:text-sm",children:["claude mcp add ",(0,s.jsx)("span",{className:"text-sky-deep",children:"uiscanner"})," -- npx -y"," ",(0,s.jsx)("span",{className:"text-sky-deep",children:"uiscanner-mcp"})]}),(0,s.jsx)(u,{code:"claude mcp add uiscanner -- npx -y uiscanner-mcp@latest",tone:"light",className:"shrink-0 opacity-100"})]})}let x={"claude-code":[{title:"Open your terminal",body:"In any project, nothing to clone first."},{title:"Run one command",body:"No keys to paste, the first scan opens your browser to sign in.",code:"claude mcp add uiscanner -- npx -y uiscanner-mcp@latest"},{title:"Ask Claude",body:"Sign in once, then tokens and a build prompt land right in your chat.",code:"ui_teardown example.com for a landing"}],cursor:[{title:"Open Settings, then MCP",body:"Or make a .cursor/mcp.json in your project."},{title:"Paste this",code:'{\n "mcpServers": {\n "uiscanner": {\n "command": "npx",\n "args": ["-y", "uiscanner-mcp@latest"]\n }\n }\n}'},{title:"Reload, then ask",body:"Reload Cursor, then ask the agent to ui_teardown any URL."}],codex:[{title:"Open ~/.codex/config.toml",body:"Create it if it isn't there yet."},{title:"Add this",code:'[mcp_servers.uiscanner]\ncommand = "npx"\nargs = ["-y", "uiscanner-mcp@latest"]'},{title:"Restart Codex",body:"Then ask it to scan a URL, it signs you in on the first call."}]},h=[{title:"Run it with npx",body:"No install, npx fetches the package for you.",code:"npx -y uiscanner-mcp@latest scan example.com --target landing"},{title:"Sign in, or use a key for CI",body:"Interactive runs open a browser to sign in. For CI or headless, mint a uix_ key in Billing and drop it in (uix_your_key below is a placeholder, swap in your real key).",code:"export UISCANNER_API_KEY=uix_your_key"},{title:"Pipe the output",body:"Get raw JSON for any build step or script.",code:"npx -y uiscanner-mcp@latest scan example.com --json > tokens.json"}],f=[{name:"scan",mark:"terminal",desc:"Scan a public URL: tokens, section structure, and a build prompt.",flags:["<url>","--target","--json"]},{name:"probe",mark:"terminal",desc:"Pre-flight a URL: scannable, and is a recent teardown cached? No scan spent.",flags:["<url>","--json"]},{name:"get",mark:"terminal",desc:"Fetch a finished teardown by its id or share link.",flags:["<id|link>","--json"]},{name:"retarget",mark:"terminal",desc:"Re-tailor the build prompt to a new archetype, no re-scan.",flags:["<id|link>","<archetype>"]},{name:"whoami",mark:"terminal",desc:"Show your plan and scans left this window.",flags:["--json"]},{name:"ui_teardown",mark:"claude",desc:"The MCP tools agents call in-chat: scan, get, retarget, whoami. No terminal.",flags:["url","target"]}
1],g=[{id:"claude-code",label:"Claude Code",icon:"claude",tone:"bg-[#d97757] text-white"},{id:"cursor",label:"Cursor",icon:"cursor",tone:"bg-[#15161b] text-white"},{id:"codex",label:"Codex",icon:"openai",tone:"bg-white text-ink ring-1 ring-inset ring-ink/10"},{id:"openclaw",label:"OpenClaw",img:"/logo/openclaw.svg",tone:"bg-white ring-1 ring-inset ring-ink/10"},{id:"hermes",label:"Hermes",img:"/logo/hermes.png",tone:"bg-[#1f2937]"}];function b(e){let{id:t,className:n}=e;return"cli"===t?(0,s.jsx)(i.J,{name:"terminal",className:n}):(0,s.jsxs)("svg",{className:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[(0,s.jsx)("rect",{x:"3",y:"8.5",width:"6.5",height:"7",rx:"1.5"}),(0,s.jsx)("path",{d:"M9.5 12h5.5"}),(0,s.jsx)("circle",{cx:"18",cy:"12",r:"2.6"})]})}let y=[{id:"mcp",label:"MCP"},{id:"cli",label:"CLI"}],j=new Set(["openclaw","hermes"]);function k(e){let t=(0,a.useRef)(new Map),[n,s]=(0,a.useState)({opacity:0}),[r,i]=(0,a.useState)(!1),l=(0,a.useCallback)(()=>{let n=t.current.get(e);n&&s({width:n.offsetWidth,height:n.offsetHeight,transform:"translate(".concat(n.offsetLeft,"px, ").concat(n.offsetTop,"px)"),opacity:1})},[e]);return(0,a.useEffect)(()=>(l(),window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)),[l]),(0,a.useEffect)(()=>{let e=requestAnimationFrame(()=>i(!0));return()=>cancelAnimationFrame(e)},[]),{ref:e=>n=>{n&&t.current.set(e,n)},style:n,ready:r}}function v(){var e;let[t,n]=(0,a.useState)("mcp"),[o,c]=(0,a.useState)("claude-code"),d=k(t),u=k(o),m="mcp"===t&&null!=(e=x[o])?e:h;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"relative inline-flex gap-1.5 rounded-3xl border border-slate-200/70 bg-white/55 px-2.5 py-2 shadow-[0_24px_60px_-40px_rgba(15,40,70,0.4)] backdrop-blur",children:[(0,s.jsx)("span",{"aria-hidden":!0,style:d.style,className:(0,l.cn)("pointer-events-none absolute left-0 top-0 rounded-full bg-sky/15 ring-1 ring-inset ring-sky/25",d.ready&&"transition-[transform,width,height] duration-300 ease-out")}),y.map(e=>(0,s.jsxs)("button",{ref:d.ref(e.id),type:"button",onClick:()=>{var t;"mcp"===(t=e.id)&&j.has(o)&&c("claude-code"),n(t)},"aria-pressed":e.id===t,className:(0,l.cn)("relative z-10 inline-flex items-center gap-1.5 rounded-full px-3.5 py-1.5 text-sm font-medium transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky/50",e.id===t?"text-sky-deep":"text-ink/70 hover:text-ink"),children:[(0,s.jsx)(b,{id:e.id,className:"h-4 w-4"}),e.label]},e.id))]}),(0,s.jsxs)("div",{className:"relative inline-flex flex-wrap gap-1.5 rounded-3xl border border-slate-200/70 bg-white/55 px-2.5 py-2 shadow-[0_24px_60px_-40px_rgba(15,40,70,0.4)] backdrop-blur",children:[(0,s.jsx)("span",{"aria-hidden":!0,style:u.style,className:(0,l.cn)("pointer-events-none absolute left-0 top-0 rounded-full bg-ink/[0.06]",u.ready&&"transition-[transform,width,height] duration-300 ease-out")}),g.map(e=>(0,s.jsxs)("button",{ref:u.ref(e.id),type:"button",onClick:()=>{var t;c(t=e.id),j.has(t)&&n("cli")},"aria-pressed":e.id===o,className:(0,l.cn)("relative z-10 inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-[13px] transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky/50",e.id===o?"text-ink":"text-ink/60 hover:text-ink/80"),children:[(0,s.jsx)("span",{className:(0,l.cn)("flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded-[6px]",e.tone),children:e.icon?(0,s.jsx)(i.J,{name:e.icon,className:"h-3 w-3"}):(0,s.jsx)(r.default,{src:e.img,alt:"",width:20,height:20,className:"h-full w-full object-contain"})}),e.label]},e.id))]})]}),(0,s.jsx)("div",{className:"mt-3 overflow-hidden rounded-3xl border border-slate-200/70 bg-white/70 p-5 shadow-[0_24px_60px_-40px_rgba(15,40,70,0.4)] sm:p-7",children:(0,s.jsx)("ol",{className:"relative animate-fade-up",children:m.map((e,t)=>{let n=t===m.length-1;return(0,s.jsxs)("li",{className:"relative grid grid-cols-[28px_1fr] gap-x-4 pb-7 last:pb-0",children:[!n&&(0,s.jsx)("span",{"aria-hidden":!0,
1className:"absolute bottom-1 left-[13px] top-8 w-px bg-slate-200/80"}),(0,s.jsx)("span",{className:"relative z-10 flex h-7 w-7 items-center justify-center rounded-full bg-sky/10 text-[12px] font-medium text-sky-deep ring-4 ring-white/70",children:t+1}),(0,s.jsxs)("div",{className:"min-w-0 pt-0.5",children:[(0,s.jsx)("p",{className:"text-sm font-medium leading-snug text-ink",children:e.title}),e.body&&(0,s.jsx)("p",{className:"mt-1.5 text-sm leading-relaxed text-ink/70",children:e.body}),e.code&&(0,s.jsx)(p,{code:e.code})]})]},t)})},"".concat(t,"-").concat(o))}),(0,s.jsx)("div",{className:"mt-5 flex flex-wrap items-center justify-center gap-3",children:(0,s.jsx)("p",{className:"rounded-full border border-sky/20 bg-sky-soft/70 px-4 py-2 text-center text-[13px] text-sky-deep",children:"Using Claude Code, Codex, or a plain terminal? The CLI is one command."})})]})}function w(){return(0,s.jsxs)("div",{className:"mx-auto mt-24 max-w-3xl sm:mt-32",children:[(0,s.jsx)("h2",{className:"text-balance text-center text-4xl tracking-tight text-ink",children:"The command set"}),(0,s.jsx)("p",{className:"mx-auto mt-3 max-w-md text-pretty text-center text-ink/60",children:"One scanner, a few verbs. The same engine your agents call."}),(0,s.jsxs)("div",{className:"mt-8 overflow-hidden rounded-2xl border border-ink/10 bg-white/70 shadow-[0_24px_60px_-44px_rgba(15,40,70,0.45)] backdrop-blur-sm",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 border-b border-ink/[0.08] bg-bone/50 px-5 py-3.5 font-mono text-[12px]",children:[(0,s.jsx)("span",{"aria-hidden":!0,className:"select-none text-sky-deep",children:"$"}),(0,s.jsx)("span",{className:"text-ink/70",children:"uiscanner"}),(0,s.jsx)("span",{className:"text-ink/40",children:"--help"})]}),(0,s.jsx)("ul",{className:"divide-y divide-ink/[0.07]",children:f.map(e=>(0,s.jsxs)("li",{className:"grid grid-cols-1 gap-x-6 gap-y-1.5 px-5 py-4 sm:grid-cols-[140px_1fr]",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("code",{className:"font-mono text-[14px] font-medium text-sky-deep",children:e.name}),"claude"===e.mark&&(0,s.jsx)("span",{className:"whitespace-nowrap rounded bg-sky-soft px-1.5 py-0.5 font-mono text-[9px] tracking-wide text-sky-deep ring-1 ring-inset ring-sky/20",children:"in chat"})]}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-x-2.5 gap-y-1 font-mono text-[12px]",children:e.flags.map(e=>(0,s.jsx)("span",{className:e.startsWith("--")?"text-ink/55":"text-ink/70",children:e.startsWith("--")?"[".concat(e,"]"):e},e))}),(0,s.jsx)("p",{className:"mt-1.5 text-sm leading-relaxed text-ink/70",children:e.desc})]})]},e.name))})]})]})}},5239:(e,t,n)=>{n.d(t,{default:()=>a.a});var s=n(4652),a=n.n(s)},7935:(e,t,n)=>{n.d(t,{E6:()=>s,RL:()=>c,RO:()=>l,fN:()=>d,oC:()=>o,wo:()=>a});class s extends Error{constructor(e,t,n){super(t),this.name="ApiClientError",this.code=e,this.status=n,Object.setPrototypeOf(this,s.prototype)}}function a(e){return e instanceof s}async function r(e){let t=null;try{t=await e.json()}catch(e){}if(e.ok)return t;if(function(e){if("object"!=typeof e||null===e)return!1;let t=e.error;if("object"!=typeof t||null===t)return!1;let{code:n,message:s}=t;return"string"==typeof n&&"string"==typeof s}(t))throw new s(t.error.code,t.error.message,e.status);throw new s("INTERNAL","Request failed (".concat(e.status,")."),e.status)}async function i(e,t){try{return await fetch(e,t)}catch(e){throw new s("INTERNAL","Could not reach the server. Check your connection and try again.",0)}}async function l(e){return r(await i("/api/teardown",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(e)}))}async function o(e,t,n){return r(await i("/api/teardown",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({mode:"improve",parent_id:e,optimize_for:t,...n&&n.trim()?{notes:n.trim()}:{}})}))}async function c(e){return r(await i("/api/teardown/".concat(encodeURIComponent(e)),{method:"GET",headers:{accept:"application/json"},cache:"no-store"}))}async function d(e,t){return r(await i("/api/teardown/".concat(encodeURIComponent(e),"/retarget"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({target:t})}))}},8910:(e,t,n)=>{n.d(t,{J:()=>a});var s=n(5155);function a(e){let{name:t,className:n}=e,a={className:n,viewBox:"0 0 24 24","aria-hidden":!0};switch(t){case"claude":return(0,s.jsx)("svg",{...a,fill:"currentColor",children:(0,s.jsx)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578
11.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.
10182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})});case"openai":return(0,s.jsx)("svg",{...a,fill:"currentColor",children:(0,s.jsx)("path",{d:"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"})});case"cursor":return(0,s.jsx)("svg",{...a,fill:"currentColor",children:(0,s.jsx)("path",{d:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"})});case"uiscanner":return(0,s.jsxs)("svg",{...a,fill:"none",stroke:"currentColor",strokeWidth:2,children:[(0,s.jsx)("circle",{cx:"10.5",cy:"10.5",r:"6.5"}),(0,s.jsx)("path",{d:"M15.5 15.5 21 21",strokeLinecap:"round"})]});default:return(0,s.jsxs)("svg",{...a,fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("path",{d:"m4 17 6-5-6-5"}),(0,s.jsx)("path",{d:"M12 19h8"})]})}}},9120:(e,t,n)=>{n.d(t,{FooterScan:()=>c});var s=n(5155),a=n(63),r=n(2115),i=n(7935),l=n(6020),o=n(2485);function c(){let e=(0,a.useRouter)(),[t,n]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),[u,p]=(0,r.useState)(null);async function m(n){if(n.preventDefault(),c)return;let s=t.trim();if(!function(e){let t=e.trim();return!!t&&(/^https?:\/\//i.test(t)||/[^\s.]+\.[a-z]{2,}/i.test(t))}(s))return void p("Enter a URL like stripe.com.");p(null),d(!0);try{let{id:t}=await (0,i.RO)({url:s,target:l.uX});e.push("/t/".concat(t))}catch(e){d(!1),p((0,i.wo)(e)?function(e){switch(e){case"INVALID_URL":return"That doesn't look like a valid URL.";case"BLOCKED_URL":return"That URL can't be analyzed.";case"RATE_LIMITED":return"Too many scans just now. Give it a moment.";case"LIMIT_REACHED":return"You've used your free scans this month.";default:return"Couldn't start the scan. Please try again."}}(e.code):"Couldn't start the scan. Please try again.")}}return(0,s.jsxs)("form",{onSubmit:m,className:"w-full",children:[(0,s.jsx)("label",{htmlFor:"footer-scan",className:"sr-only",children:"Website URL to scan"}),(0,s.jsxs)("div",{className:"relative flex items-center rounded-full bg-sky-soft p-[2px] ring-1 ring-inset ring-ink/10 transition focus-within:ring-2 focus-within:ring-sky/40",children:[(0,s.jsx)("input",{id:"footer-scan",name:"url",type:"text",inputMode:"url",autoComplete:"url",autoCapitalize:"off",autoCorrect:"off",spellCheck:!1,value:t,onChange:e=>{n(e.target.value),u&&p(null)},placeholder:"Enter a website URL",disabled:c,"aria-invalid":!!u||void 0,className:"h-11 min-w-0 flex-1 rounded-full bg-white pl-5 pr-4 text-sm text-ink shadow-[0_1px_2px_rgba(20,45,90,0.12)] placeholder:text-ink/50 selection:bg-ink/15 focu
1s:outline-none disabled:opacity-60"}),(0,s.jsx)("button",{type:"submit",disabled:c,"aria-busy":c||void 0,"aria-label":c?"Scanning":"Scan",className:"grid h-11 w-12 shrink-0 place-items-center rounded-full text-sky-deep/60 transition-colors hover:text-sky-deep focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-sky/50 disabled:cursor-progress disabled:opacity-70",children:c?(0,s.jsx)("span",{className:"h-4 w-4 animate-spin rounded-full border-2 border-sky-deep/20 border-t-sky-deep/70 motion-reduce:animate-none"}):(0,s.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",className:"h-[18px] w-[18px]","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M4 12h14M12 6l6 6-6 6",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u&&(0,s.jsx)(o.Mw,{className:"mt-2",children:u})]})}}}]);
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.