import{j as r}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";import{u as l}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7162.js";import{u as p}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7122.js";import{s as m}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7124.js";import{u as c}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71131.js";import{R as d}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71136.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a716.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7110.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7120.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a718.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7111.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7119.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a717.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a719.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7146.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a714.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a713.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a712.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7159.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};
