import{j as e,m as p}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";import{u as a}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7162.js";import{p as c}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7124.js";import{u as d}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7123.js";import{u}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7120.js";import{Q as x,$ as f,av as g}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7111.js";import{openSuporte as h}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7173.js";import{a as v}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7140.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a717.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a719.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a716.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a718.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7119.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a714.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a713.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a712.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7110.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7122.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7146.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71122.js";function H(){const{estaAoVivo:o,offline:i,online:s}=d(a(t=>({estaAoVivo:t.estaAoVivo,offline:t.offline,online:t.online}))),r=u(a(t=>t.language)),n=c(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(x,{children:o?s.title:i.title})})}),e.jsx(f,{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(p.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(g,{size:20}),e.jsx("span",{children:o?s.btnName:r.suporte})]})})]});return(i.active||o)&&m}export{H as default};
