import{j as e,z as a,D as l,F as r,y as m,H as i}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b10.js";import{u as n}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b19.js";import{a as x}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b60.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b18.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b8.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b4.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b5.js";import"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b7.js";function v({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(l,{className:"h-8 w-8 text-red-500"}),s.type==="PROMOTION"&&e.jsx(r,{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{v as default};
