import{h as s}from"./p-0b541f88.js";const e=(s,e)=>`${s}__${e}-message`;const r=(s,r,t)=>{if(!t)return;let a=e(s,"helper");if(r)a=e(s,"error");return a};const t=(s,e)=>{if(!s||!e)return;if(e.required===true){s.checkValidity()===false?e.invalid=true:e.invalid=false}};const a=({classNames:e,htmlFor:r,text:t})=>s("label",{class:e,htmlFor:r},t);export{a as P,r as a,t as i,e as m};
//# sourceMappingURL=p-e60fccc0.js.map