import{j as s,au as t}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b10.js";import{a as l}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b74.js";function n({type:r}){let e,a;switch(r){case"Sent":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};
