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 r(t){try{u(s.next(t))}catch(t){o(t)}}function c(t){try{u(s["throw"](t))}catch(t){o(t)}}function u(t){t.done?e(t.value):i(t.value).then(r,c)}u((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,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(n){return u([t,n])}}function u(r){if(s)throw new TypeError("Generator is already executing.");while(e)try{if(s=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;i=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){e.label=r[1];break}if(r[0]===6&&e.label<o[1]){e.label=o[1];o=r;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(r);break}if(o[2])e.ops.pop();e.trys.pop();continue}r=n.call(t,e)}catch(t){r=[6,t];i=0}finally{s=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-343b3b10.system.js","./p-ece63a69.system.js","./p-5f7bc72e.system.js","./p-da593370.system.js","./p-5ba1db18.system.js","./p-83b75450.system.js","./p-a56cdd14.system.js","./p-fa86b497.system.js","./p-86f17250.system.js","./p-9817db3f.system.js","./p-b3db1eb6.system.js","./p-6e679e9d.system.js","./p-abcb59d4.system.js","./p-ebdd1444.system.js","./p-6c3e6bdc.system.js","./p-356c131c.system.js","./p-0aeb0fcc.system.js","./p-dd468f04.system.js","./p-97c19fd0.system.js","./p-90b7d919.system.js","./p-7e6f8eaa.system.js","./p-da38856a.system.js","./p-dd9cd9b3.system.js","./p-d33249d4.system.js","./p-fe1f76a3.system.js","./p-66d9c61b.system.js","./p-4ec8ba7a.system.js","./p-a6ad0410.system.js","./p-d254e73a.system.js","./p-27f59a1b.system.js","./p-577b99c3.system.js","./p-451fa62c.system.js","./p-520803d3.system.js","./p-48ea6857.system.js","./p-b0e93f3a.system.js","./p-b3cf23d4.system.js"],(function(t){"use strict";var n,e,s,i,o,r,c;return{setters:[function(t){n=t.r;e=t.h;s=t.H},function(){},function(){},function(){},function(t){i=t.g;o=t.c;r=t.m},function(t){c=t.S},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_application_legal_footer",function(){function t(t){n(this,t)}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,s;return __generator(this,(function(c){switch(c.label){case 0:t=i(),n=t.context,e=t.headers;this.api=o(r,e);s=this;return[4,this.api.getWhiteLabel(n.organisationId)];case 1:s.wl=c.sent();return[2]}}))}))};t.prototype.render=function(){var t,n;var i=((t=this.wl)===null||t===void 0?void 0:t.termsUrl)||"/terms";var o=((n=this.wl)===null||n===void 0?void 0:n.privacyUrl)||"/privacy-policy";var r=this.field.i18n;return e(s,null,e("dvn-markdown",{content:c.build(r.agreeTermsAndPrivacy,{privacyUrl:o,termsUrl:i})}))};return t}())}}}));