System.register(["./p-5e377a26.system.js","./p-4166d436.system.js","./p-db5487c5.system.js","./p-0bbf3c73.system.js","./p-da593370.system.js","./p-512597e1.system.js","./p-8293eefa.system.js","./p-175b60af.system.js","./p-cf1d7967.system.js","./p-e847e88b.system.js","./p-58f2f536.system.js","./p-7a93391b.system.js","./p-942ebda3.system.js","./p-61f711e3.system.js","./p-34aaddc8.system.js","./p-ac291838.system.js","./p-a1a7dc06.system.js","./p-d548b705.system.js","./p-02dbbe4e.system.js","./p-f8bf4b87.system.js","./p-9e8049b8.system.js","./p-cb044807.system.js","./p-b1e4c9f9.system.js","./p-90b7d919.system.js","./p-417ebfe3.system.js","./p-83a23a40.system.js","./p-91343653.system.js","./p-8e4283bf.system.js","./p-fe1f76a3.system.js","./p-66d9c61b.system.js","./p-e1b18076.system.js","./p-d86a8e66.system.js","./p-dfb1d72b.system.js","./p-2c94eaa0.system.js","./p-c8cd0c1c.system.js","./p-17ac6394.system.js","./p-01d3bf86.system.js","./p-b70120a8.system.js","./p-704a1960.system.js","./p-cf414e13.system.js","./p-2975a410.system.js","./p-a0c1f16a.system.js"],(function(n){"use strict";var t,s,e,i,o,f,r,c,u;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;u=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(){},function(){},function(){},function(){},function(){}],execute:function(){var a=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,u=s.userId,a=t.headers;var p=i(f,a);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",u).then((function(t){n.user=t}));p.getMetadataOfUser(e,c==="mentor"?"mentors":"mentees",u).then((function(t){n.userMetadata=t}));if(c==="mentor"){p.getMentorshipOfUser(e,u).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,a=n.userMetadata,p=n.viewConfigWrapper;var m=r().context;if(!t||!i||!o||!a||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,a,f);return s("mentornity-root-wrapper",null,s("dvn-card",null,s("dvn-app-view-form-view",{params:u(m,i,o,a,f),view:y})))};return n}());e(a)}}}));