PageSourceSearch

https://www.chessclub.com/_next/static/chunks/pages/news-and-articles/[id]-9f7a867edd9d4474.js

js chessclub.com collected 2026-09-24 18:44:53 UTC 9,872 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[393],{83965:function(e,t,i){"use strict";i.d(t,{Z:function(){return j}});var n=i(63366),r=i(87462),s=i(67294),l=i(90512),a=i(94780),c=i(28628),o=i(90948),d=i(1588),x=i(34867);function getCardMediaUtilityClass(e){return(0,x.ZP)("MuiCardMedia",e)}(0,d.Z)("MuiCardMedia",["root","media","img"]);var p=i(85893);let u=["children","className","component","image","src","style"],useUtilityClasses=e=>{let{classes:t,isMediaComponent:i,isImageComponent:n}=e;return(0,a.Z)({root:["root",i&&"media",n&&"img"]},getCardMediaUtilityClass,t)},m=(0,o.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e,{isMediaComponent:n,isImageComponent:r}=i;return[t.root,n&&t.media,r&&t.img]}})(({ownerState:e})=>(0,r.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),h=["video","audio","picture","iframe","img"],f=["picture","img"],g=s.forwardRef(function(e,t){let i=(0,c.i)({props:e,name:"MuiCardMedia"}),{children:s,className:a,component:o="div",image:d,src:x,style:g}=i,j=(0,n.Z)(i,u),y=-1!==h.indexOf(o),w=!y&&d?(0,r.Z)({backgroundImage:`url("${d}")`},g):g,Z=(0,r.Z)({},i,{component:o,isMediaComponent:y,isImageComponent:-1!==f.indexOf(o)}),v=useUtilityClasses(Z);return(0,p.jsx)(m,(0,r.Z)({className:(0,l.Z)(v.root,a),as:o,role:!y&&d?"img":void 0,ref:t,style:w,ownerState:Z,src:y?d||x:void 0},j,{children:s}))});var j=g},67609:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news-and-articles/[id]",function(){return i(58183)}])},44397:function(e,t,i){"use strict";var n=i(85893),r=i(9008),s=i.n(r),l=i(11163);t.Z=e=>{let{title:t,description:i,children:r,customCanonicalUrl:a}=e,c=(0,l.useRouter)(),o="".concat("https://www.chessclub.com").concat(a||c.asPath);return(0,n.jsxs)(s(),{children:[(0,n.jsx)("title",{children:"".concat(t," | ICC Chess Club")}),(0,n.jsx)("meta",{name:"description",content:i}),(0,n.jsx)("meta",{name:"apple-itunes-app",content:"app-id=643326555, app-argument=https://www.chessclub.com/, affiliate-data=pt=404703&ct=smart-banner"}),(0,n.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,n.jsx)("link",{rel:"canonical",href:o}),r]})}},64321:function(e,t,i){"use strict";var n=i(85893),r=i(29238),s=i.n(r);let HtmlRaw=e=>{let{content:t,className:i=""}=e,r=t?s().sanitize(t,{ALLOWED_TAGS:["p","b","iframe"],FORBID_TAGS:["style","script"],FORBID_ATTR:["style"],ALLOW_DATA_ATTR:!1}):"";return(0,n.jsx)("div",{style:{wordWrap:"break-word"},className:i,dangerouslySetInnerHTML:{__html:r}})};HtmlRaw.displayName="HtmlRaw",t.Z=HtmlRaw},75616:function(e,t,i){"use strict";var n=i(85893),r=i(67294);let NewsArticleContent=e=>{let{html:t}=e;return(0,r.useEffect)(()=>{if(t.includes("cbreplay")){let e=document.getElementById("icc-cbreplay-css");if(!e){let e=document.createElement("link");e.id="icc-cbreplay-css",e.rel="stylesheet",e.type="text/css",e.href="/styles/CBReplay.css",document.head.appendChild(e)}let t=document.getElementById("icc-jquery");if(!t){let e=document.createElement("script");e.id="icc-jquery",e.src="/scripts/jquery-3.0.0.min.js",document.head.append(e)}let i=document.getElementById("icc-cbreplay");if(!i){let e=document.createElement("script");e.id="icc-cbreplay",e.src="/scripts/cbreplay.js",e.type="text/javascript",document.head.append(e)}}},[]),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})};NewsArticleContent.displayName="NewsArticleContent",t.Z=NewsArticleContent},1900:function(e,t,i){"use strict";i.d(t,{Z:function(){return x}});var n=i(85893),r=i(5616),s=i(24613),l=i(15861),a=i(47668),c=i(41664),o=i.n(c);let BackToButton=e=>{let{location:t}=e;return(0,n.jsxs)(a.Z,{spacing:1,direction:"row",sx:{mb:4,alignItems:"center"},children:[(0,n.jsx)(s.Z,{}),(0,n.jsx)(l.Z,{variant:"h6",sx:{textDecoration:"underline"},children:(0,n.jsxs)(o(),{href:"/".concat(t),children:["Back to ",t]})})]})};BackToButton.displayName="BackToButton";var d=i(89260);let PageWrapper=e=>{let{title:t,subtitle:i,belowTitle:s,titleUrl:l,titlePosition:a="left",children:c,slug:o,content:x,innerRef:p,titleForMobile:u=!1}=e;return(0,n.jsx)("section",{children:(0,n.jsxs)(r.Z,{ref:p,sx:{display:"flex",flexDirection:"column",color:"text.primary",px:{xs:0,sm:4},py:{xs:2,sm:4}
1,maxWidth:"1366px",width:"100vw"},children:[void 0!==o&&(0,n.jsx)(BackToButton,{location:o}),(0,n.jsxs)(r.Z,{sx:{display:"flex",flexGrow:"1",justifyContent:a,pb:4,"@media (min-width: 375px)":{flexDirection:"column",alignItems:"center"===a?"center":"stretch"},"@media (min-width: 1024px)":{flexDirection:"row",alignItems:"center"}},children:[(0,n.jsx)(r.Z,{sx:{pr:1,"@media (min-width: 375px)":{display:"center"===a||u?"flex":"none"},"@media (min-width: 768px)":{display:"flex",flexGrow:"0",flexDirection:"column"},"@media (min-width: 1280px)":{display:"flex",flexGrow:"0",flexDirection:"row"}},children:(0,n.jsx)(d.Z,{title:t,subtitle:i,titleUrl:l,belowTitle:s})}),x?(0,n.jsx)(r.Z,{sx:{display:"flex",flexGrow:"1",justifyContent:{xs:"stretch",sm:"flex-end"}},children:x}):null]}),(0,n.jsx)(r.Z,{sx:{display:"flex",flexGrow:"1",justifyContent:"center",alignItems:"stretch",flexDirection:"column"},children:c}),void 0!==o&&(0,n.jsx)(BackToButton,{location:o})]})})};PageWrapper.displayName="PageWrapper";var x=PageWrapper},89260:function(e,t,i){"use strict";var n=i(85893),r=i(44414),s=i(47668),l=i(15861),a=i(41664),c=i.n(a),o=i(11163);let PageTitle=e=>{let{title:t="",subtitle:i,belowTitle:a,titleUrl:d}=e,x=(0,o.useRouter)(),p=d||x.asPath;return(0,n.jsxs)(s.Z,{gap:1,children:[(0,n.jsxs)(l.Z,{variant:"h1",fontSize:{xs:"48px",sm:"65px",md:"90px"},lineHeight:{xs:"48px",sm:"65px",md:"90px"},children:[(0,n.jsx)(c(),{href:p,children:t}),(0,n.jsx)("span",{children:i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.Z,{style:{width:"2rem",display:"inline",verticalAlign:"middle"}}),(0,n.jsx)("span",{children:i})]})})]}),a&&(0,n.jsx)(l.Z,{variant:"body1",children:a})]})};PageTitle.displayName="PageTitle",t.Z=PageTitle},58183:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return w}});var n=i(85893),r=i(44397),s=i(5616),l=i(69417),a=i(83965),c=i(15861),o=i(67294),d=i(91846),x=i(64321),p=i(75616),u=i(1900),m=i(89260),h=i(46657),f=i(91749),g=i(22879),j=i(86272),y=i(22493);let Article=e=>{var t,i;let{data:w,htmlString:Z}=e,[v,b]=(0,o.useState)(!1),{loginState:C}=(0,f.b)(),{registerDialog:N}=(0,h.qt)(),k=w?new Date(w.date):new Date,_=(null==w?void 0:null===(t=w.imagesCollection.items[1])||void 0===t?void 0:t.url)||(null==w?void 0:null===(i=w.imagesCollection.items[0])||void 0===i?void 0:i.url)||d.zG;return(0,o.useEffect)(()=>{let e=C===j.zD.LOGGED_IN,t=(0,y.Fu)(j.iT.NEWS);b(e&&t||!!(null==w?void 0:w.unlockForAllUsers))},[C,w]),w?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(r.Z,{title:"News | ".concat(w.title),description:w.description}),(0,n.jsx)(u.Z,{children:(0,n.jsxs)(s.Z,{sx:{display:"flex",backgroundColor:"background.paper",flexDirection:"column","@media (min-width: 375px)":{py:2,px:2,width:"100%"},"@media (min-width: 667px)":{py:5,px:5,width:"100%"},"@media (min-width: 1180px)":{py:5,px:12,width:"100%"},"@media (min-width: 1280px)":{py:5,px:12,width:"1217px"},alignSelf:"center",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"},children:[(0,n.jsx)(s.Z,{children:(0,n.jsx)(m.Z,{titleUrl:w.urlTitle,title:w.title})}),(0,n.jsx)(s.Z,{children:(0,n.jsx)(c.Z,{variant:"body2",sx:{fontSize:"1.3rem",fontWeight:"300",lineHeight:"2rem"},children:"Added on ".concat(k.toLocaleDateString("en-US"))})}),(0,n.jsx)(s.Z,{sx:{width:"100%",py:1},children:(0,n.jsx)(a.Z,{sx:{objectFit:"fill","@media (min-width: 375px)":{height:"auto"},"@media (min-width: 768px)":{height:"37rem"}},component:"img",image:_})}),(0,n.jsxs)(s.Z,{sx:{py:5},children:[(0,n.jsx)(s.Z,{sx:v?{userSelect:"text"}:{overflow:"hidden",position:"relative",maxHeight:"20rem","&::after":{content:'""',position:"absolute",left:0,right:0,bottom:0,height:"100%",background:"linear-gradient(to bottom,  rgba(19,29,38,0) 0%,rgba(19,29,38,1) 100%)"}},className:"no-normalize",children:Z.length>0?(0,n.jsx)(p.Z,{html:Z}):(0,n.jsx)(x.Z,{content:w.description})}),!v&&(0,n.jsx)(s.Z,{sx:{display:"flex",justifyContent:"center"},children:(0,n.jsx)(l.Z,{sx:{my:2},onClick:()=>{N(h.xQ.DIVE_IN,(0,n.jsx)(g.Z,{}))},children:"Read article"})})]})]})})]}):null};Article.displayName="Article";var w=!0;t.default=Article},22879:function(e,t,i){"use strict";var n=i(85893),r=i(15861),s=i(47668),l=i(23795),a=i(69417);i(67294);var c=i(46657),o=i(48665),d=i(5016),x=i(16785);t.Z=()=>{let{registerDialog:e,unregisterDialog:t}=(0,c.qt)(),onOpenOtherDialog=(i,n)=>{t(c.xQ.DIVE_IN),e(i,n)};return(0,n.jsxs)(o.Z,{name:c.xQ.DIVE_IN,title:"Join Us!",horizontalCentered:!0,forceBlock:!0,children:[(0,n.jsx)(r.Z,{variant:"h5",textTransform:"uppercase",children:"Sign up to access this feature"}),(0,n.jsx)(r.Z,{variant:"body1",children:"You have plenty of interesting articles at your fingertips. All you have to do is sign up to become a member for FREE."}),(0,n.jsxs)(s.Z,{direction:"row",gap:1,alignItems:"center",justifyContent:"center",children:[(0,n.jsx)(r.Z,{variant:"body1",children:"Already have an account?"}),(0,n.jsx)(l.Z,{variant:"body1",onClick:()=>onOpenOtherDialog(c.xQ.SIGNIN,(0,n.jsx)(d.Z,{})),children:"Log in"})]}),(0,n.jsx)(r.Z,{children:"Or"}),(0,n.jsx)(l.Z,{variant:"body1",onClick:()=>t(c.xQ.DIVE_IN),children:"Continue As A Guest"}),(0,n.jsx)(a.Z,{size:"large",fullWidth:!0,variant:"contained",onClick:()=>onOpenOtherDialog(c.xQ.SIGNUP,(0,n.jsx)(x.Z,{})),children:"Sign Up"}),(0,n.jsx)(r.Z,{variant:"body2",color:"text.disabled",textTransform:"capitalize",children:"P.S. Signing up takes 60 seconds or less"})]})}},9008:function(e,t,i){e.exports=i(79201)}},function(e){e.O(0,[862,774,888,179],function(){return e(e.s=67609)}),_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.