import{j as a,r as e}from"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f6.js";import{u as p,d as m}from"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f620.js";import{B as c,m as u}from"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f623.js";import{_ as d,a8 as x}from"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f611.js";import{b as g}from"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f636.js";import{u as _}from"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f646.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f68.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f619.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f67.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f64.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f63.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f62.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f610.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f66.js";import"./v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f69.js";const f=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_4_e110faba-0ecf-462e-819c-68342bb684f6126.js")),[]));function h(){return a.jsx(e.Suspense,{fallback:a.jsx(a.Fragment,{}),children:a.jsx(f,{})})}function I(){const s=p(t=>t.language),o=c(t=>t.chatName),{open:i}=u.getState(),{icons_cor_primaria:r}=m(_(t=>({icons_cor_primaria:t.icons_cor_primaria}))),n=t=>{t.preventDefault(),t.stopPropagation(),i(a.jsx(h,{}))},l=x(o?.autoSave&&"text-[var(--wds-teal-500)]",!o?.autoSave&&r&&"text-[var(--primaria)]",!o?.autoSave&&!r&&"text-[var(--panel-header-icon)]");return a.jsxs("div",{className:"flex gap-1 justify-center items-center",children:[a.jsx("span",{className:"lg:tooltip lg:tooltip-bottom","data-tip":o?.number,id:"chatName",children:o?.name}),a.jsx("span",{onClick:n,className:"cursor-pointer lg:tooltip lg:tooltip-bottom","data-tip":s.contatos_tooltip,role:"button",tabIndex:0,children:a.jsx("span",{className:"pulse",children:a.jsx(g,{size:20,className:l,strokeWidth:1})})})]})}export{I as default};
