import{I as e}from"./p-abd7aeaa.js";class s extends e{evaluate(e){return"boolean"==typeof e?{isValid:e,message:e?"":"This field is required"}:{isValid:!1,message:"This field is required"}}canEvaluate(e,s){return s?this.isAcceptedInputType(e)&&!s.disabled&&s.visible:this.isAcceptedInputType(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}isAcceptedInputType(e){return null==e||"boolean"==typeof e}}export{s as T}