1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3793,3662],{70224:function(e,t,a){a.d(t,{Z:function(){return s}});let s=(0,a(41613).Z)("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]])},31696:function(e,t,a){a.d(t,{Z:function(){return s}});let s=(0,a(41613).Z)("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]])},52710:function(e,t,a){a.d(t,{Z:function(){return s}});let s=(0,a(41613).Z)("SquareActivity",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M17 12h-2l-2 5-2-10-2 5H7",key:"15hlnc"}]])},48593:function(e,t,a){a.d(t,{Z:function(){return s}});let s=(0,a(41613).Z)("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},50649:function(e,t,a){var s=a(49700),r=a(20989);t.Z=()=>(0,s.jsx)("section",{className:"flex flex-col items-center justify-center md:py-2 text-center overflow-hidden",children:(0,s.jsx)("div",{className:"w-full relative group",children:(0,s.jsx)(r.E.img,{initial:{opacity:0,scale:.8,y:100,willChange:"transform, opacity"},whileInView:{opacity:1,scale:1,y:0,willChange:"transform, opacity"},viewport:{once:!0,margin:"-100px"},transition:{duration:1.2,ease:[.645,.045,.355,1],times:[0,1]},src:"/images/computer_phone_2.png",alt:"Platform Preview",className:"object-contain w-[90%] md:w-[81%] h-[60%] relative z-10 mx-auto md:pb-20"})})})},27592:function(e,t,a){var s=a(49700),r=a(89266),i=a(53316),n=a(72299);let l=["/images/cody643.png","/images/jorge_testimonial.png","/images/jack_testimonial.png"];t.Z=()=>{let[e,t]=(0,r.useState)(""),[a,o]=(0,r.useState)(!1),[d,c]=(0,r.useState)(""),[m,h]=(0,r.useState)(!1),x=async a=>{a.preventDefault(),o(!0),c(""),h(!1);try{let a=await fetch("/api/post-intercom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,custom_attributes:{newsletter_signup:!0,send_emails:!0}})}),s=await a.json();if(!a.ok)throw Error(s.message||"Intercom submission failed");console.log(s),(0,i.kO)(window.location.href,"daily_bet_email_signup","desktop",e),h(!0),t("")}catch(e){console.error("Form submission error:",e),e.message.includes("already been used")?c("This email has already been registered."):e.message.includes("A contact matching those details already exists")||e.message.includes("already exists")?c("This email has already been registered."):(console.log(e),c("Something went wrong. Please try again later."))}finally{o(!1)}};return(0,s.jsxs)("section",{className:"relative py-0 sm:py-12 rounded-lg overflow-hidden w-full sm:w-3/5",children:[(0,s.jsx)("div",{className:"absolute inset-0 w-full h-full"}),(0,s.jsx)("div",{className:"relative mx-auto px-4 sm:pl-40 py-6",children:(0,s.jsxs)("div",{className:"text-left",children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center space-x-2",children:[(0,s.jsx)("div",{className:"flex -space-x-3",children:[0,1,2].map(e=>(0,s.jsx)("div",{className:"overflow-hidden rounded-full",children:(0,s.jsx)(n.default,{src:l[e],alt:"User",width:28,height:28,className:"size-7 rounded-full object-cover"})},e))}),(0,s.jsx)("p",{className:"text-sm text-white/80",children:(0,s.jsx)("span",{children:"Trusted by 10,000+ bettors worldwide"})})]}),(0,s.jsxs)("h1",{className:"text-balance text-left text-4xl font-semibold leading-tight tracking-tight text-white lg:text-left lg:text-4xl 2xl:text-5xl",children:["The Best Way to"," ",(0,s.jsx)("span",{className:"text-systemGreen",children:"Win More Bets."})]}),(0,s.jsx)("p",{className:"mt-4 text-base font-normal text-white/80",children:"Get the best bets, delivered to your inbox every day for free."}),(0,s.jsx)("div",{className:"mt-2 flex justify-start",children:(0,s.jsxs)("div",{className:"w-full items-stretch space-y-4 mx-0",children:[(0,s.jsx)("form",{onSubmit:x,children:(0,s.jsxs)("div",{className:"relative flex flex-row w-full items-center gap-2 sm:flex-nowrap sm:justify-start",children:[(0,s.jsxs)("div",{className:"relative flex w-3/5 items-center gap-2 rounded-lg border border-white/10 bg-black/20 px-4 shadow-[0px_7px_84px_0px_rgba(10,27,36,0.15)]",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 overflow-hidden rounded-lg",children:(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/[0.08] to-transparent"})}),(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"absolute top-1/2 size-5 -translate-y-1/2 text-systemGreen",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"})}),(0,s.jsx)("div",{className:"grow",children:(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:"min-w-0 rounded text-left h-10 flex cursor-text w-full grow border-0 bg-transparent pl-6 pr-0 text-white",children:(0,s.jsx)("input",{type:"email",id:"email",name:"email",value:e,onCh
1ange:e=>t(e.target.value),required:!0,placeholder:"Your email...",className:"w-0 min-w-0 flex-1 items-center focus:ring-0 sm:text-sm pl-4 pr-4 bg-transparent placeholder:text-gray-400 text-white border-0 focus:outline-none"})})})})})]}),(0,s.jsx)("button",{type:"submit",disabled:a,onClick:()=>(0,i.kO)("home","send_me_bets","desktop",e),className:"inline-flex min-w-0 items-center rounded-md font-semibold transition-all duration-200 ease-in-out text-[#001510] bg-systemGreen hover:brightness-125 h-10 px-[1.11rem] text-sm w-2/5 sm:w-48",children:(0,s.jsx)("div",{className:"flex min-w-0 items-center justify-center gap-1.5 w-full",children:(0,s.jsx)("div",{className:"min-w-0 whitespace-nowrap text-xs md:text-sm",children:a?"Sending...":"Send Me Bets"})})})]})}),d&&(0,s.jsx)("p",{className:"text-red-500 text-xs mt-1",children:d}),m&&(0,s.jsx)("p",{className:"text-systemGreen text-xs mt-1",children:"Thanks! Check your email for free bets."})]})})]})})]})}},41347:function(e,t,a){var s=a(49700),r=a(83957),i=a.n(r),n=a(89266),l=a(745),o=a.n(l);a(41933);var d=a(54798);let c=[{title:"Start Winning",subtitle:"4 days free.",description:"Sign up now for your 4-day free trial and unlock the full arsenal of tools that turn bettors into winners.",image:"/images/home_page_products/home_page_product_7.png"}];t.Z=()=>((0,n.useEffect)(()=>{o().init({duration:600,easing:"ease-out",once:!1,mirror:!0})},[]),(0,s.jsx)("section",{className:"relative overflow-hidden bg-transparent sm:pt-24 pb-0 md:pb-24",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.map((e,t)=>(0,s.jsxs)("div",{className:"".concat(t===c.length-1?"min-h-[60vh] md:min-h-[50vh] pb-12 md:pb-0 pt-16":"min-h-[80vh]"," mb-16 last:mb-0 relative"),"data-aos":"fade-up",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 ".concat("Start Winning"!==e.title?"md:grid-cols-2":""," gap-8 h-full items-center"),children:["Start Winning"!==e.title&&(0,s.jsxs)("div",{className:"space-y-4 max-w-xl md:pl-16","data-aos":"fade-up",children:[(0,s.jsxs)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white ".concat("Start Winning"===e.title?"md:text-6xl lg:text-7xl":""),children:[e.title,e.isPro&&(0,s.jsx)("span",{className:"inline-block px-3 py-1 ml-3 text-xs font-medium text-systemGreen bg-systemGreen/10 rounded-full align-middle",children:"PRO"}),(0,s.jsx)("span",{className:"block text-systemGreen mt-2 ".concat("Start Winning"===e.title?"text-4xl md:text-5xl lg:text-6xl":""),children:e.subt
1itle})]}),(0,s.jsx)("p",{className:"text-lg md:text-xl text-gray-300 mt-4 ".concat("Start Winning"===e.title?"text-xl md:text-2xl":""),children:e.description}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(d.Z,{className:"Start Winning"===e.title?"px-8 py-4 text-xl":"",children:(e.title,"Try For Free")})})]}),(0,s.jsx)("div",{className:"relative flex items-center justify-center h-full","data-aos":"fade-up",children:"Start Winning"===e.title?(0,s.jsxs)("div",{className:"jsx-55ecce75575fb451 relative z-10 max-w-3xl mx-auto text-center",children:[(0,s.jsxs)("div",{className:"jsx-55ecce75575fb451 absolute inset-0 overflow-visible -z-10",children:[(0,s.jsx)("div",{className:"jsx-55ecce75575fb451 breathing-glow"}),(0,s.jsx)("div",{className:"jsx-55ecce75575fb451 breathing-glow breathing-glow-2"}),(0,s.jsx)("div",{className:"jsx-55ecce75575fb451 breathing-glow breathing-glow-3"})]}),(0,s.jsx)(i(),{id:"55ecce75575fb451",children:".breathing-glow.jsx-55ecce75575fb451{position:absolute;width:400px;height:400px;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:-webkit-radial-gradient(center,circle,rgba(0,242,181,.25)0%,rgba(0,242,181,.08)4
10%,transparent 70%);background:-moz-radial-gradient(center,circle,rgba(0,242,181,.25)0%,rgba(0,242,181,.08)40%,transparent 70%);background:-o-radial-gradient(center,circle,rgba(0,242,181,.25)0%,rgba(0,242,181,.08)40%,transparent 70%);background:radial-gradient(circle at center,rgba(0,242,181,.25)0%,rgba(0,242,181,.08)40%,transparent 70%);-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;-webkit-filter:blur(80px);filter:blur(80px);-webkit-animation:breathe 8s ease-in-out infinite;-moz-animation:breathe 8s ease-in-out infinite;-o-animation:breathe 8s ease-in-out infinite;animation:breathe 8s ease-in-out infinite}@media(min-width:768px){.breathing-glow.jsx-55ecce75575fb451{width:800px;height:800px}}.breathing-glow-2.jsx-55ecce75575fb451{width:700px;height:700px;opacity:.6;-webkit-animation-delay:1s;-moz-animation-delay:1s;-o-animation-delay:1s;animation-delay:1s;-webkit-animation-duration:10s;-moz-animation-duration:10s;-o-animation-duration:10s;animation-duration:10s}.breathing-glow-3.jsx-55ecce75575fb451{width:600px;height:600px;opacity:.4;-webkit-animation-delay:2s;-moz-animation-delay:2s;-o-animation-delay:2s;animation-delay:2s;-webkit-animation-duration:12s;-moz-animation-duration:12s;-o-animation-duration:12s;animation-duration:12s}@-webkit-keyframes breathe{0%,100%{-webkit-transform:translate(-50%,-50%)scale(1);transform:translate(-50%,-50%)scale(1);opacity:.4}50%{-webkit-transform:translate(-50%,-50%)scale(1.3);transform:translate(-50%,-50%)scale(1.3);opacity:.7}}@-moz-keyframes breathe{0%,100%{-moz-transform:translate(-50%,-50%)scale(1);transform:translate(-50%,-50%)scale(1);opacity:.4}50%{-moz-transform:translate(-50%,-50%)scale(1.3);transform:translate(-50%,-50%)scale(1.3);opacity:.7}}@-o-keyframes breathe{0%,100%{-o-transform:translate(-50%,-50%)scale(1);transform:translate(-50%,-50%)scale(1);opacity:.4}50%{-o-transform:translate(-50%,-50%)scale(1.3);transform:translate(-50%,-50%)scale(1.3);opacity:.7}}@keyframes breathe{0%,100%{-webkit-transform:translate(-50%,-50%)scale(1);-moz-transform:translate(-50%,-50%)scale(1);-o-transform:translate(-50%,-50%)scale(1);transform:translate(-50%,-50%)scale(1);opacity:.4}50%{-webkit-transform:translate(-50%,-50%)scale(1.3);-moz-transform:translate(-50%,-50%)scale(1.3);-o-transform:translate(-50%,-50%)scale(1.3);transform:translate(-50%,-50%)scale(1.3);opacity:.7}}"}),(0,s.jsx)("h2",{className:"jsx-55ecce75575fb451 text-5xl md:text-7xl lg:text-8xl font-bold text-white mb-4",children:e.title}),(0,s.jsx)("h3",{className:"jsx-55ecce75575fb451 text-4xl md:text-6xl lg:text-7xl font-bold text-systemGreen mb-6",children:e.subt
1itle}),(0,s.jsx)("p",{className:"jsx-55ecce75575fb451 text-xl md:text-2xl text-gray-300 mb-12",children:e.description}),(0,s.jsx)("div",{className:"jsx-55ecce75575fb451 inline-block",children:(0,s.jsx)(d.Z,{className:"px-8 py-4 text-xl md:text-2xl",children:"Try For Free"})})]}):(0,s.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center",children:[(0,s.jsx)("div",{className:"absolute w-full h-full pointer-events-none",style:{background:"\n radial-gradient(circle at center, \n rgba(0, 242, 181, 0.4) 0%,\n rgba(0, 242, 181, 0.15) 15%,\n rgba(0, 242, 181, 0.05) 30%,\n transparent 50%\n )\n ",transform:"scale(1.2)"}}),(0,s.jsx)("div",{className:"absolute w-full h-full pointer-events-none",style:{background:"\n radial-gradient(circle at center,\n rgba(0, 242, 181, 0.5) 0%,\n rgba(0, 242, 181, 0.2) 10%,\n transparent 30%\n )\n ",transform:"scale(1.1)"}}),(0,s.jsx)("div",{className:"absolute w-full h-full pointer-events-none",style:{background:"\n radial-gradient(circle at center,\n rgba(0, 242, 181, 0.6) 0%,\n rgba(0, 242, 181, 0.3) 8%,\n transparent 25%\n )\n "}}),(0,s.jsx)("img",{src:e.image,alt:e.title,className:"relative pb-8 md:pb-0 z-10 w-auto h-[85vh] md:h-[95vh] max-h-[800px] object-contain drop-shadow-[0_0_15px_rgba(0,242,181,0.4)]"})]})})]}),t!==c.length-1&&(0,s.jsx)("div",{className:"absolute bottom-0 left-0 right-0 flex justify-center md:justify-start md:bottom-6 md:left-6 z-20 md:pl-16","data-aos":"fade-up",children:(0,s.jsx)("div",{className:"flex space-x-2 bg-black/50 backdrop-blur-sm px-3 py-2 rounded-full",children:c.map((e,a)=>(0,s.jsx)("button",{onClick:()=>{let e=document.querySelectorAll(".min-h-\\[80vh\\]");e[a]&&e[a].scrollIntoView({behavior:"smooth"})},className:"w-2.5 h-2.5 rounded-full transition-all duration-300 ".concat(t===a?"bg-systemGreen":"bg-gray-500 hover:bg-gray-400"),"aria-label":"Go to slide ".concat(a+1)},a))})})]},t))})}))},21946:function(e,t,a){var s=a(49700),r=a(83957),i=a.n(r),n=a(72299);let l=[{quote:"Discovery not only breaks that down for me it also tracks line movement of the sharps which is my number one agenda. I'm firing out EV bets left and right with even more confidence.",author:"cody643",role:"Discord User",image:"/images/cody643.png"},{quote:"Discovery page is great. I took it for a spin, saw there were 13 'great' bets in the Braves/Marlins so I played 6 of them. Would've swept them all except Braces put up 7 runs late to kill the under 8. Excellent stuff.",author:"fantasource",role:"Discord User",image:"/images/fantasource.png"},{quote:"I scan up to +800 to +1000 early in the morning before work with my 9 sportsbooks, -200 to +1000 because the diamonds are sometimes outside of our normal bias is all I was saying. I would never bet on anything over +400 except parlays before smartbettor. I have hit on over 4 bets in 3 days with smartbettor on odds over +400.",author:"Next Play Metrics",role:"Professional Bettor",image:"/images/next_play_metric.png"},{quote:"Up 15.78 units yesterday combo of Discovery and using Bet Score in +EV.",author:"Twillaman",role:"Discord User",image:"/images/discord.png"},{quote:"20 picks last night, $1,523 bankroll with bonuses included, had no vigs from -110 to +800, but all highlighted +2% or higher EV in the system. Landed one +1000 bet, 1 +800 bet, missed 2 +1000 by 1 (NBA PRA types) and OKC U 111.5 hit at +172 odds. Amazing. Stats, 20 Picks, 8-11-1, $204.59 Profit 74.1% return on $276.12 Wagered. No emotional betting, just stuck with the system. Great night!",author:"Bigmoney Robins",role:"New User",image:"/images/discord.png"},{quote:"I like that you guys are thinking about things differently. You're approaching the problem with a layer of sophistication that I haven't seen anywhere else in the market.",author:"Jorge B",role:"Math PHD",image:"/images/jorge_testimonial.png"},{quote:"So far...Discovery has been outstanding! This added value of info to positive ev is exactly what is needed. WELL DONE SMARTBETTOR!",author:"Boyd D",role:"Betting Instructor",image:"/images/boyd_d.png"},{quote:"Super fun and intuitive to use. I like how easy you make it to get the bets with the biggest edge. You login and don't have to click around... they are right there.",author:"Jack W",role:"Econometrics PHD",image:"/images/jack_testimonial.png"},{quote:"Go Birds. SmartBettor payed for my NFC Championship tickets.",author:"Lordie",role:"Discord User",image:"/images/discord.png"},{quote:"I like that there is a tool for whatever I need. If I want to bet on parlays I go to the parlay builder, if I am about to watch a game I go to the bet score tool!",author:"winnerplaytime32",role:"Long Time User",image:"/images/discord.png"},{quote:"I came as more of a casual bettor. I just started opening SmartBettor to look for bets instead of going straight to Fanduel or Draftkings. Now I am more profitable and moving on to the more sophisticated pro tools.",author:"John D.",role:"Pro User",image:"/images/discord.png"}];t.Z=()=>(0,s.jsx)("section",{className:"sm:pb-24 py-8 sm:pt-8 md:pt-24 relative overflow-x-hidden",children:(0,s.jsxs)("div",{className:"mx-auto",children:[(0,s.jsxs)("div",{className:"text-center mb-4 sm:mb-16 px-4 sm:px-6 lg:px-8",children:[(0,s.jsx)("h2",{className:"text-4xl font-bold text-white mb-4",children:"Loved by thousands of bettors"}),(0,s.jsx)("p",{className:"text-xl text-gray-300",children:"Real results from real bettors."})]}),(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 w-full overflow-hidden bg-transparent relative",children:[(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 absolute left-0 top-0 bottom-0 w-40 z-10 bg-gradient-to-r from-[#011E16]/50 to-transparent pointer-events-none"}),(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 absolute right-0 top-0 bottom-0 w-40 z-10 bg-gradient-to-l from-[#011E16]/50 to-transparent pointer-events-none"}),(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 relative flex",children:(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 flex animate-ticker-smooth hover:[animation-play-state:paused] active:[animation-play-state:paused] cursor-grab active:cursor-grabbing",children:[...l,...l].map((e,t)=>(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 min-w-[350px] h-fit mx-4 p-4 rounded-xl bg-white dark:bg-black border border-gray-200 dark:border-gray-800 hover:shadow-md transition-all duration-300",children:(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex flex-col h-full",children:[(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex items-start mb-3",children:[(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 mr-3 flex-shrink-0",children:(0,s.jsx)(n.default,{src:e.image,alt:"".concat(e.author," avatar"),width:48,height:48,className:"h-10 w-10 rounded-full object-cover",onError:e=>{e.target.src="/images/default-avatar.png"}})}),(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 flex flex-col flex-grow",children:(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350",children:[(0,s.jsx)("p",{className:"jsx-901edd1a67df5350 font-bold text-black dark:text-white text-[15px] leading-tight",children:e.author}),(0,s.jsxs)("p",{className:"jsx-901edd1a67df5350 text-gray-500 text-[15px] leading-tight",children:["@",e.author.replace(/\s+/g,"").toLowerCase()]})]}),(0,s.jsx)("div",{className:"jsx-901edd1a67df5350",children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"jsx-901edd1a67df5350 h-5 w-5 fill-[#1d9bf0]",children:(0,s.jsx)("g",{className:"jsx-901edd1a67df5350",children:(0,s.jsx)("path",{d:"M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63
11.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z",className:"jsx-901edd1a67df5350"})})})})]})})]}),(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 mb-3",children:(0,s.jsx)("p",{className:"jsx-901edd1a67df5350 text-black dark:text-white text-[15px] leading-normal",children:e.quote})}),(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 text-gray-500 text-sm mb-3",children:["".concat(Math.floor(12*Math.random())+1,":").concat(Math.floor(60*Math.random()).toString().padStart(2,"0")," ").concat(Math.random()>.5?"AM":"PM"," \xb7 ").concat(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][Math.floor(12*Math.random())]," ").concat(Math.floor(28*Math.random())+1,", 2023 \xb7 "),(0,s.jsx)("span",{className:"jsx-901edd1a67df5350 text-[#1d9bf0]",children:"SmartBettor"})]}),(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex justify-between text-gray-500 pt-3 border-t border-gray-100 dark:border-gray-800",children:[(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex items-center group",children:[(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 p-2 rounded-full group-hover:bg-blue-50 dark:group-hover:bg-blue-900/20 group-hover:text-[#1d9bf0] transition-colors",children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"jsx-901edd1a67df5350 h-5 w-5 fill-current",children:(0,s.jsx)("g",{className:"jsx-901edd1a67df5350",children:(0,s.jsx)("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z",className:"jsx-901edd1a67df5350"})})})}),(0,s.jsx)("span",{className:"jsx-901edd1a67df5350 ml-1",children:Math.floor(50*Math.random())})]}),(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex items-center group",children:[(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 p-2 rounded-full group-hover:bg-green-50 dark:group-hover:bg-green-900/20 group-hover:text-green-500 transition-colors",children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"jsx-901edd1a67df5350 h-5 w-5 fill-current",children:(0,s.jsx)("g",{className:"jsx-901edd1a67df5350",children:(0,s.jsx)("path",{d:"M4.5 3.88l4.432 4.14-1.364 1.46L5.5 7.55V16c0 1.1.896 2 2 2H13v2H7.5c-2.209 0-4-1.79-4-4V7.55L1.432 9.48.068 8.02 4.5 3.88zM16.5 6H11V4h5.5c2.209 0 4 1.79 4 4v8.45l2.068-1.93 1.364 1.46-4.432 4.14-4.432-4.14 1.364-1.46 2.068 1.93V8c0-1.1-.896-2-2-2z",className:"jsx-901edd1a67df5350"})})})}),(0,s.jsx)("span",{className:"jsx-901edd1a67df5350 ml-1",children:Math.floor(100*Math.random())})]}),(0,s.jsxs)("div",{className:"jsx-901edd1a67df5350 flex items-center group",children:[(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 p-2 rounded-full group-hover:bg-red-50 dark:group-hover:bg-red-900/20 group-hover:text-red-500 transition-colors",children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"jsx-901edd1a67df5350 h-5 w-5 fill-current",children:(0,s.jsx)("g",{className:"jsx-901edd1a67df5350",children:(0,s.jsx)("path",{d:"M16.697 5.5c-1.222-.06-2.679.51-3.89 2.16l-.805 1.09-.806-1.09C9.984 6.01 8.526 5.44 7.304 5.5c-1.243.07-2.349.78-2.91 1.91-.552 1.12-.633 2.78.479 4.82 1.074 1.97 3.257 4.27 7.129 6.61 3.87-2.34 6.052-4.64 7.126-6.61 1.111-2.04 1.03-3.7.477-4.82-.561-1.13-1.666-1.84-2.908-1.91zm4.187 7.69c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z",className:"jsx-901edd1a67df5350"})})})}),(0,s.jsx)("span",{className:"jsx-901edd1a67df5350 ml-1",children:Math.floor(1e3*Math.random())})]}),(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 flex items-center group",children:(0,s.jsx)("div",{className:"jsx-901edd1a67df5350 p-2 rounded-full group-hover:bg-blue-50 dark:group-hover:bg-blue-900/20 group-hover:text-[#1d9bf0] transition-colors",children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"jsx-901edd1a67df5350 h-5 w-5 fill-current",children:(0,s.jsx)("g",{className:"jsx-901edd1a67df5350",children:(0,s.jsx)("path",{d:"M12 2.59l5.7 5.7-1.41 1.42L13 6.41V16h-2V6.41l-3.3 3.3-1.41-1.42L12 2.59zM21 15l-.02 3.51c0 1.38-1.12 2.49-2.5 2.49H5.5C4.11 21 3 19.88 3 18.5V15h2v3.5c0 .28.22.5.5.5h12.98c.28 0 .5-.22.5-.5L19 15h2z",className:"jsx-901edd1a67df5350"})})})})})]})]})},"".concat(e.author,"-").concat(t)))})}),(0,s.jsx)(i(),{id:"901edd1a67df5350",children:"@-webkit-keyframes ticker-smooth{0%{-webkit-transform:translate3d(0,
10,0);transform:translate3d(0,0,0)}100%{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}}@-moz-keyframes ticker-smooth{0%{-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{-moz-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}}@-o-keyframes ticker-smooth{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}@keyframes ticker-smooth{0%{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{-webkit-transform:translate3d(-50%,0,0);-moz-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}}.animate-ticker-smooth{-webkit-animation:ticker-smooth 120s linear infinite;-moz-animation:ticker-smooth 120s linear infinite;-o-animation:ticker-smooth 120s linear infinite;animation:ticker-smooth 120s linear infinite;will-change:transform;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}.animate-ticker-smooth:hover{-webkit-animation-play-state:paused;-moz-animation-play-state:paused;-o-animation-play-state:paused;animation-play-state:paused}"})]})]})})},74188:function(e,t,a){var s=a(49700),r=a(89266),i=a(90271),n=a(54798),l=a(53316),o=a(60358),d=a(19883);t.Z=()=>{let e=(0,i.useRouter)(),[t,a]=(0,r.useState)(""),[c,m]=(0,r.useState)(!1),[h,x]=(0,r.useState)(""),[u,b]=(0,r.useState)(!1),[f,p]=(0,r.useState)(null),[g,j]=(0,r.useState)(!1);(0,r.useEffect)(()=>{v()},[]);let v=async()=>{try{let e=await fetch("https://api.smartbettor.ai/api/discovery/get_top_bets?sportsbooks=draftkings,fanduel,betmgm,pinnacle,bovada,caesars&numberOfBets=1&sport_league_display=NBA");if(!e.ok)throw Error("Failed to fetch top bet");let t=await e.json(),a=JSON.parse(t.data).map(e=>({...e,game:(0,l.Yp)(e.away_team,e.sport_league_display)+" @ "+(0,l.Yp)(e.home_team,e.sport_league_display),sportLeague:e.sportLeague,sport_league_display:e.sportLeague,market_display:e.market,market_key:e.market_key,percentPositiveEV:e.smart_score,outcome_point:e.outcome_point,outcome_name:e.outcome_name,outcome_description:e.outcome_description,deepLinks:"",deepLinksOther:"",overall_score:e.numerical_score||0}));a.forEach(e=>{e.isLive=(0,l.mb)(new Date(e.commence_time+"Z"))}),a=a.sort((e,t)=>t.overall_score-e.overall_score),p(a[0])}catch(e){console.error("Error fetching top bet:",e),p({homeTeam:"Lakers",awayTeam:"Warriors",league:"NBA",market:"Moneyline",odds:-110,pick:"Lakers"})}},w=async e=>{m(!0),x("");try{let e=await fetch("/api/post-intercom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,custom_attributes:{newsletter_signup:!0,send_emails:!0}})}),a=await e.json();if(console.log("intercomData",a),!e.ok)throw Error(a.message||"Intercom submission failed");(0,l.kO)(window.location.href,"top_bet_unlock","desktop",t),await v(),b(!0)}catch(e){console.error("Form submission error:",e),e.message.includes("already been used")?x("This email has already been registered."):(console.log(e),x("Something went wrong. Please try again later."))}finally{m(!1)}};return(0,s.jsx)("section",{className:"relative sm:py-12 px-12 rounded-lg overflow-hidden w-full sm:w-2/5 sm:pr-40",children:(0,s.jsx)("div",{className:"relative rounded-lg overflow-hidden bg-gradient-to-br from-[#001510] via-[#012619] to-[#001510] border border-gray-700",children:(0,s.jsx)("div",{className:"px-4 py-5 ",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center mb-2",children:[(0,s.jsx)("svg",{className:"w-5 h-5 text-systemGreen mr-1",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})}),(0,s.jsx)("h3",{className:"text-lg font-bold text-white",children:"Today's Top Bet"})]}),(0,s.jsx)("div",{className:"mb-3",children:(0,s.jsxs)("p",{className:"text-sm text-gray-300",children:[(0,s.jsx)("span",{className:"text-systemGreen font-medium",children:"Great Bet"})," ","⢠Premium Selection"]})}),g||u?u&&f?(0,s.jsxs)("div",{className:" rounded p-3 mb-3 w-full flex flex-col items-center justify-center cursor-pointer",onClick:()=>e.push("/discovery/game/".concat(f.game_id)),children:[(0,s.jsx)(o.Z,{isLoading:!1,item:{...f,score:(0,d.z)(f.overall_score)},index:0,onClick:()=>e.push("/discovery/game/".concat(f.bet_id))},"row-".concat(f.bet_id)),(0,s.jsx)("p",{className:"text-xs text-systemGreen mt-2",children:(0,s.jsx)("a",{href:"/discovery/game/".concat(f.game_id),className:"underline hover:no-underline",children:"View full analysis â"})})]}):(0,s.jsxs)("form",{onSubmit:w,className:"space-y-2",children:[(0,s.jsxs)("div",{className:"bg-black/30 rounded p-3 mb-3",children:[(0,s.jsx)("p",{className:"text-white text-sm mb-2",children:"Enter your email to unlock today's top bet:"}),(0,s.jsx)("input",{type:"email",id:"email",name:"email",value:t,onChange:e=>a(e.target.value),required:!0,className:"block w-full pl-3 pr-3 py-2 text-sm border border-gray-700 rounded-lg bg-black/20 text-white placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-systemGreen focus:border-transparent",placeholder:"Your email address"})]}),(0,s.jsx)(n.Z,{onClick:w,redirect:!1,children:c?"Unlocking...":"Show Me The Pick"}),h&&(0,s.jsx)("p",{className:"text-red-500 text-xs mt-1",children:h})]}):(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:" rounded p-3 mb-3",children:[(0,s.jsx)("p",{className:"text-gray-300 text-sm mb-1",children:"Unlock the top bet for today"}),(0,s.jsx)("p",{className:"text-white font-bold text-sm",children:"High-value bet with favorable odds"})]}),(0,s.jsx)(n.Z,{onClick:()=>{j(!0)},redirect:!1,children:"Unlock Free Pick"})]})]})})})})}},56409:function(e,t,a){a.d(t,{x:function(){return r}});var s=a(49700);a(89266);let r=()=>(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"relative flex flex-col items-center mr-1 h-full justify-between",children:[(0,s.jsx)("div",{className:"h-full flex flex-row items-center",children:(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-red-600 animate-[pulse_2.5s_ease-in-out_infinite]"})}),(0,s.jsx)("div",{className:"flex flex-row items-end",children:(0,s.jsx)("p",{className:"text-[10px] text-red-600 truncate",children:"LIVE"})})]})})},63662:function(e,t,a){a.d(t,{Z:function(){return u}});var s=a(49700),r=a(53316),i=a(34451),n=a(66935),l=a(18568),o=a(14786),d=a(77338),c=a(90271),m=a(89266),h=a(39726),x=a(58104);function u(e){let{desktopTitle:t,mobileTitle:a,showPageInfoIcon:u,pageInfoContent:b,onSearch:f,onRefresh:p,from:g,showOnboardingTooltip:j,handleOnboardingTooltip:v,showSearch:w=!0,searchPlaceholder:y="Search games..."}=e,{user:k,isLoading:N}=(0,x.aF)(),[q,_]=(0,m.useState)(!1),[T,S]=(0,m.useState)(!1),Z=(0,c.usePathname)(),[M,C]=(0,m.useState)(!1);(0,c.useRouter)();let[E,z]=(0,m.useState)(!1),[L,B]=(0,m.useState)(""),I=(0,m.useRef)(null),[P,A]=(0,m.useState)("desktop");(0,m.useEffect)(()=>{A(window.innerWidth<768?"mobile":"desktop")},[]);let G=e=>{(0,r.kO)(e,"page-url-clicked",P,(null==k?void 0:k.email)||null),window.open(e,"_blank"),S(!1)},[O,D]=(0,m.useState)(!1),R=()=>{b.videoTutorial||b.guide||b.call?((0,r.kO)(b.videoTutorial,"page-info-icon-clicked",P,(null==k?void 0:k.email)||null),S(!0)):((0,r.kO)("performance","page-info-icon-clicked",P,(null==k?void 0:k.email)||null),window.location.href="https://www.smartbettor.ai/performance?from=register")},V=()=>"standalone"in window.navigator&&window.navigator.standalone;(0,m.useEffect)(()=>{let e=localStorage.getItem("homeScreenPromptLastInteractionSB");if((()=>
1{if(!e)return!0;let t=new Date(e);return(new Date().getTime()-t.getTime())/36e5>=24})()&&!V()){let e=setTimeout(()=>{_(!0)},3e3);return()=>clearTimeout(e)}},[]);let W=()=>"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent);return(0,m.useEffect)(()=>{E&&I.current&&I.current.focus()},[E]),(0,s.jsxs)("header",{"data-testid":"new-header",className:"p-4 sm:p-6 text-white md:bg-none bg-gradient-to-b from-[#006747] to-[#00a86b]",children:[q&&W()&&"home"!==g&&"bonus"!==g&&(0,s.jsx)("div",{className:"fixed top-4 left-4 right-4 z-50 text-white p-4 rounded-lg shadow-lg bg-black",children:(0,s.jsxs)("div",{className:"flex justify-between items-start",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-lg mb-1",children:["Get the full app experience! Install Smartbettor on your home screen for instant access and smoother navigation."," ",(0,s.jsx)("span",{className:"text-blue-300 cursor-pointer",onClick:()=>D(!O),children:"Tap to see how."})]}),O&&W()&&(0,s.jsxs)("div",{className:"bg-black/40 p-4 rounded-lg mt-2",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold mb-3",children:"How to Add to Home Screen"}),(0,s.jsxs)("ol",{className:"space-y-2",children:[(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["1. Tap the share"," ",(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"inline",children:[(0,s.jsx)("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}),(0,s.jsx)("polyline",{points:"16 6 12 2 8 6"}),(0,s.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"15"})]})," ","icon at the bottom of the screen."," "]})}),(0,s.jsx)("li",{children:"2. Scroll down and tap Add to Home Screen."})]})]})]}),(0,s.jsx)("button",{onClick:()=>{_(!1),localStorage.setItem("homeScreenPromptLastInteractionSB",new Date().toISOString())},className:"text-gray-300 hover:text-white p-1",children:(0,s.jsx)(l.Z,{className:"w-6 h-6 text-white"})})]})}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("h1",{"data-testid":"new-header-desktop-title",className:"font-semibold text-3xl text-primary",children:(0,s.jsxs)("div",{className:"relative w-min mr-8",children:[(0,s.jsx)("span",{className:"hidden md:block text-nowrap pl-3 tutorial-target",children:"/bet-engine"!==Z&&t}),(0,s.jsxs)("div",{className:"flex items-center gap-1 text-base font-normal",children:[(0,s.jsx)(h.Z,{currentPathname:Z}),(0,s.jsx)("span",{className:"md:hidden text-xl text-nowrap tutorial-target",children:a}),"my-bets"!==g&&"bet-engine"!==g&&"bonus"!==g&&(0,s.jsx)("button",{"data-testid":"new-header-page-info-button",type:"button",className:(0,n.Z)("md:hidden",!u&&"hidden"),onClick:R,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#e8eaed",children:(0,s.jsx)("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})})})]})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-4 mr-12 md:mr-0",children:[p&&"performance"!==g&&"parlay-builder"!==g&&"bet-engine"!==g&&"game-details"!==g&&"home"!==g&&"bonus"!==g&&(0,s.jsx)("button",{onClick:p,className:"p-2 hover:bg-[#283c36] hover:bg-opacity-20 rounded-md","aria-label":"Refresh data",children:(0,s.jsx)(o.Z,{className:"w-6 h-6 text-white"})}),w&&(0,s.jsxs)("div",{className:"relative flex items-center ".concat(E?"w-40":"w-8"," transition-all duration-200 mr-4"),children:[E&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{ref:I,type:"text",className:"w-full pl-8 pr-8 py-1 text-sm bg-[#283c36] bg-opacity-20 rounded-md text-[#f6f6f6] placeholder-[#f6f6f6] placeholder-opacity-50 focus:outline-none focus:ring-1 focus:ring-[#d1d5db] focus:ring-opacity-50",placeholder:y,value:L,onChange:e=>{let t=e.target.value;B(t),null==f||f(t)},onBlur:()=>{L||z(!1)}}),L&&(0,s.jsx)("button",{onClick:()=>{var e;B(""),null==f||f(""),null===(e=I.current)||void 0===e||e.focus()},className:"absolute right-2 p-2 hover:bg-[#283c36] hover:bg-opacity-20 rounded-md",children:(0,s.jsx)(l.Z,{className:"w-3 h-3 text-[#f6f6f6] opacity-50"})})]}),"performance"!==g&&"parlay-builder"!==g&&"bet-engine"!==g&&"game-details"!==g&&"home"!==g&&"account"!==g&&"my-bets"!==g&&"bonus"!==g&&(0,s.jsx)("button",{onClick:()=>{z(!E),E||(B(""),null==f||f(""))},className:"".concat(E?"absolute":""," p-2 hover:bg-[#283c36] hover:bg-opacity-20 rounded-md"),children:(0,s.jsx)(d.Z,{className:"w-6 h-6 text-white"})})]}),"my-bets"!==g&&"bet-engine"!==g&&"bonus"!==g&&(0,s.jsx)("button",{"data-testid":"new-header-page-info-button",type:"button",className:(0,n.Z)("hidden md:block md:mr-5",!u&&"hidden"),onClick:R,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#e8eaed",children:(0,s.jsx)("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q
1-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})})})]})]}),(0,s.jsx)(i.Vq,{open:T,onClose:()=>S(!1),className:"relative z-50",children:(0,s.jsx)("div",{className:"fixed inset-0 flex w-screen items-center justify-center",children:(0,s.jsxs)(i.EM,{className:"relative w-full h-full md:w-[500px] md:h-[400px] bg-black rounded-md ring ring-systemGreen ring-offset-4 ring-offset-[#0d1215] flex flex-col items-center justify-center p-8",children:[(0,s.jsx)("h2",{className:"text-white text-3xl font-bold mb-12 pt-8",children:"Get Started"}),(0,s.jsxs)("div",{className:"flex flex-col w-full space-y-4",children:[b.videoTutorial&&(0,s.jsxs)("button",{className:"w-full py-3 px-4 font-bold rounded-md bg-systemGreen text-black hover:bg-systemGreenHover transition-colors flex items-center justify-center gap-2",onClick:()=>G(b.videoTutorial),children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"black",children:(0,s.jsx)("path",{d:"m380-300 280-180-280-180v360ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),"Video Tutorial"]}),(0,s.jsxs)("button",{className:"w-full py-3 px-4 font-bold rounded-md border bg-systemGreen text-black hover:bg-systemGreenHover hover:text-black transition-colors flex items-center justify-center gap-2",onClick:()=>G(b.guide),children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"black",children:(0,s.jsx)("path",{d:"M560-564v-68q33-14 67.5-21t72.5-7q26 0 51 4t49 10v64q-24-9-48.5-13.5T700-600q-38 0-73 9.5T560-564Zm0 220v-68q33-14 67.5-21t72.5-7q26 0 51 4t49 10v64q-24-9-48.5-13.5T700-380q-38 0-73 9t-67 27Zm0-110v-68q33-14 67.5-21t72.5-7q26 0 51 4t49 10v64q-24-9-48.5-13.5T700-490q-38 0-73 9.5T560-454ZM260-320q47 0 91.5 10.5T440-278v-394q-41-24-87-36t-93-12q-36 0-71.5 7T120-692v396q35-12 69.5-18t70.5-6Zm260 42q44-21 88.5-31.5T700-320q36 0 70.5 6t69.5 18v-396q-33-14-68.5-21t-71.5-7q-47 0-93 12t-87 36v394Zm-40 118q-48-38-104-59t-116-21q-42 0-82.5 11T100-198q-21 11-40.5-1T40-234v-482q0-11 5.5-21T62-752q46-24 96-36t102-12q58 0 113.5 15T480-740q51-30 106.5-45T700-800q52 0 102 12t96 36q11 5 16.5 15t5.5 21v482q0 23-19.5 35t-40.5 1q-37-20-77.5-31T700-240q-60 0-116 21t-104 59ZM280-494Z"})}),"Step-by-Step Guide"]}),j&&"game-details"!==g&&(0,s.jsxs)("button",{className:"w-full py-3 px-4 font-bold rounded-md border bg-systemGreen text-black hover:bg-systemGreenHover hover:text-black transition-colors flex items-center justify-center gap-2",onClick:()=>{null==v||v(),S(!1)},children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"black",children:(0,s.jsx)("path",{d:"M260-840q-45 0-72.5 50T160-680q0 63 17.5 111.5T210-496l110-22q13-32 26.5-73t13.5-89q0-60-27.5-110T260-840Zm55 520q19 0 32-14t13-39q0-17-8-35t-16-32l-96 20q0 40 17.5 70t57.5 30Zm385-320q-45 0-72.5 50T600-480q0 48 13.5 88.5T640-318l110 22q15-24 32.5-72T800-480q0-60-27.5-110T700-640Zm-55 520q40 0 57.5-30t17.5-70l-96-20q-8 14-16 32t-8 35q0 20 12.5 36.5T645-120ZM315-240q-77 0-117-57t-38-128l-18-27q-11-17-36.5-77T80-680q0-103 51-171.5T260-920q85 0 132.5 75.5T440-680q0 58-16 107t-28 79l8 13q8 14 22 44.5t14 63.5q0 57-35.5 95T315-240ZM645-40q-54 0-89.5-38T520-173q0-33 14-63.5t22-44.5l8-13q-12-30-28-79t-16-107q0-89 47.5-164.5T700-720q78 0 129 68.5T880-480q0 91-25.5 150.5T818-253l-18 28q1 71-38.5 128T645-40Z"})}),"Product Walkthrough"]}),(0,s.jsxs)("button",{className:"w-full py-3 px-4 font-bold rounded-md border border-white text-white hover:bg-white hover:text-black transition-colors flex items-center justify-center gap-2",onClick:()=>G(b.call),children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",className:"fill-current",children:(0,s.jsx)("path",{d:"M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12ZM241-600l66-66-17-94h-89q5 41 14 81t26 79Zm358 358q39 17 79.5 27t81.5 13v-88l-94-19-67 67ZM241-600Zm358 358Z"})}),"Schedule Coaching Call"]})]}),(0,s.jsx)("button",{type:"button",className:"absolute top-0 right-0 mr-2 mt-2",onClick:()=>S(!1),children:(0,s.jsx)(l.Z,{className:"w-6 h-6 stroke-2 text-white"})})]})})})]})}},19883:function(e,t,a){a.d(t,{Y:function(){return u},z:function(){return b}});var s=a(49700),r=a(83957),i=a.n(r),n=a(89266),l=a(53316),o=a(90271),d=a(95901),c=a(82950),m=a(13927),h=a(56409),x=a(58104);let u=e=>{var t,a;let{setSelectedItem:r,displayData:u,bettingData:b,userEmail:f,loading:p=!0,isLoggedIn:g=!0,hasPaidAccess:j=!1,sectionIndex:v=0}=e,{user:w}
1=(0,x.aF)(),[y,k]=(0,n.useState)([]),[N,q]=(0,n.useState)(p),[_,T]=(0,n.useState)(50);(0,o.useRouter)(),(0,n.useEffect)(()=>{let e=async()=>{if(b&&b.length>0){let e=b.map(e=>({...e,game:(0,l.Yp)(e.away_team,e.sport_league_display)+" @ "+(0,l.Yp)(e.home_team,e.sport_league_display),sportLeague:e.sportLeague,sport_league_display:e.sportLeague,market_display:e.market,market_key:e.market_key,percentPositiveEV:e.smart_score,outcome_point:e.outcome_point,outcome_name:e.outcome_name,outcome_description:e.outcome_description,deepLinks:" "!==e.deepLinks?(0,l.qw)(e.deepLinks):"",deepLinksOther:" "!==e.deepLinksOther?(0,l.qw)(e.deepLinksOther):"",overall_score:e.numerical_score||0}));e.forEach(e=>{e.isLive=(0,l.mb)(new Date(e.commence_time+"Z"))}),k(e=e.sort((e,t)=>t.overall_score-e.overall_score)),q(!1)}else q(!1)};N||e()},[b]);let S=async e=>{try{let t=await fetch("https://api.smartbettor.ai/api/discovery/for_you_page_engagement",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sectionId:u.id,userEmail:w?w.sub:"google-oauth2|102014675834035881051",action:"expand",betId:e.bet_id?e.bet_id:""})});if(!t.ok)throw Error("API request failed");await t.json()}catch(e){console.error("Error:",e)}r(e)},Z=async e=>{try{let t=await fetch("https://api.smartbettor.ai/api/discovery/for_you_page_engagement",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sectionId:u.id,userEmail:w?w.sub:"google-oauth2|102014675834035881051",action:"forward"===e?"scroll_f":"scroll_b"})});if(!t.ok)throw Error("API request failed");await t.json()}catch(e){console.error("Error:",e)}};if(N)return(0,s.jsxs)("div",{className:"jsx-c2d28571a17e6a60 flex flex-col text-white sm:px-20 border-b custom-scrollbar border-[#00f2b5]/10",children:[(0,s.jsx)(i(),{id:"c2d28571a17e6a60",children:".custom-scrollbar.jsx-c2d28571a17e6a60{-ms-overflow-style:none;scrollbar-width:none;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.custom-scrollbar.jsx-c2d28571a17e6a60::-webkit-scrollbar,.custom-scrollbar.jsx-c2d28571a17e6a60::-webkit-scrollbar-thumb,.custom-scrollbar.jsx-c2d28571a17e6a60::-webkit-scrollbar-track,.custom-scrollbar.jsx-c2d28571a17e6a60::-webkit-scrollbar-track-piece,.custom-scrollbar.jsx-c2d28571a17e6a60::-webkit-scrollbar-corner,.custom-scrollbar.jsx-c2d28571a17e6a60::-webkit-scrollbar-button{width:0!important;height:0!important;background:transparent!important;display:none!important;opacity:0!important}"}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 flex items-center justify-between p-4",children:(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 w-[50%] h-6 rounded-lg bg-white/10 animate-[pulse_2.5s_ease-in-out_infinite]"})}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 flex flex-row overflow-x-auto snap-x snap-mandatory scrollbar-hide custom-scrollbar pb-2 gap-4",children:[void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 py-1",children:(0,s.jsxs)(c.Zb,{className:"w-full flex flex-row bg-black/20 border-gray-700/20 rounded-xl shadow-sm backdrop-blur-sm",children:[(0,s.jsxs)(c.aY,{className:"p-3 pr-0 w-full",children:[(0,s.jsxs)("div",{className:"jsx-c2d28571a17e6a60 flex items-center gap-2 mb-1",children:[(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 w-6 h-6 rounded-full bg-gradient-to-r from-gray-700/50 to-gray-600/50 animate-[pulse_2.5s_ease-in-out_infinite]"}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 flex-1 min-w-0",children:(0,s.jsxs)("div",{className:"jsx-c2d28571a17e6a60 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"jsx-c2d28571a17e6a60 max-w-[60%] space-y-2",children:[(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 h-3 w-16 bg-gradient-to-r from-gray-700/50 to-gray-600/50 rounded animate-[pulse_2.5s_ease-in-out_infinite]"}),(0,s.jsxs)("div",{className:"jsx-c2d28571a17e6a60 flex items-center gap-1",children:[(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 h-2.5 w-12 bg-gradient-to-r from-gray-700/50 to-gray-600/50 rounded animate-[pulse_2.5s_ease-in-out_infinite]"}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 h-2.5 w-2 bg-gradient-to-r from-gray-700/50 to-gray-600/50 rounded animate-[pulse_2.5s_ease-in-out_infinite]"}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 h-2.5 w-4 bg-gradient-to-r from-gray-700/50 to-gray-600/50 rounded animate-[pulse_2.5s_ease-in-out_infinite]"})]})]}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 h-4 w-10 bg-gradient-to-r from-gray-700/50 to-gray-600/50 rounded animate-[pulse_2.5s_ease-in-out_infinite]"})]})})]}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 h-2 w-full bg-gradient-to-r from-gray-700/50 to-gray-600/50 rounded animate-[pulse_2.5s_ease-in-out_infinite] mt-2"})]}),(0,s.jsx)("div",{className:"jsx-c2d28571a17e6a60 flex flex-col justify-center",children:(0,s.jsx)(m.Z,{className:"w-4 h-4 m-1 text-gray-600/50"})})]})}))})]});let M=(0,n.useRef)(null);return((0,n.useEffect)(()=>{setTimeout(()=>{let e;let t=M.current||document.querySelector(".snap-x.snap-mandatory");if(!t)return;let a=null,s=!1,r=!1,i=()=>{s||(s=!0,a=t.scrollLeft,r=!1),clearTimeout(e),e=setTimeout(()=>{let e=t.scrollLeft;null===a||a===e||r||(e>a?Z("forward"):Z("backward"),r=!0),a=null,s=!1},150)};return t.addEventListener("scroll",i),()=>{null==t||t.removeEventListener("scroll",i),clearTimeout(e)}},500)},[]),N||0!==y.length)?(0,s.jsxs)("div",{className:"jsx-5bd954b28d62b87b flex flex-col text-white sm:px-20 overflow-x-auto",children:[(0,s.jsx)(i(),{id:"5bd954b28d62b87b",children:".custom-scrollbar.
1jsx-5bd954b28d62b87b{-ms-overflow-style:none;scrollbar-width:none;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.custom-scrollbar.jsx-5bd954b28d62b87b::-webkit-scrollbar,.custom-scrollbar.jsx-5bd954b28d62b87b::-webkit-scrollbar-thumb,.custom-scrollbar.jsx-5bd954b28d62b87b::-webkit-scrollbar-track,.custom-scrollbar.jsx-5bd954b28d62b87b::-webkit-scrollbar-track-piece,.custom-scrollbar.jsx-5bd954b28d62b87b::-webkit-scrollbar-corner,.custom-scrollbar.jsx-5bd954b28d62b87b::-webkit-scrollbar-button{width:0!important;height:0!important;background:transparent!important;display:none!important;opacity:0!important}"}),(0,s.jsx)("div",{className:"jsx-5bd954b28d62b87b flex items-center justify-between p-4",children:(0,s.jsxs)("h1",{className:"jsx-5bd954b28d62b87b text-lg font-bold text-white",children:["sport_league_display"==u.variable_of_interest?"Recommended ":"",(null===(t=u.value)||void 0===t?void 0:t.charAt(0).toUpperCase())+(null===(a=u.value)||void 0===a?void 0:a.slice(1))," ","team_name"==u.variable_of_interest?"Game":""," ","sport_league_display"==u.variable_of_interest?" Bets":""]})}),(0,s.jsxs)("div",{className:"jsx-5bd954b28d62b87b relative w-full overflow-hidden px-2 border-b border-[#00f2b5]/10",children:[(0,s.jsx)("div",{ref:M,className:"jsx-5bd954b28d62b87b flex overflow-x-auto snap-x snap-mandatory scrollbar-hide custom-scrollbar pb-2",children:y.map((e,t)=>(0,s.jsx)("div",{className:"jsx-5bd954b28d62b87b relative",children:j||!j&&0===v&&0===t?(0,s.jsxs)("button",{onClick:t=>{t.stopPropagation(),r(e)},className:"jsx-5bd954b28d62b87b cursor-pointer",children:[(0,l.mb)(new Date(e.commence_time+"Z"))?(0,s.jsx)("div",{className:"jsx-5bd954b28d62b87b absolute top-3 left-5 z-[40]",children:(0,s.jsx)(h.x,{})}):null,(0,s.jsx)(d.Z,{item:e,isExpanded:()=>!1,index:0,toggleExpand:()=>S(e),style:{},selectedDevigMethodFilter:"",onClose:()=>{console.log("onClose called")},sectionId:u.id,userEmail:f},"row-".concat(e.bet_id))]}):(0,s.jsx)("div",{className:"jsx-5bd954b28d62b87b w-72 min-w-[18rem] p-4 m-1 bg-gradient-to-r from-[#042513] to-[#00130A] rounded-lg shadow-md border border-[#00f2b5]/20 flex flex-col justify-center snap-start",children:(0,s.jsxs)("p",{className:"jsx-5bd954b28d62b87b text-center text-white/80 font-medium mb-2",children:["Please"," ",g?(0,s.jsxs)("a",{href:"https://smartbettor.ai/pricing-page",className:"jsx-5bd954b28d62b87b underline",children:["upgrade your subscription"," "]}):(0,s.jsxs)("a",{href:"/api/auth/login?returnTo=".concat(encodeURIComponent("/discovery")),className:"jsx-5bd954b28d62b87b underline",children:["login or subscribe"," "]}),"to view this bet"]})})},e.bet_id||t))}),(0,s.jsx)("div",{className:"jsx-5bd954b28d62b87b absolute top-1/2 -translate-y-1/2 left-0 bg-gradient-to-r from-[#00130A]/90 to-transparent w-6 h-full pointer-events-none"}),(0,s.jsx)("div",{className:"jsx-5bd954b28d62b87b absolute top-1/2 -translate-y-1/2 right-0 bg-gradient-to-l from-[#00130A]/90 to-transparent w-6 h-full pointer-events-none"})]})]}):null};function b(e){return e>=.1?"Great Bet":e>=.05?"Good Bet":e>=0?"Fair Bet":"Bad Bet"}},69882:function(e,t,a){a.d(t,{Z:function(){return y}});var s=a(49700),r=a(18066),i=a(24145),n=a(63662),l=a(89266),o=a(67315),d=a.n(o),c=a(50649),m=a(20964),h=a(21946),x=a(27592),u=a(41347),b=a(99727),f=a(73388),p=a(90271),g=a(58104),j=a(53316),v=a(74188),w=()=>{let[e,t]=(0,l.useState)(!1),[a,r]=(0,l.useState)(""),[i,n]=(0,l.useState)(!1),[o,d]=(0,l.useState)(""),[c,m]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(!(0,j.fq)("has-seen-email-popup-sb")){let e=setTimeout(()=>{t(!0),(0,j.VY)("has-seen-email-popup-sb","true",90)},5e3);return()=>clearTimeout(e)}},[]);let h=async e=>{e.preventDefault(),n(!0),d(""),m(!1);try{let e=await fetch("/api/post-intercom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a,custom_attributes:{newsletter_signup:!0,send_emails:!0}})}),s=await e.json();if(!e.ok)throw Error(s.message||"Intercom submission failed");console.log(s),(0,j.kO)(window.location.href,"daily_bet_email_signup_popover","desktop",a),m(!0),r(""),setTimeout(()=>{t(!1)},3e3)}catch(e){console.error("Form submission error:",e),e.message.includes("already been used")?d("This email has already been registered."):e.message.includes("A contact matching those details already exists")||e.message.includes("already exists")?d("This email has already been registered."):(console.log(e),d("Something went wrong. Please try again later."))}finally{n(!1)}};return e?(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",children:(0,s.jsxs)("div",{className:"relative bg-[#011E16] rounded-2xl p-8 max-w-md w-full mx-4 border border-gray-700/30 shadow-2xl",children:[(0,s.jsx)("button",{onClick:()=>{t(!1),(0,j.VY)("has-seen-email-popup-sb","true",90)},className:"absolute top-4 right-4 text-gray-400 hover:text-white transition-colors",children:(0,s.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,s.jsx)("div",{className:"flex justify-center mb-6",children:(0,s.jsx)("div",{className:"bg-[#21ce99] rounded-full p-4",children:(0,s.jsx)("svg",{className:"w-8 h-8 text-black",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})})})}),(0,s.jsx)("h2",{className:"text-2xl font-bold text-white text-center mb-4",children:"Get the Best Bets Daily"}),(0,s.jsx)("p",{className:"text-gray-300 text-center mb-6",children:"Join our community for winning picks, expert analysis, and betting strategies delivered to your inbox, completely free."}),(0,s.jsxs)("form",{onSubmit:h,className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"popover-email",className:"block text-sm font-medium text-white mb-2",children:"Email *"}),(0,s.jsx)("input",{type:"email",id:"popover-email",value:a,onChange:e=>r(e.target.value),required:!0,placeholder:"@ Enter your email",className:"w-full px-4 py-3 bg-black/20 border border-gray-600 rounded-lg text-white placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-[#21ce99] focus:border-transparent"})]}),(0,s.jsx)("button",{type:"submit",disabled:i,className:"w-full bg-[#21ce99] text-black font-bold py-3 px-6 rounded-lg hover:bg-[#1bb88a] transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:i?"Sending...":"Send Me Free Bets"})]}),o&&(0,s.jsx)("p",{className:"text-red-400 text-sm text-center mt-2",children:o}),c&&(0,s.jsx)("p",{className:"text-[#21ce99] text-sm text-center mt-2",children:"Thanks! Check your email for free bets."})]})}):null},y=()=>{let{user:e,isLoading:t}=(0,g.aF)();(0,p.useRouter)();let[a,o]=(0,l.useState)("");(0,l.useEffect)(()=>{t||((0,j.Z0)("/",(null==e?void 0:e.email)||null),(0,j.Z0)("/ab-test/navbar",(null==e?void 0:e.email)||null))},[e,t]);let[y,k]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{(0,j.fq)("has-seen-email-popup-sb")||k(!0)},[]),(0,l.useEffect)(()=>{let e=document.getElementById("parallax-scene");if(e){let t=new(d())(e);return()=>{t.destroy()}}},[]),(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("referral");t&&o(t);let a=e.get("sideNav");if(t||a){let e=document.querySelectorAll('a[href*="#pricing"]');
1return e.forEach(e=>{let s=e.getAttribute("href")||"";t&&(s=s.includes("?")?"".concat(s,"&referral=").concat(t):"".concat(s,"?referral=").concat(t)),a&&(s=s.includes("?")?"".concat(s,"&sideNav=False"):"".concat(s,"?sideNav=False")),e.setAttribute("href",s),e.addEventListener("click",e=>{e.preventDefault();let t=document.querySelector("#pricing");t&&t.scrollIntoView({behavior:"smooth"}),window.history.pushState({},"",s)})}),()=>{e.forEach(e=>{e.setAttribute("href","/#pricing"),e.removeEventListener("click",()=>{})})}}},[]),(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search);e.toString()&&document.querySelectorAll('a[href*="/checkout"], a[href*="checkout_redirect"]').forEach(t=>{let a=t.getAttribute("href"),s=(null==a?void 0:a.includes("?"))?"".concat(a).concat(encodeURIComponent("&")).concat(encodeURIComponent(e.toString())):"".concat(a).concat(encodeURIComponent("?")).concat(encodeURIComponent(e.toString()));t.setAttribute("href",s)})},[]),(0,s.jsxs)("div",{className:"min-h-screen opacity-100 overflow-x-hidden relative",style:{background:"\n radial-gradient(1000px circle at 5% 10%, rgba(0, 255, 180, 0.15) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(800px circle at 95% 15%, rgba(0, 230, 170, 0.12) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(600px circle at 50% 5%, rgba(0, 245, 175, 0.14) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(400px circle at 20% 2%, rgba(0, 255, 190, 0.15) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(500px circle at 80% 8%, rgba(0, 250, 185, 0.13) 0%, rgba(0, 21, 16, 0) 100%),\n \n radial-gradient(1200px circle at 15% 90%, rgba(0, 240, 175, 0.14) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(900px circle at 85% 95%, rgba(0, 220, 160, 0.13) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(700px circle at 50% 98%, rgba(0, 235, 165, 0.15) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(500px circle at 25% 92%, rgba(0, 255, 180, 0.12) 0%, rgba(0, 21, 16, 0) 100%),\n radial-gradient(400px circle at 75% 88%, rgba(0, 245, 170, 0.13) 0%, rgba(0, 21, 16, 0) 100%),\n \n radial-gradient(circle at 50% 50%, rgb(0, 28, 22) 0%, rgb(0, 12, 10) 100%)\n ",backgroundColor:"#001510"},children:[(0,s.jsxs)(i.ql,{children:[(0,s.jsx)("title",{children:"SmartBettor"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",href:"/images/favicon.png"}),(0,s.jsx)("meta",{name:"theme-color",content:"#041a13"}),(0,s.jsx)("script",{async:!0,src:"https://assets.endorsely.com/endorsely.js","data-endorsely":"a7ee32de-a5ee-4221-94d5-65eeeb71769d"})]}),(0,s.jsx)("div",{className:"hidden md:block w-[80%] mx-auto z-50 bg-[#0a1f18]/80 backdrop-blur-md border-b border-[#1a3a30]",children:(0,s.jsxs)("div",{className:"py-4 flex justify-between items-center",children:[(0,s.jsx)("a",{href:"/",children:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("img",{src:"/images/sidebar_logo.png",alt:"SmartBettor Logo",className:"h-8 md:h-10 lg:h-12"})})}),(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)("a",{className:"px-4 py-2 rounded-full bg-[#00ff9d] text-white/80 text-md font-semibold hover:bg-[#00e589] transition-all duration-300",href:"/api/auth/login?returnTo=discovery",children:"Log in"}),(0,s.jsx)("a",{href:"/pricing-page".concat(a?"?referral=".concat(a):""),className:" inline-flex items-center px-6 py-3 text-lg font-medium text-white rounded-xl bg-emerald-950 border border-emerald-700 ",children:"Try for Free"})]})]})}),(0,s.jsx)("div",{className:"rounded-t-lg md:hidden",style:{backgroundImage:"url('/images/Gradient4Asset.png')",backgroundSize:"cover",width:"100%"},children:(0,s.jsx)(n.Z,{desktopTitle:"SmartBettor",mobileTitle:"SmartBettor",showPageInfoIcon:!1,pageInfoContent:{videoTutorial:"",guide:"",call:""},showOnboardingTooltip:!1,from:"home"})}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center items-center sm:justify-start w-[80%] mx-auto justify-between",children:[(0,s.jsx)(x.Z,{}),(0,s.jsx)(v.Z,{})]}),(0,s.jsxs)("div",{className:"relative overflow-hidden",style:{height:"600px"},children:[(0,s.jsx)("div",{className:"gradient_hide absolute md:hidden bottom-0 left-[5%] md:left-[20%] w-[90%] md:w-[80%] h-16 bg-gradient-to-t from-[rgb(16,42,32)] to-transparent z-[1990]"}),(0,s.jsx)("div",{className:"gradient_hide hidden md:block absolute bottom-0 left-[10%] w-[90%] md:w-[80%] h-16 bg-gradient-to-t from-[rgb(16,42,32)] to-transparent z-[1990]"}),(0,s.jsx)("div",{className:"absolute top-0 left-0 w-full",children:(0,s.jsx)(c.Z,{})})]}),(0,s.jsx)(h.Z,{}),(0,s.jsx)(u.Z,{}),(0,s.jsx)(m.Z,{}),(0,s.jsx)(r.Z,{}),(0,s.jsx)(b.Z,{}),(0,s.jsx)(f.Z,{}),y&&(0,s.jsx)(w,{})]})}},17152:function(e,t,a){a.d(t,{bU:function(){return k},fC:function(){return y}});var s=a(89266),r=a(50418),i=a(8031),n=a(49196),l=a(26726),o=a(76937),d=a(33647),c=a(85277),m=a(49700),h="Switch",[x,u]=(0,n.b)(h),[b,f]=x(h),p=s.forwardRef((e,t)=>
1{let{__scopeSwitch:a,name:n,checked:o,defaultChecked:d,required:h,disabled:x,value:u="on",onCheckedChange:f,form:p,...g}=e,[j,y]=s.useState(null),k=(0,i.e)(t,e=>y(e)),N=s.useRef(!1),q=!j||p||!!j.closest("form"),[_=!1,T]=(0,l.T)({prop:o,defaultProp:d,onChange:f});return(0,m.jsxs)(b,{scope:a,checked:_,disabled:x,children:[(0,m.jsx)(c.WV.button,{type:"button",role:"switch","aria-checked":_,"aria-required":h,"data-state":w(_),"data-disabled":x?"":void 0,disabled:x,value:u,...g,ref:k,onClick:(0,r.M)(e.onClick,e=>{T(e=>!e),q&&(N.current=e.isPropagationStopped(),N.current||e.stopPropagation())})}),q&&(0,m.jsx)(v,{control:j,bubbles:!N.current,name:n,value:u,checked:_,required:h,disabled:x,form:p,style:{transform:"translateX(-100%)"}})]})});p.displayName=h;var g="SwitchThumb",j=s.forwardRef((e,t)=>{let{__scopeSwitch:a,...s}=e,r=f(g,a);return(0,m.jsx)(c.WV.span,{"data-state":w(r.checked),"data-disabled":r.disabled?"":void 0,...s,ref:t})});j.displayName=g;var v=e=>{let{control:t,checked:a,bubbles:r=!0,...i}=e,n=s.useRef(null),l=(0,o.D)(a),c=(0,d.t)(t);return s.useEffect(()=>{let e=n.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==a&&t){let s=new Event("click",{bubbles:r});t.call(e,a),e.dispatchEvent(s)}},[l,a,r]),(0,m.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...i,tabIndex:-1,ref:n,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var y=p,k=j},76937:function(e,t,a){a.d(t,{D:function(){return r}});var s=a(89266);function r(e){let t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},33647:function(e,t,a){a.d(t,{t:function(){return i}});var s=a(89266),r=a(85022);function i(e){let[t,a]=s.useState(void 0);return(0,r.b)(()=>
1{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let s,r;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;s=t.inlineSize,r=t.blockSize}else s=e.offsetWidth,r=e.offsetHeight;a({width:s,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}a(void 0)},[e]),t}}}]);
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.