PageSourceSearch

https://chck.ai/assets/try-Cb6X97tn.js

js chck.ai collected 2026-10-05 11:55:07 UTC 5,430 bytes, 1 lines download raw bytes

1import{g as k,V as N,r as a,d as v,a2 as w,a3 as u,j as e,U as S,b as E,a4 as O,A as C,t as G,a5 as _}from"./index-B3rTWz36.js";import{g as T,G as A,s as F}from"./GradeDialog-BEukrE3O.js";import{S as R}from"./SiteFooter-DjghSlDE.js";import{C as L}from"./camera-Ut8_NzUj.js";import{S as D}from"./shield-check-BE4y2a6t.js";import{Z as P}from"./zap-DNd-jAtT.js";import"./upload-queue-B_iYrInD.js";import"./CameraCapture-DTvu7Z_m.js";import"./check-CzXjd51s.js";import"./link-2-26rXOj71.js";import"./SlabViewer-B9keyUcj.js";import"./StaticFilmFallback-BzzeZGBU.js";import"./download-DJI0FOYy.js";import"./info-Dd5eimrS.js";const W=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],q=k("timer",W),H=[{icon:q,label:"Instant",body:"No mailing, no waiting weeks."},{icon:D,label:"Sub-grades",body:"Centering, corners, edges, surface."},{icon:P,label:"Market value",body:"Live comps for your card's grade."}];function te(){const{user:x,loading:p}=N(),[o,g]=a.useState(""),[i,l]=a.useState(!1),[f,s]=a.useState(!1),[b,c]=a.useState(!1),[h,d]=a.useState(!1),y=v(w);a.useEffect(()=>{u("FunnelLandingView",{source:"ads_try"}),T()&&d(!0)},[]);const m=()=>{s(!0)},j=async t=>{t.preventDefault();const r=o.trim();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)){G.error("Enter a valid email to continue.");return}l(!0),F(r);try{_("Lead",{content_name:"ads_try_funnel"}),u("GuestLeadCaptured",{source:"ads_try_funnel"})}catch{}y({data:{email:r,source:"ads_try_funnel"}}).catch(()=>{}),d(!0),l(!1),s(!0)},n=!p&&(!!x||h);return e.jsxs("main",{className:"min-h-screen bg-[color:var(--bg)] text-ink",children:[e.jsxs("section",{className:"mx-auto max-w-3xl px-5 pb-16 pt-10 text-center sm:pt-16",children:[e.jsxs("div",{className:"mx-auto mb-5 inline-flex items-center gap-1.5 rounded-full border border-rule bg-surface px-3 py-1 font-mono text-[10px] uppercase tracking-[0.18em] text-ink-dim",children:[e.jsx(S,{className:"h-3 w-3 text-verify"}),"One free grade · no account needed"]}),e.jsx("h1",{className:"font-display text-[clamp(2.25rem,7vw,4rem)] font-semibold leading-[1.02] tracking-tight text-ink",children:"Grade any card in seconds."}),e.jsx("p",{className:"mx-auto mt-4 max-w-xl text-base leading-relaxed text-ink-dim",children:"Snap the front and back. Get an instant condition grade, sub-grades and the market value for your card — right here on this page."}),e.jsx("div",{className:"mx-auto mt-8 max-w-md rounded-2xl border border-rule bg-surface p-5 text-left",children:n?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mono-eyebrow",children:"STEP 2 · TAKE TWO PHOTOS"}),e.jsxs("button",{type:"button",onClick:m,className:"glow-green mt-3 inline-flex w-full items-center justify-center gap-2 rounded-full bg-verify px-6 py-4 text-base font-semibold text-[color:var(--verify-fg)] transition hover:brightness-110",children:[e.jsx(L,{className:"h-4 w-4"}),"Grade my card now"]}),e.jsx("p",{className:"mt-3 text-center text-[11px] text-ink-dim",children:"Front and back · results in seconds"})]}):e.jsxs("form",{onSubmit:j,className:"flex flex-col gap-3",children:[e.jsx("div",{className:"mono-eyebrow",children:"STEP 1 · WHERE DO WE SEND YOUR REPORT?"}),e.jsx("input",{type:"email",required:!0,inputMode:"email",autoComplete:"email",value:o,onChange:t=>g(t.target.value),placeholder:"[email protected]",className:"w-full rounded-lg border border-rule bg-background px-3 py-3 text-base outline-none transition focus:border-ink"}),e.jsxs("button",{type:"submit",disabled:i,className:"glow-green inline-flex w-full items-center justify-center gap-2 rounded-full bg-verify px-6 py-4 text-base font-semibold text-[color:var(--verify-fg)] transition hover:brightness-110 disabled:opacity-60",children:[i?e.jsx(E,{className:"h-4 w-4 animate-spin"}):e.jsx(O,{className:"h-4 w-4",strokeWidth:2.5}),"Start my free grade"]}),e.jsx("p",{className:"text-center text-[11px] text-ink-dim",children:"No password. No credit card. We'll email your report link."})]})}),e.jsx("ul",{className:"mx-auto mt-10 grid max-w-2xl gap-3 sm:grid-cols-3",children:H.map(t=>e.jsxs("li",{className:"rounded-xl border border-rule bg-surface p-4 text-left",children:[e.jsx(t.icon,{className:"h-4 w-4 text-verify"}),e.jsx("div",{className:"mt-2 font-display text-sm font-semibold tracking-tight text-ink",children:t.label}),e.jsx("p",{className:"mt-1 text-xs leading-relaxed text-ink-dim",children:t.body})]},t.label))}),e.jsx("ol",{className:"mx-auto mt-10 grid max-w-2xl gap-3 text-left sm:grid-cols-3",children:["Snap the front and back of your card.","Our model reads centering, corners, edges and surface.","Get your grade, market value and a shareable report."].map((t,r)=>e.jsxs("li",{className:"rounded-xl border border-rule bg-[color:var(--bg-2)] p-4",children:[e.jsx("span",{className:"font-mono text-xs tracking-[0.18em] text-verify",children:String(r+1).padStart(2,"0")}),e.jsx("p",{className:"mt-1 text-xs leading-relaxed text-ink-dim",children:t})]},t))}),e.jsx("button",{type:"button",onClick:n?m:void 0,className:"mt-10 font-mono text-[11px] uppercase tracking-[0.16em] text-ink-dim underline underline-offset-4 hover:text-ink",children:n?"Grade a card":"Grades are opinions, not appraisals."})]}),e.jsx(R,{}),e.jsx(A,{open:f,onOpenChange:s,onCreateAccount:()=>c(!0)}),e.jsx(C,{open:b,onOpenChange:c,intent:"grade"})]})}
1export{te 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.