import{j as r}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc.js";import{u as l}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc62.js";import{u as p}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc22.js";import{s as m}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc24.js";import{u as c}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc131.js";import{R as d}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc136.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc6.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc10.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc20.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc8.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc11.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc19.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc7.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc9.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc46.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc4.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc3.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc2.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc59.js";function E(){const{openTooltip:a,closeTooltip:t}=p(l(o=>({openTooltip:o.open,closeTooltip:o.close}))),i=m(o=>o.label),n=c(o=>o.chatOpenHorizontalFuncs),s=d();return r.jsx("ul",{children:r.jsx("div",{className:"flex items-center gap-2 mr-1",children:s.map(o=>!o.disabled&&n[o.id]!==!1&&r.jsxs("li",{onMouseEnter:e=>a(o.name,{placement:"bottom"},e.target),onMouseLeave:t,children:[(o.tam??0)>=1&&r.jsx("div",{className:"relative",children:r.jsx("div",{className:"absolute -top-1 -right-2",children:r.jsx("span",{className:"abaTam border border-[#ffffff52] border-solid rounded-full p-1 shadow-lg text-[12px] bg-[var(--primaria)] ",children:r.jsx("em",{className:"text-[#ffffffd4] font-bold",children:o.tam})})})}),r.jsx("div",{onClick:e=>o.function(e),children:r.jsx("div",{"tag-ref":"btn",className:"menu-item pulse cursor-pointer rounded-[10px] p-2 bg-[var(--menu-bar-item-background-active)] hover:!bg-[var(--primaria)] hover:!text-[var(--letra)] "+(i.cor_primaria?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]"),children:o.icon})},o.id)]},o.id))})})}export{E as default};
