1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ResponsiveImage.Cz9svYtS.js","./ResponsiveImage.vue.CHgZCLcN.js","./entry.Qot5eQPL.js","./entry.DVY2jBUN.css"])))=>i.map(i=>d[i]); 2import{d as H,r,c,a as o,e as s,u as d,b as l,f as t,t as f,B as u,C as x,l as g,k as N,E as b}from"./entry.Qot5eQPL.js";import{_ as B}from"./TvLogosTooltip.vue.B-xqpCLh.js";import{h}from"./moment.DgIkdrus.js";import"./da.HjpNRIUZ.js";const D=x(()=>b(()=>import("./ResponsiveImage.Cz9svYtS.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)),C=["href","aria-label"],A={class:"time"},E={class:"date-time-wrapper"},I=["innerHTML"],R=["innerHTML"],V={class:"teams"},j={key:0,class:"w-100 match-round text-secondary"},z={class:"home"},O={class:"d-flex align-items-center"},P=["innerHTML"],S=["innerHTML"],Y={class:"away"},G={class:"d-flex align-items-center"},$=["innerHTML"],q=["innerHTML"],F={class:"ms-auto d-flex align-items-center description-container"},J={key:0,class:"tournament-wrapper"},K={class:"tournament me-3 me-sm-4"},Q=["textContent"],p=H({__name:"GameListItemNormal",props:{filterLive:{type:Boolean,default:!1},game:{type:Object,default:null},tournament:{type:Object,default:null},shortNames:{type:Boolean,default:!1},showRound:{type:Boolean,default:!1},hideArrow:{type:Boolean,default:!1},tvlogos:{type:Array,default:null},tvlogosname:{type:Array,default:null},tvchannels:{type:Array,default:null},useNotificationDeeplink:{type:Boolean,default:!1},statusType:{type:String,default:null}},setup(e){const y=r(!1);typeof window<"u"&&(y.value="ontouchstart"in window||navigator.maxTouchPoints>0),r(!1),r(!1);const a=e,v=c(()=>a.game.status_type!="finished"?null:a.game.home_team.score==a.game.away_team.score?"result-x":a.game.home_team.score>a.game.away_team.score?"result-1":"result-2"),_=c(()=>k(a.game.date)),w=c(()=>!!(a.game.away_team&&a.game.home_team)),k=n=>h(n).format("HH:mm"),T=n=>{let i=h(),m=h(n);return a.game.status_type==="inprogress"?"":i.diff(m,"days")>363?m.format("D.M.YY"):m.format("D. MMM")},L=n=>a.useNotificationDeeplink?"https://www.bold.dk/kampdetaljer/"+n.id:n.url+"/kampinfo";return(n,i)=>{const m=D,M=B;return d(w)&&!e.filterLive?(l(),o("li",{key:0,class:g(["list-group-item list-games-item",["notstarted",d(v)]])},[t("a",{class:"matchesbar-link",href:L(e.game),"aria-label":e.game.home_team.name+" vs. "+e.game.away_team.name},[t("div",A,[t("div",E,[t("small",{innerHTML:T(e.game.date)},null,8,I),t("span",{innerHTML:d(_)},null,8,R)])]),t("div",V,[e.showRound&&e.game.round?(l(),o("small",j,f(e.game.round),1)):s("",!0),t("div",z,[t("div",O,[u(m,{"image-file-name":e.game.home_team.image_name!==null?e.game.home_team.image_name:"8653.png",width:16,height:16,alt:e.game.home_team.name,"image-type":"tag",class:"me-1"},null,8,["image-file-name","alt"]),e.shortNames?(l(),o("p",{key:0,class:"teamname d-md-none",innerHTML:e.game.home_team.shortname},null,8,P)):s("",!0),t("p",{class:g([{"d-none d-md-inline-block":e.shortNames},"teamname"]),innerHTML:e.game.home_team.name},null,10,S)])]),t("div",Y,[t("div",G,[u(m,{"image-file-name":e.game.away_team.image_name!==null?e.game.away_team.image_name:"8653.png",width:16,height:16,alt:e.game.away_team.name,"image-type":"tag",class:"me-1"},null,8,["image-file-name","alt"]),e.shortNames?(l(),o("p",{key:0,class:"d-md-none teamname",innerHTML:e.game.away_team.shortname},null,8,$)):s("",!0),t("p",{class:g(["teamname",{"d-none d-md-inline-block":e.shortNames}]),innerHTML:e.game.away_team.name},null,10,q)])])]),t("div",F,[e.tournament?(l(),o("div",J,[t("div",K,[t("small",{class:"text-secondary d-none d-sm-inline-block mx-2",textContent:f(e.tournament.name)},null,8,Q),e.tournament.image_name?(l(),N(m,{key:0,"image-file-name":e.tournament.image_name,alt:e.tournament.name,title:e.tournament.name,width:20,height:20,"image-type":"tag"},null,8,["image-file-name","alt","title"])):s("",!0)])])):s("",!0),u(M,{tvchannels:e.tvchannels,tvlogos:e.tvlogos,tvlogosname:e.tvlogosname},null,8,["tvchannels","tvlogos","tvlogosname"])])],8,C)],2)):s("",!0)}}});export{p 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.