/*!
 * KoliBri - The accessible HTML-Standard
 */
import{c as r}from"./clsx-09a06a12.js";import{h as e}from"./index-5d2ba3a9.js";import{K as t}from"./Alert-d9b52149.js";function o(r){return Object.entries(r).reduce(((r,[s,e])=>{const t=s.startsWith("_")?s.slice(1):s;return Object.assign(Object.assign({},r),{[t]:e})}),{})}const s=({_alert:s,_msg:i,_hideError:n,_id:a})=>{const c=o(i||{});return e(t,Object.assign({id:`${a}-error`,alert:s,type:"error",class:r({error:!0,"visually-hidden":!0===n})},c),(null==i?void 0:i._description)||void 0)},n=s;export{n as K};