import{j as e,z as t,D as s}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{r as n}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u as o}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{X as l,A as m}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508096.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508092.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508093.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.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};
