import{j as e,r as i}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";import{x as p,m as u,n as x}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab23.js";import{u as _,d as h}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab20.js";import{_ as g,u as j,H as r}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import{u as f}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-7c81b2445eab7.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab19.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 A=i.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab215.js")),[]));function v({atendente:s}){return e.jsx(i.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(A,{atendente:s})})}const I=({at:s})=>{const{atendente:o,getAtendimentoByDeviceID:t}=p(),{open:n}=u(),{close:a}=x(),{language:m}=_(),{icons_cor_primaria:l}=h(f(c=>({icons_cor_primaria:c.icons_cor_primaria}))),d=e.jsxs("div",{className:"flex flex-col px-2 py-1 cursor-pointer border border-solid border-base-200 rounded-xl hoverShadown",onClick:()=>{n(e.jsx(v,{atendente:s})),a()},children:[e.jsxs("span",{className:"flex gap-1 items-center",children:[e.jsx(j,{className:l?"text-[var(--primaria)]":""}),e.jsx(r,{size:"16",weight:"600",children:s.assinatura})]}),s.email.length>0&&e.jsxs("span",{children:["Email: ",e.jsx(r,{size:"14",weight:"500",children:s.email})]}),e.jsxs("span",{children:[m.atendimentosEmAndamento," ",e.jsx(r,{size:"14",weight:"500",children:t(s.user_id)})]})]});return o.user_id!==s.user_id&&d};export{I as default};
