Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/utils/validation/validate_number_range",["module","exports","require","../errorMessages","../functions/is_defined","../language/sub","../types/inputTypes"],(function(e,i,n){window;{Object.defineProperty(i,"__esModule",{value:!0}),i.default=function validateNumberRange(e,i,n){if(null===e)return;if(![a.INPUT_TYPES.NUMBER,a.INPUT_TYPES.SLIDER].includes(i))return;if((0,r.default)(n.min)&&e<n.min)return(0,t.default)(u.ERROR_MESSAGES.GREATER_THAN_X,[n.min]);if((0,r.default)(n.max)&&e>n.max)return(0,t.default)(u.ERROR_MESSAGES.LESS_THAN_X,[n.max])};var u=n("../errorMessages"),r=_interopRequireDefault(n("../functions/is_defined")),t=_interopRequireDefault(n("../language/sub")),a=n("../types/inputTypes");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=validate_number_range.js.map