import{j as s}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1165.js";import{d as t}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116107.js";import{cV as l}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1167.js";function m({type:a}){let e,r;switch(a){case"Enviado":e=s.jsx(l,{className:"text-[var(--letra)]"}),r="alert-success";break;case"Erro":e=s.jsx(t,{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{m as S};
