import{j as e,v as t,D as d,F as l}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{u as c}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import{h as p,j as u}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e21.js";import{R as m}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e45.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e9.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e22.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e2.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e3.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e46.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e39.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e36.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e58.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e105.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e106.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e26.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e35.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e107.js";function S(){const{language:o}=c(),{activeMenu:s,setActiveMenu:n}=p(),{close:a}=u();return e.jsxs("div",{children:[e.jsx(t,{children:o.func_menu}),e.jsx(d,{size:"16px",children:o.func_menu_des}),e.jsx("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:m().map(i=>!i.disabled&&e.jsx("label",{htmlFor:i.id,children:e.jsxs("div",{className:"flex justify-between items-center rounded-lg hover:bg-[var(--dropdown-background-hover)] cursor-pointer p-2",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("div",{className:"menu-item pulse cursor-pointer rounded-[10px] bg-[var(--menu-bar-item-background-active)] p-2 text-[var(--panel-header-icon)]",children:i.icon}),e.jsx("div",{children:i.name}),e.jsx("div",{className:"ml-2 pulse",children:e.jsx("div",{className:"badge badge-outline border-solid open-func",onClick:r=>{r.preventDefault(),i.function(r),i.id!=="google_funcs"&&a()},children:o.open})})]}),e.jsx("div",{children:e.jsx(l,{id:i.id,switchUpdate:()=>n(i.id),estado:s[i.id]})})]})},i.id))})]})}export{S as default};
