import{aT as o,bB as c,j as n,c6 as H,bC as d,c7 as E,c8 as L,c9 as x,ca as R,cb as $}from"./app-BgLa5dit.js";const C=H("h4");C.displayName="DivStyledAsH4";const N=o.forwardRef(({className:a,bsPrefix:e,as:r=C,...s},t)=>(e=c(e,"alert-heading"),n.jsx(r,{ref:t,className:d(a,e),...s})));N.displayName="AlertHeading";const j=o.forwardRef(({className:a,bsPrefix:e,as:r=E,...s},t)=>(e=c(e,"alert-link"),n.jsx(r,{ref:t,className:d(a,e),...s})));j.displayName="AlertLink";const v=o.forwardRef((a,e)=>{const{bsPrefix:r,show:s=!0,closeLabel:t="Close alert",closeVariant:y,className:b,children:k,variant:u="primary",onClose:m,dismissible:f,transition:p=x,...A}=L(a,{show:"onClose"}),l=c(r,"alert"),g=R(w=>{m&&m(!1,w)}),i=p===!0?x:p,h=n.jsxs("div",{role:"alert",...i?void 0:A,ref:e,className:d(b,l,u&&`${l}-${u}`,f&&`${l}-dismissible`),children:[f&&n.jsx($,{onClick:g,"aria-label":t,variant:y}),k]});return i?n.jsx(i,{unmountOnExit:!0,...A,ref:void 0,in:s,children:h}):s?h:null});v.displayName="Alert";const D=Object.assign(v,{Link:j,Heading:N});export{D as A};
//# sourceMappingURL=DFA8aJel.chunk.js.map
