import{j as e,Y as m,a3 as l,b6 as c,a4 as d}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d610.js";import{K as p,q as x}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d623.js";import{u}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d619.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d618.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d66.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d64.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d68.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d65.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d67.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d69.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d62.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d63.js";function P(){const{menuContent:t,setMenuContent:i,assinatura:r,setAssinatura:o}=p(),{close:n}=x(),{language:s}=u();return e.jsxs("div",{className:"w-[25rem] pt-3 px-3 grid gap-2 overflow-y-auto",style:{maxHeight:"calc(100vh - 105px)"},children:[e.jsx(m,{children:s.menuLateralConfig}),e.jsx("div",{children:e.jsxs("label",{className:"label !p-0 max-w-full",htmlFor:"monitorActions",children:[e.jsx("span",{children:s.monitorSendDisabled}),e.jsx(l,{id:"monitorActions",estado:t.desactiveMonitorEnv,switchUpdate:a=>i("desactiveMonitorEnv",a.target.checked),corPrimaria:!0,zoom:{zoom:"85%"}})]})}),e.jsxs("div",{className:"flex flex-col gap-2 pt-2 pb-2",children:[e.jsxs("label",{className:"label !p-0 max-w-full",htmlFor:"desativarAss",children:[e.jsx("span",{children:s.desativarAss}),e.jsx(l,{id:"desativarAss",estado:r.desativar,switchUpdate:a=>o("desativar",a.target.checked),corPrimaria:!0,zoom:{zoom:"85%"}})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"label !p-0 max-w-full",htmlFor:"persAss",children:[e.jsx("span",{children:s.personalizarNomeAss}),e.jsx(l,{id:"persAss",estado:r.personalizar,switchUpdate:a=>o("personalizar",a.target.checked),corPrimaria:!0,zoom:{zoom:"85%"}})]}),r.personalizar&&e.jsxs("label",{className:"input input-bordered border border-solid input-sm flex items-center gap-2 w-full max-w-full mt-1",children:[e.jsx(c,{fill:"currentColor",className:"h-4 w-4 opacity-70"}),e.jsx("input",{type:"text",placeholder:s.insiraNomeAss,value:r.nome,onChange:a=>o("nome",a.target.value),className:"grow"})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-1 px-1 py-2",children:[e.jsxs("span",{children:[s.tamMenuLateral,": ",e.jsxs("strong",{children:[t.width," px"]})]}),e.jsx("input",{type:"range",min:280,max:600,value:t.width,onChange:a=>i("width",a.target.value),className:"range range-xs [--range-shdw:var(--primaria)]"})]}),e.jsx("div",{className:"text-center px-1 py-2",children:e.jsx(d,{name:s.closeMenuLateral,funcao:()=>{n(),i("children","close")}})})]})}export{P as default};
