!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(s){return s.validator&&(s.extend(!0,s,{mage:{isEmpty:function(e){return""===e||void 0===e||null==e||0===e.length||/^\s+$/.test(e)},isEmptyNoTrim:function(e){return""===e||null==e||0===e.length},isBetween:function(e,a,t){return(s.mage.isEmpty(a)||e>=s.mage.parseNumber(a))&&(s.mage.isEmpty(t)||e<=s.mage.parseNumber(t))},parseNumber:function(e){var a,t;return"string"==typeof e&&(a=e.indexOf("."),t=e.indexOf(","),-1!==a&&-1!==t?e=a]*?>/g," ").replace(/ | /gi," ").replace(/[0-9.(),;:!?%#$'"_+=\/-]*/g,"")},convertToMomentFormat:function(e){e=e.replace(/yyyy|yy|y/,"YYYY");return e=e.replace(/dd|d/g,"DD")}}}),s.validator.addMethod("required-number",function(e,a){return!!e.length},"Please enter a valid number in this field."),s.validator.addMethod("required-entry",function(e,a){return!s.mage.isEmpty(e)},"This is a required field."),s.validator.addMethod("validate-email",function(e,a){return this.optional(a)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},"Please enter a valid email address (Ex: johndoe@domain.com)."),s.validator.addMethod("validate-greater-than-zero",function(e,a){return!!s.mage.isEmptyNoTrim(e)||(e=s.mage.parseNumber(e),!isNaN(e)&&0=s.mage.parseNumber(t.minAllowed),o=void 0===t.maxAllowed||e<=s.mage.parseNumber(t.maxAllowed),d=void 0===t.qtyIncrements||0===resolveModulo(e,s.mage.parseNumber(t.qtyIncrements));return!1==(n=0=r;return!1===n?this.passwordErrorMessage="Minimum length of this field must be equal or greater than %1 symbols. Leading and trailing spaces will be ignored.".replace("%1",r):(e.match(/\d+/)&&t++,e.match(/[a-z]+/)&&t++,e.match(/[A-Z]+/)&&t++,e.match(/[^a-zA-Z0-9]+/)&&t++,t