import{j as o}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3915.js";import{u as h}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39147.js";import{u as F}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3914.js";import{u as f}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391133.js";import{R as x}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39181.js";import{R as O}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391138.js";import{RenderItensFooter as j}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39186.js";import{o as _,p as C,aX as e}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3917.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391.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-f58a98f4a39123.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-f58a98f4a3918.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39122.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39146.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3916.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-f58a98f4a391117.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39130.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39131.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39125.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391134.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391135.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39135.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391108.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391109.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39160.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39137.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(e,{id:n.id,name:n.name,icon:n.icon,onClick:i=>{i.stopPropagation(),n.function(i)},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(e,{id:n.id,name:n.name,icon:n.icon,onClick:i=>n.function(i),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(e,{id:n.id,name:n.tooltip,icon:n.children,onClick:i=>n.func(i),text_open:t.open,switch_state:p[n.id],switch_update:()=>l(n.id)},n.id))]})]})]})}export{nn as default};
