Vue.filter("moment",function(s,t,e){return!1!==e?moment(s).utc().format(t):moment(s).format(t)}),Vue.filter("eventCSS",function(s){var t=[];t.push(s.future?"wcs-class--not-started":"wcs-class--started"),t.push(s.finished?"wcs-class--finished":"wcs-class--not-finished");for(var e in s.terms)for(var r in s.terms[e])t.push("wcs-class--term-id-"+s.terms[e][r].id),t.push("wcs-class--term-"+s.terms[e][r].slug);switch(t.push("wcs-class--day-"+moment(s.start).utc().day()),!0){case moment(s.start).utc().hour()>=0&&moment(s.start).utc().hour()<=11:t.push("wcs-class--time-morning");break;case moment(s.start).utc().hour()>11&&moment(s.start).utc().hour()<=16:t.push("wcs-class--time-afternoon");break;case moment(s.start).utc().hour()>16&&moment(s.start).utc().hour()<=23:t.push("wcs-class--time-evening");break}return s.visible||t.push("wcs-class--canceled"),t.join(" ")});