var __awaiter=this&&this.__awaiter||function(t,n,e,s){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function c(t){try{r(s.next(t))}catch(t){o(t)}}function a(t){try{r(s["throw"](t))}catch(t){o(t)}}function r(t){t.done?e(t.value):i(t.value).then(c,a)}r((s=s.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},s,i,o,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(n){return r([t,n])}}function r(c){if(s)throw new TypeError("Generator is already executing.");while(e)try{if(s=1,i&&(o=c[0]&2?i["return"]:c[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;if(i=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1];o=c;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(c);break}if(o[2])e.ops.pop();e.trys.pop();continue}c=n.call(t,e)}catch(t){c=[6,t];i=0}finally{s=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-343b3b10.system.js","./p-83b75450.system.js","./p-b195a819.system.js","./p-5f7bc72e.system.js","./p-da593370.system.js","./p-1708d7ff.system.js","./p-867d31c0.system.js","./p-a56cdd14.system.js","./p-6e7162e6.system.js","./p-6e679e9d.system.js","./p-abcb59d4.system.js","./p-ebdd1444.system.js","./p-6c3e6bdc.system.js","./p-356c131c.system.js","./p-d65f6afe.system.js","./p-0aeb0fcc.system.js","./p-dd468f04.system.js","./p-97c19fd0.system.js","./p-d309ff13.system.js","./p-cb044807.system.js","./p-ea3ce2c4.system.js","./p-90b7d919.system.js","./p-58d55c18.system.js","./p-83a23a40.system.js","./p-1e21bde6.system.js","./p-d3ef0b9c.system.js","./p-fe1f76a3.system.js","./p-66d9c61b.system.js","./p-e8fb2c75.system.js","./p-5a92fdf2.system.js","./p-93d5c6db.system.js","./p-26d154e9.system.js","./p-b20bab7e.system.js","./p-4e674be5.system.js","./p-48ea6857.system.js","./p-b0e93f3a.system.js","./p-b3cf23d4.system.js"],(function(t){"use strict";var n,e,s,i,o,c,a,r;return{setters:[function(t){n=t.r;e=t.h;s=t.H},function(t){i=t.S},function(){},function(){},function(){},function(t){o=t.c},function(t){c=t.g;a=t.s;r=t.a},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 u=t("mentornity_accept_invitation_wrapper",function(){function t(t){var e=this;n(this,t);this.getInvitation=function(){return __awaiter(e,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:t=this;return[4,this.api.getInvitation(this.paramsId)];case 1:t.invitation=n.sent();return[2]}}))}))}}t.prototype.componentWillLoad=function(){var t=c().headers;this.api=o(r,t);this.apiSozluk=(new i).setLanguage(this.language).setContents(a);this.getInvitation()};t.prototype.render=function(){if(!this.invitation)return;var t=this,n=t.invitation,i=t.apiSozluk,o=t.isLoggedIn,c=t.api,a=t.language;var r=n.organisation;return e(s,null,e("mentornity-root-wrapper",{class:"d-block"},e("div",{class:"pt-2",style:{background:"var(--color-background-secondary)"}},e("mentornity-accept-invitation-widget",{organisation:r,invitation:n,apiSozluk:i,api:c,isLoggedIn:o,language:a}))))};return t}())}}}));