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,r=t.organisationId,n=t.organisationDomain,a=t.role,i=t.userId,s=t.groupId,c=t.language,m=t.timeZone,d=t.timeFormat,p=t.dateFormat,g=t.weekStartDay,u=t.isZoomAuthenticated;this.contextParams={accessToken:e,sessionToken:o,organisationId:r,organisationDomain:n,role:a,userId:i,groupId:s,language:c,timeZone:m,timeFormat:d,dateFormat:p,weekStartDay:g,isZoomAuthenticated:u}};t.prototype.render=function(){var t=this.component;var e={};if(this.extraProps){this.extraProps.split("&").forEach((function(t){var o=t.split("="),r=o[0],n=o[1];e[r]=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};