import{j as a}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f5.js";import{u as l,e as u}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f4.js";import{C as d,m as x}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f23.js";import{u as h}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f22.js";import{_ as f,Y as v}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f7.js";import{r as s}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f.js";import{b as _}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f36.js";import{u as r}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f46.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f3.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f2.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f9.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f10.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f8.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f20.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f45.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f6.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f47.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f11.js";const g=s.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f127.js")),[]));function j(){return a.jsx(s.Suspense,{fallback:a.jsx(a.Fragment,{}),children:a.jsx(g,{})})}function R(){const i=l(t=>t.language),o=d(t=>t.chatName),n=x(t=>t.open),{icons_cor_primaria:e}=u(r(t=>({icons_cor_primaria:t.icons_cor_primaria}))),{openWithGetEvents:p}=h(r(t=>({openWithGetEvents:t.openWithGetEvents}))),m=t=>{t.preventDefault(),t.stopPropagation(),n(a.jsx(j,{}))},c=v(o?.autoSave&&"text-[var(--wds-teal-500)]",!o?.autoSave&&e&&"text-[var(--primaria)]",!o?.autoSave&&!e&&"text-[var(--panel-header-icon)]");return a.jsxs("div",{className:"flex gap-1 justify-center items-center",children:[a.jsx("span",{id:"chatName",children:o?.name}),a.jsx("span",{onClick:m,role:"button",tabIndex:0,...p(i.contatos_tooltip,{placement:"bottom"}),children:a.jsx("span",{className:"pulse",children:a.jsx(_,{size:20,className:c,strokeWidth:1})})})]})}export{R as default};
