import{j as s,ar as t}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{a as l}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e105.js";function n({type:a}){let e,r;switch(a){case"Sent":e=s.jsx(t,{className:"text-[var(--letra)]"}),r="alert-success";break;case"Erro":e=s.jsx(l,{className:"text-[var(--letra)]"}),r="alert-error";break;default:console.error("Tipo desconhecido:",a),e=null,r="";break}return s.jsxs("div",{className:r+" flex justify-center items-center  alert !p-1 !gap-1",children:[s.jsx("span",{className:"text-[var(--letra)]",children:a}),s.jsx("span",{children:e})]})}export{n as S};
