import{r as e,j as o}from"./app-Dory5LSx.js";const x=e.forwardRef(function({type:n="text",className:s="",isFocused:c=!1,...f},a){const u=e.useRef(null);return e.useImperativeHandle(a,()=>({focus:()=>{var t;return(t=u.current)==null?void 0:t.focus()}})),e.useEffect(()=>{var t;c&&((t=u.current)==null||t.focus())},[]),o.jsx("input",{...f,type:n,className:"form-control "+s,ref:u})});function p({message:r,className:n="",...s}){return r?o.jsx("p",{...s,className:"text-sm text-danger "+n,children:r}):null}export{p as I,x as T};
