PageSourceSearch

https://flashpicks.com/_next/static/chunks/0cn2axd-jyanl.js

js flashpicks.com collected 2026-09-29 00:43:07 UTC 8,324 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="5c561764-4844-e30c-2cf2-08c9d6a69f7d")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48233,e=>{"use strict";e.s(["competitionLogoSVG",0,e=>`https://cdn.fantasyiteam.com/bethub/competitions/svg/${e}.svg`,"fpTeamLogoUrlFromId",0,e=>`https://cdn.checkd-dev.com/bettinghub/teams/${e}.png`,"hideBrokenImage",0,e=>e.style.opacity="0","idToCompetitionBadgeImageUrl",0,e=>`https://cdn.fantasyiteam.com/bethub/competitions/150x150/${e}.png`,"idToTeamBadgeImageUrl",0,e=>`https://cdn.checkd-dev.com/football/teams/150x150/${e}.png`,"sportBrandFooterLogoMap",0,{fa:"https://cdn.checkd.media/logos/fa-logo-light.svg","fa-dark":"https://cdn.checkd.media/logos/fa-logo-dark.svg",fp:"https://cdn.checkd.media/logos/fp-logo-full.png",twe:"https://cdn.checkd.media/logos/twe-logo-full.png"}])},907,e=>{e.v({container:"MatchCenter-module-scss-module__Zry6GW__container",disableBoxShadow:"MatchCenter-module-scss-module__Zry6GW__disableBoxShadow",filterContainer:"MatchCenter-module-scss-module__Zry6GW__filterContainer",fixturesContainer:"MatchCenter-module-scss-module__Zry6GW__fixturesContainer",gradient:"MatchCenter-module-scss-module__Zry6GW__gradient",navButtonsContainer:"MatchCenter-module-scss-module__Zry6GW__navButtonsContainer",noMatchesMessage:"MatchCenter-module-scss-module__Zry6GW__noMatchesMessage",selectContainer:"MatchCenter-module-scss-module__Zry6GW__selectContainer"})},6720,e=>{e.v({eventCard:"MatchCenterEventCard-module-scss-module__8IrATq__eventCard",matchInfo:"MatchCenterEventCard-module-scss-module__8IrATq__matchInfo"})},68387,e=>{e.v({oddsButton:"MatchCenterTeamRow-module-scss-module__pYAizG__oddsButton",teamLogoAndNameContainer:"MatchCenterTeamRow-module-scss-module__pYAizG__teamLogoAndNameContainer",teamRow:"MatchCenterTeamRow-module-scss-module__pYAizG__teamRow"})},31170,e=>{"use strict";var t=e.i(91398),a=e.i(65859),n=e.i(907),o=e.i(6720);e.i(65976);var s=e.i(63970),d=e.i(26019),i=e.i(68387),r=e.i(6601),l=e.i(37981),c=e.i(48233);let m=({event:e,activeMarket:n,teamData:o,teamSelection:m,oddsFormat:u})=>{let h,p=(0,a.useContext)(r.BetSlipDispatchContext),{activeCommonAndEventIdPairs:f}=(0,a.useContext)(r.BetSlipStateContext),g=(e=>{if(e)return e.oddsDecimal&&e.oddsFractional?{odds:e.oddsFractional,oddsDecimal:e.oddsDecimal,oddsAmerican:e.odds}:e.odds})(m),C=m?.name==="Under"?"u":"o";return o?(0,t.jsxs)("div",{className:i.default.teamRow,"data-testid":"teamRow",children:[(0,t.jsxs)("div",{className:i.default.teamLogoAndNameContainer,children:[(0,t.jsx)(d.default,{src:(0,c.fpTeamLogoUrlFromId)(o.id),width:24,height:24,alt:`${o.location} ${o.name} logo`,onError:e=>{(0,c.hideBrokenImage)(e.currentTarget)}}),(0,t.jsx)("p",{children:o.code.toUpperCase()})]}),m&&g?(0,t.jsx)("button",{className:i.default.oddsButton,"data-testid":"oddsButton",onClick:()=>{p({type:"ADD",commonAndSelectionIdPair:{eventId:e.id,commonID:m.commonID},source:"Match Centre"}),(0,l.gaEvent)("add_to_betslip",{bet_event:e.description,source:"Match Centre",bet_selection:`${o.name} ${m.name}`,bet_sport:`${e.type.charAt(0).toUpperCase()}${e.type.slice(1)}`,bet_competition:e.meta.competition.id})},"aria-pressed":(h={eventId:e.id,commonID:m.commonID},f.findIndex(({commonID:e,eventId:t})=>e===h.commonID&&t===h.eventId)>-1),type:"button",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:(0,s.getFormattedOdds)({allOdds:g,oddsFormat:u})}),(0,t.jsxs)("p",{children:["TOTAL"===n?C:"",m.handicap]})]})}):null]}):null};var u=e.i(62236);let h=({event:e,activeMarket:a,oddsFormat:n,lastCardRef:s})=>{if(!e||!a)return null;let d=e.contestant.find(e=>"away"===e.position),i=e.contestant.find(e=>"home"===e.position),r=e.selections.find(e=>"TOTAL"!==a?e.name===d?.code:"Over"===e.name),l=e.selections.find(e=>"TOTAL"!==a?e.name===i?.code:"Under"===e.name);return(0,t.jsxs)("div",{className:o.default.eventCard,"data-testid":"eventCard",ref:s,children:[(0,t.jsx)(m,{event:e,activeMarket:a,teamData:d,teamSelection:r,oddsFormat:n}),(0,t.jsx)(m,{event:e,activeMarket:a,teamData:i,teamSelection:l,oddsFormat:n}),(0,t.jsxs)("span",{className:o.default.matchInfo,"data-testid":"eventInfo",children:[(0,t.jsx)("strong",{children:e.meta.competition.id})," | ",(0,u.fullDateToAmericanShortDateWithAMorPM)(e.date)]})]})},p=({currentMarket:e,currentEvents:n,lastCardRef:o})=>{let{oddsFormat:s}=(0,a.useContext)(r.BetSlipStateContext);return n&&e?(0,t.jsx)(t.Fragment,{children:n.map((a,d)=>(0,t.jsx)(h,{event:a,activeMarket:e,oddsFormat:s,lastCardRef:o&&d===n.length-1?o:void 0},a.id))}):null};var f=e.i(924),g=e.i(62869),C=e.i(38740);let _=async({locale:e,competition:t,market:a,limit:n,offset:o})=>{let s=e.toUpperCase().startsWith("US-")?e.toUpperCase():"US-NJ";
2return await (0,C.getDataFromPathAndQueryParams)({path:"flashpicks/fixtures",queryParams:{competition:t,market:a,limit:n,offset:o,location:s},isOddsPlatformRequest:!0})};e.s(["MatchCenter",0,({initialCompetition:e,initialMarket:o,events:s})=>{let[d,i]=(0,a.useState)(e),[r,c]=(0,a.useState)(o),[m,u]=(0,a.useState)(s),[h]=(0,g.useLocaleFromRouter)(),[C,v]=(0,a.useState)(0),[x,M]=(0,a.useState)(!0),[b,A]=(0,a.useState)(!1),[j,S]=(0,a.useState)(!1),N=[{id:"ALL",name:"All Sports"},{id:"NFL",name:"NFL"},{id:"NCAAF",name:"NCAAF"},{id:"NBA",name:"NBA"},{id:"NCAAB",name:"NCAAB"},{id:"NHL",name:"NHL"},{id:"MLB",name:"MLB"}],T=[{id:"SPREAD",name:"Spread"},{id:"TOTAL",name:"Total"},{id:"ML",name:"M/L"}],B=(0,a.useRef)(null),L=(0,a.useRef)(null),y=(0,a.useRef)(m.length);y.current=m.length;let I=(0,a.useCallback)(async(e,t)=>{let{events:a}=await _({locale:h,competition:d,market:r,limit:t,offset:e});return a&&(S(a.length<10),e>0?u(e=>[...e,...a]):u(a)),a},[h,d,r]);(0,a.useEffect)(()=>{x||(async()=>{let e=await I(0,10);e&&e.length>5&&B.current?.scroll({left:0,behavior:"smooth"})})()},[d,h]),(0,a.useEffect)(()=>{x||I(0,y.current)},[r]),(0,a.useEffect)(()=>{let e=L.current;if(!e)return;let t=new IntersectionObserver(a=>{a[0].isIntersecting&&(I(m.length,10),t.unobserve(e))},{rootMargin:"100px"});return t.observe(e),()=>t.disconnect()},[m]),(0,a.useEffect)(()=>{A(!!(B.current&&C===B.current.scrollWidth-B.current.clientWidth))},[C]);let k=e=>{x&&M(!1);let t=B.current,a=t&&t.children[0];if(t&&a){let n="LEFT"===e?t.scrollLeft-a.offsetWidth+15:t.scrollLeft+a.offsetWidth+15;t.scroll({left:n,behavior:"smooth"})}},w=e=>{x&&M(!1);let t=N.find(t=>t.id===e.target.value);if(t){let e={sport:f.fpCompetitionSportsMap.get(t.id)??"",competition:t.id,market:r};(0,l.gaEvent)("odds_widget_competition_select",e),i(t.id);return}let a=T.find(t=>t.id===e.target.value);if(a){let e={sport:f.fpCompetitionSportsMap.get(d)??"",competition:d,market:a.id};(0,l.gaEvent)("odds_widget_market_select",e),c(a.id);return}};return(0,t.jsxs)("div",{className:n.default.container,children:[(0,t.jsxs)("div",{className:n.default.filterContainer,children:[(0,t.jsx)("div",{className:n.default.selectContainer,children:(0,t.jsx)("select",{"aria-label":"Sport Dropdown",onChange:w,defaultValue:e,children:N.map(({id:e,name:a})=>(0,t.jsx)("option",{value:e,children:a},e))})}),(0,t.jsx)("div",{className:n.default.selectContainer,children:(0,t.jsx)("select",{"aria-label":"Market Dropdown",onChange:w,defaultValue:o,children:T.map(({id:e,name:a})=>(0,t.jsx)("option",{value:e,children:a},e))})})]}),0!==C&&m.length>0?(0,t.jsx)("div",{className:n.default.gradient}):null,m.length>0?(0,t.jsx)("div",{className:n.default.fixturesContainer,ref:B,onScroll:e=>{x&&M(!1),v(e.target.scrollLeft)},children:(0,t.jsx)(p,{currentMarket:r,currentEvents:m,lastCardRef:j?void 0:L})}):(0,t.jsx)("span",{className:n.default.noMatchesMessage,children:"No matches to display"}),(0,t.jsxs)("div",{className:b?`${n.default.navButtonsContainer} ${n.default.disableBoxShadow}`:n.default.navButtonsContainer,children:[(0,t.jsx)("button",{onClick:()=>k("LEFT"),disabled:0===C,type:"button",children:"<"}),(0,t.jsx)("button",{onClick:()=>k("RIGHT"),disabled:b&&0!==C||0===m.length,type:"button",children:">"})]})]})}],31170)},68907,e=>{e.n(e.i(31170))}]);
3
4//# debugId=5c561764-4844-e30c-2cf2-08c9d6a69f7d

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.