1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19892,63932],{33706:function(e,i,t){"use strict";var o,n,r=t(67294);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}i.Z=function(e){return r.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),o||(o=r.createElement("rect",{width:16,height:16,fill:"#FF9C07",rx:8})),n||(n=r.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M7 4h1.8v3.699h3.7v1.8H7V4Z",clipRule:"evenodd"})))}},69752:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return w},default:function(){return D}});var o=t(83322),n=t(92777),r=t(82262),d=t(10748),s=t(45959),c=t(63553),l=t(37247),a=t(59499),m=t(67294),_=t(2664),f=t(28276),u=t(77202),h=t(14569),v=t(99120),F=t(18917),p=t(65501),x=t(91795),b=t(47840),g=t(85893),U=(0,f.Zh)("profile_settings")(function(e){var i=e.discordId,t=e.isDiscordVerified,o=e.t;return(0,g.jsx)(p.Z,{children:i?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(x.Z,{discordId:i,isDiscordVerified:t,t:o}),(0,g.jsx)(b.Z,{children:o("update")})]}):(0,g.jsx)(b.Z,{children:o("connect_discord")})})}),j=t(85440),k=t(83592),y={src:"/_next/static/media/profile-discord-icon.dabfdffc.png",height:120,width:120,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEXs7/7t8f3v8f/1+P/x8/6NlPXR1vuiqfdpcvGss/hvePFxePKPKhvMAAAAA3RSTlP+vsJKALquAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAOElEQVR4nC2LWw4AIRDCcIF56P3v62xif0iago8YuEBwmIHSTo2M2qdiXG67mlC42yFQfyxivfsFIYsA90X4hv4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},A=function(e){(0,s.Z)(o,e);var i,t=(i=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=(0,l.Z)(o);if(i){var n=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,c.Z)(this,e)});function o(e){var i;return(0,n.Z)(this,o),i=t.call(this,e),(0,a.Z)((0,d.Z)(i),"headingRef",void 0),(0,a.Z)((0,d.Z)(i),"checkRights",function(){if(!i.state.isCheckedRightsToEdit){var e=i.props,t=e.router,o=e.currentUser,n=t.query.profileId,r=(0,j.Z)(o,n);r.isChecked&&i.setState({isCheckedRightsToEdit:!0,hasRightsToEdit:r.hasRights})}}),(0,a.Z)((0,d.Z)(i),"onDocumentScroll",function(){var e;window.scrollY>=(null===(e=i.headingRef.current)||void 0===e?void 0:e.offsetHeight)?i.setState({isTabsFixed:!0}):i.setState({isTabsFixed:!1})}),i.state={isCheckedRightsToEdit:!1,hasRightsToEdit:!1,isTabsFixed:!1},i.headingRef=m.createRef(),i}return(0,r.Z)(o,[{key:"componentDidMount",value:function(){this.checkRights(),window.addEventListener("scroll",this.onDocumentScroll)}},{key:"componentDidUpdate",value:function(){this.checkRights()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onDocumentScroll)}},{key:"render",value:function(){var e=this.state,i=e.hasRightsToEdit,t=e.isTabsFixed,o=this.props,n=o.currentUser,r=o.t;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(F.Z,{title:"".concat(r("meta.settings_title")," - ").concat(n.nickname||""," - ").concat(u.so),description:"".concat(r("meta.description").replace("%{nickname}",n.nickname||"")," ").concat(u.so)}),(0,g.jsxs)(v.Z,{tabs:k.Z,title:r("nav.settings"),isModGrid:!0,Img:y,headingRef:this.headingRef,isTabsFixed:t,children:[n.isPending&&(0,g.jsx)(h.Z,{}),i&&(0,g.jsx)(U,{discordId:n.discordId,isDiscordVerified:n.isDiscordVerified})]})]})}}]),o}(m.PureComponent),Z=(0,_.$j)(function(e){var i=e.user,t=i.id,o=i.isPending,n=i.isAuthenticated,r=i.attributes;return{currentUser:{id:t,nickname:null==r?void 0:r.nick,discordId:null==r?void 0:r.discord_id,isDiscordVerified:null==r?void 0:r.discord_verified,isPending:o,isAuthenticated:n}}},null)((0,f.Zh)("profile")(A));Z.Layout=o.Z;var w=!0,D=Z},47840:function(e,i,t){"use strict";t.d(i,{Z:function(){return l}}),t(67294);var o=t(62236),n=t(28276),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=escape("".concat(window.location.href));window.location.href="".concat("https://json-api.starladder.com","/").concat(null===n.ag||void 0===n.ag?void 0:n.ag.language,"/v1.0/").concat("newstarladder","/current_user/discord_verification").concat(e?"?".concat(e,"&"):"?","back_url=").concat(i)},d=t(66547),s=t.n(d),c=t(85893),l=function(e){var i=e.children;return(0,c.jsx)(o.Z,{styleClassName:s().btnDiscord,size:"medium",onClick:function(){return r()},children:(0,c.jsx)("span",{className:s().btnContent,children:i})})}},91795:function(e,i,t){"use strict";t.d(i,{Z:function(){return u}});var o,n,r=t(67294),d=t(3737),s=t(14267);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}var l=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),o||(o=r.createElement("circle",{cx:7,cy:7,r:7,fill:"#20A95A"})),n||(n=r.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"m3.5 7 3 2.5 4-4.5"})))},a=t(33706),m=t(66547),_=t.n(m),f=t(85893),u=function(e){var i=e.discordId,t=e.isDiscordVerified,o=e.errorMsg,n=e.t;
1return(0,f.jsxs)(d.Z,{label:n("discord"),children:[(0,f.jsx)("div",{className:_().input,children:(0,f.jsxs)("span",{className:_().inputContent,children:[i,t?(0,f.jsx)(l,{className:_().inputIcon}):(0,f.jsx)(a.Z,{className:_().inputIcon})]})}),o&&(0,f.jsx)(s.y,{msg:o})]})}},65501:function(e,i,t){"use strict";t(67294);var o=t(94184),n=t.n(o),r=t(259),d=t(24420),s=t.n(d),c=t(85893);i.Z=function(e){var i=e.title,t=e.children,o=e.link,d=void 0===o?null:o,l=e.isAsidePanel,a=e.hasDivider,m=e.hasContent;return(0,c.jsxs)("section",{className:n()(s().section,void 0!==l&&l&&s().modAside,void 0!==a&&a&&s().modDivider,void 0!==m&&m&&s().isFull),children:[i&&(0,c.jsxs)("div",{className:s().sectionHeading,children:[i&&(0,c.jsx)("h3",{className:s().sectionTitle,children:i}),d&&(0,c.jsx)(r.Z,{href:d.href,children:(0,c.jsx)("a",{className:s().sectionLink,children:d.text})})]}),(0,c.jsx)("div",{className:s().sectionContent,children:t})]})}},85440:function(e,i,t){"use strict";var o=t(11163),n=t.n(o),r=t(77202);i.Z=function(e,i){var t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o={isChecked:!1,hasRights:!1};if(e.isPending)return o;if(e.isAuthenticated&&e.id===i)o.hasRights=!0;else{if(t){var d=e.id||i;n().push("/profile/[profileId]?profileId=".concat(d),"".concat(r.ZP.beginOfRoute,"/profile/").concat(d))}o.hasRights=!1}return o.isChecked=!0,o}},62236:function(e,i,t){"use strict";var o=t(59499);t(67294);var n=t(94184),r=t.n(n),d=t(91203),s=t.n(d),c=t(85893);function l(){return(0,c.jsx)("div",{className:s().loaderBox,children:(0,c.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",stroke:"var(--btn-loader-color)",className:s().loaderSvg,children:(0,c.jsxs)("g",{children:[(0,c.jsx)("circle",{cx:"12",cy:"12",r:"11",strokeOpacity:"0.5",strokeWidth:"2",fill:"none"}),(0,c.jsx)("circle",{cx:"12",cy:"12",r:"11",strokeWidth:"2",strokeDasharray:"15 90",fill:"none",children:(0,c.jsx)("animateTransform",{attributeName:"transform",begin:"0s",dur:"1s",type:"rotate",from:"0 12 12",to:"360 12 12",repeatCount:"indefinite"})})]})})})}i.Z=function(e){var i=e.children,t=e.size,n=e.styleType,d=e.type,a=e.icon,m=void 0===a?null:a,_=e.IconElem,f=void 0===_?null:_,u=e.styleClassName,h=e.onClick,v=e.styleMod,F=e.isDisabled,p=e.darkMod,x=e.isLoading,b=void 0!==x&&x;return(0,c.jsx)("button",{type:void 0===d?"button":d,className:r()(s().btn,s()["mod-".concat(v)],s()["btn-".concat(void 0===n?"primary":n)],s()["btn-".concat(void 0===t?"default":t)],m&&s().modIcon,u,(0,o.Z)({},s().isDisabled,void 0!==F&&F),(0,o.Z)({},s().modDark,void 0!==p&&p),b&&s().isLoading),disabled:b,onClick:h,children:b?(0,c.jsx)(l,{}):(0,c.jsxs)(c.Fragment,{children:[f&&(0,c.jsx)(f,{className:r()(s().btnIcon,s()["btn-icon-".concat(m)])}),(0,c.jsx)("span",{className:s().btnText,children:i})]})})}},14267:function(e,i,t){"use strict";t.d(i,{y:function(){return c}}),t(67294);var o=t(82580),n=t(28276),r=t(77836),d=t.n(r),s=t(85893);function c(e){var i=e.msg;return i&&(0,s.jsx)("span",{className:d().formError,children:i})}i.Z=function(e){var i=e.name,t=e.getLabel;return(0,s.jsx)(o.Bc,{name:i,children:function(e){return(0,s.jsx)("span",{className:d().formError,children:t?t(e):e})}},"".concat(i,"_").concat(null===n.ag||void 0===n.ag?void 0:n.ag.language))}},3737:function(e,i,t){"use strict";var o=t(67294),n=t(94184),r=t.n(n),d=t(84463),s=t.n(d),c=t(85893);i.Z=function(e){var i=e.styleMod,t=void 0===i?null:i,n=e.contentStyleMod,d=void 0===n?null:n,l=e.styleClassName,a=e.label,m=void 0===a?null:a,_=e.description,f=void 0===_?null:_,u=e.children,h=e.darkMod,v=e.nav,F=void 0===v?null:v;return(0,c.jsxs)("div",{className:r()(h?s().formFieldDark:s().formField,t&&s()["mod-".concat(t)],void 0===l?null:l),children:[m&&(0,c.jsxs)("div",{className:r()(s().formFieldLabel),children:[(0,c.jsxs)("div",{className:s().formFieldLabelHeading,children:[(0,c.jsx)("p",{className:s().formFieldLabelText,children:m}),f&&(0,c.jsx)("p",{className:s().formFieldLabelDesc,children:f})]}),F&&(0,c.jsx)("div",{className:s().formFieldLabelNav,children:F})]}),(0,c.jsx)("div",{className:r()(s().formFieldContent,d&&s()["mod-".concat(d)]),children:o.Children.map(u,function(e,i){return null!=e&&(0,c.jsx)("div",{className:s().formFieldItem,children:e},i)})})]})}},14569:function(e,i,t){"use strict";t(67294);var o=t(94184),n=t.n(o),r=t(7257),d=t.n(r),s=t(85893);i.Z=function(e){var i=e.styleMod,t=void 0===i?null:i;return(0,s.jsx)("div",{className:n()(d().loaderBox,t&&d()["mod-".concat(t)]),children:(0,s.jsx)("svg",{width:"200",height:"200",viewBox:"0 0 200 200",stroke:"var(--accent-color)",className:d().loaderSvg,children:(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{cx:"100",cy:"100",r:"30",strokeOpacity:"0.5",strokeWidth:"5",fill:"none"}),(0,s.jsx)("circle",{cx:"100",cy:"100",r:"30",strokeWidth:"5",strokeDasharray:"30 160",fill:"none",children:(0,s.jsx)("animateTransform",{attributeName:"transform",begin:"0s",dur:"1s",type:"rotate",from:"0 100 100",to:"360 100 100",repeatCount:"indef
1inite"})})]})})})}},3833:function(e,i){"use strict";i.Z={list:[{name:"MAJOR 2025",title:"MAJOR 2025",path:"https://major.starladder.com/en/",isExternalLink:!0},{name:"news",title:"news",path:"/news"},{name:"header_latest_videos",title:"videos",path:"/videos"}]}},63932:function(e,i,t){"use strict";t.r(i),t(67294);var o=t(28276),n=t(69650),r=t(77202),d=t(85893);i.default=(0,o.Zh)("common")(function(e){var i=e.menu,t=e.isSmallDevice,o=e.t;return(0,d.jsx)(n.Z,{logo:{isSvg:!0,Icon:r.ZP.HeaderLogoIcon,mod:r.ZP.headerLogo},homeUrl:r.ZP.beginOfRoute,isSmallDevice:t,navMenu:i,isSl:!0,t:o})})},83322:function(e,i,t){"use strict";t(67294);var o=t(5152),n=t.n(o),r=t(3833),d=t(63932),s=t(85893),c=n()(function(){return Promise.all([t.e(66424),t.e(11842)]).then(t.bind(t,11842))},{ssr:!1,loadableGenerated:{webpack:function(){return[11842]}}}),l=n()(function(){return t.e(9510).then(t.bind(t,14755))},{ssr:!1,loadableGenerated:{webpack:function(){return[14755]}}});i.Z=function(e){var i=e.isSmallDevice,t=e.children;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l,{}),(0,s.jsx)(d.default,{menu:r.Z.list,isSmallDevice:i}),t,(0,s.jsx)(c,{menu:r.Z.list,hasSocial:!0})]})}},88812:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/[profileId]/discord",function(){return t(69752)}])},66547:function(e){e.exports={"btn-discord":"UiDiscord_btn-discord___RJeX",btnDiscord:"UiDiscord_btn-discord___RJeX","btn-content":"UiDiscord_btn-content__mO5cX",btnContent:"UiDiscord_btn-content__mO5cX",input:"UiDiscord_input__fePMp","input-content":"UiDiscord_input-content__qlxBP",inputContent:"UiDiscord_input-content__qlxBP","input-icon":"UiDiscord_input-icon__ULRHz",inputIcon:"UiDiscord_input-icon__ULRHz"}},24420:function(e){e.exports={"sections-grid":"UiSection_sections-grid__ynL5G",sectionsGrid:"UiSection_sections-grid__ynL5G",section:"UiSection_section__0pQ__","mod-divider":"UiSection_mod-divider__zrRLV",modDivider:"UiSection_mod-divider__zrRLV","is-full":"UiSection_is-full__hUwqJ",isFull:"UiSection_is-full__hUwqJ","mod-aside":"UiSection_mod-aside__MkR0X",modAside:"UiSection_mod-aside__MkR0X","section-heading":"UiSection_section-heading__HteHF",sectionHeading:"UiSection_section-heading__HteHF","section-link":"UiSection_section-link__5_otE subtitle-font-text",sectionLink:"UiSection_section-link__5_otE subtitle-font-text","section-title":"UiSection_section-title__ZOsIr body-accent-font-text",sectionTitle:"UiSection_section-title__ZOsIr body-accent-font-text","section-content":"UiSection_section-content__ZxGkM",sectionContent:"UiSection_section-content__ZxGkM"}},77836:function(e){e.exports={"form-error":"UiFormError_form-error__5aZY_ caption-font-text",formError:"UiFormError_form-error__5aZY_ caption-font-text"}},84463:function(e){e.exports={"form-field-composes":"UiFormField_form-field-composes__e7Ky8",formFieldComposes:"UiFormField_form-field-composes__e7Ky8","mod-last":"UiFormField_mod-last__TlcUu",modLast:"UiFormField_mod-last__TlcUu","mod-aside":"UiFormField_mod-aside__0NPj2",modAside:"UiFormField_mod-aside__0NPj2","mod-match-aside":"UiFormField_mod-match-aside__mXGsa",modMatchAside:"UiFormField_mod-match-aside__mXGsa","mod-filter":"UiFormField_mod-filter__OkTk1",modFilter:"UiFormField_mod-filter__OkTk1","mod-create-adv":"UiFormField_mod-create-adv__7ZuGE",modCreateAdv:"UiFormField_mod-create-adv__7ZuGE","mod-nav":"UiFormField_mod-nav__9uDQI",modNav:"UiFormField_mod-nav__9uDQI","mod-wrapper":"UiFormField_mod-wrapper__V2F65",modWrapper:"UiFormField_mod-wrapper__V2F65","form-field":"UiFormField_form-field__WbSUs UiFormField_form-field-composes__e7Ky8",formField:"UiFormField_form-field__WbSUs UiFormField_form-field-composes__e7Ky8","form-field-dark":"UiFormField_form-field-dark__EqXIu UiFormField_form-field-composes__e7Ky8",formFieldDark:"UiFormField_form-field-dark__EqXIu UiFormField_form-field-composes__e7Ky8","form-field-create":"UiFormField_form-field-create__Qp_fA",formFieldCreate:"UiFormField_form-field-create__Qp_fA","form-field-label":"UiFormField_form-field-label__VItUB caption-accent-font-text",formFieldLabel:"UiFormField_form-field-label__VItUB caption-accent-font-text","form-field-label-text":"UiFormField_form-field-label-text__DuTis",formFieldLabelText:"UiFormField_form-field-label-text__DuTis","form-field-label-nav":"UiFormField_form-field-label-nav___CHeG",formFieldLabelNav:"UiFormField_form-field-label-nav___CHeG","form-field-content":"UiFormField_form-field-content__KFDVP",formFieldContent:"UiFormField_form-field-content__KFDVP","mod-birthday":"UiFormField_mod-birthday__I_SIk",modBirthday:"UiFormField_mod-birthday__I_SIk","mod-2-column":"UiFormField_mod-2-column__8H5bY",mod2Column:"UiFormField_mod-2-column__8H5bY","mod-with-btn":"UiFormField_mod-with-btn__gt_J4",modWithBtn:"UiFormField_mod-with-btn__gt_J4","mod-full":"UiFormField_mod-full__Amuxb",modFull:"UiFormField_mod-full__Amuxb","form-field-item":"UiFormField_form-field-item__cCWaO",formFieldItem:"UiFormField_form-field-item__cCWaO","form-field-label-desc":"UiFormField_form-field-label-desc__ztaS4 subtitle-font-text",formFieldLabelDesc:"UiFormField_form-field-label-desc__ztaS4 subtitle-font-text"}},7257:function(e){e.exports={"loader-box":"UiLoader_loader-box__0zhpb",loaderBox:"UiLoader_loader-box__0zhpb","mod-overlay":"UiLoader_mod-overlay__MdCqF",modOverlay:"UiLoader_mod-overlay__MdCqF","mod-search":"UiLoader_mod-search__ffgm5",modSearch:"UiLoader_mod-search__ffgm5","loader-svg":"UiLoader_loader-svg__QwwW3",loaderSvg:"UiLoader_loader-svg__QwwW3"}}},function(e){e.O(0,[41966,25675,82580,69650,43088,49774,92888,40179],function(){return e(e.s=88812)}),_N_E=e.O()}]);
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.