PageSourceSearch

https://www.saava.io/_next/static/chunks/000f4c48346bk.js?dpl=dpl_FVd2xNkPfy9vGMGfwqviqZUXKAuP

js saava.io collected 2026-10-05 08:40:43 UTC 24,151 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,115057,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],115057)},492161,e=>{"use strict";let t=(0,e.i(475254).default)("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]]);e.s(["Menu",0,t],492161)},664659,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],664659)},555436,e=>{"use strict";let t=(0,e.i(475254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],555436)},37727,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},761911,e=>{"use strict";let t=(0,e.i(475254).default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",0,t],761911)},334981,e=>{"use strict";let t=(0,e.i(475254).default)("radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);e.s(["Radar",0,t],334981)},972520,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],972520)},632595,e=>{"use strict";e.i(247167);let t=["saava.io","www.saava.io","app.saava.io"];function a(e){return t.includes((e??"").trim().toLowerCase().split(":")[0])?".saava.io":void 0}let r="https://www.saava.io";e.s(["SITE_ORIGIN",0,r,"afterSignInHref",0,function(e,t){return a(e)?`${"https://app.saava.io".replace(/\/+$/,"")}${t}`:t},"chromeHrefs",0,function(e){return{site:t=>e?t:`${r}${t}`}},"signedOutHref",0,function(e){return a(e)?`${r}/auth/login`:"/auth/login"}],632595)},391763,e=>{"use strict";e.s(["DEMO_URL",0,"https://api.leadconnectorhq.com/widget/booking/AjaaU5trwqyX6kfwzNSM"])},981997,e=>{"use strict";let t=(0,e.i(475254).default)("messages-square",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]]);e.s(["MessagesSquare",0,t],981997)},810980,e=>{"use strict";let t=(0,e.i(475254).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",0,t],810980)},390152,e=>{"use strict";let t=(0,e.i(475254).default)("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);e.s(["Plug",0,t],390152)},178583,e=>{"use strict";let t=(0,e.i(475254).default)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],178583)},141380,e=>{"use strict";var t=e.i(843476),a=e.i(810980),r=e.i(178583),n=e.i(390152),s=e.i(334981),i=e.i(555436),l=e.i(761911),o=e.i(981997);let d={search:i.Search,radar:s.Radar,users:l.Users,community:o.MessagesSquare,guide:a.BookOpen,docs:r.FileText,plug:n.Plug};e.s(["NavIcon",0,function({name:e,size:a=18}){let r=d[e];return(0,t.jsx)(r,{width:a,height:a,strokeWidth:1.7,"aria-hidden":"true"})}])},513852,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),n=e.i(115057),s=e.i(664659),i=e.i(492161),l=e.i(37727),o=e.i(632595);let d=[{label:"Intent Search",description:"Ask for leads in plain English. Get people who are already looking.",href:"/products/intent-search",icon:"search",tone:"violet",isNew:!0},{label:"Intent Monitor",description:"Watches LinkedIn, X, Reddit and more for buying signals, every hour.",href:"/products/intent-monitor",icon:"radar",tone:"amber"},{label:"Track Profiles",description:"Turn everyone who engages with a LinkedIn profile into scored leads.",href:"/products/track-profiles",icon:"users",tone:"sky"}],c=[{label:"Skool community",description:"Learn outbound alongside other founders running it on Saava.",href:"https://www.skool.com/linkedin-outreach-mastery/about",icon:"community",tone:"pink",external:!0},{label:"Guide",description:"Step-by-step walkthroughs for every part of Saava.",href:"/docs/guide",icon:"guide",tone:"mint"},{label:"Docs",description:"How to set up Saava and connect your tools.",href:"/docs",icon:"docs",tone:"indigo"},{label:"MCP server",description:"Use Saava from Claude, ChatGPT or any MCP client.",href:"/docs/mcp",icon:"plug",tone:"coral"}],u=[{label:"Case studies",href:"/case-studies"},{label:"Blog",href:"/blog"},{label:"About",href:"/about"},{label:"Pricing",href:"/pricing"}];var h=e.i(391763),m=e.i(141380);function p({label:e,open:a,onToggle:i,items:l,site:o,onPick:d,autoFocus:c=!1}){return(0,t.jsxs)("div",{className:"msec",children:[(0,t.jsxs)("button",{type:"button",className:"msec-head","aria-expanded":a,onClick:i,autoFocus:c,children:[e,(0,t.jsx)(s.ChevronDown,{className:a?"flip":"",width:18,height:18,strokeWidth:2,"aria-hidden":"true"})]}),a&&(0,t.jsx)("div",{className:"msec-items",children:l.map(e=>{let a=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"navdd-tile",children:(0,t.jsx)(m.NavIcon,{name:e.icon,size:17})}),(0,t.jsxs)("span",{className:"navdd-text",children:[(0,t.jsxs)("span",{className:"navdd-title",children:[e.label,e.isNew&&(0,t.jsx)("span",{className:"newtag",children:"New"}),e.external&&(0,t.jsx)(n.ArrowUpRight,{className:"navdd-ext",width:13,height:13,strokeWidth:1.8,"aria-hidden":"true"})]}),(0,t.jsx)("span",{className:"navdd-desc",children:e.description})]})]});return e.external?(0,t.jsx)("a",{className:`msec-item tone-${e.tone}`,href:e.href,target:"_blank",rel:"noreferrer",onClick:d,children:a},e.label):(0,t.jsx)(r.default,{className:`msec-item tone-${e.tone}`,href:o(e.href),onClick:d,children:a},e.label)})})]})}e.s(["V3MobileMenu",0,function({isWhiteLabel:e,cta:n}){let[s,m]=(0,a.useState)(!1),[f,x]=(0,a.useState)("products");(0,a.useEffect)(()=>
1{if(!s)return;let e=e=>{"Escape"===e.key&&m(!1)},t=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",e),()=>{document.body.style.overflow=t,window.removeEventListener("keydown",e)}},[s]);let v=()=>m(!1),{site:g}=(0,o.chromeHrefs)(e);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"nav-burger","aria-expanded":s,"aria-controls":"v3-mobile-menu","aria-label":s?"Close menu":"Open menu",onClick:()=>m(e=>!e),children:s?(0,t.jsx)(l.X,{className:"h-5 w-5"}):(0,t.jsx)(i.Menu,{className:"h-5 w-5"})}),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mnav-scrim",onClick:v,"aria-hidden":"true"}),(0,t.jsxs)("div",{id:"v3-mobile-menu",className:"mnav",role:"dialog","aria-modal":"true","aria-label":"Menu",children:[e?(0,t.jsxs)("nav",{className:"mnav-links",children:[(0,t.jsx)(r.default,{href:g("/#platform"),onClick:v,autoFocus:!0,children:"Platform"}),(0,t.jsx)(r.default,{href:g("/#method"),onClick:v,children:"The method"})]}):(0,t.jsxs)("nav",{className:"mnav-links",children:[(0,t.jsx)(p,{label:"Products",open:"products"===f,onToggle:()=>x(e=>"products"===e?null:"products"),items:d,site:g,onPick:v,autoFocus:!0}),(0,t.jsx)(p,{label:"Resources",open:"resources"===f,onToggle:()=>x(e=>"resources"===e?null:"resources"),items:c,site:g,onPick:v}),u.map(e=>(0,t.jsx)(r.default,{href:g(e.href),onClick:v,children:e.label},e.href))]}),(0,t.jsxs)("div",{className:"mnav-cta",children:[(0,t.jsx)(r.default,{className:"btn-mint",href:g("/auth/sign-up"),onClick:v,children:n}),!e&&(0,t.jsx)("a",{className:"btn-ghost",href:h.DEMO_URL,target:"_blank",rel:"noreferrer",onClick:v,children:"Book a demo"}),(0,t.jsx)(r.default,{className:"btn-ghost",href:g("/auth/login"),onClick:v,children:"Sign in"})]})]})]})]})}],513852)},272874,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),n=e.i(972520),s=e.i(115057),i=e.i(664659),l=e.i(141380),o=e.i(632595);e.s(["NavMenu",0,function({label:e,items:d,footer:c}){let{site:u}=(0,o.chromeHrefs)(!1),[h,m]=(0,a.useState)(!1),p=(0,a.useId)(),f=(0,a.useRef)(null),x=(0,a.useRef)(null),v=(0,a.useRef)(!1),g=(0,a.useCallback)(()=>{x.current&&clearTimeout(x.current),x.current=null},[]),y=(0,a.useCallback)(()=>{g(),x.current=setTimeout(()=>m(!1),140)},[g]);return(0,a.useEffect)(()=>{if(!h)return;let e=e=>{"Escape"===e.key&&(m(!1),f.current?.querySelector("button")?.focus())},t=e=>{f.current&&!f.current.contains(e.target)&&m(!1)};return window.addEventListener("keydown",e),window.addEventListener("pointerdown",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("pointerdown",t)}},[h]),(0,a.useEffect)(()=>g,[g]),(0,t.jsxs)("div",{className:"navdd",ref:f,onPointerEnter:e=>{"mouse"===e.pointerType&&(g(),h||(v.current=!0),m(!0))},onPointerLeave:e=>{"mouse"===e.pointerType&&(v.current=!1,y())},onBlur:e=>{f.current?.contains(e.relatedTarget)||m(!1)},children:[(0,t.jsxs)("button",{type:"button",className:`navdd-trigger ${h?"on":""}`,"aria-expanded":h,"aria-controls":p,onClick:()=>{if(v.current){v.current=!1,m(!0);return}m(e=>!e)},children:[e,(0,t.jsx)(i.ChevronDown,{width:14,height:14,strokeWidth:2,"aria-hidden":"true"})]}),(0,t.jsxs)("div",{id:p,className:`navdd-panel ${h?"open":""}`,hidden:!h,children:[d.map(e=>{let a=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"navdd-tile",children:(0,t.jsx)(l.NavIcon,{name:e.icon})}),(0,t.jsxs)("span",{className:"navdd-text",children:[(0,t.jsxs)("span",{className:"navdd-title",children:[e.label,e.isNew&&(0,t.jsx)("span",{className:"newtag",children:"New"}),e.external&&(0,t.jsx)(s.ArrowUpRight,{className:"navdd-ext",width:13,height:13,strokeWidth:1.8,"aria-hidden":"true"})]}),(0,t.jsx)("span",{className:"navdd-desc",children:e.description})]})]});return e.external?(0,t.jsx)("a",{className:`navdd-item tone-${e.tone}`,href:e.href,target:"_blank",rel:"noreferrer",onClick:()=>m(!1),children:a},e.label):(0,t.jsx)(r.default,{className:`navdd-item tone-${e.tone}`,href:u(e.href),onClick:()=>m(!1),children:a},e.label)}),c&&(0,t.jsxs)(r.default,{className:"navdd-foot",href:u(c.href),onClick:()=>m(!1),children:[c.label,(0,t.jsx)(n.ArrowRight,{width:14,height:14,strokeWidth:1.8,"aria-hidden":"true"})]})]})]})}])},10708,e=>{"use strict";var t=e.i(843476),a=e.i(271645);e.i(174080);var r=e.i(991918),n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let s=(0,r.createSlot)(`Primitive.${n}`),i=a.forwardRef((e,a)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?s:n,{...i,ref:a})});return i.displayName=`Primitive.${n}`,{...e,[n]:i}},{}),s=a.forwardRef((e,a)=>(0,t.jsx)(n.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));s.displayName="Label";var i=e.i(225913),l=e.i(647163);let o=(0,i.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(s,{ref:r,className:(0,l.cn)(o(),e),...a}));d.displayName=s.displayName,e.s(["Label",0,d],10708)},991918,225913,e=>{"use strict";var t=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var r=e.i(843476),n=Symbol.for("react.lazy"),s=t[" use ".trim().toString()];function i(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===n&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function l(e){var n;let l,o=(n=e,(l=t.forwardRef((e,r)=>{let{children:n,...l}=e;if(i(n)&&"function"==typeof s&&(n=s(n._payload)),t.isValidElement(n)){var o;let e,s,i=(o=n,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),d=function(e,t){let a={...t};for(let r in t){let n=e[r],s=t[r];/^on[A-Z]/.test(r)?n&&s?a[r]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(a[r]=n):"style"===r?a[r]={...n,...s}:"className"===r&&(a[r]=[n,s].filter(Boolean).join(" "))}return{...e,...a}}(l,n.props);return n.type!==t.Fragment&&(d.ref=r?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(r,i):i),t.cloneElement(n,d)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${n}.SlotClone`,l),d=t.forwardRef((e,a)=>{let{children:n,...l}=e;i(n)&&"function"==typeof s&&(n=s(n._payload));let d=t.Children.toArray(n),u=d.find(c);if(u){let e=u.props.children,n=d.map(a=>a!==u?a:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(o,{...l,ref:a,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,r.jsx)(o,{...l,ref:a,children:n})});return d.displayName=`${e}.Slot`,d}var o=l("Slot"),d=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}e.s(["Slot",0,o,"createSlot",0,l],991918);var u=e.i(207670);let h=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,m=u.clsx;e.s(["cva",0,(e,t)=>a=>{var r;if((null==t?void 0:t.variants)==null)return m(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:n,defaultVariants:s}=t,i=Object.keys(n).map(e=>{let t=null==a?void 0:a[e],r=null==s?void 0:s[e];if(null===t)return null;let i=h(t)||h(r);return n[e][i]}),l=a&&Object.entries(a).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{});return m(e,i,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:a,className:r,...n}=t;return Object.entries(n).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...s,...l}[t]):({...s,...l})[t]===a})?[...e,a,r]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}],225913)},167881,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(991918),n=e.i(225913),s=e.i(647163);let i=(0,n.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef(({className:e,variant:a,size:n,asChild:l=!1,...o},d)=>{let c=l?r.Slot:"button";return(0,t.jsx)(c,{className:(0,s.cn)(i({variant:a,size:n,className:e})),ref:d,...o})});l.displayName="Button",e.s(["Button",0,l])},23750,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(647163);let n=a.forwardRef(({className:e,type:a,...n},s)=>(0,t.jsx)("input",{type:a,className:(0,r.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...n}));n.displayName="Input",e.s(["Input",0,n])},817994,e=>{"use strict";var t=e.i(843476),a=e.i(632595),r=e.i(524962),n=e.i(647163),s=e.i(920755),i=e.i(481831),l=e.i(167881),o=e.i(23750),d=e.i(10708),c=e.i(522016),u=e.i(618566),h=e.i(271645),m=e.i(972520),p=e.i(596177),f=e.i(28598),x=e.i(440116),v=e.i(245194);e.s(["LoginForm",0,function({className:e,brandName:g="Saava",...y}){let[w,b]=(0,h.useState)("magic"),[j,k]=(0,h.useState)(""),[N,C]=(0,h.useState)(""),[S,M]=(0,h.useState)(null),[R,E]=(0,h.useState)(!1),[z,I]=(0,h.useState)(null),[T,P]=(0,h.useState)(!1),[$,A]=(0,h.useState)("/dashboard"),F=(0,u.useRouter)(),L=(0,r.useTurnstile)();(0,h.useEffect)(()=>{var e;
1A((e=new URLSearchParams(window.location.search).get("next"),(0,v.safeNextPath)(e)))},[]);let O=async e=>{e.preventDefault();let t=(0,s.createClient)();P(!0),M(null);try{let e=await L.getToken(),{error:r}=await t.auth.signInWithPassword({email:j,password:N,options:{captchaToken:e}});if(r)throw r;let n=(0,a.afterSignInHref)(window.location.hostname,$);n.startsWith("http")?window.location.assign(n):F.push(n)}catch(e){M((0,r.captchaErrorMessage)(e instanceof Error?e.message:null)??(e instanceof Error?e.message:"An error occurred"))}finally{P(!1)}},_=async()=>{if(!j)return void M("Enter your email first.");if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j.trim()))return void M("That email doesn't look right — check it and try again.");let e=(0,s.createClient)();M(null),P(!0);let t=!1,a=()=>{t=!0,I(null),E(!0)},n=Date.now(),i=window.setTimeout(a,1250);try{let r=function(){if("u"<typeof document)return null;let e=document.cookie.match(RegExp(`(?:^|; )${x.REF_COOKIE}=([^;]*)`));return e?(0,x.sanitizeReferralCode)(decodeURIComponent(e[1])):null}(),s=await L.getToken(),{error:l}=await e.auth.signInWithOtp({email:j,options:{captchaToken:s,emailRedirectTo:`${window.location.origin}/auth/callback?next=${encodeURIComponent($)}`,shouldCreateUser:!0,data:r?{referral_code:r}:void 0}});if(l)throw l;let o=1250-(Date.now()-n);!t&&o>0&&await new Promise(e=>setTimeout(e,o)),window.clearTimeout(i),t?I(null):a()}catch(s){window.clearTimeout(i);let e=s instanceof Error?s.message:"";if(null!=(0,f.waitSecondsFromAuthError)(e)){t||a();return}let n=(0,r.captchaErrorMessage)(e)??(e||"We couldn't send your code.");t||R?I(n):M(n)}finally{P(!1)}},U=async e=>{e.preventDefault(),await _()};return(0,t.jsxs)("div",{className:(0,n.cn)("space-y-6",e),...y,children:[(0,t.jsx)("div",{ref:L.containerRef}),(0,t.jsxs)("div",{className:"space-y-2 text-center",children:[(0,t.jsx)("h1",{className:"text-3xl font-semibold tracking-tight text-white",children:"Welcome back"}),(0,t.jsxs)("p",{className:"text-sm text-zinc-400",children:["Sign in to your ",g," workspace."]})]}),R?(0,t.jsxs)("div",{className:"space-y-4",children:[z?(0,t.jsxs)("div",{role:"alert",className:"rounded-lg border border-red-400/30 bg-red-500/10 p-4 text-sm text-red-200",children:[(0,t.jsx)("div",{className:"font-medium",children:"We couldn't send your code"}),(0,t.jsx)("p",{className:"mt-1 text-red-200/80",children:z}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>void _(),disabled:T,className:"rounded-md bg-white/10 px-3 py-1.5 text-xs font-medium text-white transition hover:bg-white/15 disabled:opacity-60",children:T?"Sending…":"Send again"}),(0,t.jsx)("button",{type:"button",onClick:()=>{E(!1),I(null)},className:"text-xs text-red-200/80 underline-offset-2 hover:underline",children:"Use a different email"})]})]}):(0,t.jsxs)("div",{className:"rounded-lg border border-emerald-400/20 bg-emerald-400/[0.08] p-4 text-sm text-emerald-200",children:[(0,t.jsx)("div",{className:"font-medium",children:"Check your inbox"}),(0,t.jsxs)("p",{className:"mt-1 text-emerald-200/80",children:["We sent a sign-in link to ",(0,t.jsx)("span",{className:"font-medium",children:j}),". Click it, or paste the numeric code from that same email below."]})]}),(0,t.jsx)(p.OtpCodeForm,{email:j,next:$,isSignup:!1,hideIntro:!0})]}):"magic"===w?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(i.GoogleSignInButton,{next:$,disabled:T}),(0,t.jsx)(i.AuthDivider,{}),(0,t.jsxs)("form",{onSubmit:U,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(d.Label,{htmlFor:"email",className:"text-sm text-zinc-300",children:"Email address"}),(0,t.jsx)(o.Input,{id:"email",type:"email",autoComplete:"email",required:!0,placeholder:"[email protected]",value:j,onChange:e=>k(e.target.value),className:"h-11 border-white/15 bg-white/[0.04] text-white placeholder:text-zinc-500 text-base"})]}),S&&(0,t.jsx)("p",{className:"text-sm text-red-500",children:S}),(0,t.jsx)(l.Button,{type:"submit",disabled:T,className:"h-11 w-full gap-2 bg-emerald-400 font-semibold text-[#06231a] shadow-md shadow-emerald-500/20 hover:bg-emerald-300",children:T?"Sending…":(0,t.jsxs)(t.Fragment,{children:["Email me a sign-in link ",(0,t.jsx)(m.ArrowRight,{className:"h-4 w-4"})]})})]})]}):(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(i.GoogleSignInButton,{next:$,disabled:T}),(0,t.jsx)(i.AuthDivider,{}),(0,t.jsxs)("form",{onSubmit:O,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(d.Label,{htmlFor:"email",className:"text-sm text-zinc-300",children:"Email address"}),(0,t.jsx)(o.Input,{id:"email",type:"email",autoComplete:"email",required:!0,placeholder:"[email protected]",value:j,onChange:e=>k(e.target.value),className:"h-11 border-white/15 bg-white/[0.04] text-white placeholder:text-zinc-500 text-base"})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(d.Label,{htmlFor:"password",className:"text-sm text-zinc-300",children:"Password"}),(0,t.jsx)(c.default,{href:"/auth/forgot-password",className:"ml-auto text-xs text-zinc-400 underline-offset-4 hover:text-white hover:underline",children:"Forgot password?"})]}),(0,t.jsx)(o.Input,{id:"password",type:"password",autoComplete:"current-password",required:!0,value:N,onChange:e=>C(e.target.value),className:"h-11 border-white/15 bg-white/[0.04] text-white placeholder:text-zinc-500 text-base"})]}),S&&(0,t.jsx)("p",{className:"text-sm text-red-500",children:S}),(0,t.jsx)(l.Button,{type:"submit",disabled:T,className:"h-11 w-full gap-2 bg-emerald-400 font-semibold text-[#06231a] shadow-md shadow-emerald-500/20 hover:bg-emerald-300",children:T?"Signing in…":(0,t.jsxs)(t.Fragment,{children:["Continue ",(0,t.jsx)(m.ArrowRight,{className:"h-4 w-4"})]})})]})]}
1),!R&&(0,t.jsx)("button",{type:"button",onClick:()=>{b("magic"===w?"password":"magic"),M(null)},className:"block w-full text-center text-sm text-zinc-400 hover:text-white",children:"magic"===w?"Use a password instead":"Email me a sign-in link instead"}),(0,t.jsxs)("div",{className:"space-y-2 text-center text-sm",children:[(0,t.jsxs)("div",{className:"text-zinc-400",children:["Don't have an account?"," ",(0,t.jsx)(c.default,{href:`/auth/sign-up?next=${encodeURIComponent($)}`,className:"font-medium text-emerald-300 underline-offset-4 hover:underline",children:"Sign up"})]}),(0,t.jsxs)("div",{className:"text-zinc-500",children:["Prefer a walkthrough first?"," ",(0,t.jsx)("a",{href:"https://api.leadconnectorhq.com/widget/booking/AjaaU5trwqyX6kfwzNSM",target:"_blank",rel:"noreferrer",className:"font-medium text-zinc-400 underline-offset-4 hover:text-white hover:underline",children:"Book a demo"})]})]})]})}])}]);

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.