import{I as r}from"./p-abd7aeaa.js";class e extends r{evaluate(r){if(!this.isAcceptedInputType(r))throw new Error(`Invalid value ${r} for input range`);const e=Array.isArray(r)&&2===r.length&&r.every((r=>!!r||"0"==r));return{isValid:e,message:e?"":"This field is required"}}canEvaluate(r,e){return e?this.isAcceptedInputType(r)&&!e.disabled&&e.visible:this.isAcceptedInputType(r)}shouldShowError(r){return!r.disabled&&r.visible&&(r.touched||r.modified)}isAcceptedInputType(r){return null==r||Array.isArray(r)}}export{e as I}