import{j as e,y as p,J as c,x as d,am as u}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{u as a}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9963.js";import{o as x}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9923.js";import{u as f}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9922.js";import{u as g}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9919.js";import{openSuporte as h}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9981.js";import{a as v}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9939.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";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c999.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c992.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c993.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9921.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9947.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99126.js";function H(){const{estaAoVivo:o,offline:i,online:s}=f(a(t=>({estaAoVivo:t.estaAoVivo,offline:t.offline,online:t.online}))),r=g(a(t=>t.language)),n=x(t=>t.close),l=()=>{n(),o?window.open(s.urlMeet,"_blank"):h()},m=e.jsxs("div",{className:"min-w-[450px] max-w-[600px] text-center grid gap-4",children:[e.jsx("div",{className:"flex justify-start",children:e.jsx("div",{className:"m-auto max-w-[540px] w-full",children:e.jsx(p,{children:o?s.title:i.title})})}),e.jsx(c,{children:e.jsx("p",{className:"text-justify max-h-[80vh] overflow-y-auto pr-3",dangerouslySetInnerHTML:{__html:(o?s.description:i.description).replace(/\_(.*?)\_/g,'<strong class="italic">$1</strong>').replace(/\*(.*?)\*/g,"<strong>$1</strong>").replace(/\n/g,"<br>")}})}),(o||i.suportRedirect)&&e.jsx("div",{className:"flex justify-center",children:e.jsxs(d.button,{onClick:l,className:"group relative overflow-hidden bg-[var(--primaria)] hover:bg-[var(--secundaria)] text-white font-medium px-5 py-3 rounded-lg shadow-sm hover:shadow-md flex items-center justify-center gap-2 text-lg",whileTap:{scale:.95},initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.6},children:[o?e.jsx(v,{size:20}):e.jsx(u,{size:20}),e.jsx("span",{children:o?s.btnName:r.suporte})]})})]});return(i.active||o)&&m}export{H as default};
