import{Xb as r}from"./chunk-SKPDQO4E.js";function i(l){return e=>{if(e.value==null||e.value==null||e.value=="")return null;let u=Number(e.value.replace(",","."));return isNaN(u)||r(u)?null:u>l?{validateMax:{max:l}}:null}}function f(l){return e=>{if(e.value==null||e.value==null||e.value=="")return null;let u=Number(e.value.replace(",","."));return isNaN(u)||r(u)?null:u<l?{validateMin:{min:l}}:null}}export{i as a,f as b};
