PageSourceSearch

https://racingamerica.com/_next/static/chunks/9605.a554f9e6e8f213d34783.js

js racingamerica.com collected 2026-10-02 14:40:14 UTC 5,392 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9605],{9605:function(e,t,s){s.r(t);var r,n=s(2809),a=s(2209),l=s(7294),i=s(8882),c=s(5675),o=s(1664),d=s(1200),m=s(1642),u=s(3633),x=s(1698),h=s(2474),f=s(2690),p=s(736),j=s(6235),v=s(6750),b=s(5660),N=s(5893);function g(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,r)}return s}function y(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?g(Object(s),!0).forEach((function(t){(0,n.Z)(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var w=(0,m.Ps)(r||(r=(0,a.Z)(["\n  ","\n  ",'\n\n  query GetFeaturedCategoryNewsEntries(\n    $categories: [QueryArgument]\n  ) {\n    entries: entries(\n      section: ["newsArticles"]\n      relatedToCategories: [{ id: $categories }]\n      limit: 12\n      orderBy: "postDate desc"\n    ) {\n      ...FeaturedNewsEntry\n    }\n    events: entries(\n      section: ["events"]\n      expiryDate: ">= now"\n      orderBy: "eventDate"\n      limit: 7\n    ) {\n      ...RecentEventEntry\n    }\n  }\n'])),d.hk,h.y);t.default=function(e){var t,s=((0,l.useContext)(b._).state.globals.upcomingEventSettings.stickyEvents||[]).filter((function(e){return e.eventEnabled})).map((function(e){return y(y({},e),{},{sticky:!0})})),r=e.otherNews,n=e.ad,a=r[0]||null,d=(null===a||void 0===a?void 0:a.categories.map((function(e){return e.id})))||[],m=(0,u.a)(w,{variables:{categories:d},fetchPolicy:"no-cache"}),h=m.loading,g=(m.error,m.data);if(h)return(0,N.jsx)(i.Z,{children:(0,N.jsx)("p",{className:"sr-only",children:"Loading ..."})});var O=g.entries,k=g.events,_=s.concat(k);return(0,N.jsxs)(i.Z,{className:"OtherNews",children:[(0,N.jsx)("div",{className:"col-span-12",children:(0,N.jsx)(x.Z,{small:!0,headline:"Other News",showArrows:!1,cta:{url:"/news",targetString:"_self",text:"Read More"}})}),(0,N.jsx)("div",{className:"col-span-12",children:(0,N.jsxs)("div",{className:"md:grid md:grid-cols-2ra",children:[(0,N.jsx)("div",{className:"md:col-span-1",children:O&&O.map((function(e){return(0,N.jsxs)("div",{className:"mb-3 block group relative flex items-center justify-start gap-6",children:[(0,N.jsx)(o.default,{href:e.url,children:(0,N.jsx)("a",{className:"",children:(0,N.jsxs)("span",{className:"block w-32 h-32 flex-shrink-0 relative rounded-tl-xl rounded-br-xl overflow-hidden",children:[(0,N.jsx)(c.default,{src:e.intro[0].image[0].url,layout:"fill",objectFit:"cover",alt:e.intro[0].image[0].title,className:"group-hover:scale-110 transition-transform duration-300 ease-in-out transform"}),e.hasVideo&&(0,N.jsx)("div",{className:"absolute inset-0 m-auto flex items-center justify-center duration-300 ease-in-out transform opacity-70 group-hover:opacity-90",children:(0,N.jsx)(v.Z,{name:"raPlayButton",className:"w-10 h-auto"})})]})})}),(0,N.jsxs)("span",{className:"block py-4",children:[(0,N.jsx)(o.default,{href:e.relatedNewsCategory[0].url,children:(0,N.jsx)("a",{className:"",children:(0,N.jsx)("span",{className:"block text-primary hover:text-primary-light font-semibold uppercase text-2xl",children:e.relatedNewsCategory[0].title})})}),(0,N.jsx)(o.default,{href:e.url,children:(0,N.jsxs)("a",{className:"",children:[(0,N.jsx)("span",{className:"text-secondary-light group-hover:text-secondary transition-colors duration-300",children:(0,N.jsx)("p",{className:"text-3xl mb-2",children:e.intro[0].headline})}),(0,N.jsx)("span",{className:"text-secondary-light group-hover:text-secondary transition-colors duration-300",children:(0,N.jsx)("p",{className:"text-2xl mb-2",children:e.dateFormatted})})]})})]})]},"OtherNews-".concat(e.id))}))}),(0,N.jsx)("div",{className:"md:col-span-1",children:(0,N.jsxs)("div",{className:"",children:[(0,N.jsx)("p",{className:"text-4xl font-normal mb-3",children:"Upcoming Events"}),(0,N.jsxs)("div",{className:"mb-8",children:[_&&_.map((function(e){return(0,N.jsx)("div",{className:"mb-3",children:(0,N.jsx)("div",{className:"NewsEvent__event text-black rounded-tl-3xl rounded-br-3xl p-4 flex-none h-full",children:(0,N.jsx)(j.Z,{event:e})})},"OtherNewsEvents-".concat(e.id))})),(0,N.jsx)("div",{className:"mt-6 mb-12 w-full flex items-center justify-center",children:(0,N.jsx)("div",{children:(0,N.jsx)(o.default,{href:"/schedule",children:(0,N.jsx)("a",{className:"TextLink TextLink__small text-2xl",children:"See More"})})})})]}),(0,N.jsx)("div",{className:"mb-12",children:n&&(0,N.jsx)("div",{className:"w-full h-full",children:(0,N.jsx)(f.default,{ad:n}
1)})}),(null===(t=r[0])||void 0===t?void 0:t.includeSignup)&&(0,N.jsx)("div",{className:"mb-16",children:(0,N.jsxs)("div",{className:"flex items-center flex-col gap-6 bg-primary text-white p-4 rounded-tl-3xl rounded-br-3xl",children:[(0,N.jsx)("p",{className:"text-center text-2xl font-medium leading-6",children:"Sign Up for the Racing America Newsletter"}),(0,N.jsx)("div",{className:"w-full",children:(0,N.jsx)("div",{className:"-mb-8 HubspotForm HubspotForm__small HubspotForm__inverted HubspotForm__centered",children:(0,N.jsx)(p.Z,{portalId:"20371571",formId:"f8987aaf-f75c-4b94-bf04-96bf4dd27d14"})})})]})})]})})]})})]})}}}]);

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.