PageSourceSearch

https://www.nitro-tv.de/_nuxt/DhmsAoKz.js

js nitro-tv.de collected 2026-09-24 23:36:23 UTC 4,284 bytes, 1 lines download raw bytes

1import{_ as T}from"./Y75iBPNO.js";import{d as P,C as f,c as i,x as s,z as l,i as m,D as k,E as D,y as _,l as d,F as y,r as w,G as E,o}from"./CZ7uo5US.js";import{_ as M}from"./BjhOJPUw.js";const V={key:0,class:"container mbs"},R={class:"epg-series-episode-guide"},U={key:0,class:"epg-series-episode-guide__row epg-series-episode-guide__prevnext d-flex justify-content-between align-items-center list-unstyled"},j={class:"epg-series-episode-guide__prev"},z={class:"epg-series-episode-guide__next"},B={class:"epg-series-episode-guide__navi list-unstyled d-flex justify-content-between"},G=["onClick"],I={href:"#"},$={key:1,class:"epg-series-episode-guide__content"},q={class:"col-12 col-md-4 epg-series-episode-guide__image"},A=["src","alt"],H={class:"col-12 col-md-8"},J={class:"epg-series-episode-guide__teaser-meta"},K={key:0,class:"epg-series-episode-guide__teaser-headline"},O={key:1,class:"epg-series-episode-guide__teaser-category"},Q={key:2},W={key:3,class:"epg-series-episode-guide__rtlpluslink"},X=["href"],Y={key:2,class:"row justify-content-center mbs"},se=P({__name:"EpgSeriesEpisodeGuideModule",props:{componentData:{}},setup(C){const a=C,x=a.componentData?.headline||"Episoden";let p=f(a.componentData?.navigation),v=f(a.componentData?.epg_data),g=f(!1);const L=()=>{let n=!1;return a.componentData&&a.componentData.controller&&a.componentData.navigation&&a.componentData.navigation.current&&a.componentData.navigation.days&&a.componentData.navigation.days.length>0&&a.componentData.epg_data&&a.componentData.epg_data.length>0&&(n=!0),n},N=(n,t)=>{let e="";const r=u();if(r)return n==r.current&&(e+="active "),n!=r.current&&n!=r.prev&&n!=r.next&&(r.next!=null||t!=r.days.length-3)&&(r.prev!=null||t!=2)&&(e+="d-none d-md-block"),e},b=n=>{const t=Date.parse(n);return`${new Intl.DateTimeFormat("de",{weekday:"long"}).format(t).slice(0,2)}, ${new Intl.DateTimeFormat("de",{day:"2-digit",month:"2-digit",year:"2-digit"}).format(t)}`},F=n=>{const t=Number(n.start_time),e=Number(n.end_time);return t>0&&e>0&&e>t?Math.ceil((e-t)/6e4):0},h=async(n,t)=>{n.preventDefault(),g.value=!0;const e={date:t,seriesId:a.componentData?.series_id.toString()},r=new URLSearchParams(e).toString(),c=await $fetch("/api/epgGuide?"+r);g.value=!1,c&&(c.navigation&&(p.value=c.navigation),c.epg_data&&(v.value=c.epg_data))},u=()=>p.value?p.value:null,S=()=>v.value?v.value:null;return(n,t)=>L()?(o(),i("section",V,[s("h3",null,l(m(x)),1),s("div",R,[m(p)?(o(),i("ul",U,[s("li",j,[k(s("a",{href:"#",onClick:t[0]||(t[0]=e=>h(e,u()?.prev))},[...t[2]||(t[2]=[s("span",{class:"d-md-none"},[s("i",{class:"icon-Chevron-Left"}),_(" Vorherige")],-1),s("span",{class:"d-none d-md-inline"},[s("i",{class:"icon-Chevron-Left"}),_(" Vorherige Folge")],-1)])],512),[[D,u()?.prev]])]),s("li",z,[k(s("a",{href:"#",onClick:t[1]||(t[1]=e=>h(e,u()?.next))},[...t[3]||(t[3]=[s("span",{class:"d-md-none"},[_("Nächste "),s("i",{class:"icon-Chevron-Right"})],-1),s("span",{class:"d-none d-md-inline"},[_("Nächste Folge "),s("i",{class:"icon-Chevron-Right"})],-1)])],512),[[D,u()?.next]])])])):d("",!0),s("ul",B,[(o(!0),i(y,null,w(u()?.days,(e,r)=>(o(),i("li",{key:e,class:E([N(e,r),"flex-fill"]),onClick:c=>h(c,e)},[s("a",I,l(b(e)),1)],10,G))),128))]),m(g)?d("",!0):(o(),i("div",$,[(o(!0),i(y,null,w(S(),e=>(o(),i("div",{key:e,class:"row epg-series-episode-guide__teaser"},[s("div",q,[e.image?(o(),i("img",{key:0,src:e.image,class:"img-fluid",alt:e.title,width:"960",height:"540",loading:"lazy"},null,8,A)):d("",!0)]),s("div",H,[s("div",J,l(e.weekday.slice(0,2))+", "+l(e.date)+" • "+l(e.start_runtime)+" • "+l(F(e))+" Minuten ",1),e.title?(o(),i("div",K,l(e.title),1)):d("",!0),e.episode_title?(o(),i("div",O,l(e.episode_title),1)):d("",!0),e.description?(o(),i("p",Q,l(e.description),1)):d("",!0),e.rtlPlusLink?(o(),i("div",W,[s("a",{href:("getUtmParamsForLink"in n?n.getUtmParamsForLink:m(T))(e.rtlPlusLink,"teaser_tv-programm"),target:"_blank"},[...t[4]||(t[4]=[_(" Sendung ansehen auf  ",-1),s("img",{src:M,width:"80",alt:"RTL+"},null,-1)])],8,X)])):d("",!0)]),t[5]||(t[5]=s("div",{class:"col-12"},[s("hr",{class:"epg-series-episode-guide__bottom-line"})],-1))]))),128))])),m(g)?(o(),i("div",Y,[...t[6]||(t[6]=[s("div",{class:"loader-module p-0"},null,-1)])])):d("",!0)])])):d("",!0)}});
1export{se 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.