import{j as r}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b.js";import{u as e}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b47.js";import{u as l}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b22.js";import{d as m}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b20.js";import{u as c}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b133.js";import{R as d}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b138.js";import{w as u}from"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b109.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b6.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b10.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b23.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b11.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b19.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b7.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b9.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b8.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b4.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b3.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b2.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b46.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b48.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b60.js";import"./v_7_4_3_17_17ffe662-3f12-45a2-ae5d-997b41d0d61b35.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};
