import{j as e,Z as t,$ as s}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b710.js";import{r as n}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b723.js";import{u as o}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b719.js";import{X as l,A as m}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b78.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b718.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b76.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b74.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b77.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b79.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b75.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b72.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b73.js";const c={INFO:"bg-sky-300",ALERT:"bg-red-400",PROMOTION:"bg-warning"},p={INFO:"hover:bg-info",ALERT:"hover:bg-error",PROMOTION:"hover:bg-warning"};function I(){const{active_inbox_notify:a,closeNotificacoes_inbox:r}=n(),{language:i}=o();return e.jsx("div",{className:"bg-[var(--drawer-background-deep)]  py-[10px] ",children:e.jsxs("div",{className:"px-5 py-1 h3bz2vbyshadow-sm animate__animated animate__zoomIn border border-solid border-[var(--border-list)] "+c[a.type],children:[e.jsx("div",{className:"absolute right-0",children:e.jsx("div",{className:"relative top-[-2px] right-[2px] pulse cursor-pointer",onClick:r,children:e.jsx(l,{size:20,className:"text-[var(--butterbar-primary)]"})})}),e.jsxs("div",{className:"flex rounded-2xl p-2",children:[e.jsx("div",{className:"relative",children:e.jsxs("div",{className:"absolute flex-1 right-[-1px] top-[-8px] text-[var(--butterbar-primary)]",children:[a.type==="INFO"&&e.jsx(t,{size:24,className:"animate__animated animate__pulse animate__infinite"}),a.type==="ALERT"&&e.jsx(s,{size:24,className:"animate__animated animate__pulse animate__infinite"}),a.type==="PROMOTION"&&e.jsx(m,{size:24,className:"animate__animated animate__pulse animate__infinite"})]})}),e.jsxs("div",{className:"flex items-center flex-col gap-2 flex-auto pr-[2px] pl-2",children:[e.jsx("p",{className:"text-[var(--butterbar-primary)]",dangerouslySetInnerHTML:{__html:a.statement.replace(/\_(.*?)\_/g,'<strong class="italic">$1</strong>').replace(/\*(.*?)\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>")}}),a.link.length!==0&&e.jsx("div",{className:"badge badge-outline border-solid pulse cursor-pointer text-[var(--butterbar-primary)] border-[var(--butterbar-primary)] "+p[a.type],onClick:()=>window.open(a.link,"_blank"),children:a.btnName.length!==0?a.btnName:i.cliqueAqui})]})]})]})})}export{I as default};
