import{j as a,X as p,a1 as l,b8 as i}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{u}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f61.js";import{u as d}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import{u as m}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f130.js";import{R as h}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f76.js";import{R as x}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f135.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f2.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f3.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f21.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f45.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f113.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f32.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f33.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f26.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f27.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f131.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f132.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f105.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f58.js";function G(){const o=d(n=>n.language),{chatOpenHorizontalFuncs:s,setChatOpenHorizontalFuncs:e,chatOpenVerticalFuncs:c,setChatOpenVerticalFuncs:r}=m(u(n=>({chatOpenHorizontalFuncs:n.chatOpenHorizontalFuncs,setChatOpenHorizontalFuncs:n.setChatOpenHorizontalFuncs,chatOpenVerticalFuncs:n.chatOpenVerticalFuncs,setChatOpenVerticalFuncs:n.setChatOpenVerticalFuncs})));return a.jsxs("div",{children:[a.jsx(p,{children:o.func_menu_chat}),a.jsx(l,{size:"16px",children:o.func_menu_des}),a.jsxs("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:o.func_horizontal}),x().map(n=>!n.disabled&&a.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:t=>{t.stopPropagation(),n.function(t)},text_open:o.open,switch_state:s[n.id],switch_update:()=>e(n.id)},n.id))]}),a.jsx("hr",{className:"my-4"}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:o.func_vertical}),h().map(n=>!n.disabled&&a.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:t=>n.function(t),text_open:o.open,switch_state:c[n.id],switch_update:()=>r(n.id)},n.id))]})]})]})}export{G as default};
