import{j as t}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{u as o}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080971.js";import{P as x,a as g,D as f,p as h}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u as m}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{M as j}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809125.js";import{c as y}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080940.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-3772b22508094.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 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 W(){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{W as default};
