import{j as r}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc.js";import{u as c}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc20.js";import{u as l}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc101.js";import{a0 as i,Q as n,bD as d,a2 as x}from"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc11.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc8.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc19.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc7.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc24.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc9.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc6.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc4.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc3.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc2.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc10.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc22.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc46.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc32.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc37.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc38.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc39.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc40.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc26.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc36.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc34.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc33.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc28.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc30.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc29.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc27.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc31.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc35.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc71.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc105.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc152.js";import"./v_7_4_2_27_fac7f92f-33f6-4d26-8a6f-b87b9638d3cc156.js";function Z(){const{language:e}=c(),{keys:s,setActiveKey:o,setActiveMerge:a,formatBackup:m}=l(),p=s.map(t=>r.jsxs("div",{children:[r.jsx("label",{htmlFor:t.tag,children:r.jsxs("div",{className:"flex justify-between cursor-pointer items-center hover:bg-[var(--dropdown-background-hover)] h-9 px-1 py-2 rounded",children:[r.jsxs("div",{className:"flex align-center items-center m-2",children:[r.jsx("span",{className:"mr-2",children:t.icon}),r.jsx("span",{children:e[t.nome]})]}),r.jsx("div",{className:"pulse",children:r.jsx(i,{id:t.tag,switchUpdate:()=>o(t.tag,!t.checked),estado:t.checked})})]})}),t.checked&&!t.disabledMerge&&r.jsx("label",{htmlFor:"merge_"+t.tag,children:r.jsxs("div",{className:"flex justify-self-start cursor-pointer items-center hover:bg-[var(--dropdown-background-hover)] h-7 p-2 rounded",children:[r.jsx("div",{className:"flex align-center items-start m-2",children:r.jsx("span",{className:"text-sm",children:e.mergeData})}),r.jsx("div",{className:"pulse",children:r.jsx(i,{id:"merge_"+t.tag,switchUpdate:()=>a(t.tag,!t.merge),estado:t.merge,zoom:{zoom:"65%"}})})]})})]},t.tag));return r.jsxs("div",{className:"grid gap-5 w-[535px]",children:[r.jsx(n,{children:e.selectImportBackup}),r.jsx("div",{className:"flex flex-col gap-2 overflow-x-auto",style:{maxHeight:"calc(100vh - 250px)"},children:s.length>0?p:r.jsx(d,{})}),r.jsx(x,{name:e.importBk,funcao:m})]})}export{Z as default};
