PageSourceSearch

https://www.start.gg/assets/__static/2275/_next/static/chunks/pages/admin/team/[slug]-f5a994dc67a4cec3.js

js start.gg collected 2026-10-01 10:17:40 UTC 40,373 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5199],{36872:function(e,n,i){"use strict";i.d(n,{Z:function(){return Z}});var t=i(1048),a=i(32793),r=i(67294),d=i(27192),s=i(8423),l=i(21964),m=i(33616),o=i(82066),c=i(85893),u=(0,o.Z)((0,c.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),v=(0,o.Z)((0,c.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),k=i(56513);const g=(0,k.ZP)("span")({position:"relative",display:"flex"}),p=(0,k.ZP)(u)({transform:"scale(1)"}),f=(0,k.ZP)(v)((({theme:e,ownerState:n})=>(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));var N=function(e){const{checked:n=!1,classes:i={},fontSize:t}=e,r=(0,a.Z)({},e,{checked:n});return(0,c.jsxs)(g,{className:i.root,ownerState:r,children:[(0,c.jsx)(p,{fontSize:t,className:i.background,ownerState:r}),(0,c.jsx)(f,{fontSize:t,className:i.dot,ownerState:r})]})},S=i(98216),y=i(35893),b=i(80209);var h=i(28979);function F(e){return(0,h.Z)("MuiRadio",e)}var O=(0,i(76087).Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);const j=["checked","checkedIcon","color","icon","name","onChange","size"],x=(0,k.ZP)(l.Z,{shouldForwardProp:e=>(0,k.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:i}=e;return[n.root,n[`color${(0,S.Z)(i.color)}`]]}})((({theme:e,ownerState:n})=>(0,a.Z)({color:e.palette.text.secondary,"&:hover":{backgroundColor:(0,s.Fq)("default"===n.color?e.palette.action.active:e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${O.checked}`]:{color:e.palette[n.color].main}},{[`&.${O.disabled}`]:{color:e.palette.action.disabled}})));const T=(0,c.jsx)(N,{checked:!0}),P=(0,c.jsx)(N,{});var Z=r.forwardRef((function(e,n){var i,s;const l=(0,m.Z)({props:e,name:"MuiRadio"}),{checked:o,checkedIcon:u=T,color:v="primary",icon:k=P,name:g,onChange:p,size:f="medium"}
1=l,N=(0,t.Z)(l,j),h=(0,a.Z)({},l,{color:v,size:f}),O=(e=>{const{classes:n,color:i}=e,t={root:["root",`color${(0,S.Z)(i)}`]};return(0,a.Z)({},n,(0,d.Z)(t,F,n))})(h),Z=r.useContext(b.Z);let D=o;const w=(0,y.Z)(p,Z&&Z.onChange);let C=g;var I,A;return Z&&("undefined"===typeof D&&(I=Z.value,D="object"===typeof(A=l.value)&&null!==A?I===A:String(I)===String(A)),"undefined"===typeof C&&(C=Z.name)),(0,c.jsx)(x,(0,a.Z)({type:"radio",icon:r.cloneElement(k,{fontSize:null!=(i=P.props.fontSize)?i:f}),checkedIcon:r.cloneElement(u,{fontSize:null!=(s=T.props.fontSize)?s:f}),ownerState:h,classes:O,name:C,checked:D,onChange:w,ref:n},N))}))},68061:function(e,n,i){"use strict";var t=i(32793),a=i(1048),r=i(67294),d=i(53457),s=i(51705),l=i(49299),m=i(80209),o=i(27909),c=i(85893);const u=["actions","children","defaultValue","name","onChange","value"],v=r.forwardRef((function(e,n){const{actions:i,children:v,defaultValue:k,name:g,onChange:p,value:f}=e,N=(0,a.Z)(e,u),S=r.useRef(null),[y,b]=(0,l.Z)({controlled:f,default:k,name:"RadioGroup"});r.useImperativeHandle(i,(()=>({focus:()=>{let e=S.current.querySelector("input:not(:disabled):checked");e||(e=S.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const h=(0,s.Z)(n,S),F=(0,o.Z)(g);return(0,c.jsx)(m.Z.Provider,{value:{name:F,onChange:e=>{b(e.target.value),p&&p(e,e.target.value)},value:y},children:(0,c.jsx)(d.Z,(0,t.Z)({role:"radiogroup",ref:h},N,{children:v}))})}));n.Z=v},80209:function(e,n,i){"use strict";const t=i(67294).createContext(void 0);n.Z=t},8298:function(e,n,i){"use strict";i.d(n,{Z:function(){return m}});var t=i(32793),a=i(1048),r=i(67294);
1const d=["getTrigger","target"];function s(e,n){const{disableHysteresis:i=!1,threshold:t=100,target:a}=n,r=e.current;return a&&(e.current=void 0!==a.pageYOffset?a.pageYOffset:a.scrollTop),!(!i&&void 0!==r&&e.current<r)&&e.current>t}const l="undefined"!==typeof window?window:null;function m(e={}){const{getTrigger:n=s,target:i=l}=e,m=(0,a.Z)(e,d),o=r.useRef(),[c,u]=r.useState((()=>n(o,m)));return r.useEffect((()=>{const e=()=>{u(n(o,(0,t.Z)({target:i},m)))};return e(),i.addEventListener("scroll",e),()=>{i.removeEventListener("scroll",e)}}),[i,n,JSON.stringify(m)]),c}},19001:function(e,n,i){"use strict";i(67294);var t=i(79845),a=i(21671),r=i(38866),d=i(98844),s=i(89574),l=i(85893),m=(0,s.ZL)()((function(e){return{status:{display:"flex",alignItems:"center"},icon:{marginRight:e.spacing(1)}}}));function o(e){var n,i,s=e.numCaptains,o=e.numPlayers,c=e.numAlternates,u=e.minPlayers,v=e.maxPlayers,k=e.minAlternates,g=e.maxAlternates,p=e.showTitle,f=e.isMixedMode,N=(0,t.Z)().translate,S=m().classes,y=1===s,b=o>=u&&o<=v,h=y&&b&&(c>=k&&c<=g),F=N("RosterCompletionStatus.players"),O=N("RosterCompletionStatus.alternates"),j=N("Common.required"),x=N("Common.optional"),T=u===v?u:"(".concat(u," to ").concat(v,")");if(k&&g&&k!==g){var P=c;P>k&&(P=k);var Z=Math.max(c-P,0),D=g-k;n=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{children:["\xa0",P,"/",k," ",O]}),(0,l.jsxs)("span",{children:["\xa0",(0,l.jsxs)("b",{children:[x,":"]})," ",Z,"/",D," ",O]})]})}else n=g?(0,l.jsxs)("span",{children:["\xa0",(0,l.jsxs)("b",{children:[x,":"]})," ",c,"/",g," ",O]}):"",k&&(n=(0,l.jsxs)("span",{children:["\xa0",c,"/",k," ",O]}));i=h?(0,l.jsx)(d.ZT,{color:"green.primary",children:(0,l.jsx)(r.nQ,{className:S.icon})}):(0,l.jsx)(d.ZT,{color:"red.primary",children:(0,l.jsx)(r.Tw,{className:S.icon})});var w=b&&!y&&(0,l.jsx)(d.ZT,{color:"red.primary",variant:"body14",children:N("RosterCompletionStatus.singleCaptainRequired")}),C=(0,l.jsxs)(d.ZT,{variant:"body14",color:"grey.primary",children:[(0,l.jsxs)("b",{children:[j,":"]})," ",o,"/",T," ",F," ",n]});return f?(0,l.jsxs)(d.ZT,{variant:"body14",color:"grey.primary",children:[v," ",F," ",N("Common.maximum")]}):p?(0,l.jsxs)(a.Ki,{children:[(0,l.jsx)(d.ZT,{variant:"body16",className:S.status,children:h?(0,l.jsxs)(l.Fragment,{children:[i,N("RosterCompletionStatus.complete")]}):(0,l.jsxs)(l.Fragment,{children:[i,N("RosterCompletionStatus.incomplete")]})}),w,C]}):(0,l.jsxs)("div",{className:S.status,children:[i,C]})}o.defaultProps={numAlternates:0,minAlternates:0,maxAlternates:0,showTitle:!0,isMixedMode:!1},n.Z=o},73616:function(e,n,i){"use strict";i.d(n,{Z:function(){return k}});var t=i(67294),a=(i(43393),i(24561)),r=i(41640),d=i(33241),s=i(30962),l=i(77668),m=i(38668),o=i(84708),c=i(85893),u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TeamProfile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tab"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"team"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"teamProfile"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamProfile"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"EventTeam"}},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:"globalTeam"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[{kind:"Argument",name:{kind:"Name",value:"tab"},value:{kind:"Variable",name:{kind:"Name",value:"tab"}}}],directives:[]}]}}]}}],loc:{start:0,end:143,source:{body:'#import "./TeamProfile.fragment.gql"\n\nquery TeamProfile($slug: String!, $tab: String) {\n    team(slug: $slug) {\n        ...teamProfile\n    }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},v=function(e){var n=e.currentRoute,i=e.slug,a=e.isGlobalProfile,v=e.isLoading,k=e.contentLoader,g=e.tab,p=e.children,f=n.get("tab")||g,N=(0,r.Z)(u,{variables:{slug:i,tab:f},skip:!i}).data,S=(0,m.s0)().navigate,y=N&&N.team;return(0,t.useEffect)((function(){y&&y.type!==o.Z.GLOBAL&&y.globalTeam&&a&&S(y.globalTeam.url)}),[y]),v?(0,c.jsx)("div",{children:k}):(0,c.jsx)(l.Z,{primaryTab:"details",slug:i,entityType:d.Z.TEAM,pageType:s.Z.TEAM_PAGE,children:p})};v.defaultProps={children:null,tab:null,isGlobalProfile:!0,isLoading:!1,contentLoader:function(){return(0,c.jsxs)(a.ZP,{height:80,width:300,speed:1,primaryColor:"#f2f2f4",secondaryColor:"#e8e8e8",children:[(0,c.jsx)("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"80",height:"80"}),(0,c.jsx)("rect",{x:"105",y:"14",rx:"0",ry:"0",width:"80",height:"14"}),(0,c.jsx)("rect",{x:"105",y:"34",rx:"0",ry:"0",width:"100",height:"16"}),(0,c.jsx)("rect",{x:"105",y:"56",rx:"4",ry:"4",width:"60",height:"12"}),(0,c.jsx)("rect",{x:"175",y:"56",rx:"4",ry:"4",width:"60",height:"12"})]})}};var k=v},30009:function(e,n,i){"use strict";var t=i(59499),a=(0,i(89574).ZL)()((function(e){var n;return{root:(0,t.Z)({display:"flex"},e.breakpoints.down("sm"),{flexDirection:"column"}),formContainer:{flex:"1 2 auto"},bioContainer:(n={display:"flex",flexDirection:"column"},(0,t.Z)(n,e.breakpoints.up("sm"),{width:"30rem",flex:"0 1 auto",marginLeft:e.spacing(4)}),(0,t.Z)(n,e.breakpoints.down("sm"),{marginTop:e.spacing(2)}),n),submitButton:(0,t.Z)({marginTop:e.spacing(2)},e.breakpoints.up("sm"),{alignSelf:"flex-end"}),fixed:{color:e.palette.common.grey.dark,fontSize:"1.8rem"},passport:{marginTop:e.spacing(1)}}}));n.Z=a},86815:function(e,n,i){"use strict";i.d(n,{Z:function(){return v}});var t=i(59499),a=i(17674),r=(i(67294),i(73359)),d=i(64598),s=i(75889),l=i(85893);function m(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 o(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?m(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SpotlightPlayerResults"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PlayerQuery"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"players"},arguments:[{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"playerAvatar"},directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"rankings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rank"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iteration"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"series"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"StringValue",value:"icon",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pageInfo"},directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"playerAvatar"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Player"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"prefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gamerTag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"twitchStream"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"twitterHandle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pageInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PageInfo"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"perPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalPages"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortBy"},arguments:[],directives:[]}]}}],loc:{start:0,end:616,source:{body:'#import "gg-common/gql/fragments/domain/Image/image.gql"\n#import "gg-common/gql/fragments/domain/Player/playerAvatar.gql"\n#import "gg-common/gql/fragments/utils/pagination.gql"\n\nquery SpotlightPlayerResults($query: PlayerQuery!) {\n\tplayers(query: $query) {\n\t\tnodes {\n\t\t\t...playerAvatar\n\n\t\t\tcountry\n\t\t\tstate\n\n\t\t\tuser {\n\t\t\t\tid\n\t\t\t}\n\n\t\t\t# TODO: rankings fragment?\n\t\t\trankings {\n\t\t\t\tid\n\t\t\t\trank\n\t\t\t\titeration {\n\t\t\t\t\tid\n\t\t\t\t\ttitle\n\t\t\t\t\tseries {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\timages(type: "icon") {\n\t\t\t\t\t\t\t...image\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t# pageInfo is a pretty hard requirement.\n\t\tpageInfo {\n\t\t\t...pageInfo\n\t\t}\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},u=function(e){var n=e.filter,i=void 0===n?{}:n,t=e.includeAnonymous,m=(0,r.t)(c),u=(0,a.Z)(m,2),v=u[0],k=u[1],g=k.loading,p=k.data,f=p&&p.players&&p.players.nodes||[],N=f;t||(N=f.filter((function(e){return e.user})));var S=N.map((function(e){var n=t?e.id:e.user.id;return o(o({},e),{},{value:n,label:e.gamerTag})}));return(0,l.jsx)(s.Z,o(o({},e),{},{options:S,loading:g,onSearch:function(e){v({variables:{query:{page:1,perPage:10,filter:o(o({},i),{},{searchField:e,isUser:!t||void 0,hideTest:!t&&void 0})}}})},filterOptions:function(e){return e},renderOption:function(e,n){return(0,l.jsx)("li",o(o({},e),{},{children:(0,l.jsx)("div",{"data-test":"player-result",children:(0,l.jsx)(d.Z,{player:n,shouldLink:!1})})}))},getOptionLabel:function(e){return e.gamerTag}}))};
1u.defaultProps={filter:{},includeAnonymous:!1};var v=u},75889:function(e,n,i){"use strict";i.d(n,{Z:function(){return S}});var t=i(59499),a=i(81020),r=i.n(a),d=i(67294),s=i(5306),l=i(50135),m=i(89574),o=i(38866),c=i(79845),u=i(20196),v=i(85893);function k(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 g(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?k(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):k(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}r().bool,r().array,r().string,r().func,r().func,r().string,r().object,r().func,r().bool,r().bool,r().bool,r().string,r().oneOfType([r().func,r().shape({current:r().elementType})]),r().node,r().func.isRequired;var p={loading:!1,options:[],label:"",onSearch:void 0,onSelected:void 0,error:null,defaultOption:null,onInputChange:void 0,searchOnOpen:!1,clearOnSelected:!1,selectFirstResult:!1,margin:"normal",inputRef:{},noOptionsText:null},f=(0,m.ZL)()((function(e){return{root:{margin:e.spacing(0,0,1)},largeFont:(0,t.Z)({"&::-webkit-search-cancel-button":{display:"none"}},e.breakpoints.down("sm"),{fontSize:"16px"})}})),N=function(e){var n=e.loading,i=e.options,t=e.label,a=e.onSearch,r=e.onSelected,m=e.getOptionLabel,k=void 0===m?function(e){return e.label||""}:m,p=e.error,N=e.defaultOption,S=e.onInputChange,y=e.clearOnSelected,b=e.selectFirstResult,h=e.margin,F=e.inputRef,O=e.searchOnOpen,j=e.noOptionsText,x=(0,c.Z)().translate,T=f().classes,P=(0,d.useState)(!1),Z=P[0],D=P[1],w=(0,u.Z)(a,400),C=(0,d.useState)(""),I=C[0],A=C[1],q=(0,d.useState)({}),E=q[0],R=q[1],L=(0,d.useState)(!1),V=L[0],M=L[1],B=function(e,n,i){R(n),"selectOption"!==i&&"clear"!==i||(r&&r(n),D(!1),y&&(A(""),R({})))};(0,d.useEffect)((function(){N&&(R(N),A(N.label))}),[N]),(0,d.useEffect)((function(){i.length>0&&b&&B(0,i[0],"selectOption")}),[JSON.stringify(i),b]);var $=j||x("AsyncAutocomplete.empty");return(0,v.jsx)(s.Z,g(g({},e),{},{open:Z,inputValue:I,value:E,onOpen:function(){D(!0),O&&!V&&(w(),M(!0))},onClose:function(){return D(!1)},getOptionLabel:function(e){return k(e)||""},disableClearable:!0,onInputChange:function(e,n,i){A(n),"input"===i&&w(n),S&&S()},onChange:B,loadingText:x("AsyncAutocomplete.searching"),noOptionsText:$,renderInput:function(e){return(0,v.jsx)(l.Z,g(g({},e),{},{margin:h||"normal",classes:T,label:t,variant:"outlined",error:p,inputRef:F,InputProps:g(g({},e.InputProps),{},{classes:{input:T.largeFont},inputProps:g(g({},e.inputProps),{},{type:"search",enterKeyHint:"search",autoComplete:"off"}),endAdornment:(0,v.jsxs)(d.Fragment,{children:[n?(0,v.jsx)(o.D8,{color:"primary",size:"20"}):null,e.InputProps.endAdornment]})})}))}}))};N.defaultProps=p;var S=N},35960:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSP:function(){return ee},default:function(){return ne}});var t=i(59499),a=i(33241),r=i(67294),d=i(38668),s=i(73616),l=i(33967),m=i(98844),o=i(21671),c=i(28968),u=i(41640),v=i(17690),k=i(79845),g=i(17674),p=i(50319),f=i(66688),N=i(96486),S=i(37342),y=i(44955),b=i(6327),h=i(23198),F=i(99971),O=i(93665),j=i(30009),x=i(67047),T=i(70923),P=i(60942),Z=i(43393),D=i(24716),w=i(85893);function C(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 I(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?C(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):C(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditBannerImageDialog"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"team"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"editBannerImageDialog"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"editBannerImageDialog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"StringValue",value:"banner",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}}],loc:{start:0,end:146,source:{body:'#import "./EditBannerImageDialog.fragment.gql"\n\nquery EditBannerImageDialog ($teamId: ID!) {\n\tteam (id: $teamId) {\n\t\t...editBannerImageDialog\n\t}\n}',name:"GraphQL request",locationOffset:{line:1,column:1}}}};function q(e){var n=e.teamId,i=e.team,t=e.onRemove,r=e.onComplete,d=(0,u.Z)(A,{variables:{teamId:n},skip:!!i}),s=d.loading,l=(d.error,d.data),m=(0,k.Z)().translate;if(s)return null;var c=i||l.team,v=c.images&&c.images.find((function(e){return"banner"===e.type})),g={entityId:c.id,entityType:a.Z.TEAM,uploadMutationName:"uploadTeamImage",deleteMutationName:"deleteTeamImage",refetchQueries:function(){return["TeamSettings","DesktopTeamProfileHeading","ProfileNavQuery"]}},p=(0,w.jsx)(o.xu,{pb:1,children:(0,w.jsx)(D.Z,I(I({},g),{},{onRemove:t,onComplete:r,id:"banner-image",imageType:"banner",image:v&&(0,Z.fromJS)(v),label:m("ProfileImageSettings.images.bannerImage"),name:"banner-image",validationKey:"banner-image"}))});return(0,w.jsx)(h.Vq,I(I({scroll:"body"},e),{},{content:p}))}q.defaultProps={team:null,onRemove:function(){},onComplete:function(){}};var E=q,R=function(e){var n=e.team,i=(0,d.eF)().translate,t=(0,T.Z)(P.Z),a=(0,g.Z)(t,2),r=a[0],s=a[1],l=(0,T.Z)(E),o=(0,g.Z)(l,2),c=o[0],u=o[1];return(0,w.jsxs)("div",{children:[(0,w.jsx)(r,{team:n}),(0,w.jsx)(c,{team:n}),(0,w.jsx)(m.rU,{type:"primary",onClick:s,children:i("ProfileImageSettings.images.profileImageEdit")}),"\xa0\xa0\xa0\xa0",(0,w.jsx)(m.rU,{type:"primary",onClick:u,children:i("ProfileImageSettings.images.bannerImageEdit")})]})};R.defaultProps={};var L=R;function V(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 M(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?V(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):V(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"EditTeam"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamParams"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTeamParams"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTeam"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}},{kind:"Argument",name:{kind:"Name",value:"params"},value:{kind:"Variable",name:{kind:"Name",value:"teamParams"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamSettings"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamSettings"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCurrentUserAdmin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userMember"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"teamBio"},directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamBio"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discriminator"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"teamName"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamAvatar"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamBioLine"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamVideogameInfoLine"},directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamName"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamAvatar"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamBioLine"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCurrentUserAdmin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bio"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamVideogameInfoLine"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videogame"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:181,source:{body:'#import "../TeamSettings.fragment.gql"\n\nmutation EditTeam($teamId: ID!, $teamParams: UpdateTeamParams!) {\n\tupdateTeam(id: $teamId, params: $teamParams) {\n\t\tid\n\t\t...teamSettings\n\t}\n}',name:"GraphQL request",locationOffset:{line:1,column:1}}}};var $=function(e){var n=e.team,i=n.isCurrentUserAdmin,t=n.userMember,a=n.slug,s=(0,d.eF)().translate,l=(0,d.s0)().navigate,m=(0,j.Z)().classes;(0,r.useEffect)((function(){t||i||l("/".concat(a))}),[]);var c=(0,p.D)(B,{variables:{teamId:n.id},refetchQueries:function(){return["ProfileBreadcrumb","DesktopTeamProfileHeading","ProfileNavQuery","TopLevelNav"]}}),u=(0,g.Z)(c,1)[0],v=new F.Z(s),k=(0,r.useState)(n),T=k[0],P=k[1],Z=function(e){var n=e.values;P((function(e){return M(M({},e),{},{bio:n.bio,name:n.name})}))},D={name:n.name,bio:n.bio};return(0,w.jsx)(S.Z,{onSubmit:function(e){return u({variables:{teamParams:e}})},initialValues:D,children:function(e){var n=e.handleSubmit;return(0,w.jsx)("form",{onSubmit:n,children:(0,w.jsx)(h.Zb,{children:(0,w.jsx)(o.xu,{padding:2,children:(0,w.jsxs)("div",{className:m.root,children:[(0,w.jsxs)("div",{className:m.formContainer,children:[(0,w.jsx)(f.lP,{onChange:Z}),(0,w.jsx)(y.Z,{headerText:s("TeamSettingsForm.name")}),(0,w.jsx)(f.gN,{name:"name",type:"text",required:!0,validate:v.required,
1component:O.II.ffAdapter,disabled:!i}),(0,w.jsx)(y.Z,{headerText:s("TeamSettingsForm.bio.header"),description:s("TeamSettingsForm.bio.description")}),(0,w.jsx)(f.gN,{name:"bio",type:"text",component:O.II.ffAdapter,validate:v.maxLength(160),disabled:!i}),(0,w.jsx)(b.Mm,{disabledOnSuccess:!1,disabled:!i,size:"md"})]}),(0,w.jsx)("div",{className:m.bioContainer,children:(0,w.jsx)(x.Z,{team:(0,N.omit)(T,"discriminator"),allowEditing:!1,children:i&&(0,w.jsx)(L,{team:T})})})]})})})})}})},z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TeamSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"teamId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"team"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"teamId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"teamSettings"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamSettings"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCurrentUserAdmin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userMember"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"teamBio"},directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamBio"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discriminator"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"teamName"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamAvatar"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamBioLine"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"teamVideogameInfoLine"},directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamName"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamAvatar"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamBioLine"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCurrentUserAdmin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bio"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"teamVideogameInfoLine"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Team"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videogame"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:119,source:{body:'#import "./TeamSettings.fragment.gql"\n\nquery TeamSettings ($teamId: ID!) {\n\tteam (id: $teamId) {\n\t\t...teamSettings\n\t}\n}',name:"GraphQL request",locationOffset:{line:1,column:1}}}};function _(e){var n=e.teamId,i=e.team,t=(0,k.Z)().translate,a=(0,u.Z)(z,{variables:{teamId:n},skip:!!i}),r=a.loading,d=(a.error,a.data);if(r)return(0,w.jsx)(v.Z,{});var s=i||d.team,l=s.isCurrentUserAdmin;return(0,w.jsxs)(o.Ki,{spacing:3,children:[!l&&(0,w.jsx)(m.e3,{type:"warning",children:t("TeamSettings.nonAdminWarning")}),(0,w.jsx)($,{team:s})]})}_.defaultProps={team:null};var Q=_,U=i(90303);function G(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 H(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?G(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):G(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var K=function(e){var n=(0,d.eF)().translate,i=(0,c.N0)();return(0,w.jsx)(s.Z,H(H({},e),{},{currentRoute:i,children:function(e){var i=e.profileId;return i?(0,w.jsx)(l.Z,{children:(0,w.jsxs)(o.Ki,{spacing:3,children:[(0,w.jsx)(m.ZT,{variant:"h4",children:n("TeamSettings.title")}),(0,w.jsx)(Q,{teamId:i}),(0,w.jsx)(U.Z,{teamId:i})]})}):null}}))},J=i(48464);function X(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}var Y=function(e){return(0,w.jsx)(K,function(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?X(Object(i),!0).forEach((function(n){(0,t.Z)(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):X(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}({},e))},W={pageTitle:"Team Settings",tab:"Team Settings",getProfileIdentifier:function(e){return{profileType:a.Z.TEAM,profileSlug:"team/".concat(e.slug),isAdmin:!0}},pageTelemetry:{name:"Settings"}};Y.routeMeta=W,Y.getLayout=(0,J.G)(W);var ee=!0,ne=Y},83163:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/team/[slug]",function(){return i(35960)}])}},function(e){e.O(0,[4738,792,646,4591,1346,7586,4716,1867,1769,8667,9774,2888,179],(function(){return n=83163,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
2//# sourceMappingURL=[slug]-f5a994dc67a4cec3.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.