import{j as e,z as a,D as r,H as l,y as m,J as i}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{u as n}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9919.js";import{a as x}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9960.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-b1c61b935c998.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-b1c61b935c995.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c997.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};
