1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7288],{6698:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/history-of-speedway",function(){return a(1992)}])},8125:function(e,t,a){"use strict";var s=a(5465),r=a(3267),l=a(9066),n=a(7865);let i=(0,s.L)({uri:"https://eventrack.io/sgp/graphql"}),c=(0,n.v)((e,t)=>{let{headers:a}=t,s="d0c3edf6a128c3b2311fd5fe1f0a10fd951b51d1be88f03c861865fa24d789fd";return{headers:{...a,authorization:s?"Bearer ".concat(s):""}}}),o=new r.f({link:c.concat(i),cache:new l.h,connectToDevTools:!0,defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}}});t.Z=o},1992:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return d},default:function(){return f}});var s=a(5893),r=a(7294),l=a(9008),n=a.n(l),i=a(5675),c=a.n(i);a(1664),a(6761),a(4548);var o=a(6005);a(8125);var d=!0;function f(e){let[t,a]=(0,r.useState)(e.pages),[l,i]=(0,r.useState)(e.pages);(0,r.useEffect)(()=>{i([...t].sort((e,t)=>{let a,s;let r=e.tags,l=t.tags;if(r&&r.length>0){let e=r.find(e=>e.title&&e.title.startsWith("order-tags-"));a=e?parseInt(e.title.replace("order-tags-","")):0}else a=0;if(l&&l.length>0){let e=l.find(e=>e.title&&e.title.startsWith("order-tags-"));s=e?parseInt(e.title.replace("order-tags-","")):0}else s=0;return a-s}))},[t]);let d=e=>(h(e),!1),f=(e,t)=>(0,s.jsxs)("div",{className:"py-[40px] border-b",id:"section-".concat(t+1),children:[(0,s.jsx)("h3",{className:"font-gotham font-bold text-[30px] leading-[30px] uppercase",children:e.title}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:e.content},className:"text-[18px] leading-[30px] list-disc list-inside mt-[30px] singleContentDiv"}),e.featuredImage&&(0,s.jsx)("div",{className:"pt-6",children:(0,s.jsx)(c(),{src:e.featuredImage.url,width:1200,height:800,className:"object-contain"})})]}),p=l.map(e=>e.title),[x,h]=(0,r.useState)([l[0]]);return(0,s.jsxs)(o.Z,{home:!0,children:[(0,s.jsx)(n(),{children:(0,s.jsx)("title",{children:"SGP - History of Speedway"})}),(0,s.jsxs)("main",{className:"",children:[(0,s.jsxs)("div",{className:"relative flex flex-col justify-center h-[480px]",children:[(0,s.jsx)(c(),{src:"/images/rules-banner.png",layout:"fill",objectFit:"cover",alt:"",className:""}),(0,s.jsx)("h1",{className:"relative text-primary text-center font-gotham uppercase md:text-[70px] text-[50px] leading-[60px]",children:"History of Speedway"})]}),(0,s.jsxs)("div",{className:"container flex flex-col md:flex-row py-[50px]",children:[(0,s.jsx)("div",{className:"md:w-1/4 w-full relative",children:(0,s.jsxs)("div",{className:"flex flex-col bg-light-gray-2 p-[30px] items-start",children:[(0,s.jsx)("h3",{className:"font-gotham font-bold text-[30px] leading-[30px] uppercase mb-[15px]",children:"SUMMARY"}),p.map((e,t)=>(0,s.jsx)("span",{className:"relative my-[10px] hover:before:content-[''] before:absolute before:-left-[0px] transition-all duration-500 before:-skew-x-12 before:bottom-[3px] before:"+(x==e?"bg-primary":"bg-transparent")+" hover:before:bg-primary before:w-full before:h-full",children:(0,s.jsxs)("a",{href:"#section-"+t,onClick:()=>{d(e)},className:"relative "+(x==e?"font-bold":"font-medium")+" text-[20px]",children:[" ",e]})},t))]})}),(0,s.jsx)("div",{className:"md:w-3/4 w-full md:p-[30px] pt-[30px] md:pl-[60px]",children:l.map((e,t)=>f(e,t))})]})]})]})}},4548:function(){},6761:function(){}},function(e){e.O(0,[7524,8247,6629,4425,1636,6005,2888,9774,179],function(){return e(e.s=6698)}),_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.