import{j as t}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f.js";import{u as o}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f46.js";import{y as x,u as g,aj as f,n as h}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f23.js";import{u as m}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f20.js";import{M as j}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f121.js";import{aq as y}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f11.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f8.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f7.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f19.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f4.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f3.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f2.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f10.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f6.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f9.js";const i=({id:a,name:n})=>{const{getMyAtendimento:r}=x(o(e=>({getMyAtendimento:e.getMyAtendimento}))),{setActiveTab:s,activeTab:p}=g(o(e=>({setActiveTab:e.setActiveTab,activeTab:e.activeTab}))),c=m(e=>e.language),l=f(e=>e.variaveisWA),d=h(e=>e.open),u=(e,b,v)=>{d(t.jsx(j,{id:b,aba_System:!0,type:"tab",name:v,color:"var(--primaria)"}),{placement:"bottom"},e,10)};return t.jsx("button",{onClick:()=>s({id:a,type:"tab"}),className:(p.id!==a?"":"!bg-[var(--primaria)] ")+"xjb2p0i x1ypdohk x972fbf x10w94by x1qhh985 x14e42zd x1yrsyyn x10b6aqq x1g0dm76 xpdmqnj xtf1z3e x18i4vdl x17ka9pb xaozknv x6prxxf xo1l8bm x1btupbp xhslqc4 x1280gxy x1hdfv4t xtnn1bt x9v5kkp xmw7ebm xrdum7p x1ubxc9n !border-[var(--secundaria)]",children:t.jsxs("div",{className:"x1c4vz4f xs83m0k xdl72j9 x1g77sc7 x78zum5 xozqiw3 x1oa3qoh x12fk4p8 xfex06f xeuugli x2lwn1j x1nhvcw1 x1q0g3np x6s0dn4 group",children:[t.jsx("div",{children:a===5?c.tab_atendentes:n}),a===5&&t.jsxs("div",{className:"inline text-sm text-base-content/60 font-semibold",children:[" ",r().length]}),t.jsx("span",{className:l.modalOptions.animChildren+"hidden group-hover:block pulse p-[1.5px]",onClick:e=>u(e.currentTarget.parentElement,a,n),children:t.jsx(y,{size:20})})]})})};function L(){const{active:a}=x(o(s=>({active:s.active}))),n=m(s=>s.language);return t.jsxs("div",{className:"flex gap-2",children:[t.jsx(i,{id:4,name:"1:1"}),a&&t.jsxs(t.Fragment,{children:[t.jsx(i,{id:6,name:n.transferidos}),t.jsx(i,{id:5,name:n.tab_atendentes})]})]})}export{L as default};
