PageSourceSearch

https://scope.gg/component---src-pages-match-history-js-27038883c34137bf4bf1.js

js scope.gg collected 2026-10-02 06:58:09 UTC 8,001 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_hello_world=self.webpackChunkgatsby_starter_hello_world||[]).push([[713],{2858:function(e,t,a){a.r(t),a.d(t,{Head:function(){return C},default:function(){return S}});var o=a(6540),s=a(1468),r=a(6136),c=a(6794),i=a(4478),n=a(5363),m=a(2539),l=(a(2678),a(9881)),d=a(5493),h="matchhistorypromo-module--headshotpromo__cards__item--853d5",u="matchhistorypromo-module--headshotpromo__cards__item__desc--8f7c9",p="matchhistorypromo-module--headshotpromo__cards__item__title--c4d6b",y="matchhistorypromo-module--headshotpromo__cards__list--108fe";var g=({onClickRegister:e})=>{const t=(0,n.useIntl)(),{0:a,1:s}=(0,o.useState)(0),r=(0,o.useRef)(0),c=(0,o.useRef)(0),{0:i,1:m}=(0,o.useState)(0),{0:l,1:d}=(0,o.useState)(""),g="ru"===t.locale?"ru":"en",f=[{title:"matchHistory.cards.list.one.title",desc:"matchHistory.cards.list.one.desc",img:`/cs2dashboard/card-4-${g}.webp`},{title:"matchHistory.cards.list.two.title",desc:"matchHistory.cards.list.two.desc",img:`/cs2dashboard/card-3-${g}.webp`},{title:"matchHistory.cards.list.three.title",desc:"matchHistory.cards.list.three.desc",img:`/matchHistory/card-3-${g}.webp`}];(0,o.useEffect)(()=>{const e=()=>{m(window.innerWidth)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);const E=()=>{s(e=>(e+1)%3)},_=()=>{s(e=>(e-1+3)%3)},v=e=>{c.current=e.clientX},H=()=>{document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",H),r.current-c.current>
150&&E(),r.current-c.current<-50&&_()};return o.createElement("section",{className:"matchhistorypromo-module--headshotpromo--429a4"},o.createElement("img",{src:`/matchHistory/promo-${g}.webp`}),o.createElement("div",{className:"matchhistorypromo-module--headshotpromo__container--67cf5"},o.createElement("div",{className:"matchhistorypromo-module--headshotpromo__promo--81f29"},o.createElement("div",{className:"matchhistorypromo-module--headshotpromo__promo__wrapper--1d256"},o.createElement("img",{src:"/headshot/Logo.svg"}),o.createElement("h1",{className:"matchhistorypromo-module--headshotpromo__promo__title--97a3d"},o.createElement("span",null,t.formatMessage({id:"matchHistory.promo.titleone"})),t.formatMessage({id:"matchHistory.promo.titletwo"})),o.createElement("div",{className:"matchhistorypromo-module--headshotpromo__promo__desc--dcc7c"},t.formatMessage({id:"matchHistory.promo.desc"})),o.createElement("button",{className:"matchhistorypromo-module--headshotpromo__promo__button--29303",onClick:e},t.formatMessage({id:"matchHistory.promo.button"})))),o.createElement("div",{className:"matchhistorypromo-module--headshotpromo__cards--b0c04"},o.createElement("div",{className:"matchhistorypromo-module--headshotpromo__cards__title--627e2"},t.formatMessage({id:"matchHistory.cards.title"})),o.createElement("div",{className:y},f.map((e,a)=>o.createElement("div",{key:a,className:h},o.createElement("div",{className:p},t.formatMessage({id:e.title})),o.createElement("div",{className:u},t.formatMessage({id:e.desc})),o.createElement("img",{src:e.img})))),o.createElement("div",{className:"matchhistorypromo-module--carousel--ccd3d",onTouchStart:e=>{r.current=e.touches[0].clientX},onTouchMove:e=>{c.current=e.touches[0].clientX},onTouchEnd:()=>{r.current-c.current>
150&&E(),r.current-c.current<-50&&_()},onMouseDown:e=>{r.current=e.clientX,document.addEventListener("mousemove",v),document.addEventListener("mouseup",H)}},o.createElement("div",{className:"matchhistorypromo-module--carouselInner--0df56",style:{transform:`translateX(-${264*a}px)`}},o.createElement("div",{className:y},f.map((e,a)=>o.createElement("div",{key:a,className:h},o.createElement("div",{className:p},t.formatMessage({id:e.title})),o.createElement("div",{className:u},t.formatMessage({id:e.desc})),o.createElement("img",{src:e.img})))))))))},f=a(8528),E=a(8577),_=a(7347),v=a(4396),H=a(4404),w=a(1282),N=a(6828);const L=[{icon:"/replay/replay-features-1.svg",title:"matchHistory.features.list.one.title",desc:"matchHistory.features.list.one.desc"},{icon:"/replay/replay-features-3.svg",title:"matchHistory.features.list.two.title",desc:"matchHistory.features.list.two.desc"},{icon:"/replay/replay-features-4.svg",title:"matchHistory.features.list.three.title",desc:"matchHistory.features.list.three.desc"}],M=[{title:"matchHistory.faq.list.1.title",desc:"matchHistory.faq.list.1.desc"},{title:"matchHistory.faq.list.2.title",desc:"matchHistory.faq.list.2.desc"},{title:"matchHistory.faq.list.3.title",desc:"matchHistory.faq.list.3.desc"},{title:"matchHistory.faq.list.4.title",desc:"matchHistory.faq.list.4.desc"},{title:"matchHistory.faq.list.5.title",desc:"matchHistory.faq.list.5.desc"}];var b=(0,s.Ng)(e=>({isLoginPopupOpen:e.loginPopupReducer.isOpen}),e=>({setIsLoggedIn:t=>e((0,c.QC)(t)),setUserData:t=>e((0,c.sX)(t)),setLoginPopupOpen:t=>e((0,l.m)(t))}))(({setIsLoggedIn:e,setUserData:t,isLoginPopupOpen:a,setLoginPopupOpen:c})=>{const l=(0,n.useIntl)().locale,{0:h,1:u}=((0,s.d4)(e=>e.authReducer),(0,o.useState)(!1)),{0:p,1:y}=(0,o.useState)(!1),{0:b,1:k}=(0,o.useState)("");(0,o.useEffect)(()=>{setTimeout(()=>{m.y.sendEvent({event:"Loadpage Match History Landing",properties:{}})},1500)},[]),(0,o.useEffect)(()=>{q(),C()},[]);const q=async()=>{(await r.y.getUserData()).isLoggedIn&&i.B&&(window.location.href=`${window.location.protocol}//app.${window.location.hostname}`)},C=async()=>{const a=await r.y.getUserData();a.isLoggedIn&&(e(!0),t(a.accountData))};(0,o.useEffect)(()=>{i.B&&(()=>{const e=new N.A("https://app.scope.gg/signup");k(e.build())})()},[]);const S=async()=>{try{await m.y.sendEvent({event:"Match History Landing / Click Sign Up Button",properties:{location:"body"}})}catch(e){console.error(e)}window.location=`https://app.scope.gg/${"en"!==l?l+"/":""}signup`};return o.createElement(o.Fragment,null,h?o.createElement(w.A,{onClose:()=>{h&&u(!1)}}):o.createElement("div",{className:"matchhistory-module--main--4249c"},o.createElement(v.A,{fromLanding:"matchHistory",onSearchPlayer:()=>{h||u(!0)}}),o.createElement(g,{onClickRegister:S}),o.createElement(f.A,{items:L}),o.createElement(_.A,{location:"matchHistory",onClickRegister:S}),o.createElement(E.A,{items:M}
1),o.createElement(H.A,null)),o.createElement(d.A,{fromLanding:"matchHistory",isOpen:a,onClose:()=>c(!1)}))}),k=a(7923),q=a(3750);const C=({pageContext:e})=>{const t=(0,q.q)(e),a=(0,k.x5)("/match-history/"),s=(0,k.Kd)("/match-history/",null,{xDefault:!0});t.locale;return o.createElement(o.Fragment,null,o.createElement("meta",{charSet:"utf-8"}),o.createElement("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),o.createElement("meta",{name:"format-detection",content:"telephone=no"}),o.createElement("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),o.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),o.createElement("title",null,t.formatMessage({id:"matchHistory.meta.title"})),o.createElement("meta",{name:"description",content:t.formatMessage({id:"matchHistory.meta.description"})}),o.createElement("meta",{property:"og:title",content:t.formatMessage({id:"matchHistory.meta.title"})}),o.createElement("meta",{property:"og:description",content:t.formatMessage({id:"matchHistory.meta.description"})}),o.createElement("meta",{name:"twitter:site",content:"@scope_gg"}),o.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),o.createElement("meta",{name:"twitter:title",content:t.formatMessage({id:"matchHistory.meta.title"})}),o.createElement("meta",{name:"twitter:description",content:t.formatMessage({id:"matchHistory.meta.description"})}),o.createElement("link",{rel:"icon",href:"/favicon.ico"}),o.createElement("link",{rel:"canonical",href:a[t.locale]}),Object.entries(s).map(([e,t])=>o.createElement("link",{key:e,rel:"alternate",hrefLang:e,href:t})))};var S=(0,s.Ng)(null,e=>({}))(()=>o.createElement(o.Fragment,null,o.createElement(b,null)))}}]);
2//# sourceMappingURL=component---src-pages-match-history-js-27038883c34137bf4bf1.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.