var __awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},Unibase;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){class i extends n.Platform.Core.BaseComponent{jsFiles(){return["tenants/themes/compact/index.anonymous.js","platform/membership/managers/accountmanager.js","libs/passwordrequirement/passwordrequirement.js"]}cssFiles(){return["libs/passwordrequirement/passwordrequirement.css"]}html(){if(jQuery("#external-form").length===0){var n=new t.Index_Anonymous;n.init(null)}return`

Registration

We will send new code to your Email or Phone to create your password.

Back to login

Create your Password

Back to login

Password Created Successfully

Click here to Login

`}load(t,i,r){return __awaiter(this,void 0,void 0,function*(){this._accountManager=yield n.Platform.Membership.Managers.AccountManager.Instance();yield this.loadTenants(r);jQuery(".preloader-it").delay(500).fadeOut("slow");jQuery("#external-container").delay(500).fadeIn("slow");jQuery("#bizgaze_body").css("background-color","#f4f6f7");$("#div_modalbody").removeAttr("style");$(".pr-password").click(function(){var n=$(".pr-password");n.passwordRequirements({numCharacters:8,useLowercase:!0,useUppercase:!0,useNumbers:!0,useSpecial:!0})});$("#passwordHide").click(function(){var n=$("#txt_NewPswd");n.attr("type")=="password"?n.attr("type","text"):n.attr("type","password");$("#passwordHide").toggleClass("fa-eye-slash fa-eye")});$("#confirmPasswordHide").click(function(){var n=$("#txt_ConfirmPswd");n.attr("type")=="password"?n.attr("type","text"):n.attr("type","password");$("#confirmPasswordHide").toggleClass("fa-eye-slash fa-eye")});$("#OtpHide").click(function(){var n=$("#txt_Otp");n.attr("type")=="password"?n.attr("type","text"):n.attr("type","password");$("#OtpHide").toggleClass("fa-eye-slash fa-eye")});$("#txt_EmailorPhone").keypress(function(n){n.which==13&&document.getElementById("btn_SendOtp").click()});$("#txt_Otp").keypress(function(n){n.which==13&&document.getElementById("btn_VerifyOtp").click()});$("#txt_NewPswd,#txt_ConfirmPswd").keypress(function(n){n.which==13&&document.getElementById("btn_CreatePswd").click()});var t=this;$("#btn_SendOtp").click(function(){t.validate()});$("#btn_CreatePswd").click(function(){t.createPassword()});$("#btn_VerifyOtp").click(function(){t.verifyOtp()});$("#btn_ResendOtp").click(function(){t.sendOtp(t.OtpId)});r!=null&&r()})}loadTenants(n){var t=this;t._accountManager.getTenants().then(function(t){var u=t,i,e;let o=document.getElementById("ddl_Tenant");for($("#ddl_Tenant").empty(),$("#ddl_Tenant").append("