import{c as i}from"./clsx-09a06a12-B-dksMZM.js";import{h as n}from"./index-BeCeuELg.js";import{K as c}from"./Alert-733b0883-Df5pVzCu.js";function a(t){return Object.entries(t).reduce((r,[e,s])=>{const o=e.startsWith("_")?e.slice(1):e;return Object.assign(Object.assign({},r),{[o]:s})},{})}const p=({_alert:t,_msg:r,_hideError:e,_id:s})=>{const o=a(r||{});return n(c,Object.assign({id:`${s}-error`,alert:t,type:"error",class:i({error:!0,"visually-hidden":e===!0})},o),r?._description||void 0)};export{p as F};
//# sourceMappingURL=FormFieldMsg-ba89943d-CF4yysBa.js.map
