import{j as o}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3915.js";import{u as i}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39147.js";import{u as p}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39122.js";import{e as m}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3914.js";import{u as c}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391133.js";import{R as l}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391138.js";import{w as d}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391109.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3918.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39123.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3913.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3912.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3917.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3916.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3919.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39110.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39120.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39146.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39148.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39111.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39160.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39135.js";function P(){const t=c(r=>r.chatOpenHorizontalFuncs),{icons_cor_primaria:e}=m(i(r=>({icons_cor_primaria:r.icons_cor_primaria}))),{openWithGetEvents:a}=p(i(r=>({openWithGetEvents:r.openWithGetEvents}))),n=l();return o.jsx("ul",{children:o.jsx("div",{className:"flex items-center gap-2 mr-1",children:n.map(r=>!r.disabled&&t[r.id]!==!1&&o.jsxs("li",{...a(r.name,{placement:"bottom"}),children:[(r.tam??0)>=1&&o.jsx("div",{className:"relative",children:o.jsx("div",{className:"absolute -top-1 -right-2",children:o.jsx("span",{className:"abaTam border border-[#ffffff52] border-solid rounded-full p-1 shadow-lg text-[12px] bg-[var(--primaria)] ",children:o.jsx("em",{className:"text-[#ffffffd4] font-bold",children:r.tam})})})}),o.jsx("div",{onClick:s=>{r.function(s),d(r.id)},children:o.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)] "+(e?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]"),children:r.icon})},r.id)]},r.id))})})}export{P as default};
