1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4146],{59899:function(e,n,i){"use strict";i.d(n,{G:function(){return v}});var t=i(59499),a=i(4730),r=(i(67294),i(36376)),d=i(71298),c=i(8970),o=i(85893),u=["children","shouldTrackPageview"];function s(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function l(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?s(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}function m(e){var n=e.children,i=e.shouldTrackPageview,t=void 0===i||i,c=(0,a.Z)(e,u);return(0,d.P)(t),(0,o.jsx)(r.Z,l(l({},c),{},{children:n}))}var v=function(e){return function(n,i){return(0,c.u)((0,o.jsx)(m,{shouldTrackPageview:e.shouldLayoutTrackPageview,children:n}),l({},e),i)}}},38668:function(e,n,i){"use strict";i.d(n,{Nr:function(){return t.Z},Rh:function(){return a.Z},gI:function(){return l},eF:function(){return r.Z},ac:function(){return d.Z},s0:function(){return u},D9:function(){return m.Z},Yz:function(){return v.Z}});var t=i(20196),a=i(70923),r=i(79845),d=i(20753),c=i(67294),o=i(89331),u=function(){var e=(0,c.useContext)(o.Z);return{navigate:e.navigate,refetchUserAndNavigate:e.refetchUserAndNavigate}},s=i(51665),l=function(){var e=(0,c.useState)(!1),n=e[0],i=e[1];return(0,c.useEffect)((function(){i((0,s.c)())}),[]),n},m=(i(98946),i(12584),i(41271)),v=(i(92795),i(45114));i(74591)},20196:function(e,n,i){"use strict";var t=i(67294),a=i(96486);n.Z=function(e,n){return(0,t.useCallback)((0,a.debounce)(e,n),[e,n])}},41271:function(e,n,i){"use strict";i.d(n,{Z:function(){return a}});var t=i(67294);function a(e){var n=(0,t.useRef)();return(0,t.useEffect)((function(){n.current=e})),n.current}},45114:function(e,n,i){"use strict";i.d(n,{Z:function(){return p}});var t=i(50029),a=i(17674),r=i(87794),d=i.n(r),c=i(67294),o=i(96486),u=i(50319),s=i(79845),l=i(92795),m=i(93664),v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserConnectedAccount"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AuthorizationType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"userConnectedAccount"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"userConnectedAccount"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publishingSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profileAuthorizations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"twitter"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"twitch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mixer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discord"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayFirst"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"adminFields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profileAuthorization"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalUsername"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isValid"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:169,source:{body:'#import "./UserConnectedAccount.fragment.gql"\n\nquery UserConnectedAccount($userId: ID!, $type: AuthorizationType!) {\n\tuser(id: $userId) {\n\t\t...userConnectedAccount\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},k={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ConnectXboxAccount"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"idToken"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"nonce"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"connectXboxAccount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idToken"},value:{kind:"Variable",name:{kind:"Name",value:"idToken"}}},{kind:"Argument",name:{kind:"Name",value:"nonce"},value:{kind:"Variable",name:{kind:"Name",value:"nonce"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"connectXboxAccount"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"connectXboxAccount"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProfileAuthorization"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalUsername"},arguments:[],directives:[]}]}}],loc:{start:0,end:239,source:{body:'#import "gg-common/components/hooks/useXboxAuth/ConnectXboxAccount.fragment.gql"\n\nmutation ConnectXboxAccount ($idToken: String!, $nonce: String!) {\n\tconnectXboxAccount (idToken: $idToken, nonce: $nonce) {\n\t\tid\n\t\t...connectXboxAccount\n\t}\n}',name:"GraphQL request",locationOffset:{line:1,column:1}}}},f=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},i=(0,u.D)(k,{refetchQueries:function(){var n=[];return e&&n.push({query:v,variables:{userId:e,type:m.Z.XBOX}}),n},awaitRefetchQueries:!0}),r=(0,a.Z)(i,2),f=r[0],p=r[1].loading,g=(0,s.Z)(),N=g.translate,h=(0,c.useState)(),b=h[0],y=h[1],S=function(){var e=(0,t.Z)(d().mark((function e(i){var t,a,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.idToken,a=i.nonce,e.next=3,f({variables:{idToken:t,nonce:a}});case 3:return(r=e.sent).errors?y(r.errors[0].message):n((0,o.get)(r,["data","connectXboxAccount"])),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),x=function(e){e.error?y(N("MSALoginButton.error")):S(e)},A=(0,l.Z)(x);return{onConnect:A,loading:p,error:b}},p=f},20589:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSP:function(){return g},default:function(){return N}});var t=i(67294),a=i(98844),r=i(11214),d=(i(43393),i(61722)),c=i(53213),o=i(6655),u=i(21671),s=i(38668),l=i(85893),m=(0,r.qC)(d.Z)((function(e){var n,i=e.currentUser,r=(0,s.eF)().translate,d=i.get("activePunishment"),m=(0,s.s0)().navigate;(0,t.useEffect)((function(){d||m("/")}));var v=d&&d.get("type");return v===o.Z.ADMIN_BAN&&(n=(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{children:r("BannedPage.adminBan.prohibited")}),(0,l.jsx)("div",{children:r("BannedPage.adminBan.tournamentCreation")}),(0,l.jsx)("div",{children:r("BannedPage.adminBan.adminActions")})]})),v===o.Z.UNDERAGE?(0,l.jsx)("div",{className:"text-center pane-body",children:(0,l.jsx)(u.Ki,{spacing:2,children:(0,l.jsx)("div",{children:(0,l.jsx)(a.ZT,{variant:"h2",component:"h1",children:r("BannedPage.underage.suspended")})})})}):(0,l.jsxs)("div",{className:"text-center pane-body ",children:[(0,l.jsx)(a.ZT,{variant:"h2",component:"h1",children:r("BannedPage.default.title")}),(0,l.jsxs)(u.Ki,{children:[(0,l.jsx)("div",{children:r("BannedPage.default.suspendedUntil--m^")}),d&&(0,l.jsxs)(u.Ki,{children:[(0,l.jsx)("div",{children:c.Z.formatDate(d.get("expiresAt"))}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{children:d.get("externalNotes")}),n]})]})]})]})})),v=i(29229),k=i(59899),f=function(){return(0,l.jsx)(m,{})},p={pageTelemetry:{name:"Banned",content:{audienceMode:v._l.Enterprise}},loginRequired:!0,loginRequiresClientSideRedirectCheck:!0};f.routeMeta=p,f.getLayout=(0,k.G)(p);var g=!0,N=f},44416:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/banned",function(){return i(20589)}])}},function(e){e.O(0,[4146],(function(){e.E(5720)}),5);e.O(0,[5675,4738,3206,4591,6376,9774,2888,179],(function(){return n=44416,e(e.s=n);var n}));var n=e.O();_N_E=n}]); 2//# sourceMappingURL=banned-b587e6a60b131fa8.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.