function isName(n){var t=n.charCode?n.charCode:n.keyCode;return t==8||t==9?!0:t!=32&&t!=45&&t!=46&&t!=39&&(t<65||t>90)&&(t<97||t>122)?!1:void 0}function isPhoneNumber(n){var t=n.charCode?n.charCode:n.keyCode;return t>=33&&t<=36?!0:t>=37&&t<=40?!0:t==8||t==9||t==46?!0:t<48||t>57?!1:void 0}function isNumericChar(n){var t=n.charCode?n.charCode:n.keyCode;return t>=33&&t<=36?!0:t>=37&&t<=40?!0:t==8||t==9||t==46?!0:t<48||t>57?!1:void 0}function showProcess(){$(".divProcess-cmd").show()}function hideProcess(){$(".divProcess-cmd").hide()}(function(n){function t(t){var i=n(t);return i.is(":checkbox")||i.is(":radio")==="radio"?i.prop("checked")?"true":"false":i.val()}n.validator.unobtrusive.adapters.add("comparenonsensivestrings",["otherprop","ignorecase"],function(n){n.rules.comparenonsensivestrings={otherPropName:n.params.otherprop,ignoreCase:n.params.ignorecase==="true"};n.messages.comparenonsensivestrings=n.message});n.validator.addMethod("comparenonsensivestrings",function(i,r,u){var e=n("#"+u.otherPropName),f=t(e);return i=n.trim(i),f=n.trim(f),u.ignoreCase&&(i=i.toLowerCase(),f=f.toLowerCase()),i===f});n.validator.unobtrusive.adapters.add("checkfieldnotempty",["otherprop","sourevaluetocheck"],function(n){n.rules.checkfieldnotempty={otherPropName:n.params.otherprop,soureValueToCheck:n.params.sourevaluetocheck};n.messages.checkfieldnotempty=n.message});n.validator.addMethod("checkfieldnotempty",function(i,r,u){var e=n("#"+u.otherPropName),f=t(e);return(i=n.trim(i),f=n.trim(f),u.soureValueToCheck.toLowerCase()===f.toLowerCase())?i!=="":!0})})(jQuery);$(document).ready(function(){$(".nopaste").each(function(){this.onpaste=function(n){n.preventDefault()}})})