import{r as registerInstance,c as createEvent,h,H as Host}from"./index-55faf181.js";var MentornityScheduleMeetingButtonOnCard=function(){function e(e){registerInstance(this,e);this.action=createEvent(this,"action",7)}e.prototype.render=function(){var e=this;var t;var n=this.item;return h(Host,{class:"d-flex flex-column"},((t=n.availabilities)===null||t===void 0?void 0:t.length)>0?h("dvn-card",{leaned:true,selectable:true,selected:true,overrideStyle:{flex:1},tint:"primary",elevation:0,cornerRadius:10,onClick:function(){e.action.emit({type:"navigation",direction:"forward",name:"schedule-meeting",params:{item:n}})}},h("div",{class:"d-flex justify-content-between align-items-center text-primary"},h("span",null,"Get Meeting"),h("dvn-icon",{iconName:"uil uil-calendar-alt",scale:"large"}))):h("dvn-card",{leaned:true,overrideStyle:{flex:1},elevation:0,cornerRadius:10,outlined:true},h("div",{style:{lineHeight:"27px"}},"User has no availability")),h("div",{class:"d-flex justify-content-center pt-2"},h("dvn-button",{onClick:function(){e.action.emit({type:"navigation",direction:"forward",name:"view-details",params:{item:n}})},leaned:true,view:"flat"},"View Details")))};return e}();export{MentornityScheduleMeetingButtonOnCard as mentornity_schedule_meeting_button_on_card};