import{r as e,h as t}from"./p-ec7718e6.js";import"./p-25c0eb4f.js";import"./p-acad969c.js";import{C as i}from"./p-fff957ef.js";const a=class{constructor(t){e(this,t)}render(){const{i18n:e,meeting:a,meetingConfig:n,meetingOrder:s}=this,r=!!a;let o;if(a){const t=new Date(1e3*a.startDate),n=new Date(1e3*a.endDate);o=`${i.format(t,e.dateFormatDay||"DD MMM")}, ${i.format(t,e.dateFormatTime||"HH:mm")} - ${i.format(n,e.dateFormatTime||"HH:mm")}`}return t("dvn-card",{elevation:0,leaned:!0,width:"100%"},t("div",null,t("div",{class:{step:!0,completed:r}},r?t("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSI0MDIiIHdpZHRoPSI1ODIiIHk9Ii0xIiB4PSItMSIvPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxwYXRoIGZpbGw9IiMwMGJkOWMiIGlkPSJzdmdfMSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJtMjEuNjUyLDMuMjExYy0wLjI5MywtMC4yOTUgLTAuNzcsLTAuMjk1IC0xLjA2MSwwbC0xMS4xODEsMTEuMTI5Yy0wLjI5MywwLjI5NyAtMC43NzEsMC4yOTcgLTEuMDYyLDBsLTQuODk5LC00Ljk4OWMtMC4xNDUsLTAuMTQ4IC0wLjMzNSwtMC4yMjEgLTAuNTI2LC0wLjIyMmMtMC4xOTMsLTAuMDAxIC0wLjM4OSwwLjA3MiAtMC41MzYsMC4yMjJsLTIuMTY1LDEuOTQ2Yy0wLjE0NCwwLjE0OCAtMC4yMjIsMC4zMzMgLTAuMjIyLDAuNTI2YzAsMC4xOTQgMC4wNzgsMC4zOTcgMC4yMjMsMC41NDRsNC45NCw1LjE4NGMwLjI5MiwwLjI5NiAwLjc3MSwwLjc3NiAxLjA2MiwxLjA3bDIuMTI0LDIuMTQxYzAuMjkyLDAuMjkzIDAuNzY5LDAuMjkzIDEuMDYyLDBsMTQuMzY2LC0xNC4zNGMwLjI5MywtMC4yOTQgMC4yOTMsLTAuNzc3IDAsLTEuMDcxbC0yLjEyNSwtMi4xNHoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPgogPC9nPgo8L3N2Zz4=",alt:"completed"}):s),n.name),t("div",{class:"meeting-date"},o),t("dvn-card-footer",{slot:"footer",alignRight:!0},!r&&(this.showCreateMeetingButton?t("dvn-button",{scale:"small",view:"outline",onClick:()=>this.onCreateMeeting(n)},e.createMeeting||"Schedule Session"):t("div",{class:"d-flex flex-grow-1"},t("dvn-button",{scale:"small",tagMode:!0,view:"ghost"},e.meetingWillBeCreated||"Will be scheduled"))),r&&t("dvn-button",{scale:"small",tint:"secondary",view:"outline",onClick:()=>this.onShowMeetingDetail(a)},e.goToMeetingPage||"Go to Session Page"),t("dvn-button",{leaned:!0,scale:"small",view:"flat",onClick:()=>this.onShowMeetingConfigDetail(n)},e.viewDetails||"View Details")))}};a.style="atama-structured-pair-overview-meeting-row-intense{display:flex;margin-bottom:calc(4 * var(--spacing-unit));position:relative}atama-structured-pair-overview-meeting-row-intense:first-child{margin-top:calc(2 * var(--spacing-unit))}atama-structured-pair-overview-meeting-row-intense:last-child{margin-bottom:calc(2 * var(--spacing-unit))}atama-structured-pair-overview-meeting-row-intense .step{display:inline-flex;align-items:center;justify-content:center;margin:0 calc(2 * var(--spacing-unit)) 0 0;height:calc(5 * var(--spacing-unit));width:calc(5 * var(--spacing-unit));border-radius:50%;font-weight:bold;font-size:var(--font-size-small);color:var(--color-text-secondary);background:var(--color-disabled);cursor:default}atama-structured-pair-overview-meeting-row-intense .step.completed{background:#D2F0E9}atama-structured-pair-overview-meeting-row-intense .step img{height:calc(3 * var(--spacing-unit));width:calc(3 * var(--spacing-unit))}atama-structured-pair-overview-meeting-row-intense .meeting-date{color:var(--color-secondary);margin-top:calc(1 * var(--spacing-unit));margin-left:calc(7 * var(--spacing-unit));font-weight:bold}";export{a as atama_structured_pair_overview_meeting_row_intense}