/*!
 * KoliBri - The accessible HTML-Standard
 */
"use strict";const clsx=require("./clsx-dd4d6dd1.js"),index=require("./index-b4950b0c.js"),Alert=require("./Alert-074fe554.js");function transformObjectProperties(r){return Object.entries(r).reduce(((r,[e,s])=>{const t=e.startsWith("_")?e.slice(1):e;return Object.assign(Object.assign({},r),{[t]:s})}),{})}const FormFieldMsgFc=({_alert:r,_msg:e,_hideError:s,_id:t})=>{const i=transformObjectProperties(e||{});return index.h(Alert.KolAlertFc,Object.assign({id:`${t}-error`,alert:r,type:"error",class:clsx.clsx({error:!0,"visually-hidden":!0===s})},i),(null==e?void 0:e._description)||void 0)},KolFormFieldMsgFc=FormFieldMsgFc;exports.KolFormFieldMsgFc=KolFormFieldMsgFc;