import{a as e,n as t,r as n}from"./useStore-CusP06SD.js";import{t as r}from"./form-validation-context-CPAPOloL.js";var i=e(n(),1),a=()=>{let e=(0,i.useContext)(r);if(!e)throw Error(`useFormValidation must be used within a FormValidationProvider`);return e},o=t();function s(){return(0,o.jsx)(`span`,{className:`text-red-500`,title:`Required`,children:`*`})}export{a as n,s as t};