import{r as registerInstance,h,H as Host}from"./index-ecdfb761.js";var MentornityWcBridge=function(){function t(t){registerInstance(this,t)}t.prototype.componentWillLoad=function(){var t=this,e=t.accessToken,o=t.sessionToken,i=t.organisationId,n=t.organisationDomain,r=t.role,s=t.userId,a=t.groupId,c=t.language,d=t.timeZone,u=t.timeFormat,h=t.dateFormat,m=t.weekStartDay,g=t.isZoomAuthenticated,l=t.isGoogleAuthenticated,p=t.isMicrosoftAuthenticated,f=t.isMicrosoftBusinessAuthenticated;this.contextParams={accessToken:e,sessionToken:o,organisationId:i,organisationDomain:n,role:r,userId:s,groupId:a,language:c,timeZone:d,timeFormat:u,dateFormat:h,weekStartDay:m,isZoomAuthenticated:g,isGoogleAuthenticated:l,isMicrosoftAuthenticated:p,isMicrosoftBusinessAuthenticated:f}};t.prototype.render=function(){var t=this.component;var e={};if(this.extraProps){this.extraProps.split("&").forEach((function(t){var o=t.split("="),i=o[0],n=o[1];e[i]=n}))}return h(Host,{class:"d-flex flex-grow-1",style:{overflow:"hidden"}},h("mentornity-root-wrapper",null,h(t,{contextParams:this.contextParams,extraProps:e})))};return t}();export{MentornityWcBridge as mentornity_wc_bridge};