import{j as a,r as e}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";import{u as p,d as m}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab20.js";import{z as c,m as u}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab23.js";import{_ as d,ad as x}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import{b as g}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab37.js";import{u as _}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab47.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab8.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab19.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab7.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab4.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab3.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab2.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab10.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab6.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab9.js";const f=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab128.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};
