import{j as e,z as t,D as s}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{r as n}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9923.js";import{u as o}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9919.js";import{X as l,A as m}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c998.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9918.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c996.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c994.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c997.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c999.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c995.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c992.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c993.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};
