import{j as a}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d15.js";import{u as l,e as u}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d14.js";import{C as d,m as x}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d123.js";import{u as h}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d122.js";import{_ as f,Y as v}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d17.js";import{r as s}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1.js";import{b as _}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d136.js";import{u as r}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d146.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d13.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d12.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d19.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d110.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d18.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d120.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d145.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d16.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d147.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d111.js";const g=s.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1127.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};
