"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7058],{57058:(e,t,i)=>{i.r(t),i.d(t,{default:()=>eV});var n=i(37876),a=i(14232),o=i(4917),r=i.n(o),l=i(64320),d=i(26875),s=i(35402),p=i(56047),c=i(28688),h=i(99308),u=i(33884),m=i(5241),g=i(43446),x=i(62920),f=i(4858),v=i(29359),y=i(18847),w=i.n(y),b=i(15039),A=i.n(b),j=i(12815),C=i(70780),I=i(52094),E=i(98684);E.Ay.section.withConfig({componentId:"sc-7f59e304-0"})(["background-color:",";min-height:100%;width:100%;display:flex;justify-content:center;align-items:flex-end;padding:12px;position:relative;"],e=>{let{theme:t}=e;return t.colors.black}),E.Ay.img.withConfig({componentId:"sc-7f59e304-1"})(["position:absolute;height:100%;pointerEvents:none;zIndex:0;objectFit:cover;transform:translateX(-50%);left:50%;"]),E.Ay.div.withConfig({componentId:"sc-7f59e304-2"})(['position:absolute;left:0;top:0;width:100%;height:100%;::after{content:"";background-color:',";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;}"],e=>{let{theme:t}=e;return t.colors.black70}),E.Ay.div.withConfig({componentId:"sc-7f59e304-3"})(["text-align:center;"]),E.Ay.div.withConfig({componentId:"sc-7f59e304-4"})(["position:relative;z-index:2;"]);let k=E.Ay.div.withConfig({componentId:"sc-7f59e304-5"})(["margin:0 auto;display:flex;justify-content:center;div{position:relative;width:132px;height:132px;img{border-radius:12px;}}img{border-radius:12px;}"]);E.Ay.div.withConfig({componentId:"sc-7f59e304-6"})(["margin-top:24px;"]);let P=(0,E.Ay)(u.IT).attrs({as:"h1"}).withConfig({componentId:"sc-7f59e304-7"})(["color:",";padding:0 20px;width:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;",""],e=>{let{theme:t}=e;return t.colors.white},e=>{let{isVideoComplianceLayoutEnabled:t}=e;return t?"100%":"calc(100vw - 340px)"},e=>{let{isMobile:t}=e;return t?"width: 98vw;":""}),D=E.Ay.div.withConfig({componentId:"sc-7f59e304-8"})(["margin-top:4px;display:flex;align-items:center;justify-content:center;"]),L=E.Ay.div.withConfig({componentId:"sc-7f59e304-9"})(['display:flex;align-items:center;flex-shrink:0;padding-right:24px;position:relative;::after{content:"";width:1px;height:16px;background-color:',";position:absolute;right:12px;top:50%;transform:translateY(-50%)}img{width:16px;}"],e=>{let{theme:t}=e;return t.colors.white20}),F=(0,E.Ay)(u.M5).attrs({as:"span"}).withConfig({componentId:"sc-7f59e304-10"})(["color:",";margin-left:4px;"],e=>{let{theme:t}=e;return t.colors.white}),O=(0,E.Ay)(u.M5).attrs({as:"span"}).withConfig({componentId:"sc-7f59e304-11"})(["color:",';display:inline-block;flex-shrink:0;padding-right:24px;position:relative;::after{content:"";width:1px;height:16px;background-color:',";position:absolute;right:12px;top:50%;transform:translateY(-50%)}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white20}),B=E.Ay.a.withConfig({componentId:"sc-7f59e304-12"})([""," font-weight:400;color:",";text-decoration:underline;"],u.cP,e=>{let{theme:t}=e;return t.colors.white});E.Ay.div.withConfig({componentId:"sc-7f59e304-13"})(["display:flex;flex-direction:row;justify-content:center;gap:16px;width:max-content;position:relative;z-index:1;button h4{font-size:16px;}&:hover{img{width:73px;height:73px;top:-24px;right:-21.5px;}}@media only screen and (max-width:720px){flex-direction:column;}"]),E.Ay.div.withConfig({componentId:"sc-7f59e304-14"})(["margin:50px auto 0;text-align:center;max-width:800px;margin-bottom:90px;"]);let M=(0,E.Ay)(u.fI).attrs({as:"h2"}).withConfig({componentId:"sc-7f59e304-15"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.white80}),G=(0,E.Ay)(u.M5).withConfig({componentId:"sc-7f59e304-16"})(["color:",";display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:80%;margin-left:auto;margin-right:auto;a{color:",";&:hover{color:",";}}"],e=>{let{theme:t}=e;return t.colors.white70},e=>{let{theme:t}=e;return t.colors.white70},e=>{let{theme:t}=e;return t.colors.white}),S=(0,E.Ay)(u.M5).attrs({as:"button"}).withConfig({componentId:"sc-7f59e304-17"})(["color:",";text-decoration:underline;text-transform:uppercase;margin-right:14px;border:none;background:transparent;cursor:pointer;position:relative;&:hover{color:",';}:not(:last-child){:after{content:"";width:1px;height:12px;background-color:',";position:absolute;right:7px;top:50%;transform:translateY(-50%)}}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white90},e=>{let{theme:t}=e;return t.colors.white20}),N=(0,E.Ay)(u.M5).attrs({as:"button"}).withConfig({componentId:"sc-7f59e304-18"})(["color:",";text-decoration:underline;background:transparent;cursor:pointer;border:none;padding:0;&:hover{color:",";}"],e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white90});E.Ay.div.withConfig({componentId:"sc-7f59e304-19"})(["position:absolute;z-index:2;display:flex;align-items:center;flex-direction:column;gap:",";transition:all ","s ease-out;height:",";width:100%;margin:",";bottom:202px;@media (max-width:768px){margin-bottom:",";}"," @media only screen and (max-height:720px){&.desktop-panel-layout{margin:auto;position:relative;bottom:unset;}}.fade-out-element{transition:all ","s ease-out;}.fade-out{opacity:0;}"],e=>{let{isFortnite:t}=e;return t?"22px":"16px"},.6,e=>{let{isPlayButtonClicked:t,isFortnite:i}=e;return i?"auto":t?"250px":"297px"},e=>{let{isFortnite:t}=e;return t?"auto":""},e=>{let{isFortnite:t}=e;return t?"":"50px"},e=>{let{isPlayButtonClicked:t,isLandscape:i,isMobileDevice:n}=e;return n&&t&&i&&(0,E.AH)(["@media (orientation:portrait){transform:rotate(90deg);transform-origin:50% 50%;}"])},.5);let H=E.Ay.div.withConfig({componentId:"sc-7f59e304-20"})(["position:absolute;width:100%;bottom:",";display:flex;flex-direction:column;align-items:center;gap:4px;opacity:",";transition:all ","s ease-out;p{color:",";}"],e=>{let{isFortnite:t}=e;return t?"34px":"0"},e=>{let{show:t}=e;return t?"1":"0"},.6,e=>{let{theme:t}=e;return t.colors.white50}),_=E.Ay.div.withConfig({componentId:"sc-7f59e304-21"})(["display:flex;flex-direction:column;align-items:center;"]),z=E.Ay.div.withConfig({componentId:"sc-7f59e304-22"})(["z-index:1;padding:12px 16px 24px;text-align:center;transition:all ","s ease-out;position:",";bottom:0;opacity:",";@media only screen and (max-height:720px){&.desktop-panel-layout{position:static;padding-top:0;}}"],.6,e=>{let{isFortnite:t}=e;return t?"":"absolute"},e=>{let{isPlayButtonClicked:t}=e;return t?"0":"1"}),R=(0,E.Ay)(u.le).withConfig({componentId:"sc-7f59e304-23"})(["margin-top:-8px;text-shadow:",";color:",";text-align:center;padding:0 10px;"],e=>{let{theme:t}=e;return"0px 4px 8px ".concat(t.colors.black30)},e=>{let{theme:t}=e;return t.colors.white}),T=E.Ay.div.withConfig({componentId:"sc-7f59e304-24"})(["max-width:96vw;ul{overflow:auto;}"]);var q=i(35972),V=i(17074),Q=i(19786),U=i(7631);let Y=e=>{var t,i,a,o;let{data:r,isPlayButtonClicked:l,ssrOrigin:s,isMobile:c}=e,{t:h}=(0,d.B)(),u=(null==(t=null==r?void 0:r.genre)?void 0:t[0])||{},m="https://".concat(s,"/games/").concat(null==u?void 0:u.slug,".html"),g=(0,V.A)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k,{children:(0,n.jsx)("div",{children:(0,n.jsx)(U.CY,{src:(0,q.Vm)({src:null==(a=null==(i=null===v.Ay||void 0===v.Ay?void 0:v.Ay.appInfo)?void 0:i.media)?void 0:a.icon,quality:80,width:256}),width:132,loading:"eager",fetchPriority:"high",className:"app-logo",alt:h("logoTitle",{title:null==r?void 0:r.title}),height:132,id:"ng-unified-app-logo"})})}),(0,n.jsxs)(_,{children:[(0,n.jsx)(P,{id:"ng-unified-app-name",isMobile:c,isVideoComplianceLayoutEnabled:(0,p.oz)(),children:null==r?void 0:r.name}),(0,n.jsxs)(D,{className:"fade-out-element ".concat(l?"fade-out":""),children:[(0,n.jsxs)(L,{children:[(0,n.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M6.59638 1.39913C6.79613 1.12595 7.20387 1.12595 7.40362 1.39913L9.32199 4.02281C9.50713 4.27601 9.76698 4.4648 10.065 4.56263L13.1531 5.57636C13.4746 5.68191 13.6006 6.0697 13.4025 6.34408L11.5001 8.97933C11.3165 9.23365 11.2172 9.53912 11.2163 9.85278L11.2064 13.103C11.2054 13.4414 10.8755 13.6811 10.5534 13.5775L7.4592 12.5825C7.1606 12.4864 6.8394 12.4864 6.5408 12.5825L3.44664 13.5775C3.12447 13.6811 2.7946 13.4414 2.79357 13.103L2.78373 9.85278C2.78278 9.53912 2.68353 9.23364 2.49993 8.97933L0.597476 6.34408C0.399392 6.0697 0.525393 5.68191 0.846925 5.57636L3.935 4.56263C4.23302 4.4648 4.49287 4.27601 4.67801 4.02281L6.59638 1.39913Z",fill:"#FFC32A",stroke:"#FFC32A"})}),(0,n.jsx)(F,{id:"ng-unified-app-rating",children:null==r?void 0:r.rating})]}),(null==(o=null==r?void 0:r.developers_details)?void 0:o.name)&&(0,n.jsx)(O,{id:"ng-unified-app-developer",children:r.developers_details.name}),u&&(0,n.jsx)(B,{href:g?(0,Q.Ay)(m):m,id:"ng-unified-app-genre",children:u.name})]})]})]})},$=E.Ay.div.withConfig({componentId:"sc-309ff73d-0"})(["display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:0;margin:0;opacity:",";transition:all ","s ease-out;max-width:96vw;z-index:1;position:relative;"],e=>{let{show:t}=e;return t?"1":"0"},.6),K=E.Ay.a.withConfig({componentId:"sc-309ff73d-1"})(["border-radius:24px;background:",";backdrop-filter:blur(60px);display:flex;align-items:center;padding:4px 12px;color:",";font-size:10px;font-weight:400;line-height:16px;letter-spacing:0.2px;white-space:nowrap;text-decoration:none;&:hover{background:",";color:",";}"],e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.colors.white20},e=>{let{theme:t}=e;return t.colors.white}),W=e=>{let{tags:t=[],toggle:i,ssrOrigin:a}=e,o=(0,V.A)();return(0,n.jsx)($,{show:i,children:t.map(e=>{let{name:t,slug:i}=e;return(0,n.jsx)(K,{href:o?(0,Q.Ay)("https://".concat(a,"/games/").concat(i,".html")):"https://".concat(a,"/games/").concat(i,".html"),children:t},t)})})};var X=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(i[n[a]]=e[n[a]]);return i};let Z=w()(()=>i.e(7077).then(i.bind(i,97077)),{loadableGenerated:{webpack:()=>[97077]}}),J=w()(()=>i.e(919).then(i.bind(i,60919)),{loadableGenerated:{webpack:()=>[60919]}}),ee=e=>{let{handlePlayNowButton:t,playCtaText:i,isFortnite:o}=e,[r,s]=(0,a.useState)(!1),[c,h]=(0,a.useState)(!1),u=(0,a.useRef)(null),y=(0,l.d4)(e=>e.auth.isLoginResolved),w=(0,l.d4)(e=>e.auth.showLogin),b=(0,l.d4)(e=>e.play.activeSubscriptionTimeSecs),E=(0,l.d4)(e=>e.play.isCreatePlayUserPremiumResolved),k=(0,l.wA)(),{t:P}=(0,d.B)(),D=(0,p.oN)()&&(E||w);(0,a.useEffect)(()=>{r||v.Ay.isMultiSubscriptionFlow&&!y||(0,p.oN)()&&!D||(s(!(0,p.BP)(v.Ay.appInfo.appId)&&!(0,v.Rs)()),(0,m.sx)("LaunchGameButtonDisplayed",{},void 0,g.p.APP_PAGE))},[y,D,r]),(0,a.useEffect)(()=>{(0,m.sx)("LaunchGameButtonViewed",{},void 0,g.p.APP_PAGE)},[]),(0,a.useEffect)(()=>{y&&k(I.w$)},[y]);let L=e=>{(0,m.sx)("LaunchGameButtonClicked",{reason:e},void 0,g.p.APP_PAGE)};return(0,n.jsx)("div",{className:"PlayBtnWrap",ref:u,style:{margin:(0,p.oz)()||o?"0 auto":"24px auto 0"},children:(0,n.jsxs)("button",{className:A()("Button","fade-out-element",{"fade-out":c,loading:!r}),id:r?"ng-play-browser-btn":"ng-getting-ready-btn",onClick:()=>(function(e,t,i,n){return new(i||(i=Promise))(function(a,o){function r(e){try{d(n.next(e))}catch(e){o(e)}}function l(e){try{d(n.throw(e))}catch(e){o(e)}}function d(e){var t;e.done?a(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(r,l)}d((n=n.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let e=(0,f.f_)((0,f.Dh)());if(k({type:C.A.SET_APP_PAGE_LOGIN_POPUP_ENABLED,payload:{isAppPageLoginPopupEnabled:!0}}),w){yield(0,f.aH)(),L("showLogin"),(0,v.v2)();return}if((0,p.oN)()&&b<1){yield(0,f.aH)(),L("showMultiSubscriptionModal"),(0,p.wo)(x.RmT.NowPremiumPlanScreen);return}if(!(0,p.oN)()&&v.Ay.isMultiSubscriptionFlow&&e<1&&b<1&&!(0,p.ZA)()){yield(0,f.aH)(),L("showMultiSubscriptionModal"),k(I.w$),k({type:C.A.UPDATE_PLAY_STATE,payload:{showMultiSubscriptionModal:!0}});return}h(!0),yield(0,f.aH)(),L("gameLaunch"),t()}),children:[!r&&(0,n.jsx)(j.A,{borderWidth:1,style:{width:"24px",height:"24px"}}),P(r?i:"gettingReady")]})})},et=e=>{var t;let{data:i,ssrOrigin:o,isMobileDevice:r,onPlayButtonClicked:m}=e,{t:g}=(0,d.B)(),[f,v]=(0,a.useState)(!1),[y,w]=(0,a.useState)(!1),[b,j]=(0,a.useState)(!1),C=(0,l.d4)(e=>e.play.orientation),I=(null==i?void 0:i.packageName)===x.pKk;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:A()("HeroAppInfo",{launching:b,mobile:r,landscape:C===s.QB.landscape,fortnite:I,"auto-h":!r&&(0,p.oz)(),"desktop-panel-layout":!r&&(0,p.oz)()}),children:[(0,n.jsx)(Y,{data:i,isPlayButtonClicked:b,ssrOrigin:o,isMobile:r}),(null==i?void 0:i.subCategories)&&i.subCategories.length>0&&(0,n.jsx)(T,{children:(0,n.jsx)(W,{ssrOrigin:o,toggle:!b,tags:i.subCategories.slice(0,4).map(e=>{var{name:t}=e;return Object.assign(Object.assign({},X(e,["name"])),{name:t.split("Games").join("")})})})}),(0,n.jsx)(ee,{handlePlayNowButton:()=>{b||(j(!b),"function"==typeof m&&m())},playCtaText:(null==i?void 0:i.play_in_browser_btn_cta)||"playInBrowser",isFortnite:I}),(0,n.jsxs)(H,{show:b,isFortnite:I,children:[(0,n.jsx)(u.E2,{children:g("preparingToLaunch")}),(0,n.jsx)(h.A,{width:"32px",trackSize:"2px",trackColor:c.JX.colors.white,movingColor:c.JX.colors.white40})]}),I&&!b&&(0,n.jsx)(R,{children:g("fortniteLabel")})]}),(0,n.jsxs)(z,{isPlayButtonClicked:b,className:!r&&(0,p.oz)()?"desktop-panel-layout":"",isFortnite:I,children:[(0,n.jsx)(M,{as:"p",children:null==i?void 0:i.overview_title}),(0,n.jsx)(G,{as:"h3",dangerouslySetInnerHTML:{__html:null==i?void 0:i.excerpt}}),(0,n.jsxs)("div",{children:[(0,n.jsx)(S,{onClick:()=>v(!0),children:g("readMore")}),!I&&(null==(t=null==i?void 0:i.faqs)?void 0:t.length)>0&&(0,n.jsx)(N,{onClick:()=>w(!0),children:g("faqs")})]})]}),f&&(0,n.jsx)(J,{heading:null==i?void 0:i.overview_title,description:null==i?void 0:i.overview_description,handleClosePopup:()=>v(!1)}),y&&(0,n.jsx)(Z,{heading:g("faqs"),faqs:null==i?void 0:i.faqs,handleClosePopup:()=>w(!1)})]})};var ei=i(15622),en=i(2783);let ea=e=>{let{style:t,containerId:i="",adDivId:a="",isAdDisabled:o,adType:r}=e,{t:l}=(0,d.B)();return(0,n.jsxs)(en.bc,{style:t,id:i,adType:r,children:[(0,n.jsx)(en.pK,{children:l("adHelpFree")}),!o&&(0,n.jsx)(en.Fp,{id:a})]})};var eo=i(70796);let er=(0,a.memo)(()=>{let e=(0,l.d4)(e=>e.ads.imaError),t=(0,l.d4)(e=>e.play.isNowGGURL),i=(0,l.d4)(e=>e.play.envDetected);return(0,a.useEffect)(()=>{if(!e&&i){let{AD_SQUARE_MIDROLL_DISPLAY_AD_BASE_DIV_ID:e}=(0,f.os)(t);"p"!==(0,p.Yw)()&&((0,eo.b$)(x.jab,x.r9O),window.tude.cmd.push(()=>{"p"!==(0,p.Yw)()&&((0,eo.b$)(x.jab,x.r9O,"2"),window.tude.refreshAdsViaDivMappings([{divId:x.r9O,baseDivId:e,targeting:{ads_loc:"display-panel-top"}}]))}))}},[e,i]),(0,n.jsx)(ea,{adType:x.jab,containerId:"div-ad-square-midroll-display-container",adDivId:x.r9O,isAdDisabled:e})}),el=(0,a.memo)(e=>{let{style:t}=e,i=(0,l.d4)(e=>e.ads.imaError),o=(0,l.d4)(e=>e.play.isNowGGURL),r=(0,l.d4)(e=>e.play.envDetected);return(0,a.useEffect)(()=>{if(!i&&r){let{AD_SQUARE_MIDROLL_VIDEO_AD_BASE_DIV_ID:e}=(0,f.os)(o);"p"!==(0,p.Yw)()&&((0,eo.b$)(x.SuL,x.CGS),window.tude.cmd.push(()=>{"p"!==(0,p.Yw)()&&((0,eo.b$)(x.SuL,x.CGS,"2"),window.tude.refreshAdsViaDivMappings([{divId:x.CGS,baseDivId:e,targeting:{ads_loc:"display-panel-bottom"}}]))}))}},[i,r]),(0,n.jsx)(ea,{style:Object.assign({},t),adType:x.SuL,containerId:"div-ad-square-midroll-video-container",adDivId:x.CGS,isAdDisabled:i})}),ed=E.Ay.div.withConfig({componentId:"sc-978a7a9c-0"})(["width:336px;padding-top:6px;margin:0 10px 0 4px;"]),es=(0,E.Ay)(u.fI).attrs({as:"h3"}).withConfig({componentId:"sc-978a7a9c-1"})(["color:",";text-align:center;margin-top:17px;"],e=>e.theme.colors.white70),ep=()=>{let{t:e}=(0,d.B)();return(0,n.jsxs)(ed,{children:[(0,n.jsx)(ea,{adType:x.jab,containerId:"div-ad-square-midroll-display-container-skeleton",adDivId:x.r9O,isAdDisabled:!0}),(0,n.jsx)(es,{children:e("adHelpFree")}),(0,n.jsx)(ea,{style:{marginTop:17},adType:x.SuL,containerId:"div-ad-square-midroll-video-container-skeleton",adDivId:x.CGS,isAdDisabled:!0})]})},ec=()=>{let e=(0,l.d4)(e=>e.ads.showInGameAds),t=(0,l.d4)(e=>e.ads.midRollAds),{t:i}=(0,d.B)();return(0,n.jsxs)(ed,{children:[e&&(0,n.jsx)(er,{}),e&&(0,n.jsx)(es,{children:i("adHelpFree")}),t&&(0,n.jsx)(el,{style:{marginTop:"17px"}})]})};var eh=i(94292),eu=i(69592);let em=(0,a.memo)(e=>{let{style:t}=e,i=(0,l.d4)(e=>e.ads.imaError),o=(0,l.d4)(e=>e.play.isNowGGURL),r=(0,l.d4)(e=>e.play.envDetected),d=(0,a.useContext)(eu.x),{APP_PAGE_AD_LEADER_BOARD_BASE_DIV_ID:s}=(0,f.os)(o);return(0,a.useEffect)(()=>{!i&&r&&"p"!==(0,p.Yw)()&&((0,eo.b$)(x.XH1,x.ZB3),window.tude.cmd.push(()=>{"p"!==(0,p.Yw)()&&((0,eo.b$)(x.XH1,x.ZB3,"2"),window.tude.refreshAdsViaDivMappings([{divId:x.ZB3,baseDivId:s,targeting:{ads_loc:"display-lb-bottom"}}]))}))},[d,i,r]),(0,n.jsx)(ea,{style:Object.assign({},t),adType:x.XH1,containerId:"div-ad-app-page-leaderboard-container",adDivId:x.ZB3,isAdDisabled:i})});var eg=i(16248),ex=i(14031);let ef={src:"/_next/static/media/leave-roblox-finder.df0c281d.webp",height:322,width:324,blurDataURL:"data:image/webp;base64,UklGRrQAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSEEAAAAAAAACJjc1BAAAE03c//8rAAIyjun//zgCBWPa////WwUFZu7z//9EBQI3mcbVpSMCABYtLjolBQAAAAIFBQIAAABWUDggTAAAAFACAJ0BKggACAACQDgloAJ0BigHNjFffRo0AAD+3gKnBAzwf6TZin/aeNbC1IlOh4/+/C698Gbal/Oq2Lf5UGvPDQJfmxKXlbduAAA=",blurWidth:8,blurHeight:8};var ev=i(87581);let ey=E.Ay.div.withConfig({componentId:"sc-3b232513-0"})(["display:flex;z-index:1;justify-content:center;"]),ew=E.Ay.div.withConfig({componentId:"sc-3b232513-1"})(["display:flex;width:420px;max-width:100%;max-height:100%;padding:32px;flex-direction:column;justify-content:center;align-items:center;border-radius:12px;border:1px solid ",";background:",";backdrop-filter:blur(60px);align-self:stretch;position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;button{width:100%;}@media only screen and (max-height:600px){flex-direction:row;width:480px;gap:20px;}"],e=>{let{theme:t}=e;return t.colors.white10},e=>{let{theme:t}=e;return t.colors.black50}),eb=E.Ay.div.withConfig({componentId:"sc-3b232513-2"})(["display:flex;flex-direction:column;gap:16px;justify-content:center;align-items:center;text-align:center;color:",";"],e=>{let{theme:t}=e;return t.colors.white80}),eA=E.Ay.div.withConfig({componentId:"sc-3b232513-3"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:",";"],e=>{let{theme:t}=e;return t.colors.white}),ej=()=>{let{t:e}=(0,d.B)(),t=(0,l.d4)(e=>e.play.videoRef),i=(0,l.d4)(e=>e.play.orientation),o=(0,a.useRef)(null),[r,c]=(0,a.useState)(!1),h=v.Ay.isAppPage,m=()=>{var e;let n=null==(e=null==t?void 0:t.current)?void 0:e.getBoundingClientRect();n&&o.current&&((0,p.Fr)()?(i===s.QB.landscape?(o.current.style.width="".concat(Math.max(n.height,n.width),"px"),o.current.style.height="".concat(Math.min(n.height,n.width),"px")):(o.current.style.height="".concat(Math.max(n.height,n.width),"px"),o.current.style.width="".concat(Math.min(n.height,n.width),"px")),(0,p.v1)()?(o.current.style.top="50%",o.current.style.transform="translateY(-50%)"):o.current.style.top="58px"):(o.current.style.left="50%",o.current.style.top="50%",o.current.style.transform="translate(-50%,-50%)",o.current.style.width="".concat(n.width,"px"),o.current.style.height="".concat(n.height,"px")))};return(0,a.useEffect)(()=>(c((0,p.Fr)()),m(),window.addEventListener("resizeDone",m),()=>{window.removeEventListener("resizeDone",m)}),[]),(0,n.jsx)(ey,{ref:o,isAppPage:h,isMobile:r,children:(0,n.jsxs)(ew,{children:[(0,n.jsxs)(eA,{children:[(0,n.jsx)("img",{src:(0,q._w)(ef),width:156,height:156,alt:""}),(0,n.jsx)(u.IT,{children:e("robloxMoved")})]}),(0,n.jsxs)(eb,{children:[(0,n.jsx)(u.Dp,{children:(0,n.jsx)(ex.x,{i18nKey:"migrateToLinkFinder"})}),(0,n.jsx)(ev.$,{size:"large",variant:"primary",onClick:()=>{window.location.href=(0,Q.Ay)("https://wsup.ai/sup-ai/dashboard?chatId=cb-wRG1pncaXnOpcfAcX4DRL&charId=char-HvBWgH68c1nx6r0kdWHM7&utm_source=ganit&utm_medium=redirection&utm_campaign=roblox-link")},children:e("launchLinkFinder")})]})]})})};var eC=i(4469),eI=i(91475),eE=i(53665);let ek=E.Ay.div.withConfig({componentId:"sc-a42855a6-0"})(["position:relative;max-width:calc(100vw - ",");&.app-page-error{position:static !important;"," > div > div{max-height:unset !important;}> div.mobileErr.-portrait > div:first-child,> div.mobileErr.-portrait > div:first-child .popular-games-list,> div.mobileErr.-landscape > div:first-child,> div.mobileErr.-landscape > div:first-child .popular-games-list{flex-direction:column;}> div.desktopErr.-portrait > div:first-child,> div.desktopErr.-portrait > div:first-child .popular-games-list,> div.desktopErr.-landscape > div:first-child,> div.desktopErr.-landscape > div:first-child .popular-games-list{flex-wrap:wrap;}> div.mobileErr.-portrait > div:first-child,> div.mobileErr.-portrait > div:first-child .popular-games-list,> div.mobileErr.-landscape > div:first-child,> div.mobileErr.-landscape > div:first-child .popular-games-list{flex-direction:column;padding:0;}> div.mobileErr.-portrait > div:first-child .popular-games-list > div,> div.mobileErr.-landscape > div:first-child .popular-games-list > div{min-width:calc(100vmax / 7);height:auto;display:flex;@media only screen and (orientation:landscape){&:nth-child(n+5){display:none;}}}> div.mobileErr.-portrait > div:first-child .popular-games-list > div .imgContainer,> div.mobileErr.-landscape > div:first-child .popular-games-list > div .imgContainer{width:100%;}> div.desktopErr.-landscape > div:first-child .popular-games-list > div,> div.desktopErr.-portrait > div:first-child .popular-games-list > div{display:flex;@media only screen and (max-width:1024px){&:nth-child(n+5){display:none;}}}> div.mobileErr.-portrait > div:first-child .popular-games-list,> div.mobileErr.-landscape > div:first-child .popular-games-list{min-width:100%;flex-direction:row;height:auto;justify-content:center;margin-bottom:auto;}> div.mobileErr.-portrait > div:first-child .content-header,> div.mobileErr.-landscape > div:first-child .content-header{text-align:center;min-width:100%;flex:0;margin-top:auto;align-items:center;}}> div{"," > div{","}}.modal-overlay{position:fixed;padding:0;}.animated-heading{position:static;transform:none;}.main-container{padding:0 !important;animation:none;visibility:visible;h2{margin:0 0 24px 0 !important;}}.copyright-footer{display:none;}.btn-container{","}.popular-games-list{padding:0;margin:0;transform:scale(1) !important;}.content-header{position:static;animation:none;opacity:1;transform:none;}.token-failure{position:static;transform:none;animation:none;div{&>p{font-size:14px;font-weight:400;line-height:21px;}}}.refresh-container,.token-failure{button{margin-bottom:12px;background:",";border-color:",";p{margin-bottom:0;color:",";}}}.refresh-container{button{width:fit-content !important;padding:7px 16px !important;}}@media (max-width:1240px){.popular-games-list{& > div:nth-last-child(-n + 1){display:none;}}}@media (max-width:1050px){.popular-games-list{& > div:nth-last-child(-n + 2){display:none;}}}@media (max-width:992px){max-width:100%;.popular-games-list{& > div:nth-last-child(-n + 2){display:flex;}}}@media (max-width:955px){max-width:100%;.popular-games-list{& > div:nth-last-child(-n + 1){display:",";}}}"," &.abs-overlay{position:absolute;top:0;left:0;width:100%;height:100%;overflow:auto;> div{","}","}"],e=>{let{isMobile:t,adsEnabled:i}=e;return t||!i?"0":"320px"},e=>{let{queueScreenEnabled:t}=e;return!t&&(0,E.AH)(["> div{background:none;padding-bottom:20px;}"])},e=>{let{queueScreenEnabled:t}=e;return!t&&(0,E.AH)(["padding:91px 20px;position:static;"])},e=>{let{queueScreenEnabled:t,isMobile:i}=e;return!t&&i&&(0,E.AH)(["@media (orientation:portrait){max-height:calc(100vh - 65px);padding-top:24px;.btn-container{width:50%;button{width:100% !important;}@media (max-width:500px){width:100%;}}}"])},e=>{let{isMobile:t}=e;return t?(0,E.AH)(["margin-top:32px;"]):(0,E.AH)(["display:none;"])},e=>{let{theme:t}=e;return t.colors.transparent},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{theme:t}=e;return t.colors.white80},e=>{let{isMobile:t}=e;return t?"flex":"none"},e=>{let{queueScreenEnabled:t,isMobile:i}=e;return!t&&i&&(0,E.AH)(["> div{"," padding:16px 16px 65px;&.mobileErr.-landscape > div:first-child{height:100%;display:flex;justify-content:space-between;align-items:center;overflow:auto;padding:0 40px;gap:40px;.content-header{height:100%;justify-content:center;button{width:180px;}}.popular-games-list{height:calc(100vh - 81px);gap:16px;display:flex;flex-wrap:wrap;padding-bottom:24px !important;max-width:50%;justify-content:flex-end;> div{min-width:calc((100% - 32px) / 3);height:calc(50% - 8px);aspect-ratio:1 / 1.5;.imgContainer{width:100%;height:100%;}@supports not (aspect-ratio:auto){width:90px;}}@media (max-width:380){}}}}.popular-games-list{padding:0 !important;width:auto !important;position:static !important;}.copyright-footer{padding:0 16px;left:0;display:flex;position:fixed;}@media (orientation:landscape){.general-error{position:relative;max-width:528px;padding:0 !important;& > div:first-child{align-items:flex-start !important;margin-left:220px;img{position:absolute;left:0;top:50%;transform:translateY(-50%);height:180px;width:180px;}h3{text-align:start;font-size:20px;line-height:30px;}p{text-align:start;}}}}@media (orientation:portrait){}"],eE.gX)},e=>{let{queueScreenEnabled:t,isMobile:i}=e;return!t&&!i&&(0,E.AH)(["display:flex;align-items:center;justify-content:center;padding:20px;"])},e=>{let{queueScreenEnabled:t,isMobile:i}=e;return!t&&i&&(0,E.AH)(["> div{&.mobileErr.-landscape > div:first-child{.popular-games-list{padding-bottom:16px !important;}}}"])}),eP=w()(()=>i.e(3224).then(i.bind(i,50843)),{loadableGenerated:{webpack:()=>[50843]}}),eD=e=>{let{isMobile:t,error:i,errorScreenPromotion:a,data:o,ssrOrigin:r,errorCode:d}=e,c=(0,l.d4)(e=>e.ads.showInGameAds),h=(0,l.d4)(e=>e.ads.inGameAd);return(0,n.jsx)(eI.A,{children:(0,p.Rz)()?(0,n.jsx)(ej,{}):a?(0,n.jsx)(eC.A,{children:(0,n.jsx)(Y,{data:o,ssrOrigin:r,isMobile:t})}):x.Vlg[i]?(0,n.jsx)(eP,{}):(0,n.jsx)(ek,{isMobile:t,adsEnabled:c&&h===x.tFK,queueScreenEnabled:i===s.wD.WaitingInQueue||i===s.wD.WaitingInPriorityQueue,className:"app-page-error ".concat((0,p.oz)()?"abs-overlay":""),children:(0,n.jsx)(eg.default,{error:i,errorCode:d,errorName:"Unified".concat(i),isAppPage:!0})})})},eL=["bluestacks","nowgg","desktopgamer","jeumobi","androidauthority","yoozoo","mmoculture","pillarofgaming","game8","gamenora","prydwen","appsonmac","gachaguru","freemmostation","techyhow","joybox","spatial","pokelabo","netmarble"];var eF=i(55022),eO=i(56543);let eB=(0,a.memo)(e=>{let{style:t}=e,i=(0,l.d4)(e=>e.ads.imaError),o=(0,l.d4)(e=>e.play.isNowGGURL),r=(0,l.d4)(e=>e.play.envDetected),d=(0,a.useContext)(eu.x),{APP_PAGE_AD_SKYSCRAPER_BASE_DIV_ID:s}=(0,f.os)(o);return(0,a.useEffect)(()=>{!i&&r&&"p"!==(0,p.Yw)()&&((0,eo.b$)(x.tFK,x.aPr),window.tude.cmd.push(()=>{"p"!==(0,p.Yw)()&&((0,eo.b$)(x.tFK,x.aPr,"2"),window.tude.refreshAdsViaDivMappings([{divId:x.aPr,baseDivId:s,targeting:{ads_loc:"display-ss-right"}}]))}))},[d,i,r]),(0,n.jsx)(ea,{style:Object.assign({},t),adType:x.tFK,containerId:"div-ad-app-page-skyscraper-container",adDivId:x.aPr,isAdDisabled:i})});var eM=i(37110),eG=i(10025);let eS=e=>{var t,i;let{media:o,expanded:r,isMobileDevice:l}=e,[d,s]=(0,a.useState)(!1),p=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=()=>{s(!0)};return document.body.addEventListener("pointermove",e,{once:!0}),()=>{document.body.removeEventListener("pointermove",e)}},[]),(0,a.useEffect)(()=>{if(d&&p&&p.current){let e=p.current;e&&(null==e||e.play().catch(()=>{}))}},[d,p]),(0,n.jsx)("div",{className:A()("StyledPreview",{expanded:r}),children:(0,n.jsx)("video",{className:"BgVideo",ref:p,autoPlay:d,disablePictureInPicture:!0,disableRemotePlayback:!0,muted:!0,playsInline:!0,preload:"none",height:"100%",width:"100%",poster:(0,q.j$)(l,o),children:(0,n.jsx)("source",{type:"video/mp4",src:l?null==(t=null==o?void 0:o.mobile)?void 0:t.launchVideo:null==(i=null==o?void 0:o.desktop)?void 0:i.launchVideo})})})};var eN=i(72068);let eH=E.Ay.section.withConfig({componentId:"sc-31f7ab6d-0"})(["position:relative;"," "," &.full-h-embed{height:100vh !important;height:100dvh !important;}&.tryNow-embed{height:calc(100vh - 58px) !important;}"," &.error{height:auto !important;min-height:calc(100vh - 163px) !important;background:radial-gradient( 32.85% 62.63% at 50% 30.49%,rgba(81,165,201,0.2) 0%,rgba(51,80,111,0) 100% ),radial-gradient(14.95% 28.47% at 64.37% 56.79%,rgba(179,214,97,0.2) 0%,rgba(179,214,97,0) 100% ),radial-gradient( 20.82% 39.68% at 37.22% 60.32%,rgba(255,66,165,0.2) 0%,rgba(255,66,165,0) 100% ),#0b0223;&.bloxd-io{display:flex;}&.queue-wait-error{height:calc(var(--vh,1vh) * 100) !important;}}&.multi-ad-layout{min-height:854px;.--fullscreen &{min-height:100vh;}@media only screen and (min-height:854px){height:100vh;}}&.proxy-error-modal{height:855px !important;max-height:855px !important;}&.link-finder-prompt{background:radial-gradient( 32.85% 62.63% at 50% 30.49%,rgba(81,165,201,0.2) 0%,rgba(51,80,111,0) 100% ),radial-gradient( 14.95% 28.47% at 64.37% 56.79%,rgba(179,214,97,0.2) 0%,rgba(179,214,97,0) 100% ),radial-gradient( 20.82% 39.68% at 37.22% 60.32%,rgba(255,66,165,0.2) 0%,rgba(255,66,165,0) 100% ),#0b0223;}"],e=>{let{expanded:t,isDesktopDevice:i}=e;return!i&&(0,E.AH)(["@media only screen and (max-width:1024px){height:",";min-height:584px;padding:0 !important;}@media (orientation:landscape){","}"],t?"100%":"calc(100vh - 220px)",(0,eE.$_)("sm",(0,E.AH)(["align-items:flex-start;min-height:460px;"])))},e=>{let{premiumUser:t}=e;return!t&&(0,E.AH)(["@media only screen and (min-width:1366px){&.auto-h{height:auto !important;}&.full-h-embed{height:100dvh !important;}}"])},e=>{let{errorScreenPromotion:t}=e;return t&&(0,E.AH)(["min-height:512px;@media (orientation:portrait) and (max-width:767px){min-height:747px;overflow:auto;}@media (orientation:landscape) and (max-height:512px){min-height:651px;}"])}),e_=E.Ay.section.withConfig({componentId:"sc-31f7ab6d-1"})(["transition:all ","s ease-out;position:relative;flex-direction:",";display:flex;align-items:center;justify-content:center;"," "," "," "," #htmlFrame{width:100%;height:100%;margin:0;}#browse-games-container{height:100vh;width:calc(100vw - 320px)!important;background-color:#111;position:fixed;left:160px!important;padding-top:112px;.icon-cross-thin{top:80px;}}"," @media(orientation:landscape){","}&.desktopGameDisplayed{@media (orientation:landscape){","}}&.multi-ad-layout{height:100vh;}"],eN.H,e=>{let{isFortnite:t}=e;return t?"column":""},e=>{let{isH5Game:t}=e;return t&&(0,E.AH)(["div#ng-control-bar.footer{transform:none !important;}"])},e=>{let{expanded:t,isVideoComplianceLayoutEnabled:i,isMobileDevice:n,isGameDisplayed:a,isH5Game:o}=e;return i?(0,E.AH)(["position:absolute;top:0;left:0;width:100%;height:100%;border-bottom:",";border-left:",";"],n||a?"":"1px solid rgba(255, 255, 255, 0.10)",n||a?"":"1px solid rgba(255, 255, 255, 0.10)"):(0,E.AH)(["min-height:584px;height:calc(100vh - ",");position:relative;.landscape{background-color:transparent;}"],t?n&&o?"0px":"124px":"220px")},e=>{let{isVideoComplianceLayoutEnabled:t,isMobileDevice:i}=e;return t&&!i&&(0,E.AH)(["flex-direction:column;"])},e=>{let{isFullscreen:t}=e;return t&&(0,E.AH)(["width:100%;height:100% !important;"])},e=>{let{isMobileDevice:t}=e;return t?(0,E.AH)([".h5 &{min-height:calc(var(--vh,1vh) * 100);height:calc(var(--vh,1vh) * 100);}"]):""},(0,eE.$_)("sm",(0,E.AH)(["align-items:flex-start;min-height:460px;"])),(0,eE.$_)("sm",(0,E.AH)(["min-height:100%;"]))),ez=E.Ay.div.withConfig({componentId:"sc-31f7ab6d-2"})(["width:100%;height:100%;position:absolute;animation:all "," ease-out;opacity:",";& > div{width:100%;height:100%;background-color:transparent;.transition-video{left:0;top:0;}#ng-control-bar{","}.ng-console-header{left:50% !important;transform:",";}}"],eN.H,e=>{let{toggle:t}=e;return t?"1":"0"},e=>{let{isH5Game:t,isMobile:i,isPortrait:n,isMultiPanelAdsEnabled:a}=e;return!(i&&t)&&(0,E.AH)(["left:50% !important;transform:",";",""],i?"translate(-50%, 0) !important":"translate(-50%, -50%) !important",!a&&!i&&"width: 100% !important;")},e=>{let{isMobile:t}=e;return t?"translate(-50%, 0) !important":"translate(-50%, -50%) !important"}),eR=E.Ay.div.withConfig({componentId:"sc-31f7ab6d-3"})(["width:100%;height:100px;"]),eT=w()(()=>Promise.all([i.e(1869),i.e(4035),i.e(1390)]).then(i.bind(i,11390)).then(e=>e.PlayPage),{loadableGenerated:{webpack:()=>[11390]}}),eq=e=>{var t,i,o,r;let{playerState:d,isMobileDevice:c,ssrOrigin:h,isFortnite:u,onPlayButtonClicked:m,data:g}=e,f=(0,l.d4)(e=>e.play.orientation),y=(0,l.d4)(e=>e.play.gameDisplayed),w=(0,l.d4)(e=>e.play.isFullscreen),b=(0,l.d4)(e=>e.play.isPlayerLoaded),A=(0,l.d4)(e=>e.ads.disableAllAds),j=(0,l.d4)(e=>e.play.nowPremiumSubscriptionActive),C=null==(o=null==(i=null==(t=v.Ay.appInfo.playFeFeatures)?void 0:t.ads)?void 0:i.desktop)?void 0:o.enableDisplayAds,I=null==(r=null===v.Ay||void 0===v.Ay?void 0:v.Ay.appInfo)?void 0:r.media;return(0,a.useEffect)(()=>{var e,t,i,n,a,o;C=(0,p.Fr)()||(0,p.v1)()||(0,p.bh)()?null==(o=null==(a=null==(n=v.Ay.appInfo.playFeFeatures)?void 0:n.ads)?void 0:a.desktop)?void 0:o.enableDisplayAds:null==(i=null==(t=null==(e=v.Ay.appInfo.playFeFeatures)?void 0:e.ads)?void 0:t.mobile)?void 0:i.enableDisplayAds},[]),(0,n.jsxs)(e_,{isVideoComplianceLayoutEnabled:(0,p.oz)(),expanded:d===x.ceq.LOADING||d===x.ceq.LOADED,isMobileDevice:c,className:"\n ".concat(v.Ay.isMultiPanelAdsEnabled&&b?"multi-ad-layout":"","\n ").concat(c&&d===x.ceq.LOADED&&!(0,v.a2)()?"full-w-h ":"","\n ").concat((y||b)&&!c?"desktopGameDisplayed":"","\n "),isH5Game:(0,v.a2)(),isLandscape:f===s.QB.landscape,isFullscreen:w,isGameDisplayed:y,isFortnite:u,children:[!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eS,{isMobileDevice:c,media:I,expanded:d===x.ceq.LOADING||d===x.ceq.LOADED&&!b}),(0,n.jsx)(et,{data:g,onPlayButtonClicked:m,isMobileDevice:c,ssrOrigin:h})]}),d===x.ceq.LOADING||d===x.ceq.LOADED&&(0,n.jsx)(ez,{toggle:b,isH5Game:(0,v.a2)(),isPortrait:f===s.QB.portrait,isAndroidInLandscape:(0,eG.UJ)(),isMobile:c,isFullscreen:w,displayAds:!A&&C,isProxy:(0,p.ZA)(),isPremium:j,isMultiPanelAdsEnabled:v.Ay.isMultiPanelAdsEnabled,children:(0,n.jsx)(ei.mO,{isAppPage:!0,banner:(0,q.j$)(c,I),children:(0,n.jsx)(eT,{manifest:!0,isAppPage:!0})})})]})},eV=e=>{var t,i;let{data:o,onPlayButtonClicked:d,playerState:c,error:h,isCfMobile:u,isMobileDevice:g,ssrOrigin:y,errorScreenPromotion:w,isCfDesktop:b,serviceStatus:j}=e,I=(0,l.d4)(e=>e.ads.showInGameAds),E=(0,l.d4)(e=>e.play.isProxyUser),k=(0,l.d4)(e=>e.play.hideAdsForProxyUser),P=(0,l.d4)(e=>e.play.isPlayerLoaded),D=(0,l.d4)(e=>e.ads.midRollAds),L=(0,l.d4)(e=>e.play.isRecording),F=(0,l.d4)(e=>e.play.isFullscreen),O=(0,l.d4)(e=>e.play.proxyErrorRef),B=(0,l.d4)(e=>e.play.nowPremiumSubscriptionActive),M=(0,l.d4)(e=>e.play.isPlayPageMode),G=(0,l.d4)(e=>e.play.isEmbeddedFrame),S=(0,l.d4)(e=>e.ads.rewardedPremiumTimeInSec),N=(0,l.d4)(e=>e.play.error),H=(0,l.d4)(e=>e.play.errorCode),_=(0,l.d4)(e=>e.ads.isRewardedAdPlaying),z=(0,a.useRef)(null),R=(0,l.d4)(e=>e.play.proxyUserType),T=(0,eO.A)(),q=(0,l.wA)(),Q=null==(i=null==(t=v.Ay.appInfo.playFeFeatures)?void 0:t.tryAndDownload)?void 0:i.isEnabled,U=(0,V.A)(),[Y,$]=(0,a.useState)(!0),[K,W]=(0,a.useState)(0),X=(null==o?void 0:o.packageName)===x.pKk,Z=u||g,J=L&&(0,p.Ku)(),ee=(()=>{let e=window.sessionStorage.getItem("partnerName");return!!e&&eL.some(t=>e.toLowerCase()===t.toLowerCase())})();if((0,a.useEffect)(()=>{(0,eF.n$)(),(0,p.oz)()||(0,m.sx)("OldAdsLayout");let e=r()(()=>{$(window.innerHeight>720)},500);return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[U,F]),(0,a.useEffect)(()=>{(null==O?void 0:O.current)&&W(O.current.getBoundingClientRect().height)},[O]),(0,a.useEffect)(()=>{q({type:C.A.SET_REF,payload:{gamePlayerWrapperRef:z}})},[z]),(0,a.useEffect)(()=>{(h||j)&&!(0,p.oz)()&&q({type:C.A.SET_ERROR,payload:{error:h||j}})},[]),(0,p.oz)()){let e=!0;return(0,p.LD)()&&(e=!!U&&R===eM.to.PROXY),(0,n.jsxs)("div",{className:A()("AppContent",{"full-w-h":Z&&(c===x.ceq.LOADING||c===x.ceq.LOADED)&&!h,"multi-ad-layout":v.Ay.isMultiPanelAdsEnabled&&P}),children:[(0,n.jsxs)("div",{className:A()(["ciQTX0js5AsOQ5v6",{"full-w-h":Z&&(c===x.ceq.LOADING||c===x.ceq.LOADED)&&!h,portaitNewLayoutEnabled:T}]),children:[(0,n.jsx)(eH,{ref:z,isDesktopDevice:!!U&&(0,p.xl)(),expanded:c===x.ceq.LOADING||c===x.ceq.LOADED,className:A()({"full-w-h":Z&&c===x.ceq.LOADED&&!h&&!N,"auto-h":!Z&&(0,p.oz)()&&!h&&!N&&!T,error:h||N,"bloxd-io":w,"full-h-embed":G&&!I&&(0,p.xl)(),"tryNow-embed":G&&!I&&(0,p.xl)()&&Q&&!(0,p.VV)()&&P,"multi-ad-layout":v.Ay.isMultiPanelAdsEnabled&&P,"proxy-error-modal":Z&&N&&x.Vlg[N],"link-finder-prompt":(0,p.Rz)(),"queue-wait-error":Z&&(h===s.wD.WaitingInPriorityQueue||h===s.wD.WaitingInQueue)}),premiumUser:B,errorScreenPromotion:w,style:{paddingTop:h?void 0:K?"".concat(K,"px"):"min(calc(56.25% + 56px), calc(100vh - ".concat((u?55:64)+(F?108:68)+(B?(0,p.v1)()?-25:-80:0),"px))"),height:F?"auto":"calc(100vh - ".concat(u?55:64+(Y?108:68),"px)")},children:h||j||(0,p.Rz)()?(0,n.jsx)(eD,{error:h||j,errorCode:H,isMobile:Z,ssrOrigin:y,data:o,errorScreenPromotion:w}):(0,n.jsx)(eq,{isFortnite:X,onPlayButtonClicked:d,playerState:c,data:o,isMobileDevice:Z,ssrOrigin:y})}),!T&&!B&&!(S>0)&&e&&(0,n.jsxs)(n.Fragment,{children:[U&&!_&&!J&&I&&!Z&&(!v.Ay.isMultiPanelAdsEnabled||!P)&&!k&&(!(0,p.al)()||!ee)&&(x.Vlg[h]?(0,n.jsx)(eR,{}):(0,n.jsx)(em,{style:{margin:"8px auto 0"}})),(!U&&b||_)&&(0,n.jsx)(ea,{adType:"app-page-leaderboard",style:{margin:"8px auto 0"}})]})]}),!Z&&!B&&!(S>0)&&(!v.Ay.isMultiPanelAdsEnabled||!P||M)&&e&&(0,n.jsxs)(n.Fragment,{children:[(0,p.iN)()&&!k&&(!(0,p.al)()||!ee)&&(0,n.jsx)(n.Fragment,{children:U&&!_&&!J&&(I||D)&&!x.Vlg[h]?(0,n.jsx)(ec,{}):(0,n.jsx)(ep,{})}),!T&&!G&&!F&&(0,n.jsx)(eh.A,{}),T&&(!M||I)&&!E&&(_||J||x.Vlg[h]?(0,n.jsx)(ea,{adType:x.tFK,style:{order:1,margin:"12px 0 0 ".concat(f.Pd,"px")}}):(0,n.jsx)(eB,{style:{order:1,margin:"12px 0 0 ".concat(f.Pd,"px")}}))]})]})}return(0,n.jsx)(eq,{isFortnite:X,onPlayButtonClicked:d,playerState:c,data:o,isMobileDevice:Z,ssrOrigin:y})}},94292:(e,t,i)=>{i.d(t,{A:()=>d});var n=i(37876),a=i(14232),o=i(64320),r=i(78975),l=i(51152);let d=e=>{var t;let{rightTooltips:i}=e,d=(0,a.useContext)(r.j),s=(0,o.d4)(e=>e.play.showAllGamesOverlay),p=(null==(t=null==d?void 0:d.topBarApps)?void 0:t.slice(0,8))||[];return(0,n.jsx)("ul",{id:"top-bar-list",className:"app-list ".concat(s?"hidden":""),children:null==p?void 0:p.map((e,t)=>(0,n.jsx)(l.Vp,{index:t,game:e,rightTooltips:i||!1},e.appName))})}}}]); //# sourceMappingURL=7058.b6d5347ac3ee8289.js.map