1import{_,a as h}from"./C_P-waGQ.js";import{_ as p}from"./lQYzaFrR.js";import{_ as g}from"./BZDbNa4u.js";import{s as i,a as v}from"./C7RW14mr.js";import{_ as S,k as T,o as r,e as y,i as e,t as s,ay as o,f as n,h as l,x as m,q as d,g as f,O}from"./CjU924Rn.js";const E=T({name:"CompactEvent",components:{HMInstructorsStack:p,StudioEventTypeComponent:_,EventNameComponent:h},props:{event:{type:Object},highlight:{type:Boolean,default:!1},displayRegistrations:{type:Boolean,default:!1}},computed:{eventInstructors(){return this.event.instructors},eventSubstituteInstructors(){return this.event.substitute_instructors},numberOfSubstituteInstructors(){var t;return((t=this.eventSubstituteInstructors)==null?void 0:t.length)||0},numberOfInstructors(){var t;return((t=this.eventInstructors)==null?void 0:t.length)||0},getSubstituteOrInitialIntructors(){return this.numberOfSubstituteInstructors?this.eventSubstituteInstructors:this.eventInstructors},getNumberOfSubstituteOrInitialIntructors(){var t;return((t=this.getSubstituteOrInitialIntructors)==null?void 0:t.length)||0},hasInstructors(){return this.numberOfInstructors+this.numberOfSubstituteInstructors>0}},methods:{shortDate(t,a){return i(t,a)},shortTime(t){return v(t)}}}),N={class:"time-info d-flex flex-column align-items-start justify-content-start text-nowrap"},x={class:"c-charcoal"},C={class:"smaller"},D={class:"event-details-info d-flex flex-column align-items-start text-nowrap text-truncate ms-3 ms-md-4"},B={class:"instructors-info d-none d-md-flex justify-content-end flex-grow-1 ms-4"},w={class:"d-flex flex-column align-items-center"},k={class:"instructors-info d-flex d-md-none justify-content-end flex-grow-1"},M={class:"d-flex flex-column align-items-center"};function V(t,a,$,A,R,j){const I=h,b=_,u=p,c=g;return r(),y("div",{class:O(["event d-flex flex-row align-items-center border-bottom py-3 px-1 px-md-3",{highlight:t.highlight}]),ref:("shortDate"in t?t.shortDate:o(i))(t.event.event_start_datetime,"MM-DD")},[e("div",N,[e("div",x,s(("shortDate"in t?t.shortDate:o(i))(t.event.event_start_datetime,"MMM DD")),1),e("div",C,s(("shortTime"in t?t.shortTime:o(v))(t.event.event_start_datetime)),1)]),e("div",D,[n(I,{class:"c-charcoal mw-100 text-truncate",eventName:t.event.event_name,isCancelled:t.event.is_cancelled},null,8,["eventName","isCancelled"]),n(b,{event:t.event,displayRegistrations:t.displayRegistrations},null,8,["event","displayRegistrations"])]),e("div",B,[e("div",w,[n(u,{class:"min-width-70",instructors:t.getSubstituteOrInitialIntructors,size:"36px"},null,8,["instructors"]),t.numberOfSubstituteInstructors>0?(r(),l(c,{key:0,class:"smallest mt-1"},{default:m(()=>[d(s(t.$t("EVENTS.LABEL.SUBSTITUTE_VARIANT",t.numberOfSubstituteInstructors)),1)]),_:1})):f("",!0)])]),e("div",k,[e("div",M,[n(u,{class:"min-width-70",instructors:t.getSubstituteOrInitialIntructors,size:"28px"},null,8,["instructors"]),t.numberOfSubstituteInstructors>0?(r(),l(c,{key:0,class:"smallest mt-1"},{default:m(()=>[d(s(t.$t("EVENTS.LABEL.SUBSTITUTE_VARIANT",t.numberOfSubstituteInstructors)),1)]),_:1})):f("",!0)])])],2)}const F=S(E,[["render",V],["__scopeId","data-v-e9ee0dd9"]]);export{F as _}; 2//# sourceMappingURL=CksWBIrz.js.map
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.