import{f as c}from"./orderBy-DbTWENOv.js";import{M as _,U as m,a as u,N as p,O as f,o as s,w as i,P as o,b as n,Q as b,R as l,S as h,T as v}from"./setup-BuwH6Opq.js";const y={mixins:[m],props:{session:{type:Object,required:!0},eventTypeTitle:{type:String,required:!1,default:null}},computed:{formattedDate(){return c(this.session)},label(){const e=this.session.name||this.session.periodName;return!e||e===this.eventTypeTitle?this.eventTypeTitle:e},secondaryLabel(){return this.moment?this.formattedDate:null}}},g={class:"no-info bullet-status-date"},S={class:"full-tag"},T={key:0,class:l(["no-info","tag-status-date","full"])};function B(e,D,t,x,O,a){const r=u("BaseSelectOption"),d=p("tooltip");return s(),f(r,{ref:"option",label:a.label,"secondary-label":a.secondaryLabel,class:"registration-session-option max-w-3xl","data-testid":`session-option-${t.session.id}`},{"additional-left-part":i(()=>[v((s(),n("div",g,[o("div",{class:l(["bullet",t.session.status_date])},null,2)])),[[d,e.i18n.t(`dashboard_main_table_labels_${t.session.status_date}`)]])]),"additional-right-part":i(()=>[o("div",S,[t.session.is_registrants_limit_reached?(s(),n("span",T,h(e.i18n.t("dashboard_main_table_labels_full")),1)):b("",!0)])]),_:1},8,["label","secondary-label","data-testid"])}const C=_(y,[["render",B]]);export{C as R};