import{j as r}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";import{u as e}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab47.js";import{u as l}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab22.js";import{d as m}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab20.js";import{u as c}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab133.js";import{R as d}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab138.js";import{w as u}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab109.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab6.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab10.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab23.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab19.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab7.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab9.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab8.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab4.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab3.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab2.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab46.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab48.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab60.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab35.js";function I(){const{openTooltip:a,closeTooltip:t}=l(e(o=>({openTooltip:o.open,closeTooltip:o.close}))),n=c(o=>o.chatOpenHorizontalFuncs),{icons_cor_primaria:s}=m(e(o=>({icons_cor_primaria:o.icons_cor_primaria}))),p=d();return r.jsx("ul",{children:r.jsx("div",{className:"flex items-center gap-2 mr-1",children:p.map(o=>!o.disabled&&n[o.id]!==!1&&r.jsxs("li",{onMouseEnter:i=>a(o.name,{placement:"bottom"},i.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:i=>{o.function(i),u(o.id)},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)] "+(s?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]"),children:o.icon})},o.id)]},o.id))})})}export{I as default};
