1import{j as t}from"./vendor-motion-DjKlMn59.js";import{r as f}from"./vendor-clerk-P8DvIzj1.js";import{Q as b}from"./index-BF7sZMle.js";import{a as n}from"./index-BYm_8jB-.js";import{c as i}from"./vendor-convex-DPaZG1Nt.js";import{L as w}from"./vendor-react-DKu-eEng.js";function A(){const[e,o]=f.useState("session"),l=i(n.responses.getAggregated,{}),x=i(n.marketingLeads.getCount),s=i(n.sessions.getActive),r=i(n.companion.getClassStats,s!=null&&s.slug?{slug:s.slug}:"skip"),a=typeof window<"u"?window.location.origin:"",c="https://students.aiacceleration.ai",m=`${a}/submit`,g=`${a}/connect`,u=s!=null&&s.slug?`${c}/join/${s.slug}`:`${c}/join/demo`,d=e==="session"?m:e==="marketing"?g:u,h=e==="session"?(l==null?void 0:l.totalResponses)??0:e==="marketing"?x??0:(r==null?void 0:r.joined)??0,p=e==="session"?"Scan to share your goals & questions":e==="marketing"?"Scan to connect with AI Acceleration":"Scan to join the Class Companion",j=e==="session"?"responses received":e==="marketing"?"leads connected":"students joined";return t.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-indigo-900 to-purple-900 flex flex-col items-center justify-center p-8",children:[t.jsxs("div",{className:"mb-8 flex gap-2 bg-white/10 p-1 rounded-xl",children:[t.jsx("button",{onClick:()=>o("session"),className:`px-5 py-2 rounded-lg font-medium text-sm transition-all ${e==="session"?"bg-white text-indigo-900":"text-indigo-200 hover:text-white"}`,children:"Session"}),t.jsx("button",{onClick:()=>o("marketing"),className:`px-5 py-2 rounded-lg font-medium text-sm transition-all ${e==="marketing"?"bg-white text-indigo-900":"text-indigo-200 hover:text-white"}`,children:"Marketing"}),t.jsx("button",{onClick:()=>o("companion"),className:`px-5 py-2 rounded-lg font-medium text-sm transition-all ${e==="companion"?"bg-white text-indigo-900":"text-indigo-200 hover:text-white"}`,children:"Companion"})]}),t.jsxs("div",{className:"text-center mb-8",children:[t.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-4",children:"AI Acceleration"}),t.jsx("p",{className:"text-xl md:text-2xl text-indigo-200",children:p})]}),t.jsx("div",{className:"bg-white p-8 rounded-3xl shadow-2xl",children:t.jsx(b,{value:d,size:320,level:"H",includeMargin:!0})}),t.jsxs("div",{className:"mt-8 text-center",children:[t.jsx("p",{className:"text-indigo-200 text-lg mb-2",children:"or visit"}),t.jsx("p",{className:"text-white text-2xl font-mono bg-white/10 px-6 py-3 rounded-lg",children:d})]}),t.jsx(w,{to:"/qr/print",className:"mt-6 text-indigo-200 hover:text-white text-sm underline underline-offset-4 transition-colors",children:"Print table cards"}),t.jsxs("div",{className:"mt-12 text-center",children:[t.jsx("div",{className:"text-6xl md:text-8xl font-bold text-white",children:h}),t.jsx("p",{className:"text-xl text-indigo-200",children:j})]})]})}export{A 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.