1import{a as u,r as o,j as e,b as p,t as g}from"./index-B-VekllG.js";function b(){const s=u.useSearch(),[r,l]=o.useState(""),[i,n]=o.useState(s.pw?"That's not the beta password.":""),[a,d]=o.useState(!1),c=async()=>{d(!0),n("");try{const t=await p({data:{pw:r}});if(!t.ok){n(t.error);return}window.location.assign(g(t.email,t.k,s.t||"Beta",s.to??"/"))}finally{d(!1)}};return e.jsx("main",{style:{minHeight:"100vh",background:"#14213D",display:"grid",placeItems:"center",padding:16,fontFamily:"system-ui, sans-serif"},children:e.jsxs("form",{onSubmit:t=>{t.preventDefault(),c()},style:{width:"min(380px, 100%)",background:"#F6F2E9",borderRadius:18,padding:24,color:"#0B1322"},children:[e.jsx("h1",{style:{fontSize:22,fontWeight:900,margin:0},children:"Survive Accounting · beta"}),e.jsx("p",{style:{fontSize:14,margin:"8px 0 14px",color:"rgba(11,19,34,.65)"},children:"Everything you do in here is test data. Cards use Stripe's test numbers. Nothing real is charged or sent by text."}),e.jsxs("label",{style:{display:"block",fontSize:13,fontWeight:700}
1,children:["Password",e.jsx("input",{autoFocus:!0,type:"password",value:r,onChange:t=>l(t.target.value),style:{display:"block",width:"100%",marginTop:5,minHeight:44,padding:"0 12px",borderRadius:10,border:"1px solid rgba(11,19,34,.25)",font:"inherit"}})]}),i&&e.jsx("p",{style:{color:"#B3261E",fontSize:13,margin:"10px 0 0"},children:i}),e.jsx("button",{type:"submit",disabled:a||!r,style:{width:"100%",marginTop:14,minHeight:48,borderRadius:12,border:0,background:"#FCA311",fontWeight:900,fontSize:15,cursor:"pointer"},children:a?"Openingâ¦":"Enter the beta"})]})})}export{b as component};
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.