(()=>{"use strict";$(document).ready((function(){$('[data-toggle="password"]').each((function(){var s=$(this),e=$(this).parent().find(".input-icon");e.css("cursor","pointer").addClass("input-password-hide"),e.on("click",(function(){e.hasClass("input-password-hide")?(e.removeClass("input-password-hide").addClass("input-password-show"),e.find(".bi").removeClass("bi-eye-slash-fill").addClass("bi-eye-fill"),s.attr("type","text")):(e.removeClass("input-password-show").addClass("input-password-hide"),e.find(".bi").removeClass("bi-eye-fill").addClass("bi-eye-slash-fill"),s.attr("type","password"))}))}))})),listenSubmit("#UserRegisterForm",(function(){if(0==$("#privacyPolicyCheckbox").prop("checked"))return displayErrorMessage(Lang.get("messages.placeholder.agree_term")),!1}))})();