1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,530323,t=>{t.v({"home-container":"Home-module-scss-module__bstUTG__home-container","home-container__comparison-button":"Home-module-scss-module__bstUTG__home-container__comparison-button"})},736041,t=>{"use strict";var e=t.i(222809),i=t.i(583846),a=t.i(813931),o=t.i(768155);t.i(757374);var r=t.i(788968),s=t.i(508094),n=t.i(833442),u=t.i(252949),c=t.i(479024);t.i(112672);var l=t.i(239103),d=t.i(530323);let m="cska"===(0,l.getTenant)().id,_='.hero-results [data-widget-id="football-single-event-detailed"]';function T({children:t}){let{SPORTAL365_PROJECT_BY_LOCALE:e}=(0,u.getFeatureFlags)(),{sportalWidgets:d}=(0,c.getComponentsConfig)(),m=(0,o.useLocale)(),[f,h]=(0,a.useState)(!1),g=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let t=null,e=!1,i=()=>{e||(document.querySelector(_)&&window.smpFootballWidgets?h(!0):t=setTimeout(i,100))};return t=setTimeout(i,500),()=>{e=!0,t&&clearTimeout(t)}},[]),(0,a.useEffect)(()=>{!f||g.current||(async()=>{let t=document.querySelector(_);if(t)try{let a=await (0,n.fetchExternal)(`https://football.api.sportal365.com/v2/matches?team_ids=${(0,l.getTenant)().club.teams.first.id}&status_types=NOT_STARTED%2CLIVE%2CINTERRUPTED%2CUNKNOWN&limit=10&offset=0&sort_direction=asc`,{headers:{[s.SPORTAL365_FOOTBALL_API_PROJECT_HEADER]:e?.[m]||"",Authorization:"Basic Y3NrYS5jb206TUdwd05hbWIyWU4zNUN2cXRaRUFwSkRIQkxBQW9qU2Q="}});if(a.ok){let e=await a.json(),o=function(t,e=Date.now()){let i=t.find(t=>t.status?.type==="LIVE");return i||(t.find(t=>{let i=t.kickoff_time?Date.parse(t.kickoff_time):NaN;return!Number.isNaN(i)&&i>=e-108e5})??null)}(e?.matches??[])?.id;o||i.default.warn({teamId:(0,l.getTenant)().club.teams.first.id},"No upcoming match found"),o&&(t.setAttribute("data-match-id",o.toString()),g.current=!0,await new Promise(t=>{setTimeout(t,100)}),(0,r.resetSportal365Widget)(),await (0,r.initializeSportal365Widget)({locale:m,sportalWidgetsConfig:d}))}else throw Error(`HTTP error! ${a.status} - ${a.statusText}`)}catch(t){i.default.error({err:t},"Error fetching upcoming match data")}})()},[f]),t}t.s(["default",0,function({children:t}){let i=(0,e.jsx)("div",{className:d.default["home-container"],children:t});return m?(0,e.jsx)(T,{children:i}):i}])},327619,t=>{t.n(t.i(736041))}]);
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.