import{j as e,V as a,X as r,Y as l,Q as m,Z as i}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf10.js";import{u as n}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf19.js";import{a as x}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf60.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf18.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf6.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf8.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf4.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf5.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf7.js";function T({notificacao:s}){const{language:t}=n();return e.jsxs("div",{className:"min-w-[450px] max-w-[600px] text-center grid gap-4",children:[e.jsxs("div",{className:"flex justify-start",children:[e.jsxs("div",{children:[s.type==="INFO"&&e.jsx(a,{className:"h-8 w-8 text-blue-500"}),s.type==="ALERT"&&e.jsx(r,{className:"h-8 w-8 text-red-500"}),s.type==="PROMOTION"&&e.jsx(l,{className:"h-8 w-8 text-yellow-500"})]}),e.jsx("div",{className:"m-auto ml-[-29px] max-w-[540px] w-full",children:e.jsx(m,{children:s.title})})]}),e.jsx(i,{children:e.jsx("p",{className:"text-justify max-h-[80vh] overflow-y-auto pr-3",dangerouslySetInnerHTML:{__html:s.statement.replace(/\_(.*?)\_/g,'<strong class="italic">$1</strong>').replace(/\*(.*?)\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>")}})}),s.link&&e.jsx("div",{children:e.jsxs("a",{className:"link flex gap-1 items-center text-[var(--primaria)]",href:s.link,target:"_blank",children:[e.jsx(x,{strokeWidth:3,className:"h-5 w-5 text-[var(--primaria)] pulse"}),s.btnName.length!==0?s.btnName:t.cliqueAqui]})})]})}export{T as default};
