PageSourceSearch

https://now.gg/1/play/assets/_next/static/chunks/1957.d3e9b4729c19f2ed.js

js now.gg collected 2026-10-01 10:28:51 UTC 50,105 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1957,4699,7080],{1957:(e,t,i)=>{i.r(t),i.d(t,{default:()=>tC});var o=i(37876),n=i(14232),a=i(86360),r=i(63580),s=i(52605),l=i(54304),d=i(96794),p=i(54551),c=i(77328),g=i.n(c),h=i(26617),m=i(98684),x=i(24887);let u=m.Ay.div.withConfig({componentId:"sc-f7e59d83-0"})(["width:100%;margin:0 auto;pointer-events:auto;"]);m.Ay.div.withConfig({componentId:"sc-f7e59d83-1"})([""," .extension-game-tile{padding:12px;background:rgba(255,255,255,0.1);ul{margin:4px 0px 0px;gap:0px 20px;}}.icon-cross-thin{position:absolute;right:15px;top:15px;cursor:pointer;color:",";transition:background 0.3s ease-out;padding:5px;border-radius:50%;&:hover{background:rgba(255,255,255,0.1);}}& > div{width:100%;}"],e=>{let{isBrowsePage:t}=e;return!t&&(0,m.AH)(["top:0px;height:100%;width:70%;overflow-y:scroll;position:absolute;display:flex;flex-direction:column;align-items:flex-start;padding:48px 32px 32px;isolation:isolate;background:rgba(17,17,17,0.8);backdrop-filter:blur(60px);z-index:4;animation-name:",";animation-duration:0.3s;"],x.qG)},e=>{let{theme:t}=e;return t.colors.white}),m.Ay.div.withConfig({componentId:"sc-f7e59d83-2"})(["display:flex;position:relative;overflow:hidden;background-repeat:no-repeat;background-position:center;background-size:cover;width:min(20vw,332px);padding:24px;flex-direction:column;justify-content:flex-end;align-items:center;gap:20px;border-radius:12px;border:1px solid rgba(255,255,255,0.2);background-color:linear-gradient( 146deg,rgba(170,215,75,0.3) 0%,rgba(34,167,205,0.3) 50.11%,rgba(255,32,168,0.3) 100% ),rgba(255,255,255,0.1);backdrop-filter:blur(60px);margin:8px 0px 8px 4px;.bg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;}"]);var f=i(58501),b=i(64320),w=i(6196),y=i(18847),v=i.n(y),A=i(15749),j=i(22690),k=i(44699),C=i(61120),I=i(3366),F=i(71744),E=i(88234),L=i(47030),P=i(37102),_=i(90080),G=i(10908),S=i(37305),T=i(10308),z=i(26875),N=i(75912),O=i(36816),H=i(66407),M=i(54736),D=i(62480),B=i(74038);let U=(0,n.memo)(e=>{let{divId:t,baseDivId:i,adsLoc:r,adType:s,visibilityTrackingDivId:l}=e;return(0,n.useEffect)(()=>{var e,o;"p"!==(0,a.Yw)()&&((0,B.b$)(s,t),null==(o=null==(e=window.tude)?void 0:e.cmd)||o.push(()=>{"p"!==(0,a.Yw)()&&((0,B.b$)(s,t,"2"),window.tude.refreshAdsViaDivMappings([Object.assign({divId:t,baseDivId:i,targeting:{ads_loc:r}},l?{visibilityTrackingDivId:l}:{})]))}))},[t,i,r,s,l]),(0,o.jsx)(D.A,{adType:s,containerId:"".concat(t,"-container"),adDivId:t,style:{zIndex:1}})});var R=i(34961),W=i(54100),q=i(57803),Q=i(6254);let X={src:"/_next/static/media/indieshowcase-play.34a6d401.svg",height:48,width:48,blurWidth:0,blurHeight:0},V={src:"/_next/static/media/ai-star.36cf401d.gif",height:128,width:128,blurWidth:0,blurHeight:0};var $=i(3672);let Y={src:"/_next/static/media/indieshow-bg-left.def0d154.svg",height:120,width:119,blurWidth:0,blurHeight:0},K={src:"/_next/static/media/indieshowcase-bg-top.2a8ead10.svg",height:286,width:143,blurWidth:0,blurHeight:0};var J=i(74678);
1let Z=(0,m.i7)(["from{transform:translateX(-100%);}to{transform:translateX(0);}"]),ee=m.Ay.div.withConfig({componentId:"sc-25f6bff3-0"})(["position:relative;z-index:1;border-radius:",';color:white;gap:0px;opacity:0px;width:100%;&:before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:16px;padding:1px;background:linear-gradient(215deg,#FF20A8 0.93%,#A55795 10.58%,#A55795 32.34%,#5F6BB9 55.42%,#6575DB 60.18%,#6D83FF 60.18%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;}@media (min-width:1024px){width:284px;}@media (max-width:1023px){&:before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:16px;padding:1px;background:linear-gradient(190deg,#FF20A8 0.93%,#A55795 10.58%,#A55795 32.34%,#5F6BB9 55.42%,#6575DB 60.18%,#6D83FF 60.18%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;}}@media (min-width:1280px){&:before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:16px;padding:1px;background:linear-gradient(235deg,#FF20A8 0.93%,#A55795 10.58%,#A55795 32.34%,#5F6BB9 55.42%,#6575DB 60.18%,#6D83FF 60.18%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;}}'],e=>{let{theme:t}=e;return t.spacing.base4}),et=m.Ay.div.withConfig({componentId:"sc-25f6bff3-1"})(["position:relative;width:100%;height:100%;overflow:hidden;border-radius:",";"],e=>{let{theme:t}=e;return t.spacing.base4}),ei=m.Ay.div.withConfig({componentId:"sc-25f6bff3-2"})(["display:flex;height:50px;padding:0px 12px 0px 16px;align-items:center;gap:16px;flex-shrink:0;align-self:stretch;border-bottom:1px solid rgba(255,255,255,0.1);justify-content:space-between;"]),eo=m.Ay.h2.withConfig({componentId:"sc-25f6bff3-3"})(["display:flex;align-items:center;gap:8px;margin:0;font-size:",";font-weight:bold;&::after{content:'';clear:both;height:20px;width:20px;display:block;background-image:url(",");background-size:100%;}"],e=>{let{theme:t}=e;return t.spacing.base4},e=>e.animatedGif),en=m.Ay.a.withConfig({componentId:"sc-25f6bff3-4"})(["width:65px;height:16px;color:rgba(255,255,255,0.7);text-decoration:none;font-size:12px;display:flex;align-items:center;gap:4px;z-index:1;position:relative;&:hover{color:#fff;}&:hover::after{transform:scaleX(1);}"]),ea=m.Ay.div.withConfig({componentId:"sc-25f6bff3-5"})(["position:relative;padding-right:4px;padding-top:4px;@media (min-width:1024px){height:100%;}"]),er=m.Ay.div.withConfig({componentId:"sc-25f6bff3-6"})(["display:flex;gap:",";overflow-x:auto;scroll-snap-type:x mandatory;padding:16px 16px 100px 16px;scroll-behavior:smooth;@media (max-width:480px){display:flex;padding:0;margin:16px 0px 0px 16px;align-items:flex-end;gap:",";align-self:stretch;}@media (min-width:481px) and (max-width:1024px){display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,auto);grid-auto-flow:column;overflow-x:auto;margin:16px 0px 0px 16px;padding:0;}@media (min-width:1024px){display:flex;flex-direction:column;gap:",";overflow-y:auto !important;margin-bottom:60px !important;height:100%;&::-webkit-scrollbar{width:3px !important;display:block !important;background-color:transparent !important;}&::-webkit-scrollbar-thumb{background-color:rgba(255,255,255,0.20) !important;border-radius:4px !important;border:0.5px solid rgba(255,255,255,0.20) !important;}&::-webkit-scrollbar-track{background:transparent !important;}}"],e=>{let{theme:t}=e;return t.spacing.base4},e=>{let{theme:t}=e;return t.spacing.base4},e=>{let{theme:t}=e;return t.spacing.base4}),es=m.Ay.div.withConfig({componentId:"sc-25f6bff3-7"})(['content:"";background:url(',") no-repeat center;width:100%;height:100%;position:absolute;top:0;left:0;transform:rotate(-15deg);filter:blur(72px);z-index:-1;background-size:cover;pointer-events:none;"],e=>e.animatedGif),el=m.Ay.a.withConfig({componentId:"sc-25f6bff3-8"})(["display:flex;align-items:center;gap:",";text-decoration:none;cursor:pointer;position:relative;z-index:2;flex:0 0 auto;scroll-snap-align:start;transition:transform 0.3s ease,box-shadow 0.3s ease;border-radius:8px;.image-container{width:64px;
1height:64px;min-width:80px;min-height:80px;position:relative;overflow:hidden;border-radius:",";}@media (min-width:1024px){.image-container{width:80px;height:80px;min-width:80px;min-height:80px;overflow:hidden;}}.image-container img{width:100%;height:100%;object-fit:cover;transition:transform 0.2s ease;}&:hover .image-container img{transform:scale(1.2);}&:hover .play-button{animation:"," 0.3s ease forwards;}"],e=>{let{theme:t}=e;return t.spacing.base4},e=>{let{theme:t}=e;return t.spacing.base3},Z),ed=m.Ay.div.withConfig({componentId:"sc-25f6bff3-9"})(["position:absolute;top:25px;right:0;bottom:0;display:flex;align-items:center;justify-content:center;color:white;padding:0 16px;font-size:14px;white-space:nowrap;transform:translateX(-350%);transition:transform 0.3s ease;z-index:10;@media (max-width:1023px){display:none;}img{width:48px;height:48px;}"]),ep=m.Ay.div.withConfig({componentId:"sc-25f6bff3-10"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;flex:1 0 0;width:140px;@media (max-width:767px){max-width:140px;width:auto;}"]),ec=m.Ay.div.withConfig({componentId:"sc-25f6bff3-11"})(["overflow:hidden;color:rgba(255,255,255,0.80);text-overflow:ellipsis;font-size:14px;font-style:normal;font-weight:400;line-height:150%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;"]),eg=m.Ay.div.withConfig({componentId:"sc-25f6bff3-12"})(["display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:8px;border:1px solid rgba(255,255,255,0.10);border:1px solid color(display-p3 1 1 1 / 0.10);background:rgba(0,0,0,0.20);background:color(display-p3 0 0 0 / 0.20);backdrop-filter:blur(12px);"]),eh=m.Ay.div.withConfig({componentId:"sc-25f6bff3-13"})(["display:flex;padding:"," 0px;justify-content:center;align-items:center;gap:16px;align-self:stretch;@media (min-width:1024px){display:none;}"],e=>{let{theme:t}=e;return t.spacing.base4}),em=m.Ay.button.withConfig({componentId:"sc-25f6bff3-14"})(["position:relative;z-index:2;width:12px;height:12px;border-radius:50%;border:none;outline:none;padding:0;background-color:",";cursor:pointer;"],e=>e.active?"#FFD700":"rgba(255, 255, 255, 0.3)");m.Ay.div.withConfig({componentId:"sc-25f6bff3-15"})(["display:none;@media (min-width:1024px){position:absolute;bottom:0;left:0;right:0px;display:flex;height:60px;padding:0px 16px;align-items:center;justify-content:space-between;background:radial-gradient(30.88% 73.66% at 95.6% 100%,rgba(105,126,250,.3) 0%,rgba(105,126,250,0) 100%),radial-gradient(19.71% 62.2% at 0% 0%,rgb(255 32 168 / 70%) 0%,rgba(255,32,168,0) 100%),rgba(0,0,0,0.2);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:10;}"]),m.Ay.div.withConfig({componentId:"sc-25f6bff3-16"})(["display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0;z-index:2;"]);let ex="https://now.gg/games/sports.html",eu=e=>{let{isCfDesktop:t=!1,isHomepage:i,cfCountryCode:r}=e,d=(0,n.useContext)(S.j),[p,c]=(0,n.useState)((0,a.Mf)(d,void 0,t,h.Ay.countryCode)),g=(0,n.useRef)(null),{t:m}
1=(0,z.B)(),[x,u]=(0,n.useState)(0),[f,b]=(0,n.useState)(1),w=(0,n.useRef)(null);(0,n.useEffect)(()=>{i&&d&&c((0,a.Mf)(d,void 0,t,h.Ay.countryCode))},[d]);let y=(0,F.A)(),v=()=>{if(w.current){let{scrollLeft:e,scrollWidth:t,clientWidth:i}=w.current;b(Math.ceil(t/i)),u(Math.ceil(e/i))}};return((0,n.useEffect)(()=>{let e=w.current;if(e){let t=new ResizeObserver(v);return t.observe(e),e.addEventListener("scroll",v),()=>{t.disconnect(),e.removeEventListener("scroll",v)}}},[]),(0,n.useEffect)(()=>{v()},[p.showcaseApps]),(null==p?void 0:p.showcaseApps)&&0!==p.showcaseApps.length)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{src:(0,L._w)(K),alt:"",loading:"lazy",fetchpriority:"low",className:"left-bg"}),(0,o.jsx)("img",{src:(0,L._w)(Y),alt:"",loading:"lazy",fetchpriority:"low",className:"right-bg"}),(0,o.jsx)(ee,{ref:g,children:(0,o.jsxs)(et,{children:[(0,o.jsxs)(ei,{children:[(0,o.jsx)(eo,{animatedGif:(0,L._w)(V),children:m("footballFever")}),!(0,a.sA)()&&(0,o.jsxs)(en,{href:y?(0,$.Ay)(ex):ex,onClick:()=>{(0,s.sx)(R.wHH,{element:"AIGames",action:"ViewAllClicked"})},children:[(0,o.jsx)(J.le,{children:m("viewAllLower")}),(0,o.jsx)("img",{className:"arrow-right",src:(0,L._w)(q.A),alt:"",height:"12",width:"12"})]})]}),(0,o.jsx)(ea,{children:(0,o.jsx)(er,{id:"ai-games-list",ref:w,style:{maxHeight:"80vh"},children:p.showcaseApps&&Array.isArray(p.showcaseApps)&&p.showcaseApps.slice(0,Math.min(12,p.showcaseApps.length)).map(e=>(0,o.jsxs)(el,{href:y?(0,$.Ay)(e.appPageUrl,"AiApps"):e.appPageUrl,onClick:()=>{h.Ay.isHomePage&&(0,s.sx)("AiAppsClicked",{visibilityState:document.visibilityState,isVisible:"visible"===document.visibilityState,AppName:e.appName},()=>{},l.p.HOME_PAGE)},children:[(0,o.jsx)("div",{className:"image-container",children:(0,o.jsx)("img",{src:(0,L.PW)(e.media.icon),loading:"lazy",fetchpriority:"low",alt:"Play ".concat(e.appName)})}),(0,o.jsxs)(ep,{children:[(0,o.jsx)(ec,{children:e.appName}),(0,o.jsxs)(eg,{children:[(0,o.jsx)("img",{src:(0,L._w)(Q.A),alt:"",height:"12",width:"12"}),(0,o.jsx)("span",{children:e.appRating.toFixed(1)})]})]}),(0,o.jsx)(ed,{className:"play-button",children:(0,o.jsx)("img",{src:(0,L._w)(X),alt:"ai-apps-play"})})]},e.appId))})}),(0,o.jsx)(es,{animatedGif:(0,L._w)(V)}),(0,o.jsx)(eh,{children:Array.from({length:f},(e,t)=>(0,o.jsx)(em,{type:"button",active:t===x,"aria-label":"Page ".concat(t+1," of ").concat(f),onClick:e=>{e.stopPropagation(),(e=>{if(w.current){let{clientWidth:t}=w.current;w.current.scrollTo({left:e*t,behavior:"smooth"})}})(t)}},t))})]})})]}):null},ef=m.Ay.div.withConfig({componentId:"sc-72879039-0"})(["@media (max-width:1023px){order:9;}"]);var eb=i(61839);let ew=()=>{let e=(0,F.A)(),{t}=(0,z.B)(),i=(0,n.useCallback)(t=>e?(0,$.Ay)(t):t,[e]),a=(0,n.useCallback)((e,t)=>'<a href="'.concat(i(e),'">').concat(t,"</a>"),[i]);return(0,o.jsxs)(ef,{children:[(0,o.jsxs)(eb.n,{children:[(0,o.jsx)("h1",{children:t("aboutSectionTitle")}),(0,o.jsxs)("a",{className:"view-all-btn",href:i("https://now.gg/aboutus.html"),children:[t("footerAboutUs"),(0,o.jsx)("img",{src:(0,L._w)(q.A),alt:"",height:"12",width:"7"})]})]}),(0,o.jsx)(W.KG,{children:(0,o.jsxs)(W.x$,{children:[(0,o.jsx)("h1",{children:t("aboutHeadingOnlineGames")}),(0,o.jsx)("p",{children:t("aboutTextOnlineGames")}),(0,o.jsx)("h1",{children:t("aboutHeadingFreeGames")}),(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:t("aboutTextFreeGames",{bloxdLink:a("https://now.gg/apps/bloxd/51240/bloxd-io.html","Bloxd.io"),poppyLink:a("https://now.gg/apps/mob-games-studio/1293/poppy-playtime.html","Poppy Playtime"),cardLink:a("https://now.gg/games/card.html",t("genreCardGames")),sportsLink:a("https://now.gg/games/sports.html",t("genreSportsGames")),shootingLink:a("https://now.gg/games/shooting.html",t("genreShootingGames")),ludoLink:a("https://now.gg/games/ludo.html",t("genreLudoGames")),solitaireLink:a("https://now.gg/games/solitaire.html",t("genreSolitaireGames")),browserLink:a("https://now.gg/games/browser.html",t("genreBrowserGames")),quizLink:a("https://now.gg/games/quiz.html",t("genreQuizGames")),zombieLink:a("https://now.gg/games/zombie.html",t("genreZombieGames"))})}}),(0,o.jsx)("h1",{children:t("aboutHeadingMultiplayer")}),(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:t("aboutTextMultiplayer",{multiplayerLink:a("https://now.gg/games/multiplayer.html",t("genreMultiplayerGames")),soullandLink:a("https://now.gg/apps/new-times-game/4075/soul-land.html","Soul Land Reloaded"),fireboyLink:a("https://now.gg/apps/agame/51029/fireboy-and-watergirl-1-light-temple.html","Fireboy and Watergirl 2: Light Temple"),amongusLink:a("https://now.gg/apps/innersloth-llc/4047/among-us.html","Among Us")})}}),(0,o.jsx)("h1",{children:t("aboutHeadingFunForAll")}),(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:t("aboutTextFunForAll",{kahootLink:a("https://now.gg/apps/kahoot/5840/kahoot-play.html","Kahoot! Play & Create Quizzes"),vexcodeLink:a("https://now.gg/apps/vex-robotics/1421/vexcode
1-v5.html","VEXcode V5"),educationalLink:a("https://now.gg/games/educational.html",t("genreEducationalQuizzes")),adventureLink:a("https://now.gg/games/adventure.html",t("genreAdventures"))})}})]})})]})},ey=()=>(0,o.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M4 6.5L8 10.5L12 6.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})}),ev=()=>(0,o.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M4 10.5L8 6.5L12 10.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})}),eA=()=>{let[e,t]=(0,n.useState)({0:!0}),i=(0,F.A)(),{t:a}=(0,z.B)(),r=(0,n.useCallback)(e=>i?(0,$.Ay)(e):e,[i]),s=(0,n.useCallback)((e,t)=>'<a href="'.concat(r(e),'">').concat(t,"</a>"),[r]);return(0,o.jsxs)(W.Ct,{children:[(0,o.jsxs)(W.MT,{className:e[0]?"":"collapsed",children:[(0,o.jsxs)("h1",{onClick:()=>{t(Object.assign(Object.assign({},e),{0:!e[0]}))},children:[a("faqQ1"),(0,o.jsx)(W.HK,{children:e[0]?(0,o.jsx)(ev,{}):(0,o.jsx)(ey,{})})]}),(0,o.jsx)("section",{children:(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:a("faqA1",{muOriginLink:s("https://now.gg/apps/fingerfun/5581/mu-origin.html","MU Origin 3"),worldOfTanksLink:s("https://now.gg/apps/wargaming/4054/world-of-tanks.html","World of Tanks Blitz"),leagueOfAngelsLink:s("https://now.gg/apps/youzu/6848/league-of-angels.html","League of Angels: Chaos")})}})})]}),(0,o.jsxs)(W.MT,{className:e[1]?"":"collapsed",children:[(0,o.jsxs)("h1",{onClick:()=>{t(Object.assign(Object.assign({},e),{1:!e[1]}))},children:[a("faqQ2"),(0,o.jsx)(W.HK,{children:e[1]?(0,o.jsx)(ev,{}):(0,o.jsx)(ey,{})})]}),(0,o.jsx)("section",{children:(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:a("faqA2",{nowggLink:s("https://now.gg/","now.gg")})}})})]}),(0,o.jsxs)(W.MT,{className:e[2]?"":"collapsed",children:[(0,o.jsxs)("h1",{onClick:()=>{t(Object.assign(Object.assign({},e),{2:!e[2]}))},children:[a("faqQ3"),(0,o.jsx)(W.HK,{children:e[2]?(0,o.jsx)(ev,{}):(0,o.jsx)(ey,{})})]}),(0,o.jsxs)("section",{children:[(0,o.jsx)("p",{children:a("faqA3")}),(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:r("https://now.gg/games/adventure.html"),children:a("categoryAdventureGames")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:r("https://now.gg/games/action.html"),children:a("categoryActionGames")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:r("https://now.gg/games/simulation.html"),children:a("categorySimulationGames")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:r("https://now.gg/games/strategy.html"),children:a("categoryStrategyGames")})})]})]})]})]})},ej=m.Ay.div.withConfig({componentId:"sc-af9b4437-0"})(["@media (max-width:1023px){order:10;}"]),ek=e=>{let{t}=(0,z.B)();return(0,o.jsxs)(ej,{children:[(0,o.jsx)(eb.n,{children:(0,o.jsx)("h1",{children:t("faq")})}),(0,o.jsx)(eA,{})]})};var eC=i(91727),eI=i(50035),eF=i(56663),eE=i(56395),eL=i(7485),eP=i(89972),e_=i(17679);let eG=m.Ay.div.withConfig({componentId:"sc-ae8c0d4b-0"})(["position:sticky;top:0;display:flex;align-items:center;z-index:3;justify-content:space-between;gap:16px;color:",";background-color:rgba(0,0,0,.6);padding:18px 16px 18px 36px;i{cursor:pointer;}&.home{padding-top:0;padding-bottom:0;&.alt-domain{padding-left:20px;padding-right:20px;}@media only screen and (max-width:1032px){padding-top:0;padding-bottom:0;}}.header-search{position:relative;transform:none;left:auto;top:auto;flex:0 0 min(35%,400px);margin-top:auto;margin-bottom:auto;margin-right:auto;}&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;backdrop-filter:blur(60px);}@media only screen and (max-width:1032px){padding:20px 24px;& > div{z-index:1;display:flex;align-items:center;justify-content:space-between;}}",""],e=>{let{theme:t}=e;return t.colors.white80},(0,e_.$_)("sm",(0,m.AH)(["padding-left:16px;padding-right:16px;"]))),eS=m.Ay.div.withConfig({componentId:"sc-ae8c0d4b-1"})(["top:0;display:flex;gap:8px;z-index:1;position:relative;width:fit-content;align-items:center;&.alt-domain{width:100%;"," @media (max-width:1023px){display:flex;}}@media only screen and (max-width:981px) and (orientation:portrait),(orientation:landscape) and (max-height:575.98px){.icon-info{display:none;}}"],e_.mD),eT=m.Ay.div.withConfig({componentId:"sc-ae8c0d4b-2"})(["position:relative;display:flex;align-items:center;gap:8px;"]),ez=m.Ay.span.withConfig({componentId:"sc-ae8c0d4b-3"})(["display:inline-block;width:40px;height:40px;border:1px solid rgba(255,255,255,0.80);padding:10px;margin:0px;border-radius:50%;"]);m.Ay.nav.withConfig({componentId:"sc-ae8c0d4b-4"})(["margin-left:auto;position:relative;display:flex;align-items:center;.sep{border:1px solid rgba(255,255,255,0.2);height:20px;width:0px;margin:0 16px;}p{color:rgba(255,255,255,0.7);margin:0;font-size:12px;line-height:18px;white-space:nowrap;}a:not(.tiktok){font-size:14px;line-height:150%;color:#FAFAFB;text-decoration:none;color:#FAFAFB;display:flex;align-items:center;.icon-union{font-size:11px;margin-left:5px;}&:hover{color:",";}}> div{margin-left:12px;}"],e=>{let{theme:t}=e;return t.colors.ascent}),m.Ay.a.withConfig({componentId:"sc-ae8c0d4b-5"})(["text-decoration:none;content-visibility:auto;width:33px;margin-left:12px;img{max-width:100%;&:nth-child(2){opacity:0;border-radius:8px;}}&:hover{img{max-width:100%;&:nth-child(1){display:none;}&:nth-child(2){opacity:1;}}}"]),m.Ay.a.withConfig({componentId:"sc-ae8c0d4b-6"})(["display:none;padding:7px 16px;justify-content:center;align-items:center;gap:4px;text-decoration:none;font-weight:500;border:1px solid #FFFFFF;border-radius:8px;font-size:13px;color:#FFFFFFCC;&:hover{color:#fff !important;}@media only screen and (max-width:768px) and (orientation:portrait){display:flex;}"]);var eN=i(26917);let eO=()=>
1{let[e,t]=(0,n.useState)(!1),[i,r]=(0,n.useState)(h.Ay.isCfMobile),[s,l]=(0,n.useState)(h.Ay.isCfDesktop),d=(0,n.useRef)(null),p=(0,n.useRef)(null),c=(0,b.d4)(e=>e.auth.isLoginResolved),g=(0,b.wA)();(0,n.useEffect)(()=>{r((0,a.Fr)()&&!(0,a.v1)()&&!(0,a.bh)()),l((0,a.xl)())},[]),(0,n.useEffect)(()=>{c&&g((0,eE.o)())},[c]);let m=e=>{t(e),g({type:_.A.SEARCH_BAR_OPENED,payload:{searchBarOpened:e}})},x=(0,a.sA)();return(0,o.jsxs)(eG,{className:"home ".concat(x?"alt-domain":""),as:"header",style:{minHeight:64},children:[(0,o.jsxs)(eS,{className:"".concat(x?"alt-domain":""),children:[!x&&(0,o.jsx)(eL.A,{hasTagline:!1,showInfoIcon:!1}),(0,o.jsx)(eN.A,{wrapperClass:"header-search",isAltDomain:x}),!s&&!x&&(0,o.jsx)(eI.A,{showExploredGames:e,origin:"browse",close:()=>m(!1)})]}),!x&&(0,o.jsx)(eT,{children:(0,o.jsx)(A.Q,{loading:null,persistor:w.q,children:(0,o.jsxs)(o.Fragment,{children:[!(0,a.xl)()&&(0,o.jsx)(ez,{id:"home-header-search",ref:p,onClick:()=>m(!0),children:(0,o.jsx)(eC.v,{style:{height:"100%",width:"100%",marginRight:"0"}})}),(0,o.jsx)(eP.A,{source:R.RmT.HomeHeaderNowPrimeCta}),(0,o.jsx)(eF.ProfilesAction,{topbarRef:d,searchIconRef:p})]})})})]})};var eH=i(8969);let eM={src:"/_next/static/media/hot_now_tag.74287287.svg",height:34,width:33,blurWidth:0,blurHeight:0},eD=(0,n.memo)(e=>{let{divId:t,baseDivId:i,adsLoc:r,adType:s,visibilityTrackingDivId:l}=e;return(0,n.useEffect)(()=>{var e,o;"p"!==(0,a.Yw)()&&((0,B.b$)(s,t),null==(o=null==(e=window.tude)?void 0:e.cmd)||o.push(()=>{"p"!==(0,a.Yw)()&&((0,B.b$)(s,t,"2"),window.tude.refreshAdsViaDivMappings([Object.assign({divId:t,baseDivId:i,targeting:{ads_loc:r}},l?{visibilityTrackingDivId:l}:{})]))}))},[t,i,r,s,l]),(0,o.jsx)("div",{style:{position:"relative",width:"100%",paddingTop:"133%"},children:(0,o.jsx)(D.A,{adType:s,containerId:"".concat(t,"-container"),adDivId:t,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1}})})}),eB=(0,m.i7)(["0%{top:-159px;left:-58px;opacity:1;}10%{top:168px;left:-58px;opacity:1;}100%{top:-29px;left:138px;opacity:0;}"]),eU=m.Ay.div.withConfig({componentId:"sc-ee954974-0"})(["display:grid;gap:",";@media (min-width:1281px){&.top{grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(2,auto);}&.popular{grid-template-columns:repeat(5,1fr);}&.more{grid-template-columns:repeat(8,minmax(0,1fr));}}@media (min-width:768px) and (max-width:1280px){&.top{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,auto);}&.popular{grid-template-columns:repeat(5,minmax(0,1fr));}&.more{grid-template-columns:repeat(6,minmax(0,1fr));}}@media (min-width:481px) and  (max-width:767px){gap:",";&.top{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,auto);}&.popular{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,auto);}&.more{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,auto);}}@media (max-width:480px){gap:",";&.top{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,auto);}&.popular{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto);}&.more{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,auto);}}"],e=>{let{theme:t}=e;return t.spacing.base6},e=>{let{theme:t}=e;return t.spacing.base3},e=>{let{theme:t}=e;return t.spacing.base3}),eR=m.Ay.a.withConfig({componentId:"sc-ee954974-1"})(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-decoration:none;width:100%;position:relative;"]),eW=m.Ay.div.withConfig({componentId:"sc-ee954974-2"})(['position:relative;width:100%;padding-top:100%;height:100%;overflow:hidden;border-radius:8px;&.popular{padding-top:133%;}@media (max-width:767px){position:absolute;top:0;left:0;height:100%;padding-top:0;}.highlight-game &{&:after{content:"";position:absolute;background:linear-gradient( to bottom,rgba(255,255,255,0),rgba(255,255,255,1),rgba(255,255,255,0) );top:0;left:0;opacity:0;width:256px;height:72px;transform:rotate(-45deg);animation-name:',";animation-duration:6s;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-delay:5s;}}"],eB),eq=m.Ay.img.withConfig({componentId:"sc-ee954974-3"})(["position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;"]),eQ=m.Ay.div.withConfig({componentId:"sc-ee954974-4"})(["position:relative;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px 0 rgba(0,0,0,0.1);&:hover{border-radius:8px;overflow:hidden !important;border:2px solid #FF0096;background:linear-gradient(180deg,#000 0%,rgba(0,0,0,0.70) 100%);background:linear-gradient(180deg,color(display-p3 0 0 0 / 0.00) 0%,color(display-p3 0 0 0 / 0.70) 100%);box-shadow:0px 0px 20px 0px #FF0094 inset;}&:hover ","{transform:scale(1.05);}&:hover ","{transform:scale(1.2);}@media (max-width:767px){height:auto;border-radius:4px;padding-bottom:100%;&.popular{padding-bottom:133%;}}&.highlight-game{&:not(:hover){.game-img{padding:2px !important;border-radius:",';}}&::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background:linear-gradient(137deg,#FFEF63 1.42%,#966B29 44.17%,#FFEF63 78.18%,#E6AF19 98.58%);}}'],eW,eq,e=>{let{theme:t}=e;
1return t.border.radius2}),eX=m.Ay.div.withConfig({componentId:"sc-ee954974-5"})(["position:absolute;top:0;border-radius:8px 0px;border:",";background:",";backdrop-filter:blur(12px);font-size:12px;display:flex;padding:4px 8px;align-items:center;gap:",";@media (max-width){left:-2px;top:-2px;}img{width:12px;height:12px;}@media (min-width:1024px){display:none;top:0;left:0;justify-content:center;border-radius:8px 0px;border:",";",":hover &{display:flex;}}"],e=>{let{theme:t}=e;return t.border.base3},e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.black80},e=>{let{theme:t}=e;return t.spacing.base},e=>{var t;let{theme:i}=e;return null==(t=i.border)?void 0:t.base3},eQ);m.Ay.div.withConfig({componentId:"sc-ee954974-6"})([""]);let eV=m.Ay.span.withConfig({componentId:"sc-ee954974-7"})(["overflow:hidden;color:rgba(255,255,255,0.80);color:color(display-p3 1 1 1 / 0.80);text-overflow:ellipsis;font-size:14px;font-style:normal;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5em;max-height:3em;overflow:hidden;text-overflow:ellipsis;max-width:100px;"]),e$=m.Ay.img.withConfig({componentId:"sc-ee954974-8"})(["position:absolute;right:1px;top:-3px;&:hover + .recommendation-desc{display:block;}"]),eY=m.Ay.div.withConfig({componentId:"sc-ee954974-9"})(["position:absolute;padding:8px 12px;border-radius:24px;display:none;top:-37px;right:-37px;"]),eK="popular-games-ad-visibility-anchor",eJ=e=>{let{gameList:t,ntmSource:i,media:r="icon",tileType:d,pageName:p,isPopularGamesAdsEnabled:c}=e,{t:g}=(0,z.B)(),m=(0,F.A)(),x=(0,b.d4)(e=>e.play.nowPremiumSubscriptionActive),u=(0,b.d4)(e=>e.play.hideAdsForProxyUser),f={hot:{img:eM,desc:"hotNow",bg:"#FF740F"}},{handleAdItemClick:w}=(0,E.A)({adDivIds:["div-gpt-ad-popularGame-1","div-gpt-ad-popularGame-2","div-gpt-ad-popularGame-mob-1"],enabled:!!c&&h.Ay.isHomePage});return(0,o.jsxs)(eU,{className:p,children:[h.Ay.isHomePage&&c&&m&&!u&&!x&&((0,a.xl)()||(0,a.v1)())&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(eR,{as:"div",style:{minWidth:"0",overflow:"hidden"},onClick:()=>w("div-gpt-ad-popularGame-1"),children:[(0,o.jsx)(eD,{divId:"div-gpt-ad-popularGame-1",baseDivId:"pb-slot-tile",adsLoc:"popular-game-desk-1",adType:R.E$v,visibilityTrackingDivId:eK}),(0,o.jsx)(eV,{children:g("advertisement")})]}),(0,o.jsxs)(eR,{as:"div",style:{minWidth:"0",overflow:"hidden"},onClick:()=>w("div-gpt-ad-popularGame-2"),children:[(0,o.jsx)(eD,{divId:"div-gpt-ad-popularGame-2",baseDivId:"pb-slot-tile",adsLoc:"popular-game-desk-2",adType:R.E$v,visibilityTrackingDivId:eK}),(0,o.jsx)(eV,{children:g("advertisement")})]})]}),t.map((e,t)=>{var b;return(0,o.jsxs)(n.Fragment,{children:[h.Ay.isHomePage&&c&&m&&!u&&!x&&(0,a.Fr)()&&!(0,a.v1)()&&1===t&&(0,o.jsxs)(eR,{as:"div",style:{minWidth:"0",overflow:"hidden"},onClick:()=>w("div-gpt-ad-popularGame-mob-1"),children:[(0,o.jsx)(eD,{divId:"div-gpt-ad-popularGame-mob-1",baseDivId:"pb-slot-tile",adsLoc:"popular-game-mob-1",adType:R.WL_,visibilityTrackingDivId:eK}),(0,o.jsx)(eV,{children:g("advertisement")})]}),(0,o.jsxs)(eR,{className:p,id:h.Ay.isHomePage&&c&&0===t?eK:void 0,href:m?(0,$.Ay)(e.appPageUrl,i):e.appPageUrl,onClick:()=>{h.Ay.isHomePage&&(0,s.sx)("GridItemClicked",{visibilityState:document.visibilityState,isVisible:"visible"===document.visibilityState,sectionName:i,gamePosition:t+1,gameName:e.appName},()=>{},l.p.HOME_PAGE)},children:[(0,o.jsxs)(eQ,{style:e.recommendationTag?{overflow:"visible"}:{},className:"\n              ".concat(p,"\n            "),children:[(0,o.jsx)(eW,{className:p,children:e.media[r]&&(0,o.jsx)(eH.Ay,{className:"game-img",src:null!=(b=e.media[r])?b:"",alt:g("playOnlineOnNowgg",{appName:e.appName}),loading:"lazy",fetchpriority:"low",quality:"default"===d?80:90,sizes:"\n                    (max-width: 719px) ".concat("default"===d?"64px":"128px",",\n                    (max-width: 1599px) and (min-width: 720px) ").concat("default"===d?"128px":"256px",",\n                    ").concat("default"===d?"128px":"256px","\n                  ")})}),(0,o.jsxs)(eX,{children:[(0,o.jsx)("img",{src:(0,L._w)(Q.A),alt:"rating"}),e.appRating]})]}),e.recommendationTag&&f[e.recommendationTag]&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e$,{src:(0,L._w)(f[e.recommendationTag].img),width:"30",height:"30",alt:"hot_now_tag"}),(0,o.jsx)(eY,{className:"recommendation-desc",style:{background:f[e.recommendationTag].bg},children:(0,o.jsx)(J.Ks,{children:g(f[e.recommendationTag].desc)})})]}),(0,o.jsx)(eV,{children:e.appName})]})]},e.appId)})]})},eZ=e=>{let{games:t,OTHER_GAME:i}=e,{t:n}=(0,z.B)();return(0,o.jsxs)(W.MK,{children:[(0,o.jsx)(eb.n,{id:h.Ay.isHomePage?R.AUy:void 0,children:(0,o.jsx)("h1",{children:n("topGames")})}),(0,o.jsx)(eJ,{ntmSource:"TopGames",gameList:t,tileType:"default",media:"icon",pageName:"top"})]})},e0=m.Ay.div.withConfig({componentId:"sc-80486e0b-0"})(["@media (max-width:1023px){order:3;}"]),e1=e=>{let{games:t,OTHER_GAME:i}=e,{t:n}=(0,z.B)();return(0,o.jsxs)(e0,{children:[(0,o.jsx)(eb.n,{children:(0,o.jsx)("h1",{children:n("popularGames")})}),(0,o.jsx)(eJ,{ntmSource:"PopularGames",gameList:t,tileType:"vertical",media:"tile",pageName:"popular",isPopularGamesAdsEnabled:!0})]})};var e5=i(79682);let e2=m.Ay.div.withConfig({componentId:"sc-c2d85446-0"})(["@media (max-width:1023px){order:4;}.show-more-btn{height:40px;margin-top:24px;@media (max-width:767px){margin:24px auto 0px auto;}}"]),e4=e=>{let{games:t,OTHER_GAME:i,showMoreGames:n,hasMoreGames:a}=e,{t:r}=(0,z.B)();return(0,o.jsxs)(e2,{children:[(0,o.jsx)(eb.n,{children:(0,o.jsx)("h1",{children:r("moreGames")})}),(0,o.jsx)(eJ,{ntmSource:"MoreGames",gameList:t,tileType:"default",media:"icon",pageName:"more"}),a&&(0,o.jsx)(e5.$,{className:"show-more-btn",variant:"primaryOutline",size:"large",onClick:n,text:r("showMore")})]})},e6=e=>{let{isCfDesktop:t=!1}
1=e,i=h.Ay.isHomePage,r=(0,n.useContext)(S.j),[s,l]=(0,n.useState)(i?(0,a.Mf)(r,void 0,t,h.Ay.countryCode):{topApps:[],topBarApps:[],remainingApps:[],otherApps:[]}),d="".concat(R.fM_,"SuggestedGame");(0,n.useEffect)(()=>{i&&r&&l((0,a.Mf)(r,void 0,t,h.Ay.countryCode))},[r]);let[p,c]=(0,n.useState)(1281),[g,m]=(0,n.useState)([]),[x,u]=(0,n.useState)(!1),f=e=>e>=1281?16:e>=480?12:9,b=e=>e>=768||e>=480?8:5,w=e=>e>=1281?16:e>=480?12:9;(0,n.useEffect)(()=>{u(!0),c(window.innerWidth);let e=()=>c(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.useEffect)(()=>{let e=f(p),t=b(p),i=w(p);m(s.otherApps.slice(e+t).slice(0,i))},[s,p]);let y=f(p),v=b(p),A=s.otherApps.slice(0,y),j=s.otherApps.slice(y,y+v),k=s.otherApps.slice(y+v),C=x?g:k.slice(0,w(p));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(eZ,{games:A,OTHER_GAME:d}),j.length>0&&(0,o.jsx)(e1,{games:j,OTHER_GAME:d}),k.length>0&&(0,o.jsx)(e4,{games:C,OTHER_GAME:d,showMoreGames:()=>{let e=w(p),t=f(p),i=b(p);m([...g,...s.otherApps.slice(t+i).slice(g.length,g.length+e)])},hasMoreGames:C.length<k.length})]})};m.Ay.div.withConfig({componentId:"sc-7882359f-0"})(["@media (max-width:1023px){order:8;}"]);let e8=m.Ay.div.withConfig({componentId:"sc-7882359f-1"})(["@media (max-width:1023px){order:7;}"]),e3=m.Ay.div.withConfig({componentId:"sc-7882359f-2"})(["display:flex;flex-direction:column;gap:",";max-width:1200px;margin:0 auto;@media (min-width:480px){flex-direction:row;}"],e=>{let{theme:t}=e;return t.spacing.base6}),e7=m.Ay.a.withConfig({componentId:"sc-7882359f-3"})(["overflow:hidden;text-decoration:none;border-radius:",";background:rgba(255,255,255,0.05);box-shadow:0px 4px 16px 0px rgba(0,0,0,0.08);border:1px solid transparent;transition:border-color 0.3s ease;&:hover{border-color:",";}@media (min-width:480px){flex:1;}&:nth-child(n + 4){display:none;}.image-container{width:100%;border-radius:12px;overflow:hidden;border:0.912px solid rgba(255,255,255,0.1);box-shadow:",";aspect-ratio:16 / 9;}"],e=>{let{theme:t}=e;return t.spacing.base3},e=>{let{theme:t}=e;return t.colors.ascent},e=>{let{theme:t}=e;return t.shadow.normal}),e9=m.Ay.div.withConfig({componentId:"sc-7882359f-4"})(["padding:10px 16px;"]),te=m.Ay.h2.withConfig({componentId:"sc-7882359f-5"})(["margin:0;font-size:16px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5em;max-height:3em;overflow:hidden;text-overflow:ellipsis;"]),tt=e=>{let{articles:t,link:i,title:n}=e,a=(0,F.A)(),{t:r}=(0,z.B)();return t&&t.length<=0?null:(0,o.jsxs)(e8,{children:[(0,o.jsxs)(eb.n,{children:[(0,o.jsx)("h1",{children:n}),(0,o.jsxs)("a",{className:"view-all-btn",href:a?(0,$.Ay)("https://now.gg".concat(i)):"https://now.gg".concat(i),children:[r("viewAll"),(0,o.jsx)("img",{src:(0,L._w)(q.A),alt:"",height:"12",width:"7"})]})]}),(0,o.jsx)(e3,{children:null==t?void 0:t.map(e=>{let{id:t,title:i,url:n,featured_image:r}=e;return(0,o.jsxs)(e7,{href:a?(0,$.Ay)("https://now.gg".concat(n)):"https://now.gg".concat(n),children:[(0,o.jsx)("img",{src:(0,L.Vm)({src:r.medium_large,width:640,quality:80}),loading:"lazy",fetchpriority:"low",alt:"",className:"image-container"}),(0,o.jsx)(e9,{children:(0,o.jsx)(te,{children:i})})]},t)})})]})};var ti=function(e,t,i,o){return new(i||(i=Promise))(function(n,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(r,s)}l((o=o.apply(e,t||[])).next())})};let to=v()(()=>i.e(852).then(i.bind(i,30852)),{loadableGenerated:{webpack:()=>[30852]}}),tn=v()(()=>Promise.resolve().then(i.bind(i,86757)),{loadableGenerated:{webpack:()=>[86757]}}),ta=v()(()=>i.e(9725).then(i.bind(i,9725)),{loadableGenerated:{webpack:()=>[9725]}}),tr=v()(()=>i.e(8325).then(i.bind(i,68325)),{loadableGenerated:{webpack:()=>[68325]}}),ts=v()(()=>i.e(2879).then(i.bind(i,42879)),{loadableGenerated:{webpack:()=>[42879]}}),tl=v()(()=>Promise.resolve().then(i.bind(i,11401)),{loadableGenerated:{webpack:()=>[11401]},loading:()=>(0,o.jsx)("span",{}),ssr:!1}),td=e=>
1{let{gamesList:t,newLaunches:i,videos:l,isCfDesktop:d,cfCountryCode:p,related_articles:c,roundup_articles:g,isCfMobile:m}=e,x=(0,n.useRef)(),y=(0,b.d4)(e=>e.support.showSupport),[v,D]=(0,n.useState)(t),[B,q]=(0,n.useState)(h.Ay.isCfMobile),Q=(0,b.d4)(e=>e.auth.showLogin),X=(0,b.wA)(),V=(0,b.d4)(e=>e.auth.isLoggedIn),$=(0,b.d4)(e=>e.auth.isLoginResolved),Y=(0,b.d4)(e=>e.auth.showResetPassword),K=(0,b.d4)(e=>e.play.showApkFinder),J=(0,b.d4)(e=>e.user.recentPlayedApps);(0,b.d4)(e=>e.user.deviceOrientation);let Z=(0,b.d4)(e=>e.auth.showGoogleOneTap),{t:ee}=(0,z.B)(),et=(0,F.A)(),ei=(0,b.d4)(e=>e.play.subscriptionFlowSource),eo=(0,b.d4)(e=>e.play.showSubscriptionEnabledModal),en=(0,b.d4)(e=>e.play.showSubscriptionModal),ea=(0,b.d4)(e=>e.play.nowPremiumSubscriptionActive),er=(0,b.d4)(e=>e.play.hideAdsForProxyUser),{handleAdItemClick:es}=(0,E.A)({adDivIds:["div-gpt-ad-homePageMobile-1"],enabled:h.Ay.isHomePage});(0,n.useEffect)(()=>{V&&(0,a.mP)()&&ti(void 0,void 0,void 0,function*(){yield(0,M.aH)(),(0,a.lJ)(),(0,a.B3)()})},[V]),(0,n.useEffect)(()=>{$&&(0,a.mP)()&&ti(void 0,void 0,void 0,function*(){yield(0,M.aH)(),(0,a.X_)(),X(O.lI)})},[$]);let el=()=>{let e=window.orientation,t="";t=0===e||180===e?C.QB.portrait:90===e||-90===e?C.QB.landscape:C.QB.unspecified,X({type:_.A.UPDATE_USER_AND_DEVICE_DATA,payload:{deviceOrientation:t}})};return(0,n.useEffect)(()=>{var e,i;
1return q((0,a.Fr)()&&!(0,a.v1)()&&!(0,a.bh)()),x.current=(0,s.b7)(!0),(0,f.Ay)(),sessionStorage.getItem("loginPrompt")===h.hy&&((0,f.VM)()&&(0,f.ri)({reason:"loginPromptEnabled",url:null==(i=null==(e=null==window?void 0:window.location)?void 0:e.href)?void 0:i.split("?")[0]}),X({type:j.A.TOGGLE_LOGIN,payload:{showLogin:!0}})),ti(void 0,void 0,void 0,function*(){(0,h.gA)().then(e=>{let{gamesList:i}=e;if(i){let e=[...t.otherApps,...i.otherApps.filter(e=>!t.otherApps.find(t=>t.appId===e.appId))],o=[...i.otherApps,...i.remainingApps],n=e.filter(e=>o.some(t=>t.appId===e.appId)),a=n.map(e=>{let{appId:t}=e;return t}),r=n.filter((e,t)=>{let{appId:i}=e;return!a.includes(i,t+1)});D(e=>{let t={topApps:i.topApps||e.topApps,otherApps:r,remainingApps:i.remainingApps||e.remainingApps,topBarApps:i.topBarApps||e.topBarApps};return e.showcaseApps&&(t.showcaseApps=e.showcaseApps),t})}}).catch(console.log)}),ti(void 0,void 0,void 0,function*(){yield(0,M.aH)(),(0,a.Fr)()&&(el(),(0,r.n$)(),window.addEventListener("resize",el)),(0,T.G)()}),()=>{window.removeEventListener("resize",el),clearInterval(x.current)}},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(W.s0,{children:[(0,o.jsxs)(S.j.Provider,{value:v,children:[(0,o.jsx)(eO,{}),(0,o.jsx)(u,{children:(0,o.jsx)(W.wn,{children:(0,o.jsxs)(W.DF,{children:[(0,o.jsx)("div",{className:"lcpImgWrapper",children:(0,o.jsx)("div",{style:{width:"100%",height:"100%",backgroundImage:"url(".concat((0,L._w)(P.A),")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}})}),(0,o.jsxs)(W.l5,{children:[!(0,a.sA)()&&(0,o.jsx)(W.TT,{children:(0,o.jsx)(tr,{cfIsMobile:h.Ay.isCfMobile,hasRecent:!!(null==J?void 0:J.length),gameList:(null==J?void 0:J.length)?J:v.topBarApps.map(e=>({appId:e.appId,icon:e.media.icon,name:e.appName,packageName:e.packageName,playUrl:e.playUrl,appPageUrl:(null==e?void 0:e.appPageUrl)||"",appDeveloperName:""})).slice(0,8)})}),et&&!er&&!ea&&(0,a.Fr)()&&!(0,a.v1)()&&(0,o.jsx)("div",{style:{overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center"},onClick:()=>es("div-gpt-ad-homePageMobile-1"),children:(0,o.jsx)(U,{divId:"div-gpt-ad-homePageMobile-1",baseDivId:"pb-slot-mobile-lb",adsLoc:"home-page-mobile-leaderboard",adType:R.p0D,visibilityTrackingDivId:R.AUy})}),(0,o.jsx)(e6,{isCfDesktop:d}),!(0,a.sA)()&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ts,{}),(0,o.jsx)(to,{videos:l}),(0,o.jsx)(tt,{articles:c,link:"/blog.html",title:ee("blogs")}),(0,o.jsx)(tt,{articles:g,link:"/blog/roundups.html",title:ee("topPicks")}),(0,o.jsx)(ew,{}),(0,o.jsx)(ek,{})]})]}),(0,o.jsx)(W.Bx,{children:(0,o.jsx)(W.xq,{children:(0,o.jsx)(eu,{isCfDesktop:d,isHomepage:!0,cfCountryCode:p})})})]})})})]}),et&&Z&&(0,o.jsx)(G.A,{}),!(0,a.sA)()&&(0,o.jsx)(I.A,{})]}),(0,o.jsxs)(A.Q,{loading:null,persistor:w.q,children:[Q&&(0,o.jsx)(tn,{}),Y&&(0,o.jsx)(k.default,{}),y&&(0,o.jsx)(tl,{isHome:!0}),K&&(0,o.jsx)(ta,{}),en&&(0,o.jsx)(N.A,{source:ei}),eo&&(0,o.jsx)(H.A,{})]})]})};var tp=i(81020),tc=i(63400),tg=i(61663);let th=(0,m.Ay)(tg.A).withConfig({componentId:"sc-e95710ca-0"})(["background-color:#14161F;color:#fff;overflow:auto;position:relative;"]);var tm=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};
1let tx=e=>{var{children:t}=e,i=tm(e,["children"]);return(0,o.jsxs)(th,{...i,children:[(0,o.jsx)("img",{src:(0,L._w)(tp.A),alt:"",loading:"lazy",fetchpriority:"low",className:"left-element"}),(0,o.jsx)("img",{src:(0,L._w)(tc.A),alt:"",loading:"lazy",fetchpriority:"low",className:"right-element"}),t]})};var tu=i(48075),tf=i(85179),tb=i(4976),tw=i(62673),ty=i(18092),tv=i(22030),tA=i(83308),tj=i(91226),tk=i(53132);let tC=e=>{let{appInfo:t,errorStatus:i,errorStatusCode:c,ngNcmHost:m,authUseThirdPartyFlow:x,authRedirectionUrl:u,prefix:f,features:w,gamesList:y,countryCode:v,isCfMobile:A,isQuancastPopupSupportByCountry:j,thirdPartyAuthUrl:k,videos:C,isCfDesktop:I,newLaunches:F,relatedArticles:E,roundUpArticles:_,ssrEvar:G}=e,S=(0,n.useRef)(!0),T=(0,n.useRef)(!0),z=(0,n.useRef)(!1),N=(0,b.wA)();h.Ay.appInfo=Object.assign(Object.assign({},t),{showNewAdsLayout:!1}),h.Ay.isCfMobile=A,h.Ay.prefix=f,h.Ay.authUseThirdPartyFlow=x,h.Ay.authRedirectionUrl=u,h.Ay.features=w,h.Ay.ngNcmHost=m,h.Ay.isHomePage=!0,h.Ay.countryCode=v||"",h.Ay.ssrEvar=G||"",h.Ay.isQuancastPopupSupportByCountry=j,h.Ay.thirdPartyAuthUrl=k,z&&!(null==z?void 0:z.current)&&(z.current=!0,(0,tk.fU)()||((0,tw.Ay)(),T.current=(0,M.UL)(),S.current=!!(0,M.IC)()));let O=Object.assign({},h.Ay),H=(0,n.useRef)(!1);return((0,n.useEffect)(()=>{function e(){(0,tv.j5)(),N({type:tj.A.SET_PROXY_USER,payload:{proxyUserType:(0,a.Yw)()}}),(0,a.ZA)()&&((0,M.OJ)(!1,!1,!1,!1,!1),S.current=!1,N({type:tA.A.UPDATE_ADS_STATE,payload:{adsEnded:!0}}),N({type:tj.A.UPDATE_PLAY_STATE,payload:{isProxyUser:!0}}),(0,M.St)()),(0,M.bY)()}(0,s.sx)("RenderComplete",Object.assign({},(0,d.Il)()),void 0,l.p.HOME_PAGE),N({type:tj.A.UPDATE_IS_NOWGG_URL,payload:{isNowGGURL:T.current,envDetected:!0}}),e(),window.addEventListener("nggClientIpInfoEvent",e),window.addEventListener("nggProfileDetailsUpdated",tv.j5);let t=e=>{let i=e.target;if(!i)return;let{tagName:o,id:n,innerText:a,className:r}=i,{href:d}=i;(0,s.sx)("PageClicked",{tag:(null==o?void 0:o.toLowerCase())||void 0,id:n||void 0,className:"string"==typeof r&&r||void 0,label:i.getAttribute("aria-label")||i.getAttribute("data-testid")||void 0,text:(null==a?void 0:a.trim().slice(0,50))||void 0,href:d||void 0},void 0,l.p.HOME_PAGE),document.removeEventListener("click",t)};return document.addEventListener("click",t),(0,a.Fr)()&&(window.addEventListener("resize",r.oQ),window.addEventListener("orientationchange",r.oQ)),()=>{window.removeEventListener("nggClientIpInfoEvent",e),window.removeEventListener("nggProfileDetailsUpdated",tv.j5),document.removeEventListener("click",t),(0,a.Fr)()&&(window.removeEventListener("resize",r.oQ),window.removeEventListener("orientationchange",r.oQ))}},[]),i)?(0,o.jsx)(tf.A.Provider,{value:O,children:(0,o.jsx)(tb.NotFound,{errorStatusCode:c,prefix:f,ngNcmHost:m,errorReason:"StatusCode".concat(c,"-Browse").concat(i),isQuancastPopupSupportByCountry:j})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(g(),{children:[(0,o.jsx)("title",{children:"Play Online Games for Free | now.gg Mobile Cloud"}),(0,o.jsx)("meta",{httpEquiv:"Cache-control",content:"private, no-cache, no-store, max-age=0, must-revalidate"},"metac"),(0,o.jsx)("meta",{httpEquiv:"Pragma",content:"no-cache"},"metap"),(0,o.jsx)("link",{fetchPriority:"high",rel:"preload",as:"image",href:(0,L._w)(P.A)},"linklcp"),(0,tu.X)((null==t?void 0:t.metaTags)||"")]}),(0,o.jsx)(p.c8,{children:(0,o.jsx)(tx,{onScroll:()=>{H.current||(H.current=!0,(0,s.sx)("PageScrolled",void 0,void 0,l.p.HOME_PAGE))},children:(0,o.jsxs)(tf.A.Provider,{value:O,children:[(null==S?void 0:S.current)&&(0,o.jsx)(ty.A,{isNowGGURL:T.current}),(0,o.jsx)(td,{roundup_articles:_,related_articles:E,gamesList:y,videos:C,isCfDesktop:I,cfCountryCode:v||"",newLaunches:F,isCfMobile:A})]})})})]})}},6254:(e,t,i)=>{i.d(t,{A:()=>o});let o={src:"/_next/static/media/star.cc9185b5.svg",height:12,width:12,blurWidth:0,blurHeight:0}},44699:(e,t,i)=>{i.r(t),i.d(t,{default:()=>b});var o=i(37876),n=i(97634),a=i(25827),r=i(44498),s=i(80549),l=i(56326),d=i(45872),p=i(74678),c=i(54551),g=i(22690),h=i(14232),m=i(26875),x=i(14031),u=i(64320),f=i(44700);let b=()=>{let{t:e}
1=(0,m.B)(),[t,i]=(0,h.useState)(!0),b=(0,u.wA)(),w=(0,u.d4)(e=>e.auth.userEmail),[y,v]=(0,h.useState)(w),[A,j]=(0,h.useState)("");return(0,o.jsxs)(a.A,{style:{padding:"16px 24px 24px 24px",width:"360px",maxWidth:"90%"},modalStyles:f.CU,children:[(0,o.jsx)(p.IT,{style:{color:c.JX.colors.white,fontSize:"20px",textAlign:"center"},children:e(t?"resetPwd":"resetPwdLinkSent")}),(0,o.jsx)(d.Oj,{className:"cross-icon",onClick:()=>{b({type:g.A.UPDATE_PASSWORD,payload:{showResetPassword:!1}})},style:{position:"absolute",right:"22px",top:"16px",color:"white"},children:(0,o.jsx)(s.A,{name:"cross-thin",size:16,id:"reset-pwd-close"})}),(0,o.jsxs)(l.Fp,{children:[t?(0,o.jsx)(f.oi,{children:(0,o.jsx)(r.pd,{title:e("registeredEmail"),onUpdate:e=>v(e),placeholder:"[email protected]",type:"text",defaultValue:w,error:!!A,errorMsg:A,wrapperClass:"login-field"})}):(0,o.jsxs)("div",{style:{marginTop:"24px",marginBottom:"24px"},children:[(0,o.jsx)(p.M5,{style:{textAlign:"center",color:c.JX.colors.white,marginBottom:"24px"},children:e("resetDesc1",{email:y})}),(0,o.jsx)(p.M5,{style:{textAlign:"center",color:c.JX.colors.white},children:(0,o.jsx)(x.x,{i18nKey:"resetDesc2",components:{span:(0,o.jsx)("span",{role:"button",style:{textDecoration:"underline"},onClick:()=>i(!0)})}})})]}),(0,o.jsx)(f.U9,{variant:"primary",onClick:()=>(function(e,t,i,o){return new(i||(i=Promise))(function(n,a){function r(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(r,s)}l((o=o.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){t?(yield n.Ay.forgotPassword({},{email:y})).success?i(!1):j("noAccountFound"):(b({type:g.A.TOGGLE_LOGIN,payload:{showLogin:!0}}),b({type:g.A.UPDATE_PASSWORD,payload:{showResetPassword:!1}}))}),text:e(t?"sendPwdResetLink":"goBackToSignIn"),disabled:!y})]})]})}},44700:(e,t,i)=>{i.d(t,{CU:()=>a,U9:()=>s,US:()=>l,oi:()=>r});var o=i(79682),n=i(98684);let a=(0,n.AH)(["border:1px solid #7B4CFF;background:",";backdrop-filter:blur(32px);"],e=>{var t;let{theme:i}=e;return null==(t=i.colors)?void 0:t.black20}),r=n.Ay.div.withConfig({componentId:"sc-2efad478-0"})(["width:100%;margin:16px 0px;div{&.login-field{margin:0px;label{letter-spacing:1.5px;}input{border:1px solid ",";border-radius:8px;background:",";box-shadow:0px 2px 8px 0px rgba(0,0,0,0.04);:not(:focus){border:1px solid "," !important;}&:hover{border 1px solid ",";}&:focus{border:1px solid rgba(255,66,165,1);}&:error{border 1px solid ",";}}}}"],e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.black20},e=>{let{theme:t}=e;return t.colors.white50},e=>{let{theme:t}=e;return t.colors.white70},e=>{let{theme:t}=e;return t.colors.error}),s=(0,n.Ay)(o.$).withConfig({componentId:"sc-2efad478-1"})(["width:100%;height:40px;border-radius:8px;background:linear-gradient(270deg,#7B4CFF 0%,#0EA4C5 99.48%);box-shadow:0px 8px 16px 0px ",";&:hover{background:linear-gradient(270deg,#9C79FF 0%,#0FD4FF 99.48%);}"],e=>{let{theme:t}=e;return t.colors.black10}),l=n.Ay.div.withConfig({componentId:"sc-2efad478-2"})(["color:",";cursor:pointer;padding:8px;z-index:11;border-radius:8px;&:hover{background:",";}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white20})},48075:(e,t,i)=>{i.d(t,{X:()=>a});var o=i(63261),n=i(53132);let a=e=>{let t=(0,o.Ay)(e);return Array.isArray(t)?t.map(e=>"string"==typeof e?e:e=Object.assign(Object.assign({},e),{key:(0,n.u_)()})):t}},56326:(e,t,i)=>{i.d(t,{BU:()=>a,CU:()=>r,Fp:()=>c,Gv:()=>d,TT:()=>h,e9:()=>s,eE:()=>l,mc:()=>p});var o=i(98684),n=i(74678);let a=(0,o.AH)(["z-index:50;"]),r=e=>(0,o.AH)(["border:1px solid ",";backdrop-filter:blur(60px);max-width:409px;width:100%;@media only screen and (min-width:768px){position:absolute;top:4px;left:134px;}"],e.colors.white10),s=(0,o.Ay)(n.T5).withConfig({componentId:"sc-fb66f565-0"})(["color:",";margin:0;"],e=>{let{theme:t}=e;return t.colors.white}),l=(0,o.Ay)(n.YC).withConfig({componentId:"sc-fb66f565-1"})(["color:",";margin:12px 0 0;"],e=>{let{theme:t}=e;return t.colors.white}),d=o.Ay.span.withConfig({componentId:"sc-fb66f565-2"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.white80}),p=o.Ay.div.withConfig({componentId:"sc-fb66f565-3"})(["display:flex;padding:12px;"]),c=o.Ay.div.withConfig({componentId:"sc-fb66f565-4"})(["display:flex;flex-direction:column;justify-content:center;"]),g=(0,o.i7)(["0%{opacity:0;}50%{opacity:0;}100%{opacity:1;}"]),h=o.Ay.div.withConfig({componentId:"sc-fb66f565-5"})(["display:flex;justify-content:flex-end;
1gap:10px;margin-top:30px;animation-name:",";animation-duration:1.5s;animation-fill-mode:forwards;opacity:0;"],g)},57803:(e,t,i)=>{i.d(t,{A:()=>o});let o={src:"/_next/static/media/arrow-stroke-right.5d4a05f0.svg",height:10,width:6,blurWidth:0,blurHeight:0}}}]);
2//# sourceMappingURL=1957.d3e9b4729c19f2ed.js.map

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.