PageSourceSearch

https://www.getnmbr.com/_next/static/chunks/app/page-f32825258f5fe15a.js

js getnmbr.com collected 2026-10-02 01:30:23 UTC 44,835 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{2516:(e,s,a)=>{Promise.resolve().then(a.bind(a,7511))},2884:()=>{},5418:(e,s,a)=>{"use strict";a.d(s,{A:()=>c});var n=a(5155),t=a(2115);function c(){let{accent:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=(0,t.useRef)(null),a=(0,t.useRef)({r:76,g:217,b:100}),c=(0,t.useRef)({r:31,g:138,b:61});return(0,t.useEffect)(()=>{let s=function(e){if(!e)return null;let s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e.trim());return s?{r:parseInt(s[1],16),g:parseInt(s[2],16),b:parseInt(s[3],16)}:null}(e);a.current=s||{r:76,g:217,b:100},c.current=s||{r:31,g:138,b:61}},[e]),(0,t.useEffect)(()=>{let e=s.current;if(!e)return;let n=e.getContext("2d");if(!n)return;let t=0,i=0,r=Math.min(window.devicePixelRatio||1,2),l=0,o={x:-9999,y:-9999,active:!1},d={x:-9999,y:-9999},h=[];function m(){t=window.innerWidth,i=window.innerHeight,r=Math.min(window.devicePixelRatio||1,2),e.width=t*r,e.height=i*r,e.style.width=t+"px",e.style.height=i+"px",n.setTransform(r,0,0,r,0,0),h=Array(Math.min(120,Math.max(48,Math.floor(t*i/14e3)))).fill(0).map(()=>{let e=Math.random()*t,s=Math.random()*i;return{x:e,y:s,bx:e,by:s,vx:(Math.random()-.5)*.25,vy:(Math.random()-.5)*.25}})}function u(e){o.x=e.clientX,o.y=e.clientY,o.active||(d.x=o.x,d.y=o.y),o.active=!0}function x(){o.active=!1}function p(e){e.touches[0]&&(o.x=e.touches[0].clientX,o.y=e.touches[0].clientY,o.active||(d.x=o.x,d.y=o.y),o.active=!0)}return m(),!function e(){for(let e of(n.clearRect(0,0,t,i),o.active&&(d.x+=(o.x-d.x)*.12,d.y+=(o.y-d.y)*.12),h)){e.bx+=e.vx,e.by+=e.vy,(e.bx<0||e.bx>t)&&(e.vx*=-1),(e.by<0||e.by>i)&&(e.vy*=-1);let s=e.bx,a=e.by;if(o.active){let n=d.x-e.bx,t=d.y-e.by,c=Math.hypot(n,t);if(c<190){let i=(1-c/190)*.55;s=e.bx+n*i,a=e.by+t*i}}e.x+=(s-e.x)*.15,e.y+=(a-e.y)*.15}for(let e=0;e<h.length;e++){let s=h[e];for(let a=e+1;a<h.length;a++){let e=h[a],t=Math.hypot(s.x-e.x,s.y-e.y);if(t<132){let a=o.active?Math.max(0,1-Math.min(Math.hypot(d.x-s.x,d.y-s.y),Math.hypot(d.x-e.x,d.y-e.y))/190):0,i=(1-t/132)*.12,r=i+.5*a;if(a>.02){let e=c.current;n.strokeStyle="rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(r,")")}else n.strokeStyle="rgba(10, 13, 10, ".concat(i,")");n.lineWidth=a>.3?1.1:.7,n.beginPath(),n.moveTo(s.x,s.y),n.lineTo(e.x,e.y),n.stroke()}}}for(let e of h){let s=o.active?Math.max(0,1-Math.hypot(d.x-e.x,d.y-e.y)/190):0,t=1.6+2.4*s;if(s>.15){let e=a.current;n.fillStyle="rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(.5+.5*s,")"),n.shadowColor="rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.8)"),n.shadowBlur=8*s}else n.fillStyle="rgba(10, 13, 10, 0.28)",n.shadowBlur=0;n.beginPath(),n.arc(e.x,e.y,t,0,2*Math.PI),n.fill()}n.shadowBlur=0,l=requestAnimationFrame(e)}(),window.addEventListener("resize",m),window.addEventListener("mousemove",u),window.addEventListener("mouseleave",x),window.addEventListener("touchmove",p,{passive:!0}),window.addEventListener("touchend",x),()=>{cancelAnimationFrame(l),window.removeEventListener("resize",m),window.removeEventListener("mousemove",u),window.removeEventListener("mouseleave",x),window.removeEventListener("touchmove",p),window.removeEventListener("touchend",x)}},[]),(0,n.jsx)("canvas",{ref:s,className:"node-canvas","aria-hidden":"true"})}},5789:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});var n=a(5155);function t(e){let{size:s=26,onDark:a=!1}=e;return(0,n.jsx)("svg",{className:"hashmark",width:s,height:s,viewBox:"-2 0 106 100","aria-hidden":"true",style:{display:"block",flex:"0 0 auto"},children:(0,n.jsxs)("g",{transform:"skewX(-8) translate(9,0)",children:[(0,n.jsx)("rect",{x:"30",y:"4",width:"14",height:"92",rx:"7",fill:"#2FA8FF"}),(0,n.jsx)("rect",{x:"60",y:"4",width:"14",height:"92",rx:"7",fill:"#FF6B5B"}),(0,n.jsx)("rect",{x:"4",y:"28",width:"92",height:"14",rx:"7",fill:a?"#4CD964":"#1F8A3D"}),(0,n.jsx)("rect",{x:"4",y:"58",width:"92",height:"14",rx:"7",fill:"#FFC33D"})]})})}},6625:()=>{},7511:(e,s,a)=>{"use strict";a.d(s,{default:()=>T});var n=a(5155),t=a(2115),c=a(5418);let i=["Resolving identity","Cross-referencing sources","Matching signals","Verifying deliverability","Confirming direct line","Locking result"],r=2*Math.PI*78;function l(e){let{target:s,onDone:a}=e,[c,l]=(0,t.useState)(0),[o,d]=(0,t.useState)(0),h=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{let e=2600+700*Math.random(),s=performance.now(),n=0,t=c=>{let r=Math.min(1,(c-s)/e),o=1-Math.pow(1-r,2.2);l(Math.floor(100*o)),d(Math.min(i.length-1,Math.floor(o*i.length))),r<1?n=requestAnimationFrame(t):h.current||(h.current=!0,setTimeout(a,240))};return n=requestAnimationFrame(t),()=>cancelAnimationFrame(n)},[a]),(0,n.jsxs)("div",{className:"scan-overlay",children:[(0,n.jsx)("div",{className:"scan-target",children:s}),(0,n.jsxs)("div",{className:"scan-ring",children:[(0,n.jsxs)("svg",{viewBox:"0 0 168 168",children:[(0,n.jsx)("circle",{className:"track",cx:"84",cy:"84",r:78}),(0,n.jsx)("circle",{className:"prog",cx:"84",cy:"84",r:78,strokeDasharray:r,strokeDashoffset:r*(1-c/100)})]}),(0,n.jsx)("div",{className:"pct",children:c})]}),(0,n.jsxs)("div",{className:"scan-status",children:[i[o],(0,n.jsx)("span",{className:"cursor",children:"_"})]})]})}function o(e){let{value:s}=e,[a,c]=(0,t.useState)(!1);return(0,n.jsx)("button",{className:"copy-chip",onClick:()=>{var e;null==(e=navigator.clipboard)||e.writeText(s),c(!0),setTimeout(()=>c(!1),1200)},children:a?"copied ✓":"copy"})}function d(e){let{result:s,unlocked:a,credits:t,onUnlock:c,onReset:i}=e;return s.found?(0,n.jsx)("div",{className:"stage-content",children:(0,n.jsxs)("div",{className:"reveal",children:[(0,n.jsxs)("div",{className:"reveal-found",children:[(0,n.jsx)("span",{className:"found-dot"})," Match confirmed"]}),(0,n.jsxs)("div",{className:"reveal-card",children:[(0,n.jsxs)("div",{className:"reveal-head",children:[(0,n.jsx)("div",{className:"reveal-avatar",children:s.name.split(/\s+/).filter(
1Boolean).slice(0,2).map(e=>{var s;return(null==(s=e[0])?void 0:s.toUpperCase())||""}).join("")}),(0,n.jsxs)("div",{className:"reveal-id",children:[(0,n.jsx)("div",{className:"reveal-name",children:s.name}),(0,n.jsxs)("div",{className:"reveal-role",children:[s.title,s.company&&"Not available"!==s.company?" \xb7 ".concat(s.company):"",s.location&&"Not available"!==s.location?" \xb7 ".concat(s.location):""]})]})]}),(0,n.jsxs)("div",{className:"reveal-rows",children:[(0,n.jsxs)("div",{className:"reveal-row",children:[(0,n.jsx)("span",{className:"rk",children:"Direct line"}),a?(0,n.jsxs)("span",{className:"rv unlocked",children:[s.workPhone,s.workPhone&&(0,n.jsx)(o,{value:s.workPhone})]}):(0,n.jsx)("span",{className:"rv locked",children:(0,n.jsx)("span",{className:"masked",children:"+1 •• ••• ••••"})})]}),(0,n.jsxs)("div",{className:"reveal-row",children:[(0,n.jsx)("span",{className:"rk",children:"Work email"}),a?(0,n.jsxs)("span",{className:"rv unlocked",children:[s.workEmail,s.workEmail&&(0,n.jsx)(o,{value:s.workEmail})]}):(0,n.jsx)("span",{className:"rv locked",children:(0,n.jsxs)("span",{className:"masked",children:["••••••••@",s.companyDomain||"company.com"]})})]})]}),a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"reveal-unlocked-tag",children:"✓ Unlocked \xb7 saved to your history"}),(0,n.jsx)("button",{className:"unlock-btn",onClick:i,style:{width:"100%"},children:"Find someone else →"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"reveal-actions",children:[(0,n.jsx)("button",{className:"unlock-btn primary",onClick:c,children:"Get phone number"}),(0,n.jsx)("button",{className:"unlock-btn",onClick:c,children:"Get email"})]}),(0,n.jsx)("div",{className:"reveal-note",children:t>0?"Unlocks instantly \xb7 uses 1 of your ".concat(t," credit").concat(1===t?"":"s"):"Unlocks instantly \xb7 no-find is always free"})]})]}),!a&&(0,n.jsx)("button",{className:"reveal-again",onClick:i,children:"← Find someone else"})]})}):(0,n.jsx)("div",{className:"stage-content",children:(0,n.jsxs)("div",{className:"reveal miss",children:[(0,n.jsx)("div",{className:"miss-mark",children:"∅"}),(0,n.jsxs)("h2",{children:["No confident match",s.name?" for ".concat(s.name):"","."]}),(0,n.jsx)("p",{children:s.context||"We couldn't confirm a business contact. No credit was charged."}),(0,n.jsx)("button",{className:"reveal-again",onClick:i,children:"← Try another name"})]})})}let h=[5e3,25e3,1e5],m={standard:{key:"standard",label:"Standard",accent:"#003B3E",gradient:["#0b5b5e","#003B3E"],glow:"rgba(0, 59, 62, 0.30)",onGradient:"#ffffff"},notable:{key:"notable",label:"Influencer",accent:"#2FA8FF",gradient:["#2FA8FF","#1479c4"],glow:"rgba(47, 168, 255, 0.50)",onGradient:"#04263f"},premium:{key:"premium",label:"Icon",accent:"#8B5CF6",gradient:["#a487ff","#6d28d9"],glow:"rgba(139, 92, 246, 0.50)",onGradient:"#ffffff"},elite:{key:"elite",label:"Celebrity",accent:"#E0A62B",gradient:["#FFD75E","#E0A62B"],glow:"rgba(224, 166, 43, 0.60)",onGradient:"#3a2600"}};function u(e){return m[e]||m.standard}let x=[[25e3,.35],[5e4,5],[1e5,25],[25e4,197],[5e5,997],[1e6,1997]];function p(e){let s=Number.isFinite(e)&&e>0?e:0,a=x[0],n=x[x.length-1];if(s<=a[0])return a[1];if(s>=n[0])return n[1];for(let e=0;e<x.length-1;e++){let[a,n]=x[e],[t,c]=x[e+1];if(s>=a&&s<t)return Math.exp(Math.log(n)+(Math.log(s)-Math.log(a))/(Math.log(t)-Math.log(a))*(Math.log(c)-Math.log(n)))}return n[1]}function j(e){return e<1?Math.round(100*e)/100:e<1e3?Math.round(e):100*Math.round(e/100)-3}let b=function(e,s){let a=Math.max(Math.min(p(0),1997),0),n=j(a),t=j(.35*a);return{phoneUsd:n,emailUsd:t,phoneCredits:Math.max(1,Math.round(100*n)),emailCredits:Math.max(1,Math.round(100*t)),tierKey:n>=1e3?"elite":n>=100?"premium":n>=5?"notable":"standard",vip:false}}(0);function v(e){let{size:s=26}=e;return(0,n.jsxs)("svg",{width:s,height:s,viewBox:"0 0 40 40","aria-hidden":"true",style:{display:"block",flex:"0 0 auto"},children:[(0,n.jsx)("path",{d:"M20 1 L25 5.5 L31.5 4.5 L33.5 10.8 L39.5 13.5 L37.5 20 L39.5 26.5 L33.5 29.2 L31.5 35.5 L25 34.5 L20 39 L15 34.5 L8.5 35.5 L6.5 29.2 L0.5 26.5 L2.5 20 L0.5 13.5 L6.5 10.8 L8.5 4.5 L15 5.5 Z",fill:"#1F8A3D"}),(0,n.jsx)("path",{d:"M12.5 20.5 L17.5 25.5 L27.5 15.5",fill:"none",stroke:"#fff",strokeWidth:"4.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function f(e){let{onClose:s}=e,[a,c]=(0,t.useState)(5e3),[i,r]=(0,t.useState)(!1),[l,o]=(0,t.useState)(null),d=(0,t.useMemo)(()=>Math.max(1,Math.round(.01*a)),[a]),u=(0,t.useMemo)(()=>"".concat((a-500)/199500*100,"%"),[a]),x=(0,t.useMemo)(()=>(function(e){if(e>=145e3){let e=m.elite;return{a:e.gradient[0],b:e.gradient[1],accent:e.accent,glow:e.glow,on:e.onGradient,label:"Celebrity reach",hint:"Tai Lopez level. The top of the ladder."}}if(e>=42e3){let e=m.premium;return{a:e.gradient[0],b:e.gradient[1],accent:e.accent,glow:e.glow,on:e.onGradient,label:"Icon reach",hint:"Icon numbers start around $420."}}if(e>=6e3){let e=m.notable;return{a:e.gradient[0],b:e.gradient[1],accent:e.accent,glow:e.glow,on:e.onGradient,label:"Influencer reach",hint:"Influencer numbers start around $60."}}return{a:"#22C55E",b:"#4CD964",accent:"#1F8A3D",glow:"rgba(76, 217, 100, 0.4)",on:"#ffffff",label:"Standard reach",hint:"Verified emails and everyday direct lines."}})(a),[a]);async function p(){r(!0),o(null);try{let e=await fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({credits:a})}),s=await e.json();if(s.url){window.location.href=s.url;return}o(s.error||"Checkout is temporarily unavailable. Please try again soon.")}catch(e){o("Checkout is temporarily unavailable. Please try again soon.")}finally{r(!1)}}return(0,n.jsx)("div",{className:"paywall-backdrop",onClick:s,children:(0,n.jsxs)("div",{className:"paywall tiered",onClick:e=>e.stopPropagation(),style:{"--tz-a":x.a,"--tz-b":x.b,"--tz-accent":x.accent,"--tz-glow":x.glow,"--tz-on":x.on},children:[(0,n.jsx)("button",{className:"paywall-x",onClick:s,"aria-label":"Close",children:"\xd7"}),(0,n.jsxs)("div",{className:"paywall-head",children:[(0,n.jsxs)("div",{className:"kicker",style:{marginBottom:14},children:[(0,n.jsx)("span",{className:"pip"})," Buy credits"]}),(0,n.jsx)("h2",{children:"Top up your balance."}),(0,n.jsxs)("p",{children:["Credits work on getnmbr.com and the LinkedIn extension. In the extension a verified email starts at ",b.emailCredits," credits and a direct phone at ",b.phoneCredits,", and harder-to-reach people cost more. Searches here on getnmbr.com cost 1 credit. Unused credits roll over."]})]}),(0,n.jsxs)("div",{className:"credit-picker",children:[(0,n.jsxs)("div",{className:"credit-amount",children:[(0,n.jsx)(v,{size:30}),(0,n.jsx)("span",{className:"credit-count",children:a.toLocaleStr
1ing()}),(0,n.jsx)("span",{className:"credit-word",children:"credits"})]}),(0,n.jsxs)("div",{className:"credit-zone",children:[(0,n.jsx)("span",{className:"credit-zone-chip",children:x.label}),(0,n.jsx)("span",{className:"credit-zone-hint",children:x.hint})]}),(0,n.jsx)("input",{type:"range",className:"credit-slider",style:{"--pct":u},min:500,max:2e5,step:500,value:a,onChange:e=>{var s;return c(Number.isFinite(s=Number(e.target.value))?Math.min(2e5,Math.max(500,500*Math.round(s/500))):500)},"aria-label":"Number of credits"}),(0,n.jsxs)("div",{className:"credit-scale",children:[(0,n.jsx)("span",{children:500..toLocaleString()}),(0,n.jsx)("span",{children:2e5.toLocaleString()})]}),(0,n.jsx)("div",{className:"credit-presets",children:h.map(e=>(0,n.jsx)("button",{className:"credit-preset".concat(a===e?" active":""),onClick:()=>c(e),children:e.toLocaleString()},e))}),(0,n.jsxs)("div",{className:"credit-total",children:["You’ll pay ",(0,n.jsxs)("b",{children:["$",d]})," ",(0,n.jsxs)("span",{children:["\xb7 one time \xb7 $",(d/a).toFixed(3),"/credit"]})]})]}),(0,n.jsx)("button",{className:"credit-buy",onClick:p,disabled:i,children:i?"Opening checkout...":"Buy ".concat(a.toLocaleString()," credits \xb7 $").concat(d)}),l&&(0,n.jsx)("p",{className:"paywall-msg",children:l}),(0,n.jsx)("div",{className:"paywall-trust",children:"Secure checkout via Stripe \xb7 credits never expire \xb7 unsuccessful finds never cost a credit"})]})})}function N(e){let{onClose:s,onSuccess:a,initialMode:c="login"}=e,[i,r]=(0,t.useState)(c),[l,o]=(0,t.useState)(""),[d,h]=(0,t.useState)(""),[m,u]=(0,t.useState)(!1),[x,p]=(0,t.useState)(null);return"created"===i?(0,n.jsx)("div",{className:"paywall-backdrop",onClick:s,children:(0,n.jsxs)("div",{className:"paywall auth-modal auth-created",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("button",{className:"paywall-x",onClick:s,"aria-label":"Close",children:"\xd7"}),(0,n.jsx)("div",{className:"auth-success-mark",children:"✓"}),(0,n.jsx)("h2",{children:"Account created."}),(0,n.jsxs)("p",{children:["We sent a confirmation link to ",(0,n.jsx)("strong",{children:l}),". Click it, then return here to sign in."]}),(0,n.jsx)("button",{className:"unlock-btn primary",onClick:()=>{r("login"),h("")},children:"I confirmed my email"})]})}):(0,n.jsx)("div",{className:"paywall-backdrop",onClick:s,children:(0,n.jsxs)("div",{className:"paywall auth-modal",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("button",{className:"paywall-x",onClick:s,"aria-label":"Close",children:"\xd7"}),(0,n.jsxs)("div",{className:"paywall-head",children:[(0,n.jsxs)("div",{className:"kicker",style:{marginBottom:14},children:[(0,n.jsx)("span",{className:"pip"})," Your NMBR account"]}),(0,n.jsx)("h2",{children:"login"===i?"Welcome back.":"Create your account."}),(0,n.jsx)("p",{children:"login"===i?"Sign in to search and unlock contacts.":"New accounts receive 40 credits."})]}),(0,n.jsxs)("a",{className:"google-auth-btn",href:"/api/auth/oauth/google",children:[(0,n.jsx)("span",{className:"google-g",children:"G"})," Continue with Google"]}),(0,n.jsx)("a",{className:"auth-guest",href:"/start",children:"Just exploring? Get the extension →"}),!1]})})}var y=a(5789);a(2884);let g=[{src:"/proof/lisbon.webp",alt:"A user found an entrepreneur's number and set up a drink the next night"},{src:"/proof/ceos.webp",alt:"Direct messages to Grant Cardone, the Hormozis, Robert Greene and other founders"},{src:"/proof/goat.webp",alt:"You're a goat dude, your methods amazing"},{src:"/proof/product.webp",alt:"Great product, had no clue this existed"},{src:"/proof/op.webp",alt:"This shit is op"},{src:"/proof/congrats.webp",alt:"This is bad ass dude, congrats"}];function k(e){let{onSignup:s}=e,[a,c]=(0,t.useState)("profile"),i=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e=i.current;if(!e||!("IntersectionObserver"in window))return;let s=Array.from(e.querySelectorAll("[data-scene]")),a=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){let s=e.target.dataset.scene;s&&c(s)}})},{rootMargin:"-49.9% 0px -49.9% 0px",threshold:0});return s.forEach(e=>a.observe(e)),()=>a.disconnect()},[]),(0,n.jsxs)("div",{className:"cine-page",children:[(0,n.jsx)("header",{className:"c-hero c-wrap",children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"c-kicker glass",children:[(0,n.jsx)("span",{className:"c-pip"})," Get anyone's NMBR"]}),(0,n.jsxs)("h1",{children:["Get anyone's",(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"nm",children:"number"})]}),(0,n.jsx)("button",{type:"button",className:"c-cta c-cta-hero",onClick:s,children:"Get your 1st number free"}),(0,n.jsxs)("div",{className:"c-cue",children:["See how",(0,n.jsx)("span",{className:"arr"})]})]})}),(0,n.jsxs)("div",{className:"c-cine c-wrap",children:[(0,n.jsx)("div",{className:"c-stage-wrap",children:(0,n.jsxs)("div",{className:"c-stage","data-state":a,children:[(0,n.jsx)("div",{className:"c-dev browser",children:(0,n.jsxs)("div",{className:"browser-frame",children:[(0,n.jsxs)("div",{className:"b-chrome",children:[(0,n.jsx)("span",{className:"b-dot"}),(0,n.jsx)("span",{className:"b-dot"}),(0,n.jsx)("span",{className:"b-dot"}),(0,n.jsx)("span",{className:"b-addr",children:"profile \xb7 tai-lopez"}),(0,n.jsx)("span",{className:"ext-slot",children:(0,n.jsx)(w,{})})]}),(0,n.jsxs)("div",{className:"b-site",children:[(0,n.jsx)("div",{className:"b-cover"}),(0,n.jsxs)("div",{className:"b-prof",children:[(0,n.jsx)("div",{className:"b-pfp","aria-hidden":"true"}),(0,n.jsx)("div",{className:"b-pname",children:"Tai Lopez"}),(0,n.jsx)("div",{className:"b-prole",children:"Entrepreneur and investor"}),(0,n.jsx)("div",{className:"b-pmeta",children:"CELEBRITY TIER"}),(0,n.jsxs)("div",{className:"b-skel",children:[(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{})]})]})]}),(0,n.jsxs)("div",{className:"nmbr-card",children:[(0,n.jsxs)("div",{className:"nc-head",children:[(0,n.jsxs)("span",{className:"nc-word",children:[(0,n.jsx)(w,{}),(0,n.jsx)("b",{children:"NMBR"})]}),(0,n.jsx)("span",{className:"nc-conn",children:"● Connected"})]}),(0,n.jsxs)("div",{className:"nc-person",children:[(0,n.jsx)("div",{className:"nc-avatar","aria-hidden":"true"}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"nc-name",children:["Tai Lopez",(0,n.jsx)("span",{className:"nc-badge",children:"Celebrity"})]}),(0,n.jsx)("div",{className:"nc-sub",children:"Entrepreneur and investor"})]})]}),(0,n.jsxs)("div",{className:"nc-row",children:[(0,n.jsxs)("div",{className:"nc-meta",children:[(0,n.jsxs)("span",{className:"nc-label",children:["Direct phone ",(0,n.jsx)("i",{className:"nc-cost",children:"$1,997"})]}),(0,n.jsx)("span",{className:"nc-masked",children:"+1 ••• ••• ••••"}),(0,n.jsx)("span",{className:"nc-found",children:"+1 (•••) ••• ••34"})]}),(0,n.jsx)("button",{className:"nc-btn",type:"button",tabIndex:-1,
1children:"Find phone"}),(0,n.jsx)("div",{className:"c-scan"})]}),(0,n.jsx)("div",{className:"nc-status",children:"✓ Found. The digits are yours alone."}),(0,n.jsx)("div",{className:"nc-foot",children:"No find, no charge"})]})]})}),(0,n.jsx)("div",{className:"c-dev checkout",children:(0,n.jsxs)("div",{className:"stripe-card glass",children:[(0,n.jsxs)("div",{className:"sc-head",children:[(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"5",y:"10",width:"14",height:"10",rx:"2.5",fill:"#7c857c"}),(0,n.jsx)("path",{d:"M8 10V7a4 4 0 0 1 8 0v3",stroke:"#7c857c",strokeWidth:"2.2",fill:"none"})]}),(0,n.jsx)("b",{children:"NMBR"})," \xb7 Secure checkout"]}),(0,n.jsxs)("div",{className:"sc-item",children:[(0,n.jsx)("div",{className:"sc-avatar","aria-hidden":"true"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"Tai Lopez"}),(0,n.jsx)("span",{children:"Direct phone"})]}),(0,n.jsx)("i",{children:"$1,997"})]}),(0,n.jsx)("div",{className:"sc-field",children:"[email protected]"}),(0,n.jsxs)("div",{className:"sc-row",children:[(0,n.jsx)("span",{className:"sc-field grow",children:"•••• •••• •••• 4242"}),(0,n.jsx)("span",{className:"sc-field",children:"12 / 28"})]}),(0,n.jsx)("button",{className:"sc-pay",type:"button",tabIndex:-1,children:"Pay $1,997"}),(0,n.jsxs)("div",{className:"sc-foot",children:["Powered by ",(0,n.jsx)("b",{children:"Stripe"})]})]})}),(0,n.jsx)("div",{className:"c-dev phone",children:(0,n.jsxs)("div",{className:"phone-frame",children:[(0,n.jsx)("div",{className:"ph-notch"}),(0,n.jsxs)("div",{className:"ph-inner",children:[(0,n.jsxs)("div",{className:"ph-statusbar",children:[(0,n.jsx)("span",{className:"sb-time",children:"9:41"}),(0,n.jsxs)("span",{className:"sb-icons",children:[(0,n.jsxs)("svg",{width:"15",height:"10",viewBox:"0 0 15 10","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"0",y:"6",width:"2.5",height:"4",rx:"0.8",fill:"#111"}),(0,n.jsx)("rect",{x:"4",y:"4",width:"2.5",height:"6",rx:"0.8",fill:"#111"}),(0,n.jsx)("rect",{x:"8",y:"2",width:"2.5",height:"8",rx:"0.8",fill:"#111"}),(0,n.jsx)("rect",{x:"12",y:"0",width:"2.5",height:"10",rx:"0.8",fill:"#111"})]}),(0,n.jsxs)("svg",{width:"14",height:"10",viewBox:"0 0 14 10","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M7 9.5 3.6 6.2a4.8 4.8 0 0 1 6.8 0Z",fill:"#111"}),(0,n.jsx)("path",{d:"M1.4 4a8 8 0 0 1 11.2 0l-1.5 1.5a5.9 5.9 0 0 0-8.2 0Z",fill:"#111",opacity:"0.9"})]}),(0,n.jsxs)("svg",{width:"22",height:"10",viewBox:"0 0 22 10","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"0.5",y:"0.5",width:"18",height:"9",rx:"2.5",stroke:"#111",fill:"none"}),(0,n.jsx)("rect",{x:"2",y:"2",width:"13",height:"6",rx:"1.4",fill:"#111"}),(0,n.jsx)("path",{d:"M20.5 3.2v3.6a2 2 0 0 0 0-3.6Z",fill:"#111"})]})]})]}),(0,n.jsxs)("div",{className:"chat-head",children:[(0,n.jsx)("span",{className:"ch-back",children:"‹"}),(0,n.jsx)("div",{className:"ch-avatar","aria-hidden":"true"}),(0,n.jsxs)("div",{className:"ch-name",children:["Tai Lopez ",(0,n.jsx)("span",{children:"›"})]}),(0,n.jsx)("span",{className:"ch-video",children:(0,n.jsxs)("svg",{width:"22",height:"14",viewBox:"0 0 22 14","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"0",y:"0.5",width:"14",height:"13",rx:"3",fill:"#007AFF"}),(0,n.jsx)("path",{d:"M15.5 5.4 20 2.6a1 1 0 0 1 1.5.9v7a1 1 0 0 1-1.5.9l-4.5-2.8Z",fill:"#007AFF"})]})})]}),(0,n.jsxs)("div",{className:"ph-thread",children:[(0,n.jsxs)("span",{className:"imsg-tag",children:["Text Message",(0,n.jsx)("br",{}),(0,n.jsx)("b",{children:"Fri, Feb 20 at 9:40 PM"})]}),(0,n.jsx)("div",{className:"c-bubble sent b1",children:"What would it take to have you as a guest on my podcast?"}),(0,n.jsx)("div",{className:"b-meta m1",children:(0,n.jsx)("b",{children:"Delivered"})}),(0,n.jsxs)("div",{className:"c-typing",children:[(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{})]}),(0,n.jsx)("div",{className:"c-bubble recv b2",children:"Who's this"}),(0,n.jsx)("span",{className:"ph-day day2",children:(0,n.jsx)("b",{children:"Sat, Feb 21 at 1:42 AM"})}),(0,n.jsx)("div",{className:"c-bubble sent b3",children:"The best podcast host ever. Alex Davis"}),(0,n.jsxs)("div",{className:"c-bubble recv b4",children:["On zoom or?",(0,n.jsx)("span",{className:"ph-tap",children:"♥"})]}),(0,n.jsx)("div",{className:"c-bubble sent b5",children:"Podcast is zoom"}),(0,n.jsxs)("div",{className:"b-meta m2",children:[(0,n.jsx)("b",{children:"Read"})," 2:01 AM"]})]})]})]})})]})}),(0,n.jsxs)("div",{className:"c-beats",ref:i,children:[(0,n.jsx)("section",{className:"c-beat","data-scene":"profile",children:(0,n.jsxs)("div",{className:"beat-card glass",children:[(0,n.jsx)("div",{className:"c-eyebrow",children:"Step 1"}),(0,n.jsx)("h2",{children:"Open a profile"}),(0,n.jsx)("p",{children:"No tools to learn. NMBR knows who you're looking at and what their number costs."})]})}),(0,n.jsx)("section",{className:"c-beat","data-scene":"pay",children:(0,n.jsxs)("div",{className:"beat-card glass",children:[(0,n.jsx)("div",{className:"c-eyebrow",children:"Step 2"}),(0,n.jsx)("h2",{children:"Pay for their number"}),(0,n.jsx)("p",{children:"Secure checkout. Powered by Stripe."})]})}),(0,n.jsx)("section",{className:"c-beat","data-scene":"reveal",children:(0,n.jsxs)("div",{className:"beat-card glass",children:[(0,n.jsx)("div",{className:"c-eyebrow",children:"Step 3"}),(0,n.jsx)("h2",{children:"Get their number"}),(0,n.jsx)("p",{children:"You instantly have access to their number after purchase."})]})}),(0,n.jsx)("section",{className:"c-beat","data-scene":"text",children:(0,n.jsxs)("div",{className:"beat-card glass",children:[(0,n.jsx)("div",{className:"c-eyebrow",children:"Step 4"}),(0,n.jsx)("h2",{children:"Text them"}),(0,n.jsx)("p",{children:"Don't spam. Be personal, short, and to the point."})]})}),(0,n.jsx)("section",{className:"c-beat","data-scene":"reply",children:(0,n.jsxs)("div",{className:"beat-card glass",children:[(0,n.jsx)("div",{className:"c-eyebrow",children:"Step 5"}),(0,n.jsx)("h2",{children:"They reply"}),(0,n.jsx)("p",{children:"Be a human. Don't spam people."})]})})]})]}),(0,n.jsx)("section",{className:"c-outro",children:(0,n.jsxs)("div",{className:"c-wrap",children:[(0,n.jsxs)("h2",{children:["What other ",(0,n.jsx)("span",{className:"nm",children:"entrepreneurs"})," said"]}),(0,n.jsx)("a",{className:"c-about-link",href:"/about",children:"See how this all started →"}),(0,n.jsx)("div",{className:"c-wall",children:g.map(e=>(0,n.jsx)("figure",{className:"c-shot glass",children:(0,n.jsx)("img",{src:e.src,alt:e.alt,loading:"lazy"})},e.src))}),(0,n.jsx)("button",{type:"button",className:"c-cta",onClick:s,children:"Get your 1st number free"}),(0,n.jsx)("div",{className:"c-cta-sub",children:"40 credits when you sign up \xb7 no card required"}),(0,n.jsxs)("div",{className:"c-spine",children:[(0,n.jsx)("span",{className:"glass",children:"No find, no charge"}),(0,n.jsx)("span",{className:"glass",children:"Numbers masked until you unlock"}),(0,n.jsx)("span",{className:"glass",children:"Opt-out honored, permanently"})]}),(0,n.jsxs)("div",{className:"c-legal",children:[(0,n.jsx)("a",{href:"/privacy",children:"Privacy"}),(0,n.jsx)("i",{children:"\xb7"}),(0,n.jsx)("a",{href:"/terms",children:"Terms"}),(0,n.jsx)("i",{children:"\xb7"}),(0,n.jsx)("a",{href:"/acceptable-use",children:"Acceptable use"}),(0,n.jsx)("i",{children:"\xb7"}),(0,n.jsx)("a",{href:"/data-sources",children:"Data sourcing"}),(0,n.jsx)("i",{children:"\xb7"}),(0,n.jsx)("a",{href:"/contact",children:"Contact"}),(0,n.jsx)("i",{children:"\xb7"}),(0,n.jsx)("a",{href:"/opt-out",children:"Opt out"})]})]})})]})}function w(){return(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M9.4 3.5 7.6 20.5",stroke:"#2FA8FF",strokeWidth:"3",strokeLinecap:"round"}
1),(0,n.jsx)("path",{d:"M16.4 3.5 14.6 20.5",stroke:"#1F8A3D",strokeWidth:"3",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M4.5 9.2h16",stroke:"#FF6B5B",strokeWidth:"3",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M3.5 15.8h16",stroke:"#FFC33D",strokeWidth:"3",strokeLinecap:"round"})]})}let C=[{key:"creator",label:"Creator",note:"Reach the big names in your world"},{key:"founder",label:"Founder",note:"Get in front of investors and partners"},{key:"closer",label:"Closer",note:"Reach decision-makers and close"},{key:"agency",label:"Agency",note:"Land clients and book meetings"}],S=[{key:"prospecting",label:"Business prospecting",note:"Reach founders, execs, and buyers.",tier:"standard"},{key:"podcast",label:"Book podcast guests",note:"Land the names your show wants.",tier:"notable"},{key:"celebrities",label:"Reach creators & celebrities",note:"Reach Grant Cardone. From $1,447.",tier:"elite"}];function M(e){let{onDone:s,onAccent:a}=e,[c,i]=(0,t.useState)(1),[r,l]=(0,t.useState)(null),[o,d]=(0,t.useState)(!1);async function h(e){if(!o){d(!0);try{await fetch("/api/profile",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({persona:r,useCase:e})})}catch(e){}s()}}return(0,n.jsx)("div",{className:"paywall-backdrop",children:(0,n.jsxs)("div",{className:"onboard",children:[(0,n.jsxs)("div",{className:"onboard-head",children:[(0,n.jsxs)("div",{className:"wordmark",children:[(0,n.jsx)(y.A,{}),(0,n.jsx)("span",{children:"NMBR"})]}),(0,n.jsxs)("div",{className:"onboard-step",children:["Step ",c," of 2"]})]}),1===c?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{children:"Welcome to the desk."}),(0,n.jsx)("p",{className:"onboard-sub",children:"Which best describes you?"}),(0,n.jsx)("div",{className:"onboard-grid",children:C.map(e=>(0,n.jsxs)("button",{className:"onboard-card ".concat(r===e.key?"picked":""),onClick:()=>{l(e.key),i(2)},children:[(0,n.jsx)("strong",{children:e.label}),(0,n.jsx)("span",{children:e.note})]},e.key))})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{children:"How do you want to use NMBR?"}),(0,n.jsx)("p",{className:"onboard-sub",children:"Pick where you want to start. You can reach anyone, anytime."}),(0,n.jsx)("div",{className:"onboard-cases",children:S.map(e=>{let s=u(e.tier);return(0,n.jsxs)("button",{className:"onboard-case",style:{"--tier-accent":s.accent,"--tier-a":s.gradient[0],"--tier-b":s.gradient[1],"--tier-glow":s.glow,"--tier-on":s.onGradient},onMouseEnter:()=>null==a?void 0:a(s.accent),onClick:()=>{null==a||a(s.accent),h(e.key)},disabled:o,children:[(0,n.jsx)("span",{className:"onboard-case-badge",children:s.label}),(0,n.jsx)("strong",{children:e.label}),(0,n.jsx)("span",{className:"onboard-case-note",children:e.note})]},e.key)})}),(0,n.jsx)("button",{className:"onboard-skip",onClick:()=>h(null),disabled:o,children:"I'll decide per target"})]})]})})}let F=[{name:"Tai Lopez",role:"Entrepreneur and investor",tier:"elite",priceUsd:1997,href:"https://www.linkedin.com/in/tailopez/"},{name:"Grant Cardone",role:"Founder, Cardone Capital",tier:"elite",priceUsd:1447,href:"https://www.linkedin.com/search/results/people/?keywords=Grant%20Cardone"},{name:"Codie Sanchez",role:"Founder, Contrarian Thinking",tier:"premium",priceUsd:420,href:"https://www.linkedin.com/search/results/people/?keywords=Codie%20Sanchez"},{name:"Sahil Bloom",role:"Investor & Writer",tier:"notable",priceUsd:60,href:"https://www.linkedin.com/search/results/people/?keywords=Sahil%20Bloom"}];function L(e){let{credits:s,onBuy:a}=e,[c,i]=(0,t.useState)({connected:!1,firstFind:!1}),[r,l]=(0,t.useState)(!0),[o,d]=(0,t.useState)(null);(0,t.useEffect)(()=>{let e=!1;return(async()=>{try{let s=await fetch("/api/desk/progress",{cache:"no-store"});if(!s.ok)return;let a=await s.json();e||i({connected:!!a.connected,firstFind:!!a.firstFind})}catch(e){}})(),()=>{e=!0}},[]);let h=[{done:c.connected||c.firstFind,title:"Install the Chrome extension",sub:"One click. It sits quietly on every profile you open.",cta:{label:"Add to Chrome →",href:"https://chromewebstore.google.com/detail/ddkhiinncallfchcffknknhpdomfgpnb"},demo:null},{done:c.connected||c.firstFind,title:"Connect your account",sub:"Open any profile and hit Connect NMBR in the card. Once.",cta:null,demo:(0,n.jsxs)("div",{className:"dk-demo",children:[(0,n.jsxs)("div",{className:"dk-demo-card",children:[(0,n.jsxs)("div",{className:"dk-demo-head",children:[(0,n.jsx)("b",{children:"NMBR"}),(0,n.jsx)("span",{children:"● Not connected"})]}
1),(0,n.jsx)("button",{type:"button",tabIndex:-1,className:"dk-demo-connect",children:"Connect NMBR"})]}),(0,n.jsx)("span",{className:"dk-demo-cap",children:"This button is in the card on every profile. One tap links it to your account."})]})},{done:c.firstFind,title:"Open a profile and pull your first number",sub:"Your welcome credits cover one standard phone number, free.",cta:null,demo:(0,n.jsxs)("div",{className:"dk-demo",children:[(0,n.jsx)("div",{className:"dk-demo-card",children:(0,n.jsxs)("div",{className:"dk-demo-row",children:[(0,n.jsx)("span",{className:"dk-demo-label",children:"Direct phone"}),(0,n.jsx)("span",{className:"dk-demo-masked",children:"+1 ••• ••• ••••"}),(0,n.jsx)("button",{type:"button",tabIndex:-1,className:"dk-demo-find",children:"Find phone"})]})}),(0,n.jsx)("span",{className:"dk-demo-cap",children:"One click. You are only charged when a real number comes back."})]})}],m=h.filter(e=>!e.done),x=0===m.length;return(0,n.jsx)("div",{className:"desk",children:(0,n.jsxs)("div",{className:"desk-inner",children:[(0,n.jsx)("div",{className:"desk-greet",children:(0,n.jsx)("div",{className:"desk-eyebrow",children:"Your desk"})}),x?(0,n.jsxs)("div",{className:"dk-armed",children:[(0,n.jsx)("span",{className:"dk-armed-check",children:"✓"}),"You're set up. Open any profile and pull numbers."]}):(0,n.jsxs)("div",{className:"dk-card dk-todo",children:[(0,n.jsxs)("button",{type:"button",className:"dk-acc-head",onClick:()=>l(!r),children:[(0,n.jsx)("span",{className:"dk-tag",children:"Set up NMBR"}),(0,n.jsxs)("span",{className:"dk-acc-count",children:[m.length," step",1===m.length?"":"s"," left"]}),(0,n.jsx)("span",{className:"dk-chevron".concat(r?" open":""),"aria-hidden":"true",children:"⌄"})]}),r&&(0,n.jsx)("ol",{className:"dk-step-list",children:m.map(e=>{let s=h.indexOf(e)+1,a=o===s;return(0,n.jsxs)("li",{className:"dk-step",children:[(0,n.jsxs)("div",{className:"dk-step-row",children:[(0,n.jsx)("span",{className:"dk-num",children:s}),(0,n.jsxs)("div",{className:"dk-step-body",children:[(0,n.jsx)("strong",{children:e.title}),(0,n.jsx)("span",{children:e.sub})]}),e.cta&&(0,n.jsx)("a",{className:"dk-step-cta",href:e.cta.href,target:"_blank",rel:"noopener noreferrer",children:e.cta.label}),e.demo&&(0,n.jsxs)("button",{type:"button",className:"dk-step-peek".concat(a?" open":""),onClick:()=>d(a?null:s),"aria-label":a?"Hide example":"Show example",children:[a?"Hide":"See it"," ⌄"]})]}),e.demo&&a&&e.demo]},e.title)})})]}),(0,n.jsxs)("div",{className:"dk-grid",children:[(0,n.jsxs)("div",{className:"dk-card",children:[(0,n.jsx)("div",{className:"dk-tag",children:"Contacts"}),(0,n.jsx)("strong",{className:"dk-card-title",children:"Numbers you hold"}),(0,n.jsx)("div",{className:"dk-empty",children:"Every number and email you pull lands here automatically."})]}),(0,n.jsxs)("div",{className:"dk-card dk-credits",children:[(0,n.jsx)("div",{className:"dk-tag",children:"Credits"}),(0,n.jsxs)("div",{className:"dk-balance",children:[(0,n.jsx)("span",{className:"dk-balance-num",children:s.toLocaleString("en-US")}),(0,n.jsxs)("span",{className:"dk-balance-word",children:["credit",1===s?"":"s"]})]}),(0,n.jsx)("button",{type:"button",className:"dk-add",onClick:a,children:"Add credits"})]})]}),(0,n.jsxs)("div",{className:"dk-onetap",children:[(0,n.jsx)("div",{className:"dk-tag",children:"One tap away"}),(0,n.jsx)("div",{className:"dk-onetap-list",children:F.map(e=>{var s;let a=u(e.tier);return(0,n.jsxs)("a",{className:"dk-chip",href:e.href,target:"_blank",rel:"noopener noreferrer",style:{"--tier-accent":a.accent,"--tier-a":a.gradient[0],"--tier-b":a.gradient[1],"--tier-on":a.onGradient},children:[(0,n.jsx)("span",{className:"dk-chip-badge",children:a.label}),(0,n.jsx)("strong",{children:e.name}),(0,n.jsx)("span",{className:"dk-chip-role",children:e.role}),(0,n.jsxs)("span",{className:"dk-chip-price",children:["Number from ",(s=e.priceUsd)<1?"$".concat(s.toFixed(2)):"$".concat(Math.round(s).toLocaleString("en-US"))]}),(0,n.jsx)("span",{className:"dk-chip-go",children:"Open their profile →"})]},e.name)})})]}),(0,n.jsxs)("div",{className:"desk-foot",children:[(0,n.jsx)("a",{href:"/privacy",children:"Privacy"})," \xb7 ",(0,n.jsx)("a",{href:"/terms",children:"Terms"})," \xb7 ",(0,n.jsx)("a",{href:"/acceptable-use",children:"Acceptable use"})," \xb7 ",(0,n.jsx)("a",{href:"/data-sources",children:"Data sourcing"})," \xb7 ",(0,n.jsx)("a",{href:"/contact",children:"Contact"})," \xb7 ",(0,n.jsx)("a",{href:"/opt-out",children:"Opt out"})]})]})})}function T(e){var s;let{initialHasSession:a=!1}=e,[i,r]=(0,t.useState)("idle"),[o,h]=(0,t.useState)(""),[m,u]=(0,t.useState)(""),[x,p]=(0,t.useState)(null),[j,b]=(0,t.useState)(!1),[v,g]=(0,t.useState)(!1),[w,C]=(0,t.useState)(!1),[S,F]=(0,t.useState)(!1),[T,B]=(0,t.useState)("login"),[A,P]=(0,t.useState)(null),[E,R]=(0,t.useState)([]),[O,I]=(0,t.useState)(""),[G,z]=(0,t.useState)(null),[D,W]=(0,t.useState)(null),[U,Y]=(0,t.useState)(void 0),[$,_]=(0,t.useState)(!1),q=(0,t.useRef)(null),J=(0,t.useRef)(!1),V=null!=(s=null==A?void 0:A.credits)?s:0,[H,Z]=(0,t.useState)(a),X=(0,t.useCallback)(async()=>{try{let e=await fetch("/api/auth/account",{cache:"no-store"}),s=await e.json(),a=s.user?s:null;return P(a),a}catch(e){return P(null),null}finally{Z(!1)}},[]);(0,t.useEffect)(()=>{(async()=>{let e=await X(),s=new URLSearchParams(window.location.search);if("1"===s.get("onboard")){var a;window.history.replaceState(null,"",window.location.pathname),!e||(null==(a=e.onboarding)?void 0:a.completed)||_(!0)}
1"1"===s.get("signup")&&(window.history.replaceState(null,"",window.location.pathname),e||(B("signup"),F(!0)))})()},[X]),(0,t.useEffect)(()=>{let e=new URLSearchParams(window.location.search),s=e.get("purchase"),a=e.get("session_id");if(!s)return;if(window.history.replaceState(null,"",window.location.pathname),"cancelled"===s){W("Checkout cancelled. No charge was made.");let e=setTimeout(()=>W(null),6e3);return()=>clearTimeout(e)}if("success"!==s)return;W("Confirming your purchase...");let n=!1;(async()=>{try{if(a){let e=await fetch("/api/checkout/confirm",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:a})}),s=await e.json();!n&&e.ok&&"number"==typeof s.balance&&P(e=>e?{...e,credits:s.balance}:e)}await X(),n||W("Payment successful. Credits added to your account.")}catch(e){n||W("Payment received. If your balance hasn't updated, refresh in a moment.")}})();let t=setTimeout(()=>W(null),6e3);return()=>{n=!0,clearTimeout(t)}},[]);let K=(0,t.useCallback)(()=>{q.current&&(g(!0),function(){try{let e=new(window.AudioContext||window.webkitAudioContext),s=e.currentTime;[880,1318.5].forEach((a,n)=>{let t=e.createOscillator(),c=e.createGain();t.type="sine",t.frequency.value=a;let i=s+.08*n;c.gain.setValueAtTime(0,i),c.gain.linearRampToValueAtTime(.18,i+.01),c.gain.exponentialRampToValueAtTime(1e-4,i+.32),t.connect(c).connect(e.destination),t.start(i),t.stop(i+.34)}),setTimeout(()=>e.close(),800)}catch(e){}}(),setTimeout(()=>g(!1),480),p(q.current),r("result"))},[]),Q=(0,t.useCallback)(async e=>{h(e),r("scanning"),p(null),b(!1),q.current=null,J.current=!1;try{let s=await fetch("/api/find",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e})}),a=await s.json();if(!s.ok){if(401===s.status){r("idle"),F(!0);return}z({title:"Search unavailable",body:a.error||"Please try again in a moment."}),r("notice");return}q.current=a,J.current&&K()}catch(e){z({title:"Search unavailable",body:"Please try again in a moment."}),r("notice")}},[K]);(0,t.useCallback)(async e=>{let s=e.trim();if(s){if(!A)return void F(!0);if(I(""),/\s(?:at|@|from)\s|,/i.test(s))return void await Q(s);h(s),r("resolving");try{let e=await fetch("/api/resolve",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:s})}),a=await e.json();if(501===e.status)return void await Q(s);if(!e.ok){if(401===e.status){r("idle"),F(!0);return}z({title:"Search unavailable",body:a.error||"Please try again in a moment."}),r("notice");return}let n=a.candidates||[];if(0===n.length){z({title:"No confident match for “".concat(s,"”"),body:"Try their full name, or add where they work. For example, “"+s+" at Google”."}),r("notice");return}R(n),r("selecting")}catch(e){z({title:"Search unavailable",body:"Professional matching is temporarily unavailable. Please try again."}),r("notice")}}},[A,Q]);let ee=(0,t.useCallback)(()=>{J.current=!0,K()},[K]),es=(0,t.useCallback)(async()=>{if(!A)return void F(!0);if(!(null==x?void 0:x.searchId))return;let e=await fetch("/api/unlock",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({searchId:x.searchId,contactType:"both"})}),s=await e.json();if(e.ok){if(!1===s.found){p(e=>e?{...e,found:!1,context:s.message}:e),b(!1);return}p(e=>e?{...e,...s.contact}:e),b(!0),"number"==typeof s.credits&&P(e=>e?{...e,credits:s.credits}:e)}else 402===e.status?C(!0):401===e.status&&F(!0)},[A,x]),ea=(0,t.useCallback)(()=>{C(!1),X()},[X]),en=(0,t.useCallback)(async()=>{await fetch("/api/auth/logout",{method:"POST"}),P(null),et()},[]);function et(){r("idle"),p(null),b(!1),h(""),u(""),R([]),I(""),z(null)}let ec="idle"===i&&!A&&!H;(0,t.useEffect)(()=>(document.body.classList.toggle("page-scroll",ec),()=>{document.body.classList.remove("page-scroll")}),[ec]);let ei=(0,n.jsxs)("div",{className:"topbar",children:[(0,n.jsxs)("div",{className:"wordmark",onClick:et,style:{cursor:"pointer"},children:[(0,n.jsx)(y.A,{}),(0,n.jsx)("span",{children:"NMBR"})]}),(0,n.jsxs)("div",{className:"topbar-right",children:[H?(0,n.jsxs)("span",{className:"credits-pill skeleton","aria-hidden":"true",children:[(0,n.jsx)("span",{className:"credits-dot"})," \xa0"]}):(0,n.jsxs)("a",{onClick:()=>{A?C(!0):(B("login"),F(!0))},className:"credits-pill",role:"button",children:[(0,n.jsx)("span",{className:"credits-dot"})," ",A?"".concat(V," credit").concat(1===V?"":"s"):"Sign in"]}),A&&(0,n.jsx)("a",{onClick:en,role:"button",children:"Sign out"}),!A&&(0,n.jsx)("a",{href:"/about",children:"Story"}),(0,n.jsx)("a",{href:"/opt-out",children:"Opt\xa0out"})]})]}),er=S&&(0,n.jsx)(N,{initialMode:T,onClose:()=>F(!1),onSuccess:async()=>{var e;F(!1);let s=await X();!s||(null==(e=s.onboarding)?void 0:e.completed)||_(!0)}});return ec?(0,n.jsxs)("div",{className:"cine-root",children:[(0,n.jsx)(c.A,{accent:U}),ei,(0,n.jsx)(k,{onSignup:()=>{B("signup"),F(!0)}}),D&&(0,n.jsx)("div",{className:"purchase-toast",children:D}),er]}):(0,n.jsxs)("div",{className:"stage",children:[(0,n.jsx)(c.A,{accent:U}),ei,"idle"===i&&A&&(0,n.jsx)(L,{credits:V,onBuy:()=>C(!0)}),"resolving"===i&&(0,n.jsxs)("div",{className:"identity-panel",children:[(0,n.jsxs)("div",{className:"kicker",children:[(0,n.jsx)("span",{className:"pip"})," Matching the right person"]}),(0,n.jsxs)("h2",{children:["Finding ",o,"…"]}),(0,n.jsx)("p",{children:"Checking current professional roles and companies."})]}),"selecting"===i&&(0,n.jsxs)("div",{className:"identity-panel",children:[(0,n.jsxs)("div",{className:"kicker",children:[(0,n.jsx)("span",{className:"pip"})," Confirm the person"]}),(0,n.jsxs)("h2",{children:["Which ",o,"?"]}),(0,n.jsx)("p",{children:"Choose the right professional match. Contact details are searched only after you choose."}),(0,n.jsx)("div",{className:"identity-options",children:E.map(e=>(0,n.jsxs)("button",{onClick:()=>Q("".concat(e.name," at ").concat(e.company)),children:[(0,n.jsx)("strong",{children:e.name}),(0,n.jsxs)("span",{children:[e.title," \xb7 ",e.company]}),e.location&&(0,n.jsx)("small",{children:e.location})]},"".concat(e.name,"-").concat(e.company,"-").concat(e.title)))}),(0,n.jsx)("button",{className:"auth-switch",onClick:et,children:"Search another name"})]}),"notice"===i&&G&&(0,n.jsx)("div",{className:"stage-content",children:(0,n.jsxs)("div",{className:"reveal miss",children:[(0,n.jsx)("div",{className:"miss-mark",children:"∅"}),(0,n.jsx)("h2",{children:G.title}),(0,n.jsx)("p",{children:G.body}),(0,n.jsx)("button",{className:"reveal-again",onClick:et,children:"← Search another name"})]})}),"scanning"===i&&(0,n.jsx)(l,{target:o,onDone:ee}),"result"===i&&x&&(0,n.jsx)(d,{result:x,unlocked:j,credits:V,onUnlock:es,onReset:et}),v&&(0,n.jsx)("div",{className:"found-flash"}),D&&(0,n.jsx)("div",{className:"purchase-toast",children:D}),w&&(0,n.jsx)(f,{onClose:()=>C(!1),onPurchased:ea}),er,$&&A&&(0,n.jsx)(M,{onAccent:Y,onDone:()=>{_(!1),X()}}),!("idle"===i&&A)&&(0,n.jsxs)("div",{className:"footnote",children:[(0,n.jsx)("a",{href:"/privacy",children:"Privacy"})," \xb7 ",(0,n.jsx)("a",{href:"/terms",children:"Terms"})," \xb7 ",(0,n.jsx)("a",{href:"/acceptable-use",children:"Acceptable use"})," \xb7 ",(0,n.jsx)("a",{href:"/data-sources",children:"Data sourcing"})," \xb7 ",(0,n.jsx)("a",{href:"/contact",children:"Contact"})," \xb7 ",(0,n.jsx)("a",{href:"/opt-out",children:"Opt out"})]})]})}a(6625)}},e=>{e.O(0,[1467,2698,8441,1255,7358],()=>e(e.s=2516)),_N_E=e.O()}]);

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.