1import{r as a,j as e,Q as G,X as A,V as S,k,L as C,M as x,C as P,l as E,m as L,n as D,o as O,p as _,t as F,W as T,B as h,Y as V,s as W}from"./index-D3hkw-nL.js";import{D as f}from"./download-0SE4rOG9.js";import{u as $,m as B}from"./legacy-visit-bridge-CS_jT0vq.js";import{u as H}from"./useVisitTracking-iROTAsTr.js";import"./proposal-notify-CJWKG-mo.js";const d=[{id:"stages",label:"Stages"},{id:"opportunities",label:"Opportunities"},{id:"case-study",label:"Case studies"},{id:"for-ignitis",label:"For Ignitis"},{id:"first-steps",label:"First steps"},{id:"what-you-get",label:"What you get"},{id:"about",label:"About"}];function M(){const[r,i]=a.useState(!1);return e.jsxs("header",{className:"sticky top-0 z-40 border-b border-border bg-background/85 backdrop-blur",children:[e.jsxs("div",{className:"container-prose flex h-14 items-center justify-between gap-6",children:[e.jsx(G,{to:"/ignitis",className:"text-sm font-semibold text-foreground",children:"GoAGI à Ignitis Group · Partnership Proposal"}),e.jsxs("nav",{className:"hidden lg:flex items-center gap-1",children:[d.map(s=>e.jsx("a",{href:`#${s.id}`,className:"rounded-md px-2.5 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-secondary transition",children:s.label},s.id)),e.jsxs("a",{href:"/GoAGI-Ignitis-Proposal.pdf",download:"GoAGI-Ignitis-Proposal.pdf",target:"_blank",rel:"noopener",className:"ml-2 inline-flex items-center gap-1.5 rounded-md border border-border px-2.5 py-1.5 text-xs text-foreground hover:bg-secondary transition","data-print":"hide",children:[e.jsx(f,{className:"h-3.5 w-3.5"}),"PDF"]})]}),e.jsxs("div",{className:"lg:hidden flex items-center gap-1",children:[e.jsx("a",{href:"/GoAGI-Ignitis-Proposal.pdf",download:"GoAGI-Ignitis-Proposal.pdf",target:"_blank",rel:"noopener","aria-label":"Download PDF",className:"inline-flex items-center justify-center rounded-md p-2 text-muted-foreground hover:text-foreground hover:bg-secondary transition","data-print":"hide",children:e.jsx(f,{className:"h-5 w-5"})}),e.jsx("button",{type:"button","aria-label":r?"Close navigation":"Open navigation","aria-expanded":r,onClick:()=>i(s=>!s),className:"inline-flex items-center justify-center rounded-md p-2 text-muted-foreground hover:text-foreground hover:bg-secondary transition",children:r?e.jsx(A,{className:"h-5 w-5"}):e.jsx(S,{className:"h-5 w-5"})})]})]}),r&&e.jsx("nav",{className:"lg:hidden border-t border-border bg-background",children:e.jsx("div",{className:"container-prose py-2 grid grid-cols-2 gap-1",children:d.map(s=>e.jsx("a",{href:`#${s.id}`,onClick:()=>i(!1),className:"rounded-md px-3 py-2 text-sm text-muted-foreground hover:text-foreground hover:bg-secondary transition",children:s.label},s.id))})})]})}function R(){return e.jsxs("footer",{className:"mt-24 border-t border-border",children:[e.jsxs("div",{className:"container-prose py-10 grid gap-6 md:grid-cols-3 text-sm",children:[e.jsxs("div",{children:[e.jsx("div",{className:"eyebrow",children:"GoAGI"}),e.jsx("p",{className:"mt-2 text-muted-foreground max-w-xs",children:"AI data infrastructure. NVIDIA Inception member · UC Berkeley Haas partner."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"eyebrow",children:"This document"}),e.jsx("p",{className:"mt-2 text-muted-foreground max-w-xs",children:"Living proposal prepared for Ignitis Group."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"eyebrow",children:"Contents"}),e.jsx("ul",{className:"mt-2 space-y-1 text-muted-foreground",children:d.map(r=>e.jsx("li",{children:e.jsx("a",{href:`#${r.id}`,className:"hover:text-foreground",children:r.label})},r.id))})]})]}),e.jsx("div",{className:"container-prose py-4 border-t border-border text-xs text-muted-foreground mono",children:"© GoAGI · Prepared for Ignitis Group"})]})}const U=["goagi.ai","ignitis.lt"],b="ignitis_gate_v1";function j(r){var s;const i=(s=r.split("@")[1])==null?void 0:s.toLowerCase();return!!i&&U.includes(i)}function Y(){return crypto.randomUUID()}const X=()=>{const r=k(),[i,s]=a.useState(null),[v,N]=a.useState(!0),[c,y]=a.useState(""),[m,o]=a.useState(null),[u,p]=a.useState(!1);a.useEffect(()=>{try{const n=localStorage.getItem(b);if(n){const t=JSON.parse(n);t!=null&&t.email&&(t!=null&&t.viewId)&&j(t.email)&&s(t)}}catch{}N(!1)},[]);const I=async n=>{n.preventDefault(),o(null);const t=c.trim().toLowerCase();if(!/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(t)){o("Enter a valid email address.");return}if(!j(t)){o("Access is limited to @goagi.ai and @ignitis.lt email addresses.");return}p(!0);const l=Y(),{error:w}=await W.from("ignitis_views").insert({id:l,viewer_email:t,user_agent:navigator.userAgent});if(p(!1),w){o("Something went wrong. Please try again.");return}await B("ignitis",l,t,"/ignitis");const g={email:t,viewId:l};localStorage.setItem(b,JSON.stringify(g)),s(g)};return $("ignitis",(i==null?void 0:i.viewId)??null,"/ignitis"),H((i==null?void 0:i.viewId)??null,"/ignitis"),v?e.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:e.jsx(C,{className:"w-8 h-8 animate-spin text-primary"})}):i?e.jsxs("div",{className:"ignitis-scope min-h-screen flex flex-col bg-background text-foreground",children:[e.jsx(x,{title:"GoAGI à Ignitis Group â Partnership Proposal",description:"A living AI partnership proposal for Ignitis Group: stages of adoption, example opportunities, and case studies.",canonical:"https://goagi.ai/ignitis",noindex:!0}),e.jsx(M,{}),e.jsx("main",{className:"flex-1",children:e.jsx(V,{})}),e.jsx(R,{})]}):e.jsxs("div",{className:"min-h-screen bg-background flex items-center justify-center px-4 py-20",children:[e.jsx(x,{title:"GoAGI à Ignitis Group â Partnership Proposal",description:"Private AI partnership proposal for Ignitis Group. Access limited to @goagi.ai and @ignitis.lt.",canonical:"https://goagi.ai/ignitis",noindex:!0}),e.jsxs(P,{className:"max-w-md w-full",children:[e.jsxs(E,{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(L,{className:"w-8 h-8 text-primary"})}),e.jsx(D,{children:"Enter your email to continue"}),e.jsx(O,{children:"This proposal is restricted to @goagi.ai and @ignitis.lt email addresses."})]}),e.jsx(_,{children:e.jsxs("form",{onSubmit:I,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(F,{htmlFor:"email",children:"Work email"}),e.jsx(T,{id:"email",type:"email",placeholder:"[email protected]",value:c,onChange:n=>y(n.target.value),required:!0,autoFocus:!0})]}),m&&e.jsx("p",{className:"text-sm text-destructive",children:m}),e.jsx(h,{type:"submit",className:"w-full",disabled:u,children:u?"Verifyingâ¦":"View proposal"}),e.jsx(h,{type:"button",variant:"outline",className:"w-full",onClick:()=>r("/"),children:"Return home"}),e.jsx("p",{className:"text-xs text-muted-foreground text-center pt-2",children:"Your viewing session is recorded for the GoAGI team. Need help? [email protected]"})]})})]})]})};export{X 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.