1import{z as c,r as a,j as t,e1 as o}from"./index.js";function i(n){return`${o.replace(/\/api$/i,"")}/mcp/oauth/authorize?request=${encodeURIComponent(n)}`}function p(){const[n]=c(),e=n.get("request"),[r,s]=a.useState(!1);return a.useEffect(()=>{if(!e){s(!0);return}window.location.replace(i(e))},[e]),t.jsx("main",{className:"bg-brand-surface flex min-h-screen items-center justify-center px-4",children:t.jsxs("section",{className:"bg-brand-bg w-full max-w-sm space-y-4 rounded-xl p-8 text-center shadow",children:[t.jsx("h1",{className:"text-brand-text-1 text-lg font-semibold",children:r?"Connection request missing":"Returning to the connectionâ¦"}),t.jsx("p",{className:"text-brand-text-2 text-sm",children:r?"Start the connection again from the app you were connecting â ChatGPT, Claude, or another MCP client.":"Sending you back to approve this KeepReap connection."})]})})}export{p 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.