PageSourceSearch

https://theesports.club/_next/static/chunks/5615-30515a469a7c6494.js

js theesports.club collected 2026-09-24 11:43:52 UTC 11,923 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5615],{7737:(e,t,a)=>{a.d(t,{A:()=>m});var s=a(29010),r=a(49123),l=a(56284),i=a(37539),n=a(58567),d=a(14509),o=a(61377),c=a(11034);let m=({icon:e,connectedName:t,gameLogo:a,onClick:m})=>{let[p,x]=(0,c.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{type:"button",onClick:()=>t?x(!0):m(),className:"flex h-12 w-full items-center gap-1 rounded-l bg-background-tertiary px-3 hover:cursor-pointer",children:[e,(0,s.jsx)("span",{className:"flex-1 truncate px-1 text-left text-base leading-6 tracking-[0.003em] text-primary",children:t||"Connect your account"}),t?(0,s.jsx)(n.A,{className:"size-5 shrink-0 text-neutral-300"}):(0,s.jsx)(d.A,{className:"size-5 shrink-0 text-neutral-300"})]}),(0,s.jsx)(r.Lt,{open:p,onOpenChange:x,children:(0,s.jsxs)(r.EO,{className:"w-[25rem] max-w-[calc(100vw-2rem)] gap-0 rounded-4xl border border-white/5 bg-background-primary p-0",children:[(0,s.jsxs)(r.wd,{className:"flex flex-col gap-3 p-4 text-left",children:[a&&(0,s.jsx)(o.default,{src:a,alt:"",width:60,height:60,className:"size-[3.75rem] rounded-l bg-white object-cover"}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)(r.r7,{asChild:!0,children:(0,s.jsx)(i.o,{as:"h2",variant:"xl/semibold",className:"text-neutral-100",children:"Remove In-Game Name?"})}),(0,s.jsx)(r.$v,{asChild:!0,children:(0,s.jsxs)(i.o,{variant:"xsSpaced/regular",className:"text-neutral-300",children:["Are you sure you want to remove ",(0,s.jsx)("span",{className:"font-medium text-primary-100",children:t})," ","from your game profile? You'll need to add it again to participate in tournaments or create a team."]})})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,s.jsx)(l.$,{variant:"errorPrimary/xl",className:"flex-1",onClick:()=>{x(!1),m()},children:"Remove"}),(0,s.jsx)(l.$,{variant:"primary/xl",className:"flex-1",onClick:()=>x(!1),children:"Cancel"})]})]})})]})}},22045:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(29010),r=a(83521),l=a(50955),i=a(7737),n=a(95755),d=a(83394);let o=({active:e,additionalSearchParams:t="",variant:a="icon",gameLogo:o})=>{let m=(0,d.useSearchParams)(),p=(0,d.useRouter)(),x=(0,d.usePathname)(),u=encodeURIComponent("https://theesports.club/api/steam"),f=()=>{e?(0,r.X)().then(()=>{let e=new URLSearchParams(m);e.delete("puuid"),e.delete("gameName"),p.replace(`${x}?${e.toString()}`,{scroll:!1})}):(0,l.w)({currentUrl:`${x}?${m.toString()}${t&&t}`}).then(()=>{window.location.href=`https://steamcommunity.com/openid/login?openid.ns=http://specs.openid.net/auth/2.0&openid.mode=checkid_setup&openid.return_to=${u}&openid.realm=${u}&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.assoc_handle=123456&openid.op_endpoint=https://steamcommunity.com/openid/login`})};return"field"===a?(0,s.jsx)(i.A,{icon:(0,s.jsx)(c,{className:"size-6 shrink-0 [&_path]:fill-primary"}),gameLogo:o,connectedName:e&&m.get("gameName")||void 0,onClick:f}):(0,s.jsx)("button",{onClick:f,className:(0,n.cn)("flex size-12 items-center justify-center rounded-full  hover:cursor-pointer",e?"bg-primary":"bg-neutral-950"),children:(0,s.jsx)(c,{className:"size-7"})})};function c(e){return(0,s.jsxs)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",children:[(0,s.jsx)("path",{d:"M13.9976 2.3335C7.8689 2.3335 2.84819 7.05908 2.37109 13.0646L8.62423 15.6499C9.15407 15.2876 9.79415 15.0752 10.4828 15.0752C10.5445 15.0752 10.6059 15.0779 10.6668 15.0808L13.4476 11.0502V10.9932C13.4476 8.56711 15.4211 6.59332 17.8476 6.59332C20.2737 6.59332 22.2472 8.56711 22.2472 10.9932C22.2472 13.4193 20.2737 15.3933 17.8476 15.3933C17.8141 15.3933 17.7808 15.3933 17.7476 15.3907L13.7815 18.2206C13.7842 18.272 13.7855 18.3245 13.7855 18.3767C13.7855 20.1981 12.3042 21.6792 10.483 21.6792C8.88454 21.6792 7.54793 20.5383 7.24516 19.0273L2.77302 17.1796C4.15762 22.0766 8.65666 25.6668 13.9976 25.6668C20.4411 25.6668 25.6644 20.4433 25.6644 14.0005C25.6644 7.55674 20.4408 2.3335 13.9976 2.3335Z",fill:"white"}),(0,s.jsx)("path",{d:"M9.68313 20.0357L8.25 19.4436C8.50398 19.9724 8.94336 20.4152 9.52674 20.6584C10.7879 21.1838 12.2419 20.5854 12.7675 19.3231C13.0221 18.7128 13.0236 18.039 12.7712 17.4271C12.5193 16.815 12.044 16.3377 11.433 16.0829C10.8267 15.8305 10.1771 15.8398 9.60639 16.0552L11.0867 16.6673C12.0169 17.055 12.4568 18.1232 12.0691 19.0533C11.6823 19.9838 10.6133 20.4237 9.68313 20.0357Z",fill:"white"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8458 8.06152C19.4624 8.06152 20.7774 9.37675 20.7774 10.9932C20.7774 12.6096 19.4624 13.9245 17.8458 13.9245C16.2294 13.9245 14.9141 12.6098 14.9141 10.9932C14.9141 9.37675 16.2294 8.06152 17.8458 8.06152ZM17.8508 8.786C16.6344 8.786 15.6484 9.77183 15.6484 10.9882C15.6484 12.2043 16.6344 13.1904 17.8508 13.1904C19.067 13.1904 20.0532 12.2045 20.0532 10.9882C20.0532 9.77183 19.067 8.786 17.8508 8.786Z",fill:"white"})]})}},37539:(e,t,a)=>{a.d(t,{o:()=>n});var s=a(29010),r=a(70068);a(11034);var l=a(95755);let i=(0,r.F)("",{variants:{weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},size:{"2xs":"text-xs leading-[0.875rem]",xs:"text-sm leading-4",xsSpaced:"text-sm leading-5 tracking-[0.003rem] ",base:"text-base leading-[1.125rem] tracking-[0.003em]",baseSpaced:"text-base leading-6 tracking-[0.003em]",m:"text-lg leading-5 tracking-[0.003em]",mSpaced:"text-lg leading-7 tracking-[0.003em]",l:"text-xl leading-6 tracking-[0.003em]",xl:"text-2xl leading-7 tracking-[-0.01em]","2xl":"text-[2rem] leading-9 tracking-[-0.01em]","3xl":"text-4xl leading-10 tracking-[-0.01em]","4xl":"text-[2.75rem] leading-[3.25rem] tracking-[-0.02em]","5xl":"text-[3.25rem] leading-[3.75rem] tracking-[-0.02em]","6xl":"text-[3.5rem] leading-[4rem] -tracking-wide","7xl":"text-[4rem] leading-[4.5rem] -tracking-wide"}},defaultVariants:{weight:"regular",size:"base"}}),n=({className:e,variant:t,children:a,as:r="p",...n})=>{let[d,o]=t?.split("/");return(0,s.jsx)(r,{className:(0,l.cn)(i({weight:o,size:d,className:e})),...n,children:a})};n.displayName="Typography"},49123:(e,t,a)=>{a.d(t,{$v:()=>f,EO:()=>m,Lt:()=>n,Rx:()=>h,Zr:()=>g,ck:()=>x,r7:()=>u,tv:()=>d,wd:()=>p});var s=a(29010),r=a(95531),l=a(11034),i=a(95755);let n=r.bL,d=r.l9,o=r.ZL,c=l.forwardRef(({className:e,...t},a)=>(0,s.jsx)(r.hJ,{className:(0,i.cn)("fixed inset-0 z-[1100] bg-[#00000066] transition-all data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:
1a}));c.displayName=r.hJ.displayName;let m=l.forwardRef(({className:e,...t},a)=>(0,s.jsxs)(o,{children:[(0,s.jsx)(c,{}),(0,s.jsx)(r.UC,{ref:a,className:(0,i.cn)(" fixed left-1/2 top-1/2 z-[1101] grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4  bg-background-tertiary p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",e),...t})]}));m.displayName=r.UC.displayName;let p=({className:e,...t})=>(0,s.jsx)("div",{className:(0,i.cn)("sm:text-left flex flex-col space-y-2 text-center",e),...t});p.displayName="AlertDialogHeader";let x=({className:e,...t})=>(0,s.jsx)("div",{className:e,...t});x.displayName="AlertDialogFooter";let u=l.forwardRef(({className:e,...t},a)=>(0,s.jsx)(r.hE,{ref:a,className:(0,i.cn)("text-lg font-semibold",e),...t}));u.displayName=r.hE.displayName;let f=l.forwardRef(({className:e,...t},a)=>(0,s.jsx)(r.VY,{ref:a,className:(0,i.cn)(" text-sm",e),...t}));f.displayName=r.VY.displayName;let h=l.forwardRef(({className:e,...t},a)=>(0,s.jsx)(r.rc,{ref:a,className:e,...t}));h.displayName=r.rc.displayName;let g=l.forwardRef(({className:e,...t},a)=>(0,s.jsx)(r.ZD,{ref:a,className:e,...t}));g.displayName=r.ZD.displayName},50955:(e,t,a)=>{a.d(t,{w:()=>r});var s=a(4760);let r=(0,s.createServerReference)("407b8a6a1ee555cf899497c5638c54de02b527890f",s.callServer,void 0,s.findSourceMapURL,"createGameIdSession")},54743:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(29010),r=a(7737),l=a(83521),i=a(50955),n=a(95755),d=a(83394);a(11034);let o=({active:e,additionalSearchParams:t="",variant:a="icon",gameLogo:o})=>{let m=(0,d.useSearchParams)(),p=(0,d.useRouter)(),x=(0,d.usePathname)(),u=()=>{e?(0,l.X)().then(()=>{let e=new URLSearchParams(m);e.delete("puuid"),e.delete("gameName"),e.delete("tagline"),p.replace(`${x}?${e.toString()}`,{scroll:!1})}):(0,i.w)({currentUrl:`${x}?${m.toString()}${t&&t}`}).then(()=>{window.location.href="https://auth.riotgames.com/authorize?redirect_uri=https://theesports.club/api/riot&client_id=fdd3209e-9a80-45aa-888b-a10116705bde&response_type=code&scope=openid"})};if("field"===a){let t=m.get("gameName"),a=m.get("tagline");return(0,s.jsx)(r.A,{icon:(0,s.jsx)(c,{className:"size-6 shrink-0 [&_path]:fill-primary"}),gameLogo:o,connectedName:e?[t,a].filter(Boolean).join("#"):void 0,onClick:u})}return(0,s.jsx)("button",{onClick:u,className:(0,n.cn)("flex size-12 items-center justify-center rounded-full  hover:cursor-pointer",e?"bg-primary":"bg-neutral-950"),children:(0,s.jsx)(c,{className:"size-7"})})};function c(e){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",...e,children:[(0,s.jsx)("path",{d:"M2.91797 9.46425L15.3479 3.70801L25.0846 6.14692V18.909L21.0563 19.4037L19.4492 10.2885L18.674 10.6334L19.458 19.5999L15.3831 20.1009L13.9132 11.766L13.1468 12.107L13.8628 20.2871L9.83452 20.7816L8.49802 13.2056L7.72406 13.5505L8.37217 20.9616L6.01506 21.2511L2.91797 9.46425Z",fill:"white"}),(0,s.jsx)("path",{d:"M15.8418 22.7449L15.6367 21.5846H15.6417L25.0815 20.4243V24.2853L15.8418 22.7449Z",fill:"white"})]})}},83521:(e,t,a)=>{a.d(t,{X:()=>r});var s=a(4760);let r=(0,s.createServerReference)("0015b17f6966c9278e1dda3a79903168968613fe3e",s.callServer,void 0,s.findSourceMapURL,"deleteGameIdSession")},89824:(e,t,a)=>{a.d(t,{p:()=>i});var s=a(29010),r=a(11034),l=a(95755);let i=r.forwardRef(({className:e,type:t,...a},r)=>(0,s.jsx)("input",{type:t,className:(0,l.cn)("md:text-sm flex h-9 w-full bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none  disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...a}));i.displayName="Input"},90334:(e,t,a)=>{a.d(t,{J:()=>o});var s=a(29010),r=a(1676),l=a(70068),i=a(11034),n=a(95755);let d=(0,l.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=i.forwardRef(({className:e,...t},a)=>(0,s.jsx)(r.b,{ref:a,className:(0,n.cn)(d(),e),...t}));o.displayName=r.b.displayName},95755:(e,t,a)=>{a.d(t,{Mb:()=>d,Vs:()=>n,cn:()=>i});var s=a(29922),r=a(12637),l=a(92374);function i(...e){return(0,l.QP)((0,s.$)(e))}function n(e){let t=new Date,a=(0,r.F)({start:t,end:new Date(e)});return`${a.days??0}d ${a.minutes??0}m`}let d=()=>new Promise(e=>{let t=document.createElement("script");
1t.src="https://checkout.razorpay.com/v1/checkout.js",t.onload=()=>e(!0),t.onerror=()=>e(!1),document.body.appendChild(t)})},96649:(e,t,a)=>{a.d(t,{r:()=>r});var s=a(29010);function r(e){return(0,s.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{d:"M8.5 17.5H4.5C3.39543 17.5 2.5 16.6046 2.5 15.5V6.5C2.5 5.39543 3.39543 4.5 4.5 4.5H19.5C20.6046 4.5 21.5 5.39543 21.5 6.5V15.5C21.5 16.6046 20.6046 17.5 19.5 17.5H15.5M8.5 17.5V20.5H15.5V17.5M8.5 17.5H15.5",stroke:"currentColor",strokeLinecap:"square",strokeLinejoin:"round"})})}}}]);

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.