PageSourceSearch

https://trustcert.ai/_next/static/chunks/0778j695zcqp_.js

js trustcert.ai collected 2026-10-05 15:25:25 UTC 20,875 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,i)=>{t.exports=e.r(76562)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},78894,e=>{"use strict";let t=(0,e.i(75254).default)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["AlertTriangle",0,t],78894)},515,e=>{"use strict";var t=e.i(37514);e.s(["onAuthStateChanged",()=>t.z])},25467,e=>{"use strict";var t=e.i(37514);e.s(["signOut",()=>t.D])},80384,89601,4626,e=>{"use strict";e.i(36180);var t=e.i(17875),i=e.i(67426);let r=Object.freeze({role:"user",tier:"FREE",creditsUsedToday:0,deepThinkingUsedToday:0,researchJobsUsedToday:0}),a=Object.freeze(["usageResetAt","createdAt"]),n="user",s=["superuser"];e.s(["DEFAULT_ROLE",0,n,"ROLES",0,["user","admin","superuser"],"ROLE_LABELS",0,{user:"User",admin:"Admin",superuser:"Superuser"},"isAdminRole",0,function(e){return!!e&&("admin"===e||s.includes(e))}],89601);let l="FREE",o={FREE:5242880,PROFESSIONAL:0x3200000,INTELLIGENCE:0xc800000,SOVEREIGN:0xc800000};function c(e){let{db:r}=(0,i.getFirebase)();return(0,t.doc)(r,"users",e)}async function d(e,i,n){let s=c(e);if(!(await (0,t.getDoc)(s)).exists())try{return await (0,t.setDoc)(s,{email:i,displayName:n,...function(e){let t={...r};for(let i of a)t[i]=e();return t}(t.serverTimestamp),lastSeenAt:(0,t.serverTimestamp)()}),{created:!0}}catch(e){return console.warn("[auth] profile create lost a race, falling back to update",e),await (0,t.updateDoc)(s,{email:i,displayName:n,lastSeenAt:(0,t.serverTimestamp)()}),{created:!0}}return await (0,t.updateDoc)(s,{email:i,displayName:n,lastSeenAt:(0,t.serverTimestamp)()}),{created:!1}}async function u(e,i){await (0,t.updateDoc)(c(e),{displayName:i})}async function h(e,i){let r={};"chatRetentionDays"in i&&(r.chatRetentionDays=i.chatRetentionDays??null),0!==Object.keys(r).length&&await (0,t.updateDoc)(c(e),r)}e.s(["DEFAULT_TIER",0,l,"PDF_MODEL_MAX_BYTES",0,0x3200000,"TIERS",0,["FREE","PROFESSIONAL","INTELLIGENCE","SOVEREIGN"],"TIER_LABELS",0,{FREE:"Free",PROFESSIONAL:"Professional",INTELLIGENCE:"Intelligence",SOVEREIGN:"Sovereign"},"TIER_UPLOAD_MAX_BYTES",0,o,"chatUploadMaxBytes",0,function(e,t){return"superuser"===t?o.INTELLIGENCE:o[e]},"modelMaxBytesForMime",0,function(e){return"application/pdf"===e?0x3200000:null}],4626),e.s(["ensureUserProfile",0,d,"subscribeToUserProfile",0,function(e,i){return(0,t.onSnapshot)(c(e),t=>{if(!t.exists())return void i(null);let r=t.data();i({uid:e,role:r.role??n,email:r.email??null,displayName:r.displayName??null,tier:r.tier??l,creditsUsedToday:r.creditsUsedToday??0,deepThinkingUsedToday:r.deepThinkingUsedToday??0,researchJobsUsedToday:r.researchJobsUsedToday??0,usageResetAt:r.usageResetAt??null,stripeSubscriptionStatus:r.stripeSubscriptionStatus??void 0,cancelAtPeriodEnd:r.cancelAtPeriodEnd??!1,currentPeriodEnd:r.currentPeriodEnd??null,quoteDefaults:r.quoteDefaults,chatRetentionDays:r.chatRetentionDays??null,approvalStatus:r.approvalStatus??null})})},"updateUserDisplayName",0,u,"updateUserPrivacySettings",0,h],80384)},2594,e=>{"use strict";var t=e.i(18050),i=e.i(71645);e.i(51718);var r=e.i(515),a=e.i(25467),n=e.i(67426),s=e.i(80384),l=e.i(89601),o=e.i(67880);let c=(0,i.createContext)({user:null,loading:!0,role:null,roleLoading:!1,tier:"FREE",creditsUsedToday:0,deepThinkingUsedToday:0,autoRenew:!0,currentPeriodEnd:null,subscriptionStatus:null,chatRetentionDays:null,approvalStatus:null,signOut:async()=>{}});e.s(["AuthProvider",0,function({children:e}){let[d,u]=(0,i.useState)(null),[h,p]=(0,i.useState)(!0),[m,x]=(0,i.useState)(null),[f,y]=(0,i.useState)(!1),[k,g]=(0,i.useState)("FREE"),[v,b]=(0,i.useState)(0),[j,N]=(0,i.useState)(0),[w,E]=(0,i.useState)(!0),[S,A]=(0,i.useState)(null),[T,L]=(0,i.useState)(null),[R,C]=(0,i.useState)(null),[P,M]=(0,i.useState)(null);(0,i.useEffect)(()=>{let{auth:e}=(0,n.getFirebase)();return(0,r.onAuthStateChanged)(e,e=>{u(e),p(!1)})},[]),(0,i.useEffect)(()=>
1{if(!d){x(null),y(!1),g("FREE"),b(0),N(0),E(!0),A(null),L(null),C(null),M(null);return}return(0,s.ensureUserProfile)(d.uid,d.email,d.displayName).then(({created:e})=>{(0,o.identify)(d.uid),e&&(0,o.track)("sign_up",{method:d.providerData[0]?.providerId??"password"})}).catch(e=>console.warn("[auth] ensureUserProfile failed",e)),d.getIdToken().then(e=>fetch("/api/auth/ping",{method:"POST",headers:{Authorization:`Bearer ${e}`}})).catch(()=>{}),y(!0),(0,s.subscribeToUserProfile)(d.uid,e=>{x(e?.role??l.DEFAULT_ROLE),g(e?.tier??"FREE"),b(e?.creditsUsedToday??0),N(e?.deepThinkingUsedToday??0),E(!e?.cancelAtPeriodEnd),A(e?.currentPeriodEnd??null),L(e?.stripeSubscriptionStatus??null),C(e?.chatRetentionDays??null),M(e?.approvalStatus??null),y(!1)})},[d?.uid]);let U=(0,i.useMemo)(()=>({user:d,loading:h,role:m,roleLoading:f,tier:k,creditsUsedToday:v,deepThinkingUsedToday:j,autoRenew:w,currentPeriodEnd:S,subscriptionStatus:T,chatRetentionDays:R,approvalStatus:P,signOut:async()=>{let{auth:e}=(0,n.getFirebase)();await (0,a.signOut)(e)}}),[d,h,m,f,k,v,j,w,S,T,R,P]);return(0,t.jsx)(c.Provider,{value:U,children:e})},"useAuth",0,function(){return(0,i.useContext)(c)}])},75254,e=>{"use strict";var t=e.i(71645);let i=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim();var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:l="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...r,width:a,height:a,stroke:e,strokeWidth:s?24*Number(n)/Number(a):n,className:i("lucide",l),...d},[...c.map(([e,i])=>(0,t.createElement)(e,i)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,r)=>{let n=(0,t.forwardRef)(({className:n,...s},l)=>(0,t.createElement)(a,{ref:l,iconNode:r,className:i(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...s}));return n.displayName=`${e}`,n}],75254)},16715,e=>{"use strict";let t=(0,e.i(75254).default)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],16715)},78917,e=>{"use strict";let t=(0,e.i(75254).default)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,t],78917)},43531,e=>{"use strict";let t=(0,e.i(75254).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],43531)},23622,e=>{"use strict";let t=(0,e.i(75254).default)("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);e.s(["Ban",0,t],23622)},7233,e=>{"use strict";let t=(0,e.i(75254).default)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],7233)},27612,e=>{"use strict";let t=(0,e.i(75254).default)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);e.s(["Trash2",0,t],27612)},31278,e=>{"use strict";let t=(0,e.i(75254).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],31278)},15057,e=>{"use strict";let t=(0,e.i(75254).default)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],15057)},88699,e=>{"use strict";let t=(0,e.i(75254).default)("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],88699)},7539,e=>{"use strict";var t=e.i(71645);e.s(["AcquisitionBeacon",0,function({page:e}){return(0,t.useEffect)(()=>{try{let t=`tc_acq_${e}`;if(window.sessionStorage.getItem(t))return;window.sessionStorage.setItem(t,"1")}catch{}let t=new URLSearchParams(window.location.search).get("utm_source");fetch("/api/metrics/acquisition",{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify({page:e,referrer:document.referrer||null,utmSource:t})}).catch(()=>{})},[e]),null},"sendAcquisitionEvent",0,function(e){try{let t=`tc_acq_ev_${e}`;if(window.sessionStorage.getItem(t))return;window.sessionStorage.setItem(t,"1")}catch{}fetch("/api/metrics/acquisition",{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify({event:e})}).catch(()=>{})}])},47931,e=>{"use strict";function t(e){let t=String(e??"");if(t.includes("grounding-api-redirect"))return!0;try{return new URL(t).hostname.endsWith("vertexaisearch.cloud.google.com")}catch{return!1}}function i(e){try{let t=new URL(String(e??"")),i=t.pathname.replace(/\/+$/,"");return""===i&&!t.search&&!t.hash}catch{return!1}}e.s(["isBareHomepageUrl",0,i,"isGroundingRedirectUrl",0,t,"isUsableSourceUrl",0,function(e){let r=String(e??"");if(!r)return!1;try{new URL(r)}catch{return!1}return!t(r)&&!i(r)}])},74886,e=>{"use strict";
1let t=(0,e.i(75254).default)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],74886)},81418,e=>{"use strict";let t=(0,e.i(75254).default)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["ShieldCheck",0,t],81418)},72138,e=>{"use strict";let t=(0,e.i(75254).default)("Ghost",[["path",{d:"M9 10h.01",key:"qbtxuw"}],["path",{d:"M15 10h.01",key:"1qmjsl"}],["path",{d:"M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z",key:"uwwb07"}]]);e.s(["Ghost",0,t],72138)},92161,72518,e=>{"use strict";var t=e.i(75254);let i=(0,t.default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);e.s(["Menu",0,i],92161);let r=(0,t.default)("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);e.s(["PanelLeftClose",0,r],72518)},92270,e=>{"use strict";let t=(0,e.i(75254).default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);e.s(["LogOut",0,t],92270)},39616,e=>{"use strict";let t=(0,e.i(75254).default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",0,t],39616)},64155,e=>{"use strict";var t=e.i(18050),i=e.i(22016);function r(){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,className:"h-6 w-6","aria-hidden":!0,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})})}function a({children:e}){return(0,t.jsxs)("div",{className:"relative flex min-h-dvh flex-col bg-paper",children:[(0,t.jsxs)("header",{className:"flex h-12 items-center border-b border-rule px-4 sm:px-6",children:[(0,t.jsxs)(i.default,{href:"/",className:"font-display text-[16px] font-light leading-none tracking-[-0.02em] text-ink",children:["trustcert",(0,t.jsx)("span",{className:"text-ink-muted",children:".ai"})]}),(0,t.jsx)("span",{className:"ml-3 border-l border-rule pl-3 text-[10px] font-medium uppercase tracking-[0.18em] text-ink-muted",children:"Compliance Intelligence"})]}),(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center px-4 py-12",children:e}),(0,t.jsxs)("footer",{className:"flex flex-wrap items-center justify-center gap-x-4 gap-y-1 border-t border-rule px-4 py-3 font-mono text-[10px] text-ink-muted/50",children:[(0,t.jsx)("span",{children:"trustcert.ai — regulated compliance intelligence"}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center justify-center gap-x-3 gap-y-1",children:[(0,t.jsx)(i.default,{href:"/pricing",className:"transition hover:text-ink",children:"Pricing"}),(0,t.jsx)(i.default,{href:"/about",className:"transition hover:text-ink",children:"About"}),(0,t.jsx)(i.default,{href:"/terms",className:"transition hover:text-ink",children:"Terms"}),(0,t.jsx)(i.default,{href:"/privacy",className:"transition hover:text-ink",children:"Privacy"}),(0,t.jsx)(i.default,{href:"/confidentiality",className:"transition hover:text-ink",children:"Confidentiality"}),(0,t.jsx)(i.default,{href:"/contact",className:"transition hover:text-ink",children:"Contact"})]})]})]})}e.s(["AuthErrorBox",0,function({message:e,children:i}){return(0,t.jsxs)("div",{className:"mt-4 border border-ink [border-style:dashed] px-3 py-2",children:[(0,t.jsx)("p",{className:"font-mono text-[11px] text-ink",role:"alert",children:e}),i]})},"AuthNoticeBox",0,function({message:e}){return(0,t.jsx)("div",{className:"mt-4 border border-ink px-3 py-2",children:(0,t.jsx)("p",{className:"font-mono text-[11px] leading-relaxed text-ink",role:"status",children:e})})},"AuthPageLayout",0,a,"EnvelopeIcon",0,r,"OrDivider",0,function({label:e="or"}){return(0,t.jsxs)("div",{className:"my-5 flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-px flex-1 bg-rule"}),(0,t.jsx)("span",{className:"font-mono text-[10px] text-ink-muted",children:e}),(0,t.jsx)("div",{className:"h-px flex-1 bg-rule"})]})},"RecaptchaAttribution",0,function({className:e="mt-2"}){let i="underline underline-offset-2 transition hover:text-ink";return(0,t.jsxs)("p",{className:`${e} text-[10px] leading-relaxed text-ink-muted`,children:["This site is protected by reCAPTCHA Enterprise and the Google"," ",(0,t.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:i,children:"Privacy Policy"})," ","and"," ",(0,t.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:i,children:"Terms of Service"})," ","apply."]})},"VerificationSent",0,function({email:e,onBack:i}){return(0,t.jsx)(a,{children:(0,t.jsxs)("div",{className:"w-full max-w-sm border border-rule bg-surface p-8",children:[(0,t.jsx)("div",{className:"mb-6 flex h-10 w-10 items-center justify-center border border-ink text-ink",children:(0,t.jsx)(r,{})}),(0,t.jsx)("h2",{className:"font-display text-2xl font-light tracking-[-0.02em] text-ink",children:"Check your inbox"}),(0,t.jsxs)("p",{className:"mt-3 text-sm leading-relaxed text-ink-2",children:["A verification link 
1was sent to"," ",(0,t.jsx)("span",{className:"font-medium text-ink",children:e}),". Click it to activate your account, then sign in."]}),(0,t.jsxs)("button",{type:"button",onClick:i,className:"mt-8 flex w-full items-center justify-between border border-ink bg-ink px-4 py-3 text-[11px] font-medium uppercase tracking-[0.14em] text-paper transition hover:bg-ink-2",children:[(0,t.jsx)("span",{children:"Back to sign in"}),(0,t.jsx)("span",{"aria-hidden":!0,className:"font-mono text-base leading-none",children:"→"})]})]})})},"authInputCls",0,"w-full border border-rule bg-surface px-3 py-2.5 text-sm text-ink placeholder:text-ink-muted transition focus:border-ink focus:outline-none"])},75538,e=>{"use strict";var t=e.i(37514);e.s(["sendEmailVerification",()=>t.ah])},52964,e=>{"use strict";var t=e.i(18050),i=e.i(18566),r=e.i(71645);e.i(51718);var a=e.i(75538),n=e.i(2594),s=e.i(64155);e.s(["AuthGate",0,function({children:e}){let{user:l,loading:o,approvalStatus:c,roleLoading:d}=(0,n.useAuth)(),u=(0,i.useRouter)(),[h,p]=(0,r.useState)(!1),[m,x]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{o||l||u.replace("/sign-in")},[o,l,u]),o)return(0,t.jsx)("div",{className:"flex h-full items-center justify-center font-mono text-xs text-ink-muted",children:"Loading…"});if(!l)return null;if(!l.emailVerified){async function f(){if(l){p(!0);try{await (0,a.sendEmailVerification)(l),x(!0)}finally{p(!1)}}}return(0,t.jsx)(s.AuthPageLayout,{children:(0,t.jsxs)("div",{className:"w-full max-w-sm border border-rule bg-surface p-8",children:[(0,t.jsx)("div",{className:"mb-6 flex h-10 w-10 items-center justify-center border border-ink text-ink",children:(0,t.jsx)(s.EnvelopeIcon,{})}),(0,t.jsx)("p",{className:"mb-1 text-[10px] font-medium uppercase tracking-[0.18em] text-ink-muted",children:"Verification required"}),(0,t.jsx)("h2",{className:"font-display text-2xl font-light tracking-[-0.02em] text-ink",children:"Verify your email"}),(0,t.jsxs)("p",{className:"mt-3 text-sm leading-relaxed text-ink-2",children:["A verification link was sent to"," ",(0,t.jsx)("span",{className:"font-medium text-ink",children:l.email}),". Click the link in that email, then return here."]}),(0,t.jsxs)("button",{type:"button",onClick:()=>window.location.reload(),className:"mt-8 flex w-full items-center justify-between border border-ink bg-ink px-4 py-3 text-[11px] font-medium uppercase tracking-[0.14em] text-paper transition hover:bg-ink-2",children:[(0,t.jsx)("span",{children:"I've verified my email"}),(0,t.jsx)("span",{"aria-hidden":!0,className:"font-mono text-base leading-none",children:"→"})]}),m?(0,t.jsx)("p",{className:"mt-4 text-center font-mono text-[11px] text-ink-muted",role:"status",children:"Verification email sent"}):(0,t.jsx)("button",{type:"button",onClick:f,disabled:h,className:"mt-4 w-full text-center text-[11px] font-medium uppercase tracking-[0.14em] text-ink-muted transition hover:text-ink disabled:cursor-not-allowed disabled:opacity-50",children:h?"Sending…":"Resend verification email"})]})})}if(!d&&("pending"===c||"denied"===c)){let e="denied"===c;return(0,t.jsx)(s.AuthPageLayout,{children:(0,t.jsxs)("div",{className:"w-full max-w-sm border border-rule bg-surface p-8",children:[(0,t.jsx)("div",{className:"mb-6 flex h-10 w-10 items-center justify-center border border-ink text-ink",children:(0,t.jsx)(s.EnvelopeIcon,{})}),(0,t.jsx)("p",{className:"mb-1 text-[10px] font-medium uppercase tracking-[0.18em] text-ink-muted",children:e?"Account inactive":"Almost there"}),(0,t.jsx)("h2",{className:"font-display text-2xl font-light tracking-[-0.02em] text-ink",children:e?"This account isn't active":"We're setting up your account"}),e?(0,t.jsxs)("p",{className:"mt-3 text-sm leading-relaxed text-ink-2",children:["If you think that's a mistake, email"," ",(0,t.jsx)("a",{href:"mailto:[email protected]",className:"font-medium text-ink underline underline-offset-4",children:"[email protected]"})," ","and we'll take another look."]}):(0,t.jsxs)("p",{className:"mt-3 text-sm leading-relaxed text-ink-2",children:["Your account is being reviewed and will be ready shortly. We'll email"," ",(0,t.jsx)("span",{className:"font-medium text-ink",children:l.email}),"as soon as it's active — there's nothing else you need to do."]}),!e&&(0,t.jsxs)("button",{type:"button",onClick:()=>window.location.reload(),className:"mt-8 flex w-full items-center justify-between border border-ink bg-ink px-4 py-3 text-[11px] font-medium uppercase tracking-[0.14em] text-paper transition hover:bg-ink-2",children:[(0,t.jsx)("span",{children:"Check again"}
1),(0,t.jsx)("span",{"aria-hidden":!0,className:"font-mono text-base leading-none",children:"→"})]}),(0,t.jsx)("p",{className:"mt-4 text-center font-mono text-[11px] text-ink-muted",children:"Questions? [email protected]"})]})})}return(0,t.jsx)(t.Fragment,{children:e})}])}]);

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.