import{j as e,_ as c,q as p,H as t}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{P as x,q as u,o as h,p as j}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u as f}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{a as r}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508096.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508092.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508093.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";const g=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809228.js")),[]));function _({atendente:s}){return e.jsx(r.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(g,{atendente:s})})}const O=({at:s})=>{const{atendente:i,getAtendimentoByDeviceID:o}=x(),{label:n}=u(),{open:a}=h(),{close:l}=j(),{language:m}=f(),d=e.jsxs("div",{className:"flex flex-col px-2 py-1 cursor-pointer border border-solid border-base-200 rounded-xl hoverShadown",onClick:()=>{a(e.jsx(_,{atendente:s})),l()},children:[e.jsxs("span",{className:"flex gap-1 items-center",children:[e.jsx(p,{className:n.cor_primaria?"text-[var(--primaria)]":""}),e.jsx(t,{size:"16",weight:"600",children:s.assinatura})]}),s.email.length>0&&e.jsxs("span",{children:["Email: ",e.jsx(t,{size:"14",weight:"500",children:s.email})]}),e.jsxs("span",{children:[m.atendimentosEmAndamento," ",e.jsx(t,{size:"14",weight:"500",children:o(s.deviceID)})]})]});return i.id!==s.id&&d};export{O as default};
