1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,152201,453371,536539,877878,483168,527358,714126,638485,e=>{"use strict";var t=e.i(63601),i=e.i(670322),o=e.i(290714),n=e.i(950679),r=e.i(736345),l=e.i(136476),a=e.i(219930),s=e.i(516190),c=e.i(907210),d=e.i(178780),u=e.i(195709),m=e.i(56482),f=e.i(66177),h=e.i(834987),y=e.i(771657),x=e.i(288122),p=e.i(619257),g=e.i(786726);let j=e=>{let n,r,l,c,d,u,j,v,b,k,R=(0,i.c)(31),{displayText:_,large:S,transparent:w,compact:I}=e,{organization:C}=(0,f.useOrganization)(),T=(0,y.useIsMobile)(),{getPath:z}=(0,x.useNavigation)(),{orgKey:K}=(0,h.useConfig)();R[0]!==z?(n=z({root:p.RootRoute.Root}),R[0]=z,R[1]=n):n=R[1],R[2]!==I?(r=I?0:{xs:0,sm:2},R[2]=I,R[3]=r):r=R[3];let D=w?"transparent":"rgba(255, 156, 253, 0.08)";R[4]!==r||R[5]!==D?(l={alignItems:"flex-start",paddingX:r,cursor:"pointer",borderRadius:"999px",backgroundColor:D},R[4]=r,R[5]=D,R[6]=l):l=R[6];let O=I?"flex-start":"center",U=+!I;R[7]!==O||R[8]!==U?(c={display:"flex",justifyContent:O,padding:U,flexShrink:0},R[7]=O,R[8]=U,R[9]=c):c=R[9];let L=(null==C?void 0:C.image)||void 0,N=_||!T?"":(null==C?void 0:C.name)||"",F=(null==C?void 0:C.key)??K,W=S?60:34,P=S?60:34;return R[10]===Symbol.for("react.memo_cache_sentinel")?(d={borderRadius:4},R[10]=d):d=R[10],R[11]!==F||R[12]!==W||R[13]!==P||R[14]!==L||R[15]!==N?(u=(0,t.jsx)(g.ImageWithFallback,{src:L,alt:N,identiconSeed:F,identiconVariant:"entity",width:W,height:P,style:d,priority:!0}),R[11]=F,R[12]=W,R[13]=P,R[14]=L,R[15]=N,R[16]=u):u=R[16],R[17]!==u||R[18]!==c?(j=(0,t.jsx)(o.default,{sx:c,children:u}),R[17]=u,R[18]=c,R[19]=j):j=R[19],R[20]!==_||R[21]!==T||R[22]!==(null==C?void 0:C.name)?(v=_||!T?(0,t.jsx)(o.default,{sx:{pr:2},children:(0,t.jsx)(s.default,{variant:"h3",sx:{color:"text.primary"},children:null==C?void 0:C.name})}):null,R[20]=_,R[21]=T,R[22]=null==C?void 0:C.name,R[23]=v):v=R[23],R[24]!==j||R[25]!==v||R[26]!==l?(b=(0,t.jsxs)(a.default,{direction:"row",spacing:2.5,sx:l,children:[j,v]}),R[24]=j,R[25]=v,R[26]=l,R[27]=b):b=R[27],R[28]!==n||R[29]!==b?(k=(0,t.jsx)(m.NavigationLink,{to:n,underline:"none",color:"inherit",children:b}),R[28]=n,R[29]=b,R[30]=k):k=R[30],k};e.s(["NavigationOrganization",0,j],453371);var v=e.i(82835),b=e.i(955031);let k=()=>{let e,o,n,r=(0,i.c)(5),{featHideRallyCryBranding:l}=(0,b.useFeatures)();return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(v.RcTrans,{i18nKey:"site.copyright",tOptions:{year:new Date().getFullYear()}}),r[0]=e):e=r[0],r[1]!==l?(o=!0===l?null:(0,t.jsxs)(t.Fragment,{children:[" · ",(0,t.jsx)(m.NavigationLink,{href:"https://about.rallycry.gg",target:"_blank",rel:"noopener",color:"inherit","data-test-id":"footer.powered-by",children:(0,t.jsx)(v.RcTrans,{i18nKey:"site.powered-by",children:"Powered by Rally Cry"})})]}),r[1]=l,r[2]=o):o=r[2],r[3]!==o?(n=(0,t.jsxs)(t.Fragment,{children:[e,o]}),r[3]=o,r[4]=n):n=r[4],n};e.s(["Copyright",0,k],536539);var R=e.i(484337),_=e.i(226515),S=e.i(388898),w=e.i(354476),I=e.i(380135);let C=e=>{let o,n,r,l,a,s,d=(0,i.c)(18),{children:u,linkSx:y}=e,[x,p]=(0,R.useState)(!1),g=(0,h.useConfig)(),{organization:j,profile:b}=(0,f.useOrganization)(),{account:k}=(0,S.useUserAccount)(),{handles:C,refetch:z}=(0,w.useMyContactAccounts)();d[0]!==C?(o=C.find(T),d[0]=C,d[1]=o):o=d[1];let K=o,D=`${window.location.origin}/oauth2/callback`,O=g.api;d[2]===Symbol.for("react.memo_cache_sentinel")?(n=c.NetworkKind.DISCORD.toLowerCase(),d[2]=n):n=d[2],d[3]!==z||d[4]!==(null==b?void 0:b.primaryDiscordInviteUrl)?(r=async()=>{await z(),window.open(null==b?void 0:b.primaryDiscordInviteUrl)},d[3]=z,d[4]=null==b?void 0:b.primaryDiscordInviteUrl,d[5]=r):r=d[5];let U=(0,I.useTimeoutWindow)(O+`/oauth2/authorization/${n}?redirect_uri=${encodeURIComponent(D)}`,r);d[6]!==U?(l=()=>{p(!1),U()},d[6]=U,d[7]=l):l=d[7];let L=l;d[8]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{p(!1)},d[8]=a):a=d[8];let N=a;return(null==b?void 0:b.primaryDiscordInviteUrl)?(d[9]!==k||d[10]!==u||d[11]!==K||d[12]!==L||d[13]!==y||d[14]!==x||d[15]!==(null==j?void 0:j.name)||d[16]!==(null==b?void 0:b.primaryDiscordInviteUrl)?(s=K||!k?(0,t.jsx)(m.NavigationLink,{href:null==b?void 0:b.primaryDiscordInviteUrl,target:"_blank",rel:"noopener",sx:y,children:u}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.NavigationLink,{href:(null==b?void 0:b.primaryDiscordInviteUrl)??"#",sx:y,onClick:e=>{e.preventDefault(),p(!0)},children:u}),(0,t.jsx)(_.ConfirmationDialog,{open:x,message:(0,t.jsx)(v.RcTrans,{i18nKey:"site.discord-prompt",tOptions:{organization:null==j?void 0:j.name}}),ok:(0,t.jsx)(v.RcTrans,{i18nKey:"site.link-accounts"}),onOk:L,onCancel:N,children:(0,t.jsx)(m.NavigationLink,{href:(null==b?void 0:b.primaryDiscordInviteUrl)??"#",target:"_blank",rel:"noopener",onClick:()=>p(!1),"data-test-id":"discord-prompt-skip-link",children:(0,t.jsx)(v.RcTrans,{i18nKey:"site.goto-discord"})})})]}),d[9]=k,d[10]=u,d[11]=K,d[12]=L,d[13]=y,d[14]=x,d[15]=null==j?void 0:j.name,d[16]=null==b?void 0:b.primaryDiscordInviteUrl,d[17]=s):s=d[17],s):null};function T(e){return e.network===c.NetworkKind.DISCORD}e.s(["DiscordPrompt",0,C],877878);var z=e.i(593006);let K=e=>{let o,n,r=(0,i.c)(6);r[0]!==e?({...o}=e,r[0]=e,r[1]=o):o=r[1];let{navTo:l}=(0,x.useNavigation)(),{account:a}=(0,S.useUserAccount)();return r[2]!==a||r[3]!==l||r[4]!==o?(n=a?(0,t.jsx)(z.RcButton,{color:"primary",onClick:()=>l({root:p.RootRoute.Discovery,subRoute:p.DiscoveryRoute.Competitions}),...o,children:(0,t.jsx)(v.RcTrans,{i18nKey:"shared.play-now"})}):(0,t.jsx)(z.RcButton,{color:"primary",onClick:()=>l({root:p.RootRoute.Register}),...o,children:(0,t.jsx)(v.RcTrans,{i18nKey:"shared.sign-up"})}),r[2]=a,r[3]=l,r[4]=o,r[5]=n):n=r[5],n};var D=e.i(565646);let O=()=>{let e,o,n,r,l,a,s,c,d,u,m,h,y,g,j,k,R,_,w,I,C,T,z,K,O,U,L,N,F,W=(0,i.c)(55),{getPath:P}=(0,x.useNavigation)(),{featRallyCryFooter:$,featContactLink:A,featCMSOnly:E}=(0,b.useFeatures)(),{organization:G}=(0,f.useOrganization)(),{account:M}=(0,S.useUserAccount)();W[0]!==M||W[1]!==P?(e=M?{key:"home",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.home"}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","house"]}),to:P({root:p.RootRoute.Root})}:{key:"landing",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.landing"}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","house"]}),to:P({root:p.RootRoute.Landing})},W[0]=M,W[1]=P,W[2]=e):e=W[2],W[3]!==A||W[4]!==(null==G?void 0:G.name)?(o=A?[{key:"c
1ontact",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.contact",tOptions:{organization:null==G?void 0:G.name}}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","circle-question"]}),href:A}]:[],W[3]=A,W[4]=null==G?void 0:G.name,W[5]=o):o=W[5],W[6]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(v.RcTrans,{i18nKey:"site.navigator.discord"}),W[6]=n):n=W[6],W[7]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fab","discord"]}),W[7]=r):r=W[7],W[8]===Symbol.for("react.memo_cache_sentinel")?(l={key:"discord",label:n,icon:r,type:"discord"},W[8]=l):l=W[8],W[9]!==M||W[10]!==E||W[11]!==P?(a=M||E?[]:[{key:"register",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.registration"}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","user-plus"]}),to:P({root:p.RootRoute.Register})}],W[9]=M,W[10]=E,W[11]=P,W[12]=a):a=W[12],W[13]!==e||W[14]!==o||W[15]!==a?(s=[e,...o,l,...a],W[13]=e,W[14]=o,W[15]=a,W[16]=s):s=W[16];let B=s;W[17]!==$?(c=$?{key:"rallycry",title:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.rallycry"}),links:[{key:"website",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.website"}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","globe"]}),href:"https://about.rallycry.gg",target:"_new",rel:"noopener"},{key:"jobs",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.jobs"}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","briefcase"]}),href:"https://about.rallycry.gg/contact",target:"_new",rel:"noopener"}]}:null,W[17]=$,W[18]=c):c=W[18];let q=c;W[19]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.resources"}),W[19]=d):d=W[19],W[20]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.support"}),W[20]=u):u=W[20],W[21]===Symbol.for("react.memo_cache_sentinel")?(m={key:"help",label:u,icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","life-ring"]}),type:"contact-flow"},W[21]=m):m=W[21],W[22]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.guides"}),W[22]=h):h=W[22],W[23]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","book-open"]}),W[23]=y):y=W[23],W[24]!==P?(g=P({root:p.RootRoute.Resources}),W[24]=P,W[25]=g):g=W[25],W[26]!==g?(j={key:"guides",label:h,icon:y,to:g},W[26]=g,W[27]=j):j=W[27],W[28]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.privacy"}),W[28]=k):k=W[28],W[29]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","lock"]}),W[29]=R):R=W[29],W[30]!==P?(_=P({root:p.RootRoute.Privacy}),W[30]=P,W[31]=_):_=W[31],W[32]!==_?(w={key:"privacy",label:k,icon:R,to:_},W[32]=_,W[33]=w):w=W[33],W[34]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.cookie-sett
1ings"}),W[34]=I):I=W[34],W[35]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","cookie-bite"]}),W[35]=C):C=W[35],W[36]===Symbol.for("react.memo_cache_sentinel")?(T={key:"cookie-settings",label:I,icon:C,type:"cookie-settings"},W[36]=T):T=W[36],W[37]===Symbol.for("react.memo_cache_sentinel")?(z=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.terms"}),W[37]=z):z=W[37],W[38]===Symbol.for("react.memo_cache_sentinel")?(K=(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","file-lines"]}),W[38]=K):K=W[38],W[39]!==P?(O=P({root:p.RootRoute.TermsOfUse}),W[39]=P,W[40]=O):O=W[40],W[41]!==O?(U={key:"terms",label:z,icon:K,to:O},W[41]=O,W[42]=U):U=W[42],W[43]!==M||W[44]!==P?(L=M?[{key:"settings",label:(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.account-settings"}),icon:(0,t.jsx)(D.RcIcon,{fixedWidth:!0,icon:["fal","gear"]}),to:P({root:p.RootRoute.Settings})}]:[],W[43]=M,W[44]=P,W[45]=L):L=W[45],W[46]!==j||W[47]!==w||W[48]!==U||W[49]!==L?(N={key:"resources",title:d,links:[m,j,w,T,U,...L]},W[46]=j,W[47]=w,W[48]=U,W[49]=L,W[50]=N):N=W[50];let J=N;return W[51]!==B||W[52]!==q||W[53]!==J?(F={organizationSection:B,rallyCrySection:q,resourcesSection:J},W[51]=B,W[52]=q,W[53]=J,W[54]=F):F=W[54],F};e.s(["useFooterLinks",0,O],483168);var U=e.i(487981),L=e.i(998125),N=e.i(705898);let F=e=>{let o,n,r=(0,i.c)(9),{url:l,network:a,tooltip:s,description:c}=e,{getNetworkIcon:d}=(0,L.useNetworkKinds)();r[0]!==c||r[1]!==d||r[2]!==a?(o=c?(0,N.extractIconStrings)(c)??["fal","link"]:d(a),r[0]=c,r[1]=d,r[2]=a,r[3]=o):o=r[3];let u=o,m="string"==typeof s?s:a;return r[4]!==m||r[5]!==u||r[6]!==s||r[7]!==l?(n=l?(0,t.jsx)(U.RcIconButton,{onClick:()=>{window.open(l)},icon:u,"aria-label":m,TooltipProps:{title:s??m}}):null,r[4]=m,r[5]=u,r[6]=s,r[7]=l,r[8]=n):n=r[8],n};e.s(["SocialGridItem",0,F],527358);var W=e.i(875159),P=e.i(73512),$=e.i(639619),A=e.i(260511),E=e.i(406138),G=e.i(856906),M=e.i(702490),B=e.i(605655),q=e.i(871908),J=e.i(829631),Q=e.i(783941),X=e.i(551681);let H={en:"us","pt-BR":"br","fr-CA":"ca","fr-FR":"fr","de-DE":"de","es-MX":"mx","it-IT":"it","ja-JP":"jp","nl-NL":"nl","ko-KR":"kr","zh-CN":"cn"},V=e=>{let n,r,l,a,s,c=(0,i.c)(13),{locale:d,size:u,className:m}=e,f=void 0===u?20:u;c[0]!==d?(n=(e=>{if(!e)return"un";let t=e.trim();if(H[t])return H[t];let i=t.split("-");if(i.length>1)return i[i.length-1].toLowerCase();let o=/([A-Z][a-z]+)$/.exec(t);return o?o[1].toLowerCase():2===t.length?t.toLowerCase():"un"})(d),c[0]=d,c[1]=n):n=c[1];let h=n,y=`/flags/${h}.svg`;c[2]!==f?(r={width:f,height:f,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},c[2]=f,c[3]=r):r=c[3];let x=`${d}`;return c[4]===Symbol.for("react.memo_cache_sentinel")?(l={width:"100%",height:"100%",objectFit:"contain",display:"block"},c[4]=l):l=c[4],c[5]!==y||c[6]!==f||c[7]!==x?(a=(0,t.jsx)(X.default,{src:y,alt:x,width:f,height:f,style:l,unoptimized:!0}),c[5]=y,c[6]=f,c[7]=x,c[8]=a):a=c[8],c[9]!==m||c[10]!==r||c[11]!==a?(s=(0,t.jsx)(o.default,{className:m,sx:r,children:a}),c[9]=m,c[10]=r,c[11]=a,c[12]=s):s=c[12],s};e.s(["FlagIcon",0,V],714126);var Y=e.i(559406),Z=e.i(313781),ee=e.i(591417);let et=e=>{let o,n,r,l,a,s,c,d,u,m,f,h,y=(0,i.c)(27),{size:x,showTooltip:p}=e,g=void 0===x?"medium":x,j=void 0===p||p,b=(0,J.useParams)(),k=null==b?void 0:b.locale,_=(0,Z.useSwitchLocale)(k);y[0]===Symbol.for("react.memo_cache_sentinel")?(o=[ee.TranslationNamespace.Profile],y[0]=o):o=y[0];let{t:S}=(0,Y.useRcTranslation)(o),[w,I]=(0,R.useState)(null),C=!!w;y[1]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{I(e.currentTarget)},y[1]=n):n=y[1];let T=n;y[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{I(null)},y[2]=r):r=y[2];let z=r;y[3]!==_?(l=e=>{_(e),z()},y[3]=_,y[4]=l):l=y[4];let K=l,D="small"===g?18:"large"===g?26:22,O=k??"en";y[5]!==D||y[6]!==O?(a=(0,t.jsx)(V,{locale:O,size:D}),y[5]=D,y[6]=O,y[7]=a):a=y[7],y[8]!==g||y[9]!==a?(s=(0,t.jsx)(E.default,{onClick:T,size:g,children:a}),y[8]=g,y[9]=a,y[10]=s):s=y[10];let U=s;return y[11]!==U||y[12]!==j||y[13]!==S?(c=j?(0,t.jsx)(q.default,{title:S("profile:site-language-preference-label"),children:U}):U,y[11]=U,y[12]=j,y[13]=S,y[14]=c):c=y[14],y[15]===Symbol.for("react.memo_cache_sentinel")?(d={vertical:"bottom",horizontal:"center"},u={vertical:"top",horizontal:"center"},y[15]=d,y[16]=u):(d=y[15],u=y[16]),y[17]!==K||y[18]!==k?(m=Q.i18nConfig.locales.map(e=>(0,t.jsxs)(B.default,{selected:e===k,onClick:()=>{K(e)},children:[(0,t.jsx)(G.default,{children:(0,t.jsx)(V,{locale:e,size:18})}),(0,t.jsx)(v.RcTrans,{i18nKey:`locale.${e}`,textOnly:!0})]},e)),y[17]=K,y[18]=k,y[19]=m):m=y[19],y[20]!==w||y[21]!==C||y[22]!==m?(f=(0,t.jsx)(M.default,{anchorEl:w,open:C,onClose:z,anchorOrigin:d,transformOrigin:u,children:m}),y[20]=w,y[21]=C,y[22]=m,y[23]=f):f=y[23],y[24]!==c||y[25]!==f?(h=(0,t.jsxs)(t.Fragment,{children:[c,f]}),y[24]=c,y[25]=f,y[26]=h):h=y[26],h};e.s(["LocaleMenuButton",0,et],638485);var ei=e.i(646401),eo=e.i(911452),en=e.i(61248);let er=e=>{let n,l,a,c,d,u=(0,i.c)(34),{link:f,typographyProps:h,showIcon:y}=e,x=!0===y;if(u[0]!==x)n=e=>({display:"grid",gridTemplateColumns:x?`${e.spacing(2.5)} minmax(0, 1fr)`:"minmax(0, 1fr)",columnGap:1.5,alignItems:"center",minHeight:24,borderRadius:1,"& [data-footer-link-icon]":{color:"text.secondary",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest})},"&:hover [data-footer-link-icon]":{color:"inherit"},"&:focus-visible, [tabindex]:focus-visible >
1 &":{outline:"2px solid",outlineOffset:"2px"}}),u[0]=x,u[1]=n;else n=u[1];let p=n;u[2]!==f.icon||u[3]!==y?(l=y?(0,t.jsx)(o.default,{"data-footer-link-icon":"",sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:f.icon}):null,u[2]=f.icon,u[3]=y,u[4]=l):l=u[4],u[5]!==f.label||u[6]!==h?(a=(0,t.jsx)(s.default,{...h,color:"inherit",children:f.label}),u[5]=f.label,u[6]=h,u[7]=a):a=u[7],u[8]!==l||u[9]!==a?(c=(0,t.jsxs)(t.Fragment,{children:[l,a]}),u[8]=l,u[9]=a,u[10]=c):c=u[10];let g=c;if("discord"===f.type){let e;return u[11]!==g||u[12]!==p?(e=(0,t.jsx)(C,{linkSx:p,children:g}),u[11]=g,u[12]=p,u[13]=e):e=u[13],e}if("contact-flow"===f.type){let e;return u[14]!==g||u[15]!==p?(e=(0,t.jsx)(W.ContactFlowLink,{fullWidth:!0,children:(0,t.jsx)(r.default,{component:"span",underline:"none","data-test-id":"footer-get-help",sx:p,children:g})}),u[14]=g,u[15]=p,u[16]=e):e=u[16],e}if("cookie-settings"===f.type){let e,i;return u[17]===Symbol.for("react.memo_cache_sentinel")?(e={border:0,background:"none",textAlign:"left",cursor:"pointer",width:"100%"},u[17]=e):e=u[17],u[18]!==g||u[19]!==p?(i=(0,t.jsx)(r.default,{component:"button",type:"button",underline:"none","data-test-id":"footer-cookie-settings",onClick:ea,sx:p,style:e,children:g}),u[18]=g,u[19]=p,u[20]=i):i=u[20],i}if(f.href){let e;return u[21]!==g||u[22]!==f.href||u[23]!==f.rel||u[24]!==f.target||u[25]!==p?(e=(0,t.jsx)(m.NavigationLink,{href:f.href,target:f.target,rel:f.rel,sx:p,children:g}),u[21]=g,u[22]=f.href,u[23]=f.rel,u[24]=f.target,u[25]=p,u[26]=e):e=u[26],e}if(f.to){let e;return u[27]!==g||u[28]!==f.to||u[29]!==p?(e=(0,t.jsx)(m.NavigationLink,{to:f.to,sx:p,children:g}),u[27]=g,u[28]=f.to,u[29]=p,u[30]=e):e=u[30],e}return u[31]!==g||u[32]!==p?(d=(0,t.jsx)(o.default,{sx:p,children:g}),u[31]=g,u[32]=p,u[33]=d):d=u[33],d},el=e=>{let n,r,l,c,d,u=(0,i.c)(16),{section:m,typographyProps:f,showIcons:h}=e;if(u[0]!==m.title||u[1]!==f?(n=m.title?(0,t.jsx)(s.default,{variant:"h5",component:"h3",align:f.align,color:f.color,children:m.title}):null,u[0]=m.title,u[1]=f,u[2]=n):n=u[2],u[3]===Symbol.for("react.memo_cache_sentinel")?(r={display:"grid",gridTemplateColumns:{xs:"repeat(2, minmax(0, 1fr))",sm:"1fr"},columnGap:2,rowGap:1},u[3]=r):r=u[3],u[4]!==m.links||u[5]!==h||u[6]!==f){let e;u[8]!==h||u[9]!==f?(e=e=>(0,t.jsx)(er,{link:e,typographyProps:f,showIcon:h},e.key),u[8]=h,u[9]=f,u[10]=e):e=u[10],l=m.links.map(e),u[4]=m.links,u[5]=h,u[6]=f,u[7]=l}else l=u[7];return u[11]!==l?(c=(0,t.jsx)(o.default,{sx:r,children:l}),u[11]=l,u[12]=c):c=u[12],u[13]!==n||u[14]!==c?(d=(0,t.jsxs)(a.default,{spacing:2,direction:"column",children:[n,c]}),u[13]=n,u[14]=c,u[15]=d):d=u[15],d};function ea(){return(0,P.openCookieSettings)()}function es(e){return"none"===e.options||!e.options}e.s(["Footer",0,e=>{let o,r,m,h,x,p,g,R,_,w,I,C,T,z,D,U,N,W,P,E,G,M,B,q,J,Q,X,H,V,Y,Z,ee,er=(0,i.c)(65),{fullWidth:ea}=e,{featCMSOnly:ec}=(0,b.useFeatures)(),ed=(0,y.useIsMobile)(),{account:eu}=(0,S.useUserAccount)(),{getNetworkString:em}=(0,L.useNetworkKinds)(),ef=!(0,A.useChromeDataReady)();er[0]!==ef?(o={paused:ef},er[0]=ef,er[1]=o):o=er[1];let{urls:eh}=(0,$.useOrganizationUrls)(o),{profile:ey}=(0,f.useOrganization)(),{organizationSection:ex,rallyCrySection:ep,resourcesSection:eg}=O(),{footerFullWidth:ej}=(0,ei.usePage)(),ev=(0,eo.useTheme)(),eb=void 0!==ea?ea:ej??!1;er[2]===Symbol.for("react.memo_cache_sentinel")?(r={align:"left",variant:"body2",color:"text.primary"},er[2]=r):r=er[2];let ek=r;er[3]===Symbol.for("react.memo_cache_sentinel")?(m={position:"relative"},er[3]=m):m=er[3],er[4]!==eb?(h=eb&&{paddingTop:5,paddingBottom:3},er[4]=eb,er[5]=h):h=er[5],er[6]!==h?(x={py:0,...h},er[6]=h,er[7]=x):x=er[7];let eR=eb?0:u.PAGE_SECTION_GAP;er[8]!==eb?(p=eb?0:{xs:2,sm:5},er[8]=eb,er[9]=p):p=er[9],er[10]===Symbol.for("react.memo_cache_sentinel")?(g={xs:3,sm:4},er[10]=g):g=er[10],er[11]!==eb?(R=eb?0:{xs:0,lg:1},er[11]=eb,er[12]=R):R=er[12],er[13]!==eb||er[14]!==ev?(_=eb?{}:(0,en.createGlassSurface)(ev),er[13]=eb,er[14]=ev,er[15]=_):_=er[15],er[16]!==R||er[17]!==_||er[18]!==eR||er[19]!==p?(w={mt:eR,mb:p,mx:0,p:g,borderRadius:R,overflow:"hidden",..._},er[16]=R,er[17]=_,er[18]=eR,er[19]=p,er[20]=w):w=er[20],er[21]===Symbol.for("react.memo_cache_sentinel")?(I={xs:3,sm:5},C={alignItems:"flex-start",justifyContent:"space-between"},er[21]=I,er[22]=C):(I=er[21],C=er[22]),er[23]===Symbol.for("react.memo_cache_sentinel")?(T={xs:12,sm:5},er[23]=T):T=er[23],er[24]===Symbol.for("react.memo_cache_sentinel")?(z={alignItems:"flex-start"},er[24]=z):z=er[24];let e_=!ed;if(er[25]!==e_?(D=(0,t.jsx)(j,{transparent:!0,displayText:!0,large:e_,compact:!0}),er[25]=e_,er[26]=D):D=er[26],er[27]===Symbol.for("react.memo_cache_sentinel")?(U={width:"100%",alignItems:"center",flexWrap:"wrap"},er[27]=U):U=er[27],er[28]!==eu||er[29]!==ec?(N=eu||ec?null:(0,t.jsx)(K,{sx:{width:{xs:"100%",sm:300},maxWidth:"100%"}}),er[28]=eu,er[29]=ec,er[30]=N):N=er[30],er[31]!==(null==ey?void 0:ey.primaryDiscordInviteUrl)?(W=(null==ey?void 0:ey.primaryDiscordInviteUrl)?(0,t.jsx)(F,{network:c.NetworkKind.DISCORD,url:null==ey?void 0:ey.primaryDiscordInviteUrl,tooltip:(0,t.jsx)(v.RcTrans,{i18nKey:"networks.DISCORD"})}):null,er[31]=null==ey?void 0:ey.primaryDiscordInviteUrl,er[32]=W):W=er[32],er[33]!==em||er[34]!==eh){var eS;P=null==eh||null==(eS=eh.filter(es))?void 0:eS.map(e=>(0,t.jsx)(F,{network:e.network,url:e.url,tooltip:e.name?e.name:em(e.network??void 0),description:e.description},e.id??`${e.network}-${e.url}`)),er[33]=em,er[34]=eh,er[35]=P}else P=er[35];return er[36]!==N||er[37]!==W||er[38]!==P?(E=(0,t.jsxs)(a.default,{direction:"row",spacing:1,useFlexGap:!0,sx:U,children:[N,W,P]}),er[36]=N,er[37]=W,er[38]=P,er[39]=E):E=er[39],er[40]!==D||er[41]!==E?(G=(0,t.jsx)(n.default,{size:T,children:(0,t.jsxs)(a.default,{spacing:2.5,direction:"column",sx:z,children:[D,E]})}),er[40]=D,er[41]=E,er[42]=G):G=er[42],er[43]===Symbol.for("react.memo_cache_sentinel")?(M={xs:12,sm:"auto"},er[43]=M):M=er[43],er[44]===Symbol.for("react.memo_cache_sentinel")?(B=(0,t.jsx)(v.RcTrans,{i18nKey:"site.footer.title"}),er[44]=B):B=er[44],er[45]!==ex?(q=(0,t.jsx)(n.default,{size:M,children:(0,t.jsx)(el,{section:{key:"organization",title:B,links:ex},typographyProps:ek,showIcons:!0})}),er[45]=ex,er[46]=q):q=er[46],er[47]!==ep?(J=ep?(0,t.jsx)(n.default,{size:{xs:12,sm:"auto"},children:(0,t.jsx)(el,{section:ep,typographyProps:ek,showIcons:!0})}):null,er[47]=ep,er[48]=J):J=er[48],er[49]===Symbol.for("react.memo_cache_sentinel")?(Q={xs:12,sm:"auto"},er[49]=Q):Q=er[49],er[50]!==eg?(X=(0,t.jsx)(n.default,{size:Q,children:(0,t.jsx)(el,{section:eg,typographyProps:ek,showIcons:!0})}),er[50]=eg,er[51]=X):X=er[51],er[52]===Symbol.for("react.memo_cache_sentinel")?(H={justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",pt:2,borderTop:"1px solid",borderColor:"divider"},er[52]=H):H=er[52],er[53]===Symbol.for("react.memo_cache_sentinel")?(V=(0,t.jsx)(n.default,{size:12,children:(0,t.jsxs)(a.default,{direction:"row",spacing:2,useFlexGap:!0,sx:H,children:[(0,t.jsx)(s.default,{variant:"caption",color:"textSecondary",children:(0,t.jsx)(k,{})}),(0,t.jsx)(et,{size:"small"})]})}),er[53]=V):V=er[53],er[54]!==G||er[55]!==q||er[56]!==J||er[57]!==X?(Y=(0,t.jsxs)(n.default,{container:!0,spacing:I,sx:C,children:[G,q,J,X,V]}),er[54]=G,er[55]=q,er[56]=J,er[57]=X,er[58]=Y):Y=er[58],er[59]!==w||er[60]!==Y?(Z=(0,t.jsx)(l.default,{elevation:0,"data-test-id":"footer-brand-deck",sx:w,children:Y}),er[59]=w,er[60]=Y,er[61]=Z):Z=er[61],er[62]!==Z||er[63]!==x?(ee=(0,t.jsx)("footer",{style:m,children:(0,t.jsx)(d.PageSection,{standalone:!0,padding:0,maxWidth:"lg",sx:x,children:Z})}),er[62]=Z,er[63]=x,er[64]=ee):ee=er[64],ee}],152201)},73512,e=>{"use strict";var t=e.i(484337);let i=!1,o=new Set,n=()=>
1o.forEach(e=>e()),r=e=>(o.add(e),()=>{o.delete(e)}),l=()=>i,a=()=>!1;e.s(["closeCookieSettings",0,()=>{i=!1,n()},"openCookieSettings",0,()=>{i=!0,n()},"useCookieSettingsOpen",0,()=>(0,t.useSyncExternalStore)(r,l,a)])},313781,e=>{"use strict";var t=e.i(670322),i=e.i(829631),o=e.i(722029),n=e.i(783941);e.i(983110);var r=e.i(294561);e.s(["useSwitchLocale",0,e=>{let l,a=(0,t.c)(4),s=(0,i.useRouter)(),c=(0,i.usePathname)();return a[0]!==e||a[1]!==c||a[2]!==s?(l=async t=>{try{let e=await fetch("/api/locale",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({locale:t})});e.ok||r.logger.warn("useSwitchLocale: /api/locale rejected the language",{locale:t,status:e.status})}catch(e){r.logger.warn("useSwitchLocale: /api/locale request failed",{locale:t,error:String(e)})}let i=(0,o.isDefined)(e)&&e!==n.i18nConfig.defaultLocale?(null==c?void 0:c.replace(/^\/[^/]+/,`/${t}`))??"":`/${t}${c??""}`;s.push(i)},a[0]=e,a[1]=c,a[2]=s,a[3]=l):l=a[3],l}])},639619,e=>{"use strict";var t=e.i(66177),i=e.i(329249),o=e.i(603843),n=e.i(734564),r=e.i(345200),l=e.i(561034),a=e.i(484337),s=e.i(408176),c=e.i(527659);e.s(["useOrganizationUrls",0,e=>{var d,u;let{organization:m}=(0,t.useOrganization)(),f=i.trpc.useUtils(),h=(0,l.useQueryClient)(),y=(null==m?void 0:m.id)??0,x=!(null==e?void 0:e.paused)&&y>0,p=i.trpc.organization.urls.list.useQuery({organizationId:y},{enabled:x}),g=(0,c.useEntityListSingle)(p,{flatMap:e=>e.items??[]});(0,a.useEffect)(()=>{if(x)return(0,o.subscribeEntityInvalidation)("organization",String(y),e=>{(0,r.isEntityInvalidationForTopics)(e,["urls"])&&(0,n.invalidateTrpcDeduped)(h,i.trpc.organization.urls.list)})},[x,y,h]);let j=i.trpc.organization.urls.create.useMutation({onSuccess:async()=>{f.organization.urls.list.invalidate({organizationId:y}),await (0,s.revalidateEntity)("organization",y,[`organizations/${String(y)}/urls`])}}),v=null==(d=i.trpc.organization.urls.update)?void 0:d.useMutation({onSuccess:async()=>{f.organization.urls.list.invalidate({organizationId:y}),await (0,s.revalidateEntity)("organization",y,[`organizations/${String(y)}/urls`])}}),b=null==(u=i.trpc.organization.urls.delete)?void 0:u.useMutation({onSuccess:async()=>{f.organization.urls.list.invalidate({organizationId:y}),await (0,s.revalidateEntity)("organization",y,[`organizations/${String(y)}/urls`])}});return{data:void 0,error:g.error,isLoading:g.isLoading,isFetching:g.isFetching,refetch:g.refetch,flat:g.flat,create:e=>j.mutateAsync({organizationId:y,...e}),update:(e,t)=>{if(!v)throw Error("Update mutation not available");return v.mutateAsync({id:e,...t})},remove:e=>{if(!b)throw Error("Delete mutation not available");return b.mutateAsync({id:e})},urls:g.flat}}])}]);
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.