import{j as e}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a53.js";import{e as p}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a575.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_73_d3c9bac7-c74e-47f6-ac42-499f067843a525.js";import{u as f,e as _}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a54.js";import{_ as N,ax as w,I}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a58.js";import{a as n}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a52.js";import{k as y}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a571.js";import{u as z}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a556.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a55.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a56.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a59.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a510.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a57.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a520.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a543.js";const A=n.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5204.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};
