System.register(["./p-5b6828db.system.js","./p-9c86ff48.system.js","./p-805e81fb.system.js","./p-0bbf3c73.system.js","./p-da593370.system.js","./p-3b429006.system.js","./p-2957c5d8.system.js","./p-855aac23.system.js","./p-e847e88b.system.js","./p-58f2f536.system.js","./p-9424fd5c.system.js","./p-f1345828.system.js","./p-fa32c614.system.js","./p-ac291838.system.js","./p-b42ad17a.system.js","./p-5f835359.system.js","./p-9cd38fce.system.js","./p-23628d1c.system.js","./p-62034033.system.js","./p-1b089731.system.js","./p-90b7d919.system.js","./p-2db4f08c.system.js","./p-c67a319b.system.js","./p-cae65cfa.system.js","./p-fe1f76a3.system.js","./p-66d9c61b.system.js","./p-04a8d136.system.js","./p-d86a8e66.system.js","./p-c23ad828.system.js","./p-dfb1d72b.system.js","./p-f386a539.system.js","./p-c6941fd6.system.js","./p-b70120a8.system.js","./p-8a70842c.system.js","./p-d747c434.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.b},function(n){f=n.g;r=n.m},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=f(),s=t.context,e=s.organisationId,c=s.role,a=s.userId,u=t.headers;var p=i(r,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,r=n.userMentorship,u=n.userMetadata,p=n.viewConfigWrapper;var m=f().context;if(!t||!i||!o||!u||m.role==="mentor"&&!r){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,r);return s("mentornity-root-wrapper",null,s("dvn-card",null,s("dvn-app-view-form-view",{params:a(m,i,o,u,r),view:y})))};return n}());e(u)}}}));