System.register(["./p-c4df9d4b.system.js","./p-6d4bc86a.system.js","./p-77e9a1cf.system.js","./p-0bbf3c73.system.js","./p-da593370.system.js","./p-dbc597c0.system.js","./p-8293eefa.system.js","./p-5ccc23db.system.js","./p-a75fa61f.system.js","./p-e847e88b.system.js","./p-58f2f536.system.js","./p-8fde6e09.system.js","./p-e2e7329f.system.js","./p-637a7d5a.system.js","./p-ac291838.system.js","./p-1f1c7f78.system.js","./p-a333270e.system.js","./p-d1d51081.system.js","./p-23628d1c.system.js","./p-1e8d4d2d.system.js","./p-3bb22ffb.system.js","./p-90b7d919.system.js","./p-2db4f08c.system.js","./p-c67a319b.system.js","./p-c0811bf8.system.js","./p-fe1f76a3.system.js","./p-66d9c61b.system.js","./p-118612f6.system.js","./p-d86a8e66.system.js","./p-5a06f6ce.system.js","./p-dfb1d72b.system.js","./p-ff50522c.system.js","./p-a9ea84b4.system.js","./p-b70120a8.system.js","./p-92b2dcc8.system.js","./p-d200c939.system.js","./p-2975a410.system.js","./p-a0c1f16a.system.js"],(function(n){"use strict";var t,s,e,i,o,f,r,c,a;return{setters:[function(n){t=n.r;s=n.h},function(n){e=n.i},function(){},function(){},function(){},function(n){i=n.c;o=n.d},function(n){f=n.m},function(n){r=n.g},function(n){c=n.a;a=n.b},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var u=n("mentornity_membership_settings_wrapper",function(){function n(n){t(this,n);this.isViewConfigWrapperLoaded=false}n.prototype.onInvalidation=function(n){this.notifier.showCustomNotification(n.detail.notification)};n.prototype.componentWillLoad=function(){var n=this;var t=r(),s=t.context,e=s.organisationId,c=s.role,a=s.userId,u=t.headers;var p=i(f,u);p.getOrganisationConfig(e).then((function(t){n.organisationConfig=t}));var m=c==="mentor"?o.MentorInfoForm:o.MenteeInfoForm;p.getViewConfig(e,m).then((function(t){n.viewConfigWrapper=t})).finally((function(){return n.isViewConfigWrapperLoaded=true}));p.get("users",a).then((function(t){n.user=t}));p.getMetadataOfUser(e,c==="mentor"?"mentors":"mentees",a).then((function(t){n.userMetadata=t}));if(c==="mentor"){p.getMentorshipOfUser(e,a).then((function(t){n.userMentorship=t}))}};n.prototype.render=function(){var n=this,t=n.isViewConfigWrapperLoaded,e=n.language,i=n.organisationConfig,o=n.user,f=n.userMentorship,u=n.userMetadata,p=n.viewConfigWrapper;var m=r().context;if(!t||!i||!o||!u||m.role==="mentor"&&!f){return s("mentornity-root-wrapper",null,s("div",{class:"d-flex justify-content-center pt-3"},s("dvn-progress",{indefinite:true})))}var y=c(m,e,i,p,o,u,f);return s("mentornity-root-wrapper",null,s("dvn-card",null,s("dvn-app-view-form-view",{params:a(m,i,o,u,f),view:y})))};return n}());e(u)}}}));