import{j as r}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b710.js";import{u as l}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b761.js";import{u as p}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b721.js";import{s as m}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b723.js";import{u as c}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7130.js";import{R as d}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7135.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b718.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b76.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b74.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b78.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b75.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b719.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b77.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b79.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b745.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b72.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b73.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b758.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};
