"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3304],{18532:function(e,t,n){n.r(t),n.d(t,{default:function(){return x}});var o=n(67294),r=n(28216),i=n(35166),a=n(77e3),c=n(88306),l=n.n(c),d=n(83627),s=n(87804),u=n(82839),g=n(69364),f=n(15937),m=n(57139);const h=n(10586).ZP.div.withConfig({displayName:"AuthButtonsstyled__AuthButtonsWrapper",componentId:"sc-ioh5r5-0"})(["& > *{&:first-child{margin-right:10px;}&:last-child{margin-right:0px;}}"]);var p=(0,r.connect)((e=>({isUserLoggedIn:(0,d.WO)(e)})),{openLogInForm:u.rN,openRegisterModal:u.yj})((e=>{let{isUserLoggedIn:t,openLogInForm:n,openRegisterModal:r,type:c="single"}=e;const{strings:l}=(0,a.Z)(i.U.AuthMenuV3),{isMobileOrTablet:d}=(0,g.Z)(),u=(e,t)=>{const i="signin"===e?n:()=>r(),a="signin"===e?l.log_in:l.sign_up;return o.createElement(f.ZP,Object.assign({size:m.Ph.small,color:t,onClick:i,className:"log-in-button"},s.A("header.login")),a)};return t||d?null:(()=>{switch(c){case"single":return u("signin","default");case"multiple":return o.createElement(h,null,u("signin","dark"),u("signup","default"));default:return null}})()})),b=n(59658),v=n(35934).Z,y=n(47171);const k=l()((e=>e?e.map((e=>({uuid:e.strings.title,title:e.strings.title,link:e.links.url,target:e.options.target}))):null));var x=()=>{const e=(0,a.Z)(i.U.AuthMenuV3),t=(0,r.useSelector)(d.WO,r.shallowEqual),{strings:n,repeaters:c,options:l}=e;return o.createElement(y.h,null,o.createElement("div",null,t?o.createElement(v,{menuItems:k(c.usermenu)}):o.createElement(p,{type:l.authButtonsType}),t?o.createElement(b.Z,{title:n.logout_popup_title,logOutText:n.logout_popup_resolve,cancelText:n.logout_popup_reject}):null))}},59658:function(e,t,n){const o=(0,n(40684).ZP)({resolved:{},chunkName:()=>"LogoutConfirmation",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(5236).then(n.bind(n,32738)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>32738});t.Z=o},35934:function(e,t,n){const o=(0,n(40684).ZP)({resolved:{},chunkName:()=>"UserInfo",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(5891),n.e(8661),n.e(1476)]).then(n.bind(n,26684)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>26684});t.Z=o},47171:function(e,t,n){n.d(t,{h:function(){return l}});var o=n(67294),r=n(85002),i=n(94845);const a={authRedirect:!1,authFormState:n(90652).z.DISABLED,isPrivacyAgreement:!1},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.kP:return Object.assign(Object.assign({},e),{authRedirect:t.payload});case i.je:return Object.assign(Object.assign({},e),{authFormState:t.payload});case i.Rq:return Object.assign(Object.assign({},e),{isPrivacyAgreement:t.payload});default:return e}},l=e=>{let{children:t}=e;return o.createElement(r.DynamicModuleLoader,{modules:[{id:"auth-forms-dynamic-module",reducerMap:{authForms:c}}]},t)}},82839:function(e,t,n){n.d(t,{Cp:function(){return c},Dt:function(){return u},Vs:function(){return s},eb:function(){return a},np:function(){return d},rN:function(){return l},yj:function(){return g}});var o=n(94845),r=n(90652);const i=e=>({type:o.je,payload:e}),a=e=>({type:o.Rq,payload:e}),c=()=>i(r.z.DISABLED),l=()=>i(r.z.LOGIN),d=()=>i(r.z.RESTORE),s=()=>i(r.z.RESTORE_SENT),u=()=>i(r.z.SELECT_GAME),g=e=>t=>{var n;e&&"string"==typeof e&&t((n=e,{type:o.kP,payload:n})),t(i(r.z.REGISTER))}},94845:function(e,t,n){n.d(t,{Rq:function(){return i},je:function(){return r},kP:function(){return o}});const o="@@auth/REDIRECT_CHANGE",r="@@auth/FORM_STATE_CHANGE",i="@@auth/PRIVACY_AGREEMENT_CHANGE"},90652:function(e,t,n){var o;n.d(t,{z:function(){return o}}),function(e){e.DISABLED="",e.LOGIN="login",e.REGISTER="register",e.RESTORE="restore",e.RESTORE_SENT="restoreSent",e.SELECT_GAME="selectGame"}(o||(o={}))},96826:function(e,t,n){n.d(t,{Rp:function(){return s},ZP:function(){return d},zx:function(){return l}});var o=n(10586),r=n(94737),i=n(59754),a=n(57139);const c=e=>(0,o.iv)(["position:relative;display:inline-flex;justify-content:center;align-items:center;font-weight:600;line-height:1rem;letter-spacing:normal;color:#ffffff;text-align:center;border:none;border-radius:4px;transition:0.2s;cursor:pointer;box-shadow:0 15px 20px -10px rgba(0,0,0,0.3);&:disabled{cursor:not-allowed;}"," ",";"," "," "," "," "," "," "," "," "," &.game-header-details-button{margin-top:0.25rem;margin-bottom:0.5rem;margin-left:1.25rem;}&.game-header-fast-download-button{line-height:1rem;}"," ",""],e.size===a.Ph.extraSmall&&(0,o.iv)(["min-height:1.5rem;font-size:0.75rem;line-height:1.5rem;font-weight:400;padding:0 1rem;min-width:6.5rem;"]),e.size===a.Ph.small&&(0,o.iv)(["min-width:110px;min-height:35px;padding:0 25px;font-size:16px;line-height:35px;"]),e.size===a.Ph.medium&&(0,o.iv)(["min-width:120px;min-height:40px;padding:0 25px;font-size:18px;line-height:40px;@media ","{min-width:5rem;min-height:35px;line-height:35px;padding:0 10px;font-size:16px;}"],r.Z.mobileOrTablet),e.size===a.Ph.large&&(0,o.iv)(["min-width:140px;min-height:50px;line-height:50px;padding:0 30px;font-size:20px;"]),e.color===a.Tt.default&&(0,o.iv)(["background-color:var(--bg-white);color:#1f7cdf;border-radius:6px;box-shadow:0 8px 10px -10px rgba(0,0,0,0.4);&.log-in-button{min-height:35px;min-width:0;padding:0 17px;font-size:15px;color:#1f7cdf;&:hover,&:active,&:disabled{color:#1f7cdf;}@media ","{padding:0 22px;}}&:hover,&:active,&:disabled{color:#1f7cdf;}&:hover{background-color:var(--button-default-hover);}&:active{background-color:var(--button-default-press);}&:disabled{background-color:var(--button-default-disablet);}"],r.Z.mobileOrTablet),e.color===a.Tt.dark&&(0,o.iv)(["background-color:#635c7c;background:linear-gradient(to bottom,#635c7c,#514b67 97%);&:hover{background-color:#6f6985;background:linear-gradient(to bottom,#6f6985,#635c7c 97%);}&:active{background-color:#635c7c;background:linear-gradient(to bottom,#635c7c,#514b67 97%);}&:disabled{background:#a9a6b5;}"]),e.color===a.Tt.primary&&(0,o.iv)(["background-color:#fa5400;background:linear-gradient(to bottom,#fa5400 -7%,#fa3e00 105%);&:hover{background-color:#ff681b;background:linear-gradient(to bottom,#ff681b -7%,#ff5118 104%);}&:active{background-color:#f04600;background:linear-gradient(to bottom,#f04600 -7%,#dd3700 101%);}&:disabled{background:#ffa582;}"]),e.color===a.Tt.secondary&&(0,o.iv)(["background-color:#5b8fe5;background:linear-gradient(to bottom,#5b8fe5,#4779cb 99%);&:hover{background-color:#619cff;background:linear-gradient(to bottom,#619cff,#558ce6);}&:active{background-color:#578adf;background:linear-gradient(to bottom,#578adf,#406cb5 99%);}&:disabled{background:#7daeff;}"]),e.color===a.Tt.defaultNormal&&(0,o.iv)(["background-color:#f0f0f0;color:#555557;&:hover{background-color:#f4f4f4;color:#555557;}&:active{background-color:#f4f4f4;color:#555557;}&:disabled{background:#d2d2d2;color:#555557;}"]),e.color===a.Tt.purple&&(0,o.iv)(["background-color:#7c4795;background:linear-gradient(to bottom,#7c4795,#5d2a7e 100%);&:hover{background-color:#8f61a4;background:linear-gradient(to bottom,#8f61a4,#744890 100%);}&:active{background-color:#6a3c7f;background:linear-gradient(to bottom,#6a3c7f,#4f246c 100%);}&:disabled{background-color:#bfa5cb;background:linear-gradient(to bottom,#bfa5cb,#ae94be 100%);}"]),e.fluid&&(0,o.iv)(["width:100%;padding:0;"]),e.isIcon&&(0,o.iv)(["padding:0 1.25rem 0 1rem;"]),e.isNoBoxShadow&&(0,o.iv)(["box-shadow:none;"])),l=o.ZP.button.withConfig({displayName:"Buttonstyled__Button",componentId:"sc-1rihoin-0"})([""," ",""],(e=>c(e)),(e=>e.isIcon&&(0,o.iv)(["margin-left:0.5rem;"]))),d=(0,o.ZP)(i.Z).withConfig({displayName:"Buttonstyled__ButtonLink",componentId:"sc-1rihoin-1"})(["",""],(e=>c(e))),s=o.ZP.i.withConfig({displayName:"Buttonstyled__IconContent",componentId:"sc-1rihoin-2"})(["display:flex;align-items:center;justify-content:center;margin-right:0.5rem;width:1rem;height:auto;& svg{width:100%;height:auto;}"])},57139:function(e,t,n){n.d(t,{Ph:function(){return a},Tt:function(){return i}});var o=n(67294),r=n(96826);const i={default:"default",defaultNormal:"defaultNormal",dark:"dark",primary:"primary",secondary:"secondary",purple:"purple"},a={extraSmall:"extraSmall",small:"small",medium:"medium",large:"large"};t.ZP=e=>{var{children:t,onClick:n,color:c=i.primary,size:l=a.medium}=e,d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r