!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=20)}({20:function(e,t,n){"use strict";function r(e){return function(t,n,r){if(!e||!e.length)return r();for(var u=n&&n.length,o=function(t){var o=e[t]||{},f=o.predicate,i=o.message,d=function(){return r(new Error(i))};return o.required&&!u||f&&u&&!f(n)?{v:d()}:void 0},f=0;f<e.length;f++){var i=o(f);if("object"==typeof i)return i.v}return r()}}function u(e){return/^(?:(?:(?:[a-z]+:)?\/\/)|www\.)(?:\S+(?::\S*)?@)?(?:localhost|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3})|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#][^\s"]*)?$/.test(e)}n.r(t),n.d(t,"getValidator",(function(){return r})),n.d(t,"isExternal",(function(){return u})),n.d(t,"USERNAME_REG",(function(){return o})),n.d(t,"PASSWORD_REG",(function(){return f})),n.d(t,"isUsername",(function(){return i})),n.d(t,"isPassword",(function(){return d})),n.d(t,"isMobilePhoneNumber",(function(){return c})),n.d(t,"isFixedPhoneNumber",(function(){return a})),n.d(t,"isPhoneNumber",(function(){return s}));var o=/^.{4,20}$/,f=/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[!@$^\-_=+[{}\]:,./?~#*])([A-Za-z0-9!@$^\-_=+[{}\]:,./?~#*]{10,20})$/;function i(e){return o.test(e)}function d(e){return f.test(e)}function c(e){return/^1[3456789]\d{9}$/.test(e)}function a(e){return/^((\d{3}-|\d{3})\d{8}|(\d{4}-|\d{4})\d{7,8})$/.test(e)}function s(e){return c(e)||a(e)}}})}));
//# sourceMappingURL=validate.js.map