import{j as o}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";import{u as h}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab47.js";import{u as F}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab20.js";import{u as f}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab133.js";import{R as x}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab81.js";import{R as O}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab138.js";import{RenderItensFooter as j}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab86.js";import{D as _,H as C,be as i}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab8.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-7c81b2445eab23.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-7c81b2445eab10.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab6.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab22.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab46.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab9.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab48.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab117.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab30.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab31.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab25.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab134.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab135.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab35.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab108.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab109.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab60.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab37.js";function nn(){const t=F(n=>n.language),{chatOpenHorizontalFuncs:s,setChatOpenHorizontalFuncs:a,chatOpenVerticalFuncs:r,setChatOpenVerticalFuncs:c,chatOpenFooterFuncs:p,setChatOpenFooterFuncs:l}=f(h(n=>({chatOpenHorizontalFuncs:n.chatOpenHorizontalFuncs,setChatOpenHorizontalFuncs:n.setChatOpenHorizontalFuncs,chatOpenVerticalFuncs:n.chatOpenVerticalFuncs,setChatOpenVerticalFuncs:n.setChatOpenVerticalFuncs,chatOpenFooterFuncs:n.chatOpenFooterFuncs,setChatOpenFooterFuncs:n.setChatOpenFooterFuncs}))),d=O().filter(n=>!n.disabled),u=x().filter(n=>!n.disabled),m=j().filter(n=>!n?.disabled);return o.jsxs("div",{children:[o.jsx(_,{children:t.func_menu_chat}),o.jsx(C,{size:"16px",children:t.func_menu_des}),o.jsxs("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:[o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:t.func_horizontal}),d.map(n=>o.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:e=>{e.stopPropagation(),n.function(e)},text_open:t.open,switch_state:s[n.id],switch_update:()=>a(n.id)},n.id))]}),o.jsx("hr",{className:"my-4"}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:t.func_vertical}),u.map(n=>o.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:e=>n.function(e),text_open:t.open,switch_state:r[n.id],switch_update:()=>c(n.id)},n.id))]}),o.jsx("hr",{className:"my-4"}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:t.func_footer}),m.map(n=>o.jsx(i,{id:n.id,name:n.tooltip,icon:n.children,onClick:e=>n.func(e),text_open:t.open,switch_state:p[n.id],switch_update:()=>l(n.id)},n.id))]})]})]})}export{nn as default};
