PageSourceSearch

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

js epcrugby.com collected 2026-10-02 10:20:47 UTC 3,599 bytes, 1 lines download raw bytes

1import{_ as V}from"./Cw2k1isg.js";import{_ as A,a as H}from"./Bn0ed31M.js";import{_ as q}from"./DdsvTgdZ.js";import{_ as O}from"./DQbApeg9.js";import{a as G,b as J,l as Q}from"./BKdxBygU.js";import{d as W,r as X,u as Y,q as Z,z as v,e as c,v as k,N as ee,f as te,E as ae,c as g,h as f,l as e,m as l,F as oe,C as se,k as I,a as ie,x as ne,t as re,j as me,i as ce,o as s}from"#entry";import{u as le}from"./B29cEXwN.js";import{u as ue}from"./j-VdhrDU.js";import"./BHJY40iJ.js";import"./DM32Dx9c.js";import"./DlAUqK2U.js";import"./DyBkRwQv.js";import"./BinvN-Tu.js";import"./Cys_x7Ek.js";import"./B3TgFKA1.js";import"./EBWz68Us.js";import"./EcgROg_m.js";import"./BOvFkHkt.js";import"./D5SbQoz8.js";import"./olj3hO2i.js";import"./C8L4vOS7.js";import"./G9NbSkaD.js";import"./D84viJ2d.js";import"./D_8EFg3T.js";import"./D3TkpJc1.js";import"./FY-6KVp7.js";import"./e7-4Yhp-.js";const pe={class:"mx-4 pt-6 lg:pt-20"},de={key:1,class:"container max-w-7xl"},ve={class:"flex justify-center w-full mb-4 md:mb-6"},fe={class:"flex w-full max-w-[400px] drop-shadow-xl"},_e=["onClick"],ye={class:"flex flex-col md:flex-row gap-6 justify-between"},xe={class:"flex flex-col items-center gap-6"},Je=W({__name:"commentary",props:{match:{}},setup(S){const B=S,t=me(),C=X(),{t:i}=Y(),{matchId:r}=C.params,{isChallengeCup:L,isChampionsCup:T,competitionSlug:m}=Z(),E=[{label:"Key events",value:0},{label:"All events",value:1}],a=v(void 0),_=v(void 0),n=v(0),w=async()=>{if(!r)return;const d={clientId:t.public.clientId,provider:t.public.dataProvider,competitionId:t.public.compId};a.value=(await G(r,{params:d}))?.data||void 0},$=async()=>{if(!r)return;const d={provider:t.public.dataProvider};_.value=(await J(r,{params:d}))?.data||void 0},{pending:y}=le(`fixture-${r}-team-stats`,async()=>{await w(),await $()}),x=c(()=>a.value?.status?Q.includes(a.value?.status):!1),F=c(()=>!a.value?.events?.length),b=v(null),U=()=>{w(),$(),x.value&&h()},h=()=>{b.value=setTimeout(U,t.public.timeToMatchUpdate)};k(y,()=>{x.value&&h()},{immediate:!0}),k(()=>C.params,()=>{x.value&&h()});const{homeTeam:u,awayTeam:p}=ue(ee(()=>B.match)),M=c(()=>p.value&&u.value?`${u.value?.name} vs. ${p.value?.name}`:i("Fixtures & Results")),j=c(()=>p.value&&u.value?`${i("Match details between")} ${u.value?.name} vs. ${p.value?.name}`:i(t.public.meta[m.value].description.fixtures)||i(t.public.meta[m.value].description.default)),z=c(()=>ce({title:`${i("Live Commentary")} | ${M.value} | ${t.public.meta[m.value].suffix}`,description:j.value,image:t.public.meta[m.value].image},""));return te(z),ae(()=>{b.value&&clearTimeout(b.value)}),(d,be)=>{const N=V,R=A,D=H,K=q,P=O;return s(),g("div",pe,[e(y)?(s(),f(N,{key:0,class:"mx-auto py-4",size:"100"}
1)):!e(y)&&!e(F)?(s(),g("div",de,[l("div",ve,[l("div",fe,[(s(),g(oe,null,se(E,o=>l("div",{key:o.label,class:ne(["basis-1/2 uppercase flex justify-center items-center p-4 cursor-pointer border-[5px] border-mono-50 tracking-[0.3px] text-body-2 leading-[1.2] font-semibold",{"bg-tertiary":e(T)&&o.value===e(n),"bg-primary":e(L)&&o.value===e(n),"text-mono-50":o.value===e(n),"bg-mono-50 text-mono-900":o.value!==e(n)}]),onClick:he=>n.value=o.value},re(e(i)(o.label)),11,_e)),64))])]),l("div",ye,[e(a)&&e(_)?(s(),f(R,{key:0,fixture:e(a),commentary:e(_),isKeyEvents:e(n)===0},null,8,["fixture","commentary","isKeyEvents"])):I("",!0),l("div",xe,[e(a)?(s(),f(D,{key:0,fixture:e(a)},null,8,["fixture"])):I("",!0),ie(K,{data:{tags:[`${e(m)}-live-commentary`]},class:"md:max-w-[411px] w-full"},null,8,["data"])])])])):(s(),f(P,{key:2,title:"Commentary",icon:"empty_state_commentary"}))])}}});export{Je 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.