"use strict";exports.id=1587,exports.ids=[1587],exports.modules={21587:(e,r,t)=>{t.a(e,async(e,l)=>{try{t.d(r,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var s=t(20997),o=t(59003),n=t.n(o),i=t(5114),a=t(68097),d=e([a]);a=(d.then?(await d)():d)[0];let c={info:"bg-blue-100 text-blue-600",warning:"bg-yellow-100 text-yellow-600",error:"bg-red-100 text-red-500",success:"bg-green-100 text-accent",infoOutline:"border border-blue-200 text-blue-600",warningOutline:"border border-yellow-200 text-yellow-600",errorOutline:"border border-red-200 text-red-600",successOutline:"border border-green-200 text-green-600"},__WEBPACK_DEFAULT_EXPORT__=({message:e,closeable:r=!1,variant:t="info",className:l,onClose:o,children:d,childClassName:u})=>e?(0,s.jsxs)("div",{className:(0,a.twMerge)(n()("relative flex items-center justify-between rounded py-4 px-5 shadow-sm",c[t],l)),role:"alert",children:[(0,s.jsxs)("div",{className:(0,a.twMerge)(n()(u)),children:[s.jsx("p",{className:"text-sm",children:e}),d]}),r&&s.jsx("button",{"data-dismiss":"alert","aria-label":"Close",onClick:o,title:"Close alert",className:"absolute top-1/2 -mt-3 flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-red-500 transition-colors duration-200 hover:bg-gray-300 hover:bg-opacity-25 focus:bg-gray-300 focus:bg-opacity-25 focus:outline-none ltr:right-2 ltr:-mr-0.5 rtl:left-2 rtl:-ml-0.5",children:s.jsx("span",{"aria-hidden":"true",children:s.jsx(i.T,{className:"h-3 w-3"})})})]}):null;l()}catch(e){l(e)}})}};