import{j as e}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89263.js";import{e as p}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892675.js";import{ac as x,q as u,r as h,C as g,w as j,ai as v}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892625.js";import{u as f,e as _}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89264.js";import{_ as N,ax as w,I}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89268.js";import{a as n}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89262.js";import{k as y}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892671.js";import{u as z}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892656.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89265.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89266.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89269.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892610.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89267.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892620.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892643.js";const A=n.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926204.js")),[]));function E(){return e.jsx(n.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(A,{})})}function B({userId:r}){const{variaveisWA:t}=x(),{open:c}=u(),{language:a}=f(),{close:i}=h(),{icons_cor_primaria:s}=_(z(o=>({icons_cor_primaria:o.icons_cor_primaria}))),m=()=>{i(),c(e.jsx(E,{}))},l=async()=>{if(i(),await g("close_service")!==!0){I({type:"Success",message:a.fimAtendimento_Notif,position:"top-right"});const d=j.getState().getUserID("wid","_serialized")||v(r);p(d)}};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:t.listagem.content1+"hoverShadown",children:e.jsx("li",{tabIndex:0,className:t.listagem.content2+"!opacity-100","data-animate-dropdown-item":"true",children:e.jsxs("div",{className:t.listagem.content3,onClick:l,children:[e.jsx("div",{className:t.listagem.content4,children:e.jsx(y,{className:s?"text-[var(--primaria)]":"",size:20})}),e.jsx("span",{className:t.listagem.content5,children:a.fimAtendimento_encerrar})]})})}),e.jsx("div",{className:t.listagem.content1+"hoverShadown",children:e.jsx("li",{tabIndex:0,className:t.listagem.content2+"!opacity-100","data-animate-dropdown-item":"true",children:e.jsxs("div",{className:t.listagem.content3,onClick:m,children:[e.jsx("div",{className:t.listagem.content4,children:e.jsx(w,{className:s?"text-[var(--primaria)]":"",size:20})}),e.jsx("span",{className:t.listagem.content5,children:a.edit})]})})})]})}export{B as default};
