1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1954],{49482:function(e,n,a){a.d(n,{Z:function(){return p}});var o=a(964).ZP.svg.withConfig({displayName:"style__SvgStyleWrapper",componentId:"sc-4wcfru-0"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);.circle{stroke-dasharray:90;stroke-dashoffset:90;stroke-linecap:round;transform-origin:center;animation:animate-stroke 1.5s ease infinite,rotation 1.5s linear infinite;}.circle-2{transform:rotate(-20deg);animation:animate-stroke 1.5s ease-in infinite,rotation2 1.5s linear infinite;}.circle-3{transform:rotate(-60deg);animation:animate-stroke 1.5s ease-in infinite,rotation3 1.5s linear infinite;}@keyframes animate-stroke{50%{stroke-dashoffset:0;}100%{stroke-dashoffset:-90;}}@keyframes rotation{0%{}100%{transform:rotate(360deg);}}@keyframes rotation2{0%{}100%{transform:rotate(340deg);}}@keyframes rotation3{0%{}100%{transform:rotate(300deg);}}"]),t=a(85893),p=function(){return(0,t.jsxs)(o,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",className:"img-loader",children:[(0,t.jsx)("style",{type:"text/css"}),(0,t.jsx)("circle",{className:"circle circle-3",cx:"24",cy:"24",r:"20",stroke:"#B3D661",strokeWidth:"8"}),(0,t.jsx)("circle",{className:"circle circle-2",cx:"24",cy:"24",r:"20",stroke:"#51A5C9",strokeWidth:"8"}),(0,t.jsx)("circle",{className:"circle circle-1",cx:"24",cy:"24",r:"20",stroke:"#FF42A5",strokeWidth:"8"})]})}},58452:function(e,n,a){a.d(n,{Z:function(){return m}});var o=a(8307),t=a(27812),p=a(4730),i=a(67294),s=a(25043),c=a(49482),l=a(964).ZP.div.withConfig({displayName:"style__PictureStyleWrapper",componentId:"sc-3zuk8d-0"})(["position:relative;img{max-width:100%;height:auto;z-index:1;position:relative;}"]),r=a(85893),g=["lazyload","fallbackSrc","lazyLoadClass"];function d(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,o)}return a}function h(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?d(Object(a),!0).forEach(function(n){(0,o.Z)(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}var m=function(e){var n=e.lazyload,a=e.fallbackSrc,o=e.lazyLoadClass,d=(0,p.Z)(e,g),m=(0,i.useState)(!1),u=m[0],w=m[1],b=(0,t.Z)(d.children),f=b.findIndex(function(e){return"img"===e.type}),x=b.splice(f,1).pop();return(0,r.jsx)(r.Fragment,{children:void 0===n||n?(0,r.jsxs)(l,{className:"lazyload-container ".concat(void 0===o?"":o),children:[(0,r.jsx)(s.Z,{children:(0,r.jsxs)("picture",{children:[b.map(function(e){return e}),(0,r.jsx)("img",h({onLoad:function(){w(!0)},onError:function(e){e.target.parentNode.removeChild(e.target)}},x.props))]})}),!u&&(0,r.jsx)(c.Z,{})]}):(0,r.jsx)(l,{className:"lazyload-container",children:(0,r.jsxs)("picture",{children:[b.map(function(e){return e}),(0,r.jsx)(function(e){var n=e.src,a=e.fallbackSrc,o=e.alt,t=e.className;return(0,r.jsx)("div",{className:"image",dangerouslySetInnerHTML:{__html:'\n <img alt="'.concat(o,'" src="').concat(n,'"\n data-fallback=').concat(a,' \n onerror="this.onerror=null;this.src=this.dataset.fallback;"\n class="').concat(t,"\" \n width='261'\n height='364'\n />\n ")}})},h(h({},x.props),{},{fallbackSrc:(void 0===a?"":a)||"https://cdn.now.gg/apps-content/img/homepage/app-tile.png",className:"logo-img"}))]})})})}},71954:function(e,n,a){a.r(n),a.d(n,{default:function(){return y}});var o=a(11163),t=a(67294),p=a(17141),i=a(96741),s=a(76533),c=a(50059),l=a(27937),r=a(964),g=a(36693),d=a(87255),h=a(77191),m=a(85893),u=r.ZP.ul.withConfig({displayName:"HeaderAppLinks__AppIcons",componentId:"sc-njreql-0"})(["&.header-games{.header-game-item{position:relative;&::after{content:attr(data-tooltip);position:absolute;z-index:999;display:none;font-size:10px;background:black;padding:2px;border:1px solid;border-radius:4px;top:95%;white-space:nowrap;padding:4px 8px;}&:hover{&::after{display:block;}}}@media screen and (max-width:767px){display:none;}}img{cursor:pointer;margin:6px;border-radius:4px;overflow:hidden;display:block}"]),w=r.ZP.button.withConfig({displayName:"HeaderAppLinks__AllGamesLink",componentId:"sc-njreql-1"})(["border:1px solid rgba(255,255,255,0.6);filter:drop-shadow(0px 4px 4px rgba(0,0,0,0.2));border-radius:8px;width:149px;height:43px;background:rgba(0,0,0,0.7);color:rgba(255,255,255,0.8);backdrop-filter:blur(12px);font-weight:600;font-size:14px;line-height:176%;display:inline-flex;padding:8px 18px;margin:0 24px;&:hover{border:1px solid rgba(255,255,255,1);}@media screen and (max-width:767px){display:none;}"]),b=[{appId:"51059",packageName:"com.nowgg.h5.pub483.app51059",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/banner/desktop/bitlife-life-simulator.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/launch-video/desktop/bitlife-life-simulator.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/icon/bitlife.png",tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/game-tiles/bitlife.jpg",mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/banner/mobile/bitlife-life-simulator.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/launch-video/mobile/bitlife-life-simulator.mp4"},logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51059/logo/bitlife.png"},appName:"Bitlife Life Simulator",appGenre:"Simulation",playUrl:"https://now.us/play/moana-games/51059/bitlife-life-simulator",appDeveloperInfo:{name:"Moana Games",developerSlug:"moana-games"},appRank:6,appRating:4.45},{appId:"51240",packageName:"com.nowgg.h5.pub511.app51240",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/banner/desktop/bloxd-io.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/launch-video/desktop/bloxd-io.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/banner/mobile/bloxd-io.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/launch-video/mobile/bloxd-io.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/icon/bloxd-io.png",tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/game-tiles/bloxd-io.jpg",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub511.app51240/logo/bloxd-io.png"},appName:"Bloxd.io",appGenre:"Arcade",playUrl:"https://now.gg/play/bloxd/51240/bloxd-io",appDeveloperInfo:{name:"bloxd",developerSlug:"bloxd"},appRank:1,appRating:4.17},{appId:"51277",packageName:"com.nowgg.h5.pub522.app51277",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/banner/desktop/nitro-rally-evo.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/launch-video/desktop/nitro-rally-evo.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/banner/mobile/nitro-rally-evo.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/launch-video/mobile/nitro-rally-evo.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/icon/nitro-rally-evo.png",tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/game-tiles/nitro-rally-evo.jpg",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub522.app51277/logo/nitro-rally-evo.png"},appName:"Nitro Rally Evo",appGenre:"Racing",playUrl:"https://now.gg/play/npc-games/51277/nitro-rally-evo",appDeveloperInfo:{name:"NPC Games",developerSlug:"npc-games"},appRank:5,appRating:4.59},{appId:"51181",packageName:"com.nowgg.h5.pub501.app51181",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/banner/desktop/friday-night-funkin-.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/launch-video/desktop/friday-night-funkin-.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/banner/mobile/friday-night-funkin-.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/launch-video/mobile/friday-night-funkin-.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/icon/friday-night-funkin-.png",tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/game-tiles/friday-night-funkin-.jpg",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub501.app51181/logo/friday-night-funkin-.png"},appName:"Friday Night Funkin'",appGenre:"Music",playUrl:"https://now.gg/play/ninjamuffin99/51181/friday-night-funkin-",appDeveloperInfo:{name:"ninjamuffin99",developerSlug:"ninjamuffin99"},appRank:1,appRating:4.02}
1,{appId:"51076",packageName:"com.nowgg.h5.pub483.app51076",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/banner/desktop/imposter.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/launch-video/desktop/imposter.mp4"},tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/game-tiles/imposter.jpg",mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/banner/mobile/imposter.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/launch-video/mobile/imposter.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/icon/imposter.png",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51076/logo/imposter.png"},appName:"Imposter",appGenre:"Arcade",playUrl:"https://now.us/play/dra/51076/imposter",appDeveloperInfo:{name:"DRA",developerSlug:"dra"},appRank:6,appRating:4.62},{appId:"51036",packageName:"com.nowgg.h5.pub483.app51036",media:{desktop:{banner:"https://cdn.now.gg/now-gg-store/483/com.nowgg.h5.pub483.app51036/63e4a09cc3e995527ecb55aa/assets/en/game-wallpaper.jpeg"},tile:"https://cdn.now.gg/now-gg-store/483/com.nowgg.h5.pub483.app51036/63e4a09cc3e995527ecb55aa/assets/en/game-wallpaper.jpeg",mobile:{banner:"https://cdn.now.gg/now-gg-store/483/com.nowgg.h5.pub483.app51036/63e4a09cc3e995527ecb55aa/assets/en/mobile-banner-image.jpeg"},icon:"https://cdn.now.gg/now-gg-store/483/com.nowgg.h5.pub483.app51036/63e4a09cc3e995527ecb55aa/assets/en/game-icon.png",logo:"https://cdn.now.gg/now-gg-store/483/com.nowgg.h5.pub483.app51036/63e4a09cc3e995527ecb55aa/assets/en/game-logo.png"},appName:"Moto X3M",appGenre:"Casual",playUrl:"https://now.us/play/madpuffers/51036/moto-x3m",appDeveloperInfo:{name:"MadPuffers",developerSlug:"madpuffers"},appRank:6,appRating:4.4},{appId:"51129",packageName:"com.nowgg.h5.pub479.app51129",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/banner/desktop/dumb-ways-to-die-2.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/launch-video/desktop/dumb-ways-to-die-2.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/banner/mobile/dumb-ways-to-die-2.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/launch-video/mobile/dumb-ways-to-die-2.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/icon/dumb-ways-to-die-2.png",tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/game-tiles/dumb-ways-to-die-2.jpg",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub479.app51129/logo/dumb-ways-to-die-2.png"},appName:"Dumb Ways To Die 2",appGenre:"Arcade",playUrl:"https://now.gg/play/plug-in-digital/51129/dumb-ways-to-die-2",appDeveloperInfo:{name:"Plug In Digital",developerSlug:"plug-in-digital"},appRank:1,appRating:4.32},{appId:"50010",packageName:"com.nowgg.h5.pub474.app50010",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub474.app50010/banner/desktop/idle-mining-empire.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub474.app50010/videos/desktop/idle-mining-empire.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub474.app50010/banner/mobile/idle-mining-empire.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub474.app50010/videos/mobile/idle-mining-empire.mp4"},tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub474.app50010/game-tiles/idle-mining-empire.jpg",icon:"https://cdn.now.gg/now-gg-store/474/com.nowgg.h5.pub474.app50010/63c92e36c9f65242cba5789c/assets/en/game-icon.png",logo:"https://cdn.now.gg/now-gg-store/474/com.nowgg.h5.pub474.app50010/63c92e36c9f65242cba5789c/assets/en/game-logo.png"},appName:"Idle Mining Empire",appGenre:"Casual",playUrl:"https://now.gg/play/marketjs/50010/idle-mining-empire",appDeveloperInfo:{name:"MarketJS",developerSlug:"marketjs"},appRank:1,appRating:4.2},{appId:"51045",packageName:"com.nowgg.h5.pub483.app51045",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/banner/desktop/top-speed-racing-3d.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/launch-video/desktop/top-speed-racing-3d.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/banner/mobile/top-speed-racing-3d.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/launch-video/mobile/top-speed-racing-3d.mp4"},tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/game-tiles/top-speed-racing-3d.jpg",icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/icon/top-speed-racing-3d.png",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51045/logo/top-speed-racing-3d.png"},appName:"Top Speed Racing 3D",appGenre:"Racing",playUrl:"https://now.us/play/great-games/51045/top-speed-racing-3d",appDeveloperInfo:{name:"Great Games",developerSlug:"great-games"},appRank:6,appRating:4.55},{appId:"51166",packageName:"com.nowgg.h5.pub483.app51166",media:{desktop:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/banner/desktop/death-chase.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/launch-video/desktop/death-chase.mp4"},mobile:{banner:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/banner/mobile/death-chase.jpg",launchVideo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/launch-video/mobile/death-chase.mp4"},icon:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/icon/death-chase.png",tile:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/game-tiles/death-chase.jpg",logo:"https://cdn.now.gg/apps-content/com.nowgg.h5.pub483.app51166/logo/death-chase.png"},appName:"Death Chase",appGenre:"Arcade",playUrl:"https://now.us/play/gametornado/51166/death-chase",appDeveloperInfo:{name:"gametornado",developerSlug:"gametornado"},appRank:1,appRating:4.7}],f=function(e){(0,h.Z)(e);var n=(0,o.useRouter)().locale,a=(0,t.useState)("Guest");a[0],a[1];var i=function(e){if(!e)return null;(0,p.fl)("".concat(e),n)};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(u,{className:"flex perfectCenter header-games",children:b.map(function(e,n){var a;
1return n<7?(0,m.jsx)("li",{className:"flex perfectCenter header-game-item","data-tooltip":e.appName,children:(0,m.jsx)("img",{onClick:function(){return i(e.playUrl)},class:"explore-app",src:null==e||null===(a=e.media)||void 0===a?void 0:a.icon,height:"40",width:"40",alt:"Play Snapchat Online"})}):(0,m.jsx)(m.Fragment,{})})}),(0,m.jsxs)(w,{className:"all-games",onClick:function(){return i("/")},children:[(0,m.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"2",fill:"white","fill-opacity":"0.8"}),(0,m.jsx)("path",{d:"M10.5 14C9.39231 15.1077 6.03846 18.4615 4.5 20M4.5 14L10.5 20",stroke:"white","stroke-opacity":"0.8","stroke-linecap":"round","stroke-linejoin":"round"}),(0,m.jsx)("circle",{cx:"7.5",cy:"7.5",r:"3.5",fill:"white","fill-opacity":"0.8"}),(0,m.jsx)("path",{d:"M17.4287 4.74275C17.3384 4.59215 17.1756 4.5 17 4.5C16.8244 4.5 16.6616 4.59215 16.5713 4.74275L13.5713 9.74275C13.4786 9.89722 13.4761 10.0896 13.5649 10.2463C13.6537 10.4031 13.8199 10.5 14 10.5H20C20.1801 10.5 20.3463 10.4031 20.4351 10.2463C20.5239 10.0896 20.5214 9.89722 20.4287 9.74275L17.4287 4.74275Z",stroke:"white","stroke-opacity":"0.8","stroke-linejoin":"round"})]}),"\xa0 All Games"]})]})},x=a(28010),v=a(58452),k=a(97218),j=r.ZP.div.withConfig({displayName:"HeaderLight__HeaderStyle",componentId:"sc-1kux33w-0"})([""," "," ",""],l.Z,c.Z,function(e){return(0,g.Z)(e.lang)}),y=function(e){var n=e.hideHeaderLink,a=e.origin,c=e.headerLinks,l=e.extraClass,r=e.isDarkTheam,g=e.theme,h=e.isNewHeader,u=void 0!==h&&h,w=e.play_theme_template,b=(0,t.useState)([]),y=b[0],N=b[1],C=(0,o.useRouter)(),S=C.pathname,L=C.locale,I=(0,t.useState)(""),R=I[0],Z=I[1];(0,p.aq)(L);var _=(0,t.useState)(!1),A=_[0],D=_[1],O=(0,t.useState)(!1),P=O[0],q=O[1],G=(0,t.useState)(!0),M=G[0],B=G[1],F=(0,t.useState)(""),V=F[0],z=F[1],U=(0,t.useState)(!1),E=U[0],H=U[1],T=(0,t.useRef)(null),W=(0,t.useRef)(null),J=(0,t.useRef)(null),X=function(e){z(e.target.value)};(0,t.useEffect)(function(){var e=window.navigator.userAgent;B((0,x.FS)(e).isMobile),"en"==L&&H(!0)},[]),(0,t.useEffect)(function(){A?(document.body.classList.add("hamburger-open"),document.querySelector(".header-section-light").classList.add("open-menu"),document.querySelector(".language")&&(document.querySelector(".language").style.zIndex="1")):(document.body.classList.remove("hamburger-open"),document.querySelector(".header-section-light").classList.remove("open-menu"),document.querySelector(".language")&&(document.querySelector(".language").style.zIndex="2"));var e="en"==L?"":"/".concat(L);"app-page-dark"==g&&"en"==L&&-1!=S.indexOf("/games")&&(k.request({method:"get",maxBodyLength:1/0,url:"/webapi/search/app",headers:{}}).then(function(e){N(e.data.data||[])}).catch(function(e){console.log(e)}
1),Z("premium games")),"app-page-dark"==g&&-1!=S.indexOf("/blog")&&(k.request({method:"get",maxBodyLength:1/0,url:e+"/webapi/search/blog",headers:{}}).then(function(e){N(e.data.data||[])}).catch(function(e){console.log(e)}),Z("Blogs"))},[A]);var Y=function(e){var n="https://cdn.now.gg/apps-content/img/homepage/app-tile.png";e.target.src!==n&&(e.target.src=n)},K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;o.preventDefault();var t=(0,p.ej)("v_country")||window.v_country,i=document.querySelector(".games-item.roblox-app"),s="roblox-app"==a?a:null;s&&["US","GB","AU","CA","CH","GB"].includes(t)&&document.referrer.includes("google.com")&&(n="https://now.gg/play/roblox-corporation/5349/roblox","en"!=L&&i.setAttribute("href",n),i.setAttribute("data-href","".concat(n)));var c={};c.packageName="Blogs"==R?"com.nowgg.blogpage":"com.nowgg.gameshtml",c.appId="Blogs"==R?"blogpage":"gameshtml";var l={};l.action="Clicked",l.element="PortalSuggestedGame",l.packageName=e,n=s&&i.getAttribute("data-href")&&""!=i.getAttribute("data-href")&&o.target.className.includes("roblox-app")?o.target.getAttribute("data-href"):o.target.getAttribute("href"),"en"==L&&window.ngtl.reportEvent("FeUserInteraction",{appId:c.appId&&c.appId.toString()||"website",packageName:c.packageName||"com.nowgg.website",userType:"Guest"},l),"en"==L?window.ngtl.navigate(n,{},"_self"):window.location.href=n};return(0,m.jsx)(j,{lang:L,children:(0,m.jsxs)("header",{className:"header-section-light ".concat(void 0===l?"":l," ").concat(g," ").concat(null!=y&&y.length?"game-search-header":""),children:[(0,m.jsxs)("div",{className:"flex container ".concat(n?"logo-alignment":"space-btw"),children:[(0,m.jsxs)("div",{className:"header-left-section",children:[(0,m.jsx)("a",{href:E?window.ngtl.getNavigationUrl("".concat(""!==(0,p.aq)(L)?(0,p.aq)(L):"/")):"".concat(""!==(0,p.aq)(L)?(0,p.aq)(L):"/"),className:"logo",children:(0,m.jsx)("img",{alt:"now.gg logo",src:r?"https://cdn.now.gg/apps-content/img/logo-white.png":"https://cdn.now.gg/apps-content/img/nowgg-logo.png",width:"181",height:"48"})}),y&&y.length&&!M?(0,m.jsxs)("div",{className:"header-search",children:[(0,m.jsxs)("div",{className:"sc-eldieg",children:[(0,m.jsx)("span",{className:"sc-icon",onClick:function(){T.current.focus()},children:(0,m.jsx)("svg",{style:{width:"100%",marginRight:"0.5vw",height:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",children:(0,m.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.812 14.8257L20.9165 19.929C21.1587 20.1712 21.1587 20.5716 20.9165 20.8137C20.7954 20.9395 20.6324 21 20.4741 21C20.3157 21 20.1527 20.9348 20.0316 20.8137L14.9272 15.7104C13.353 17.0794 11.2991 17.9082 9.05423 17.9082C4.11744 17.9082 0.0981445 13.8898 0.0981445 8.9541C0.0981445 4.0184 4.11278 0 9.05423 0C13.991 0 18.0103 4.01375 18.0103 8.9541C18.0103 11.1984 17.1813 13.2519 15.812 14.8257ZM9.04962 1.25721C4.80678 1.25721 1.35102 4.70755 1.35102 8.95411C1.35102 13.2007 4.80678 16.6557 9.04962 16.6557C13.2971 16.6557 16.7482 13.196 16.7482 8.95411C16.7482 4.7122 13.2971 1.25721 9.04962 1.25721Z",fill:"white"})})}),(0,m.jsx)("input",{value:V,ref:T,onChange:X,id:"search-box",type:"text",title:"Search ".concat(R),onBlur:function(){setTimeout(function(){return z("")},400)},placeholder:"Search ".concat(R),autocomplete:"off"}),V.trim()?(0,m.jsx)("p",{className:"sc-button-txt sc-clear-btn",onClick:function(){return z("")},children:"Clear"}):null]}),V.trim()&&y.filter(function(e){return e.name.toLowerCase().includes(V.trim().toLocaleLowerCase())}).length?(0,m.jsx)("ul",{className:"sc-list",children:y&&y.filter(function(e){var n=V.trim();return!!n&&e.name.toLowerCase().includes(n.toLocaleLowerCase())}).map(function(e){return(0,m.jsxs)("li",{className:"sc-list-item",href:e.page_path,"data-package":null==e?void 0:e.packageName,onClick:function(n){K(null==e?void 0:e.packageName,e.page_path,(null==e?void 0:e.packageName)=="com.roblox.client"?"roblox-app":"",n)},children:[(0,m.jsx)("div",{className:"sc-game-ico",children:(0,m.jsxs)(v.Z,{lazyload:!1,children:[(0,m.jsx)("source",{media:"(max-width:768px)",srcSet:e.icon}),(0,m.jsx)("img",{className:"search-ico",src:e.icon,alt:"Play ".concat(e.name," Online"),height:"32",width:"32",onError:Y})]})}),(0,m.jsx)("p",{className:"sc-button-txt",children:e.name}),"Games"==R?(0,m.jsx)("button",{className:"sc-play-btn",children:"Play"}):null]})})}):V.trim()?(0,m.jsx)("div",{className:"sc-list no-search-result",children:"Sorry no results found "}):null]}):null]}),n?null:(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:"flex social-header-links ".concat(w?"app-tiles":""),children:w?(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(f,{})}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.Z,{origin:a,headerLinks:c}),u&&(0,m.jsx)(d.Z,{})]})}),y&&y.length?(0,m.jsx)("span",{className:"mob-search-ico-head",onClick:function(){J.current.style.display="block",document.querySelector("body").classList.add("scroll-disabled")},children:(0,m.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",style:{width:"100%",marginRight:"0.5vw",height:"100%"},children:(0,m.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.812 14.8257L20.9165 19.929C21.1587 20.1712 21.1587 20.5716 20.9165 20.8137C20.7954 20.9395 20.6324 21 20.4741 21C20.3157 21 20.1527 20.9348 20.0316 20.8137L14.9272 15.7104C13.353 17.0794 11.2991 17.9082 9.05423 17.9082C4.11744 17.9082 0.0981445 13.8898 0.0981445 8.9541C0.0981445 4.0184 4.11278 0 9.05423 0C13.991 0 18.0103 4.01375 18.0103 8.9541C18.0103 11.1984 17.1813 13.2519 15.812 14.8257ZM9.04962 1.25721C4.80678 1.25721 1.35102 4.70755 1.35102 8.95411C1.35102 13.2007 4.80678 16.6557 9.04962 16.6557C13.2971 16.6557 16.7482 13.196 16.7482 8.95411C16.7482 4.7122 13.2971 1.25721 9.04962 1.25721Z",fill:"white"})})}):null,(0,m.jsx)("div",{onClick:function(){D(!0),q(!0)}
1,className:"hamburger-block",id:"humburger-icon",children:(0,m.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,m.jsx)("rect",{x:"2",y:"11",width:"20",height:"1",rx:"0.5",fill:"".concat(r?"#fff":"#FF42A5")}),(0,m.jsx)("rect",{x:"2",y:"18",width:"20",height:"1",rx:"0.5",fill:"".concat(r?"#fff":"#FF42A5")}),(0,m.jsx)("rect",{x:"2",y:"4",width:"20",height:"1",rx:"0.5",fill:"".concat(r?"#fff":"#FF42A5")})]})}),P&&(0,m.jsx)(s.Z,{onClose:function(){D(!1),setTimeout(function(){q(!1)},500)},transition:A,origin:a,headerLinks:c,isNewHeader:u,isDarkTheam:r})]})]}),y&&y.length?(0,m.jsxs)("div",{className:"mobile-search-overlay",ref:J,children:[(0,m.jsxs)("div",{className:"search-head",children:[(0,m.jsx)("a",{href:"/",children:(0,m.jsx)("img",{id:"ng-logo",width:"120",height:"30",src:"https://cdn.now.gg/apps-content/img/logo-white.png",alt:"now.gg Logo"})}),(0,m.jsx)("div",{children:(0,m.jsxs)("div",{className:"sc-box",children:[(0,m.jsx)("span",{className:"search-ico",onClick:function(){W.current.focus()},children:(0,m.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",style:{width:"100%",marginRight:"0.5vw",height:"100%"},children:(0,m.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.812 14.8257L20.9165 19.929C21.1587 20.1712 21.1587 20.5716 20.9165 20.8137C20.7954 20.9395 20.6324 21 20.4741 21C20.3157 21 20.1527 20.9348 20.0316 20.8137L14.9272 15.7104C13.353 17.0794 11.2991 17.9082 9.05423 17.9082C4.11744 17.9082 0.0981445 13.8898 0.0981445 8.9541C0.0981445 4.0184 4.11278 0 9.05423 0C13.991 0 18.0103 4.01375 18.0103 8.9541C18.0103 11.1984 17.1813 13.2519 15.812 14.8257ZM9.04962 1.25721C4.80678 1.25721 1.35102 4.70755 1.35102 8.95411C1.35102 13.2007 4.80678 16.6557 9.04962 16.6557C13.2971 16.6557 16.7482 13.196 16.7482 8.95411C16.7482 4.7122 13.2971 1.25721 9.04962 1.25721Z",fill:"white"})})}),(0,m.jsx)("input",{ref:W,value:V,onChange:X,id:"search-box",type:"text",autofocus:"true",title:"Search ".concat(R),placeholder:"Search ".concat(R),autocomplete:"off"}),(0,m.jsx)("p",{className:"clear-txt",onClick:function(){return z("")},children:(0,m.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("path",{d:"M13.5 2.5L2.5 13.5",stroke:"white","stroke-opacity":"0.8","stroke-linecap":"round"}),(0,m.jsx)("path",{d:"M13.5 13.5L2.5 2.5",stroke:"white","stroke-opacity":"0.8","stroke-linecap":"round"})]})})]})}),(0,m.jsx)("span",{className:"mobile-search-close",onClick:function(){z(""),J.current.style.display="none",document.querySelector("body").classList.remove("scroll-disabled")},children:(0,m.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("path",{d:"M16.875 3.125L3.125 16.875",stroke:"white","stroke-linecap":"round"}),(0,m.jsx)("path",{d:"M16.875 16.875L3.125 3.125",stroke:"white","stroke-linecap":"round"})]})})]}),V.trim()&&y&&y.filter(function(e){var n=V.trim();return!!n&&e.name.toLowerCase().includes(n.toLocaleLowerCase())}).length?(0,m.jsxs)("div",{className:"listing-section",children:[(0,m.jsx)("div",{className:"heading",children:(0,m.jsx)("span",{children:"Searched Result"})}),(0,m.jsx)("ul",{offset:"0",className:"games-list",children:y&&y.filter(function(e){var n=V.trim();return!!n&&e.name.toLowerCase().includes(n.toLocaleLowerCase())}).map(function(e){return(0,m.jsx)("li",{className:"sc-gslxeA kqCjqv",id:null==e?void 0:e.id,children:(0,m.jsxs)("a",{href:e.page_path,"data-package":null==e?void 0:e.packageName,onClick:function(n){K(null==e?void 0:e.packageName,e.page_path,(null==e?void 0:e.packageName)=="com.roblox.client"?"roblox-app":"",n)},className:"sc-avest",children:[(0,m.jsxs)(v.Z,{lazyload:!1,children:[(0,m.jsx)("source",{media:"(max-width:768px)",srcSet:e.icon}),(0,m.jsx)("img",{className:"search-ico",src:e.icon,alt:"Play ".concat(e.name," Online"),height:"32",width:"32",onError:Y})]}),(0,m.jsx)("span",{className:"game-title",children:e.name})]})})})})]}):(0,m.jsxs)(m.Fragment,{children:[V.trim()&&!y.filter(function(e){var n=V.trim();return!!n&&e.name.toLowerCase().includes(n.toLocaleLowerCase())}).length?(0,m.jsxs)("div",{className:"no-result",children:[(0,m.jsx)("h2",{children:"Sorry no results found"}),(0,m.jsx)("span",{children:"You can try searching for something else"})]}):null,(0,m.jsxs)("div",{className:"listing-section",children:[(0,m.jsx)("div",{className:"heading",children:(0,m.jsxs)("span",{children:[" Trending ",R," "]})}),(0,m.jsx)("ul",{offset:"0",className:"games-list",children:y&&y.slice(0,6).map(function(e){return(0,m.jsx)("li",{className:"sc-gslxeA kqCjqv",id:e.id,children:(0,m.jsxs)("a",{href:e.page_path,"data-package":null==e?void 0:e.packageName,onClick:function(n){K(null==e?void 0:e.packageName,e.page_path,(null==e?void 0:e.packageName)=="com.roblox.client"?"roblox-app":"",n)},className:"sc-avest",children:[(0,m.jsxs)(v.Z,{lazyload:!1,children:[(0,m.jsx)("source",{media:"(max-width:768px)",srcSet:e.icon}),(0,m.jsx)("img",{className:"search-ico",src:e.icon,alt:"Play ".concat(e.name," Online"),height:"32",width:"32",onError:Y})]}),(0,m.jsx)("span",{className:"game-title",children:e.name})]})})})})]})]})]}):null]})})}}}]);
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.