PageSourceSearch

https://epcrugby.com/_nuxt/DOnmdVT2.js

js epcrugby.com collected 2026-10-02 10:21:41 UTC 2,061 bytes, 1 lines download raw bytes

1import{d as L,u as z,r as E,q as F,e,s as K,v as l,z as P,E as U,f as k,h as A,l as h,A as B,j as D,i as H,o as M,G as j}from"#entry";import{g as q,l as G}from"./BKdxBygU.js";import{u as N}from"./Cxf8Zyw8.js";import{u as J}from"./BZt5T4el.js";import{u as O}from"./B29cEXwN.js";import"./D3TkpJc1.js";const ae=L({__name:"matches",setup(Q){const{t:i}=z(),g=E(),t=D(),{competitionSlug:u,isEPCR:x}=F(),c=e(()=>g.params.matchId||void 0),_=e(()=>c.value||"match-center-index"),T=N(),{selectedSeason:b}=K(J()),y=async()=>{!s.value||w.value||await T.setCompetitionTable(s.value)},m=async()=>{if(!s.value)return[];const r={images:!0,provider:t.public.dataProvider,season:b.value,compId:s.value,form:!0,formSize:4,noCache:!0};return(await q({params:r}))?.data||[]},w=e(()=>s.value&&T.getCompetitionTable(s.value)||null),s=e(()=>x.value?t.public.competitionId["champions-cup"]:t.public.competitionId[u.value]),{pending:n,data:o,error:p}=O(`fixtures-and-results-${u.value}`,async()=>(await y(),await m()));l(()=>p,()=>{if(p.value)throw console.error(p.value),j({statusCode:500,fatal:!0})});const a=e(()=>{if(c.value)return o.value?.find(r=>`${r.id}`===c.value)}),C=e(()=>a.value?`${a.value?.homeTeam?.name} vs. ${a.value?.awayTeam?.name}`:i("Fixtures & Results")),$=e(()=>a.value?`${i("Match details between")} ${a.value?.homeTeam?.name} vs. ${a.value?.awayTeam?.name}`:i(t.public.meta[u.value].description.fixtures)||i(t.public.meta[u.value].description.default)),I=e(()=>H({title:`${C.value} | ${t.public.meta[u.value].suffix}`,description:$.value,image:t.public.meta[u.value].image},"")),v=P(null),f=e(()=>a.value?G.includes(a.value.status):!1),S=async()=>{o.value=await m(),f.value&&d()},d=()=>{v.value=setTimeout(S,t.public.timeToMatchUpdate)};return l(n,()=>{f.value&&d()},{immediate:!0}),l(()=>g.params,()=>{f.value&&d()}),l(b,async()=>{n.value=!0,o.value=await m(),n.value=!1}),U(()=>{v.value&&clearTimeout(v.value)}),k(I),(r,V)=>{const R=B;return M(),A(R,{pageKey:h(_),fixtures:h(o),pending:h(n)},null,8,["pageKey","fixtures","pending"])}}});export{ae as default};

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.