import{j as t}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89263.js";import{u as h}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892656.js";import{u as F}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89264.js";import{u as f}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926148.js";import{R as x}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892694.js";import{R as O}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926154.js";import{RenderItensFooter as j}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892699.js";import{D as _,E as C,b6 as e}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89268.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89262.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892643.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89265.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89266.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892625.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89269.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892610.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89267.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892620.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892622.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892641.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892655.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892657.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926132.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892637.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892630.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926149.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926150.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926151.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892644.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926123.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926124.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892671.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926167.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892646.js";function no(){const n=F(o=>o.language),{chatOpenHorizontalFuncs:s,setChatOpenHorizontalFuncs:r,chatOpenVerticalFuncs:a,setChatOpenVerticalFuncs:c,chatOpenFooterFuncs:p,setChatOpenFooterFuncs:l}=f(h(o=>({chatOpenHorizontalFuncs:o.chatOpenHorizontalFuncs,setChatOpenHorizontalFuncs:o.setChatOpenHorizontalFuncs,chatOpenVerticalFuncs:o.chatOpenVerticalFuncs,setChatOpenVerticalFuncs:o.setChatOpenVerticalFuncs,chatOpenFooterFuncs:o.chatOpenFooterFuncs,setChatOpenFooterFuncs:o.setChatOpenFooterFuncs}))),d=O().filter(o=>!o.disabled),u=x().filter(o=>!o.disabled),m=j().filter(o=>!o?.disabled);return t.jsxs("div",{children:[t.jsx(_,{children:n.func_menu_chat}),t.jsx(C,{size:"16px",children:n.func_menu_des}),t.jsxs("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:[t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:n.func_horizontal}),d.map(o=>t.jsx(e,{id:o.id,name:o.name,icon:o.icon,onClick:i=>{i.stopPropagation(),o.function(i)},text_open:n.open,switch_state:s[o.id],switch_update:()=>r(o.id)},o.id))]}),t.jsx("hr",{className:"my-4"}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:n.func_vertical}),u.map(o=>t.jsx(e,{id:o.id,name:o.name,icon:o.icon,onClick:i=>o.function(i),text_open:n.open,switch_state:a[o.id],switch_update:()=>c(o.id)},o.id))]}),t.jsx("hr",{className:"my-4"}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:n.func_footer}),m.map(o=>t.jsx(e,{id:o.id,name:o.tooltip,icon:o.children,onClick:i=>o.func(i),text_open:n.open,switch_state:p[o.id],switch_update:()=>l(o.id)},o.id))]})]})]})}export{no as default};
