import{j as e,x as a,y as r,z as l,v as m,D as i}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{u as n}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import{a as x}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e58.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";function y({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{y as default};
