text: (function(n){n&&n(function(){var t=n("#RegisterForm");n.validator.addMethod("customUsername",function(i){return i===t.find('input[name="EmailAddress"]').val()?!0:!n.validator.methods.email.apply(this,arguments)},abp.localization.localize("RegisterFormUserNameInvalidMessage","AbpDemoOne"));t.validate({rules:{UserName:{required:!0,customUsername:!0}},highlight:function(t){n(t).parents(".form-line").addClass("error")},unhighlight:function(t){n(t).parents(".form-line").removeClass("error")},errorPlacement:function(t,i){n(i).parents(".form-group").append(t)}})})})(jQuery);