PageSourceSearch

https://telex.hu/_nuxt/DNA8xZb2.js

js telex.hu collected 2026-10-01 09:06:34 UTC 2,304 bytes, 1 lines download raw bytes

1import{_ as c,o,c as a,a as s,F as n,w as p,B as l,e as i}from"./DikjsCuG.js";const h={name:"LiveScoreTopRed",props:{sport:{type:String,required:!0},league:{type:Number,required:!0},season:{type:String,required:!0}},data(){return{topRedCards:null}},async mounted(){try{this.topRedCards=await this.$liveScoreApiRepository.getTopRedCards(this.sport,this.league,this.season)}catch(e){console.error("error",e)}this.topRedCards?.length&&(this.topRedCards=this.topRedCards.filter(e=>e.statistics[0].cards.red+e.statistics[0].cards.yellowred>0).sort((e,r)=>r.statistics[0].cards.red+r.statistics[0].cards.yellowred-(e.statistics[0].cards.red+e.statistics[0].cards.yellowred)))}},m={class:"sport sport--top-red"},u={key:0,class:"sport__wrapper"},g={class:"sport__table"},y={class:"sport__cell sport__cell--badge"},R={class:"sport__badge-val"},C={class:"sport__cell sport__cell--player"},v={class:"sport__media-group"},w=["src","alt"],S={class:"sport__cell sport__cell--team"},f={class:"sport__media-group"},k=["src","alt"],b={key:1,class:"sport__empty"};function T(e,r,x,B,d,N){return o(),a("div",m,[d.topRedCards&&d.topRedCards.length>0?(o(),a("div",u,[s("table",g,[r[0]||(r[0]=s("thead",null,[s("tr",{class:"sport__header-row"},[s("th",{class:"sport__header sport__header--badge"},"PIROS"),s("th",{class:"sport__header sport__header--player"},"JÁTÉKOS"),s("th",{class:"sport__header sport__header--team"},"CSAPAT")])],-1)),s("tbody",null,[(o(!0),a(n,null,p(d.topRedCards,(t,_)=>(o(),a("tr",{key:"top-red-"+_,class:"sport__row"},[s("td",y,[s("span",R,l(t.statistics[0].cards.red+t.statistics[0].cards.yellowred),1)]),s("td",C,[s("div",v,[t.player.photo?(o(),a("img",{key:0,src:t.player.photo,alt:t.player.name,loading:"lazy",class:"sport__player-img"},null,8,w)):i("",!0),s("span",null,l(t.player.name),1)])]),s("td",S,[s("div",f,[t.statistics[0].team.logo?(o(),a("img",{key:0,src:t.statistics[0].team.logo,alt:t.statistics[0].team.name,loading:"lazy",class:"sport__team-logo"},null,8,k)):i("",!0),s("span",null,l(t.statistics[0].team.name),1)])])]))),128))])])])):(o(),a("div",b,[...r[1]||(r[1]=[s("i",{class:"mdi mdi-clock-outline sport__empty-icon"},null,-1),s("span",null,"Nincs még elérhető adat.",-1)])]))])}const A=Object.assign(c(h,[["render",T]]),{__name:"LiveScoreTopRed"});export{A 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.