1import{_ as W}from"./Image.vue.yussY_Vy.js";import{_ as j}from"./DateTabs.LeUz98Pr.js";import{_ as O}from"./PageRightColumn.vue.USWrvE01.js";import{u as L,a as q,c as Y}from"./canonicalUrlHelper.3rXC01wj.js";import{c as z}from"./programs.jTOornsH.js";import{_ as J}from"./play.D3R0Rnoe.js";import{h as K,j as k,m as Q,k as N,d as X,c as w,r as Z,w as b,f as c,g as a,b as l,a as ee,l as f,t as i,n as x,F as u,q as se,s as ae,v as te,o as n,x as p,_ as oe}from"./entry.PA-trY5-.js";import{u as ne}from"./guide.kAcpUF-w.js";import{h as y,u as re}from"./regions.mj38UTa9.js";import"./PageAdvertisement.syWaIo41.js";const ce=K({id:"channels",state:()=>({channel:{},schedule:[]}),getters:{getChannel:e=>e.channel,getSchedule:e=>e.schedule},actions:{async fetch(e){const r=k().public.apiBaseUrl;this.channel=await $fetch(`${r}channels/${e}`)},async fetchByRegion(e,r){const o=k().public.apiBaseUrl;this.channel=await $fetch(`${o}channels/${e}/${r}`)},async fetchSchedule(e,r){const o=k().public.apiBaseUrl;this.schedule=await $fetch(`${o}channels/${e}/${Q(r).format("yyyy-MM-DD")}`)}}});function ie(e){const{public:{siteImage:r}}=k(),o=N();let h=e.metaData.title??`${e.name} TV Guide`,m=e.metaData.description??`View the complete ${e.name} TV Guide to find out what and when all your favourite shows are on. TV Guide Tonight is your one-stop source for all programming schedules ${e.name}. Stay in the loop with the latest shows, sports, movies, and more featured on ${e.name}. TVGuideTonight.com.au is your trusted source for Australian television listings.`;if(o.params.day)switch(o.params.day){case"yesterday":h=`${e.name} TV Guide Yesterday`,m=`TV Guide Tonight is your trusted source for yesterday's ${e.name} programming in Australia. Find out what aired and when, from your favourite shows to sports, movies, and more. Missed an episode? Get the full rundown of the ${e.name} lineup and revisit TV highlights from yesterday. Stay connected with the Australian television scene and keep abreast of all ${e.name} schedules with TVGuideTonight.com.au.`;break;case"tomorrow":h=`${e.name} TV Guide Tomorrow`,m=`TV Guide Tonight is your trusted source for planning tomorrow's ${e.name} programming in Australia. View our complete guide to discover when your favourite shows, live sports, movies, and more are airing on ${e.name}. Stay ahead with our comprehensive schedules, covering not only ${e.name} but also other networks and channels. Explore what's on TV tomorrow and stay in the loop with the vibrant world of Australian television via TVGuideTonight.com.au.`;break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":const v=o.params.day.charAt(0).toUpperCase()+o.params.day.slice(1);h=`${e.name} ${v} TV Guide`,m=`TV Guide Tonight is your go-to source for ${e.name}'s ${v} programming in Australia. Explore our complete TV schedule to stay updated with your favourite shows, sports, and movies across all networks. Discover what's on ${e.name} this ${v} and stay connected with Australian television via TVGuideTonight.com.au.`;break}return{title:h,description:m,ogTitle:h,ogDescription:m,ogImage:r}}const $=e=>(ae("data-v-19cb1a0c"),e=e(),te(),e),de={class:"channel-header"},le={class:"content"},ue={class:"channel-content flex"},he={class:"channel flex"},me=$(()=>a("div",{class:"opacity"},null,-1)),pe={class:"channel-header-text"},_e=$(()=>a("div",{class:"opacity"},null,-1)),fe={class:"padding flex"},ye={class:"guide-date-tabs"},ve={class:"columns flex columns--opacity"},we={class:"coloum column--left"},ge={class:"results"},Te={class:"result flex"},ke={class:"result-content"},$e=$(()=>a("div",{class:"opacity"},null,-1)),Se={class:"content"},Ve={class:"show-information"},be=["href"],De={key:1},xe={class:"show-information flex"},Ge={class:"show-time"},Ne={key:0,class:"show-extra"},Ce={class:"links-area flex"},Be=["href"],Me=$(()=>a("span",null,[p("Watch On 7plus "),a("img",{class:"watch-logo",src:J,width:"16",height:"22",alt:"Watch now"})],-1)),Ae=[Me],G=5,Ie=24,Re=X({__name:"index",props:{date:{type:Date,default:y().startOf("day").toDate()}},async setup(e){let r,o;const h=e,m=N(),v=re(),C=w(()=>v.getSelectedRegion),g=ce(),d=w(()=>g.getChannel),B=w(()=>g.getSchedule),D=ne(),M=w(()=>D.getFirstDay),A=w(()=>D.getLastDay),S=Z(h.date);w(()=>{let t=[];for(let _=0;_<Ie;_++){const T=y().hour(_).format("h a"),V=y().hour(_).minute(30).format("h:mm");t.push(T,V)}return[...t.slice(G*2),...t.slice(0,G*2)]});const I=t=>y(t).format("dddd D MMMM"),R=(t,_)=>{const T=y(t).add(_,"minutes");return y(t).format("h:mm")+" - "+y(T).format("h:mm a")},U=async t=>{t>
1=M.value&&t<=A.value&&(await g.fetchSchedule(d.value.id,t),S.value=t)},H=m.params.channel,E=m.params.day;[r,o]=b(()=>v.fetchSelectedRegion()),await r,o(),[r,o]=b(()=>g.fetchByRegion(C.value.id,H)),await r,o(),[r,o]=b(()=>g.fetchSchedule(d.value.id,h.date)),await r,o();const F=ie(d.value);return L(F),q({link:[{rel:"canonical",href:Y(d.value.link,E)}],script:[{src:"../js/ipsos-otherpages.js",async:!0}]}),(t,_)=>{const T=W,V=j,P=O;return n(),c(u,null,[a("div",de,[a("div",le,[a("div",ue,[a("div",he,[me,l(d).logoImage?(n(),ee(T,{key:0,src:l(d).logoImage,width:200,alt:l(d).name,trim:!0},null,8,["src","alt"])):f("",!0)]),a("div",pe,[_e,a("div",fe,[a("h1",null,i(l(d).name)+" Guide - "+i(I(l(S))),1),a("p",null,"Browse the tv shows listed below for "+i(l(d).name)+" that are pulled from our TV Guide, to check available show times and find out more.",1)])])]),a("div",ye,[x(V,{"selected-date":l(S),"selected-slug":l(d).link,"change-schedule":U},null,8,["selected-date","selected-slug"])])])]),a("div",ve,[a("div",we,[a("div",ge,[(n(!0),c(u,null,se(l(B),s=>(n(),c("div",Te,[a("div",ke,[$e,a("div",Se,[a("div",Ve,[s.link?(n(),c("a",{key:0,href:s.link,class:"show-link"},[a("h4",null,i(s.name),1)],8,be)):(n(),c("h4",De,i(s.name),1)),a("ul",xe,[a("li",Ge,i(R(s.date,s.duration)),1),s.season||s.episode||s.episodeName?(n(),c("li",Ne,[s.season&&s.episode?(n(),c(u,{key:0},[p(" Season "+i(s.season)+", Episode "+i(s.episode)+" ",1),s.episodeName?(n(),c(u,{key:0},[p(": "+i(s.episodeName),1)],64)):f("",!0)],64)):s.season?(n(),c(u,{key:1},[p(" Season "+i(s.season)+" ",1),s.episodeName?(n(),c(u,{key:0},[p(": "+i(s.episodeName),1)],64)):f("",!0)],64)):s.episode?(n(),c(u,{key:2},[p(" Episode "+i(s.episode)+" ",1),s.episodeName?(n(),c(u,{key:0},[p(": "+i(s.episodeName),1)],64)):f("",!0)],64)):s.episodeName?(n(),c(u,{key:3},[p(i(s.episodeName),1)],64)):f("",!0)])):f("",!0)]),a("div",Ce,[s.vod?(n(),c("a",{key:0,class:"watch-on",href:("campaignTrackingHelper"in t?t.campaignTrackingHelper:l(z))(s.vod,"SWM-TVguide",s.name,"watch-on-7plus-button-channel"),target:"_blank"},Ae,8,Be)):f("",!0)])])])])]))),256))])]),x(P,{advertTitle:l(d).name,advertPath:l(d).link},null,8,["advertTitle","advertPath"])])],64)}}}),Ye=oe(Re,[["__scopeId","data-v-19cb1a0c"]]);export{Ye 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.