import{j as s,ax as t}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{a as l}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9974.js";function n({type:r}){let e,a;switch(r){case"Enviado":e=s.jsx(t,{className:"text-[var(--letra)]"}),a="alert-success";break;case"Erro":e=s.jsx(l,{className:"text-[var(--letra)]"}),a="alert-error";break;default:console.error("Tipo desconhecido:",r),e=null,a="";break}return s.jsxs("div",{className:a+" flex justify-center items-center  alert !p-1 !gap-1",children:[s.jsx("span",{className:"text-[var(--letra)]",children:r}),s.jsx("span",{children:e})]})}export{n as S};
