import{r as registerInstance,h}from"./index-102043e0.js";import{C as CalendarUtils}from"./calendar-622f8c95.js";import"./index-3958847a.js";import"./_commonjsHelpers-27f122dd.js";import"./moment-6f6ab70c.js";var atamaStructuredPairOverviewMeetingRowIntenseCss="atama-structured-pair-overview-meeting-row-intense{display:-ms-flexbox;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:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack: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}";var checkIconBase64="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSI0MDIiIHdpZHRoPSI1ODIiIHk9Ii0xIiB4PSItMSIvPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxwYXRoIGZpbGw9IiMwMGJkOWMiIGlkPSJzdmdfMSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJtMjEuNjUyLDMuMjExYy0wLjI5MywtMC4yOTUgLTAuNzcsLTAuMjk1IC0xLjA2MSwwbC0xMS4xODEsMTEuMTI5Yy0wLjI5MywwLjI5NyAtMC43NzEsMC4yOTcgLTEuMDYyLDBsLTQuODk5LC00Ljk4OWMtMC4xNDUsLTAuMTQ4IC0wLjMzNSwtMC4yMjEgLTAuNTI2LC0wLjIyMmMtMC4xOTMsLTAuMDAxIC0wLjM4OSwwLjA3MiAtMC41MzYsMC4yMjJsLTIuMTY1LDEuOTQ2Yy0wLjE0NCwwLjE0OCAtMC4yMjIsMC4zMzMgLTAuMjIyLDAuNTI2YzAsMC4xOTQgMC4wNzgsMC4zOTcgMC4yMjMsMC41NDRsNC45NCw1LjE4NGMwLjI5MiwwLjI5NiAwLjc3MSwwLjc3NiAxLjA2MiwxLjA3bDIuMTI0LDIuMTQxYzAuMjkyLDAuMjkzIDAuNzY5LDAuMjkzIDEuMDYyLDBsMTQuMzY2LC0xNC4zNGMwLjI5MywtMC4yOTQgMC4yOTMsLTAuNzc3IDAsLTEuMDcxbC0yLjEyNSwtMi4xNHoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPgogPC9nPgo8L3N2Zz4=";var AtamaStructuredPairOverview=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){var e=this;var t=this,i=t.i18n,a=t.meeting,r=t.meetingConfig,n=t.meetingOrder;var o=!!a;var s;if(a){var l=new Date(a.startDate);var c=new Date(a.endDate);s=CalendarUtils.format(l,(i===null||i===void 0?void 0:i.dateFormatDay)||"DD MMM")+", "+CalendarUtils.format(l,(i===null||i===void 0?void 0:i.dateFormatTime)||"HH:mm")+" - "+CalendarUtils.format(c,(i===null||i===void 0?void 0:i.dateFormatTime)||"HH:mm")}return h("dvn-card",{elevation:0,leaned:true,width:"100%"},h("div",null,h("div",{class:{step:true,completed:o}},o?h("img",{src:checkIconBase64,alt:"completed"}):n),r.name),h("div",{class:"meeting-date"},s),h("dvn-card-footer",{slot:"footer",alignRight:true},!o&&h("div",{class:"d-flex flex-grow-1"},h("dvn-button",{scale:"small",tagMode:true,view:"ghost"},(i===null||i===void 0?void 0:i.notScheduled)||"Not scheduled")),o&&h("dvn-button",{scale:"small",tint:"secondary",view:"outline",onClick:function(){return e.onShowMeetingDetail(a)}},(i===null||i===void 0?void 0:i.goToMeetingPage)||"Go to Session Page"),h("dvn-button",{leaned:true,scale:"small",view:"flat",onClick:function(){return e.onShowMeetingConfigDetail(r)}},(i===null||i===void 0?void 0:i.viewDetails)||"View Details")))};return e}();AtamaStructuredPairOverview.style=atamaStructuredPairOverviewMeetingRowIntenseCss;export{AtamaStructuredPairOverview as atama_structured_pair_overview_meeting_row_intense};