!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1bba1e6a-1d0f-4083-99ca-e685316b24a7",e._sentryDebugIdIdentifier="sentry-dbid-1bba1e6a-1d0f-4083-99ca-e685316b24a7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{75557:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(71103)}])},71103:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return d}});var r=t(41844),o=t(23544),s=t(55784),c=t(9008),i=t.n(c),u=t(50525),a=t(52553),d=!0;n.default=(0,o.withSuperJSONPage)(function(e){let{recentRaces:n,upcomingRaces:t,featuredFacilities:o}=e,{scrollRef:c}=(0,s.useContext)(u.Z);return(0,s.useEffect)(()=>{window.scrollTo(0,c.current.scrollPos);let e=()=>{c.current.scrollPos=window.scrollY};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i(),{children:(0,r.jsx)("link",{rel:"canonical",href:"https://www.amateurmoto.com"},"canonical")}),(0,r.jsx)(a.default,{recentRaces:n,upcomingRaces:t,featuredFacilities:o})]})})}},function(e){e.O(0,[1228,2757,3544,2613,1892,8069,6017,2587,7199,8416,2553,2888,179],function(){return e(e.s=75557)}),_N_E=e.O()}]);
//# sourceMappingURL=index-ddf48325d47184d2.js.map