text: import{p as a,a as s,r as e,D as t,c as n,o as l,b as o,d as u,e as r,t as c,u as d,F as i,f as p,g as v,h as m,i as g}from"./vendor.82ab3a02.js";import{_ as b,a as f,b as x,s as h}from"./index.27240014.js";a("data-v-38687ee8");const N=r("span",{id:"presents"},"presents",-1),y={id:"now",class:"time"};s();const _={setup(a){const s=e(t.now()),p=n((()=>{const a=s.value;return a.second%2==0?a.toFormat("HH:mm"):a.toFormat("HH mm")})),v=e(""),m=e("");return l((()=>{setInterval((()=>{s.value=t.now()}),50),nodecg.Replicant("assets:logo").on("change",(a=>{var s;v.value=(null==(s=a[0])?void 0:s.url)||""})),nodecg.Replicant("assets:ome-logo").on("change",(a=>{var s;m.value=(null==(s=a[0])?void 0:s.url)||""}))})),(a,s)=>(o(),u(i,null,[r("img",{id:"logo-ome",src:m.value,alt:"OME"},null,8,["src"]),N,r("img",{id:"logo-pgrf",src:v.value,alt:"PGRF"},null,8,["src"]),r("div",y,c(d(p)),1)],64))},__scopeId:"data-v-38687ee8"};a("data-v-37b149d0");const k={id:"spotify"},R=r("div",{id:"hashtag-guide"},[v("hashtag: "),r("span",null,"#PGRF2")],-1);s();const j={setup(a){const s=p(),e=n((()=>s.state.spotify));return(a,s)=>(o(),u(i,null,[r("div",k,[r("span",null,"Now playing: "+c(d(e).title)+" / "+c(d(e).artist),1)]),R],64))},__scopeId:"data-v-37b149d0"};a("data-v-2fb5232a");const F={key:0,id:"up-next",class:"label"},I={key:1,class:"time"},w={class:"title"},H={class:"info"},O={class:"category"},P=r("span",{class:"label"},"Category: ",-1),S={class:"platform"},C=r("span",{class:"label"},"Platform: ",-1),E={class:"est"},B=r("span",{class:"label"},"EST: ",-1),D={class:"info"},G={class:"runner"},T=r("span",{class:"label"},"Runner: ",-1),A={class:"commentator"},M=r("span",{class:"label"},"Commentator: ",-1),U={class:"title"},X={class:"info"},q=r("span",{class:"label"},"Duration: ",-1),z={class:"time"};s();const J={props:{run:Object,upNext:Boolean},setup:a=>(s,e)=>(o(),u("div",{class:["run",{"later-than-next":!a.upNext}]},[a.upNext?(o(),u("p",F,"UP NEXT:")):(o(),u("div",I,c(a.run.startsAtOnSchedule())+"~",1)),a.run.isSetupBlock()?(o(),u("div",{key:3,class:["content-box setup",{next:a.upNext,"later-than-next":!a.upNext}]},[r("span",U,c(a.run.title),1),r("div",X,[q,r("span",z,c(a.run.est),1)])],2)):(o(),u("div",{key:2,class:["content-box",{next:a.upNext,"later-than-next":!a.upNext}]},[r("span",w,c(a.run.title),1),r("div",H,[r("div",O,[P,v(c(a.run.category),1)]),r("div",S,[C,v(c(a.run.platform),1)]),r("div",E,[B,v(c(a.run.est),1)])]),r("div",D,[r("div",G,[T,v(c(a.run.joinedRunnerNames()),1)]),r("div",A,[M,v(c(a.run.joinedCommentatorNames()),1)])])],2))],2)),__scopeId:"data-v-2fb5232a"};a("data-v-bffad1ea");const K={id:"schedule"};s();const L={setup(a){const s=p(),e=n((()=>s.getters.runsOnSchedule));return(a,s)=>(o(),u("div",K,[(o(!0),u(i,null,m(d(e),((a,s)=>(o(),u(J,{key:s,run:a,upNext:0===s},null,8,["run","upNext"])))),128))]))},__scopeId:"data-v-bffad1ea"};g({setup:a=>(a,s)=>(o(),u(i,null,[r(b),r(f,{animated:""}),r("header",null,[r(_)]),r("main",null,[r(L),r(x)]),r("footer",null,[r(j)])],64))}).use(h).mount("#root");
  