import{j as e}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f5.js";import{u as p}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f4.js";import{u as l}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f163.js";import{S as o,o as n,bq as d,r as x}from"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f7.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f3.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f2.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f23.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f9.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f10.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f8.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f20.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f29.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f34.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f35.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f36.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f37.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f38.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f6.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f24.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f33.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f30.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f27.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f26.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f25.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f28.js";import"./v_7_4_3_35_4ab187d4-286d-4a55-8ea4-8375ea3c1d1f31.js";function J(){const{language:t}=p(),{keys:s,setActiveKey:i,setActiveMerge:a,formatBackup:m}=l(),c=s.map(r=>e.jsxs("div",{children:[e.jsx("label",{htmlFor:r.tag,children:e.jsxs("div",{className:"flex justify-between cursor-pointer items-center hover:bg-[var(--dropdown-background-hover)] h-9 px-1 py-2 rounded",children:[e.jsxs("div",{className:"flex align-center items-center m-2",children:[e.jsx("span",{className:"mr-2",children:r.icon}),e.jsx("span",{children:t[r.nome]})]}),e.jsx("div",{className:"pulse",children:e.jsx(o,{id:r.tag,switchUpdate:()=>i(r.tag,!r.checked),estado:r.checked})})]})}),r.checked&&!r.disabledMerge&&e.jsx("label",{htmlFor:"merge_"+r.tag,children:e.jsxs("div",{className:"flex justify-self-start cursor-pointer items-center hover:bg-[var(--dropdown-background-hover)] h-7 p-2 rounded",children:[e.jsx("div",{className:"flex align-center items-start m-2",children:e.jsx("span",{className:"text-sm",children:t.mergeData})}),e.jsx("div",{className:"pulse",children:e.jsx(o,{id:"merge_"+r.tag,switchUpdate:()=>a(r.tag,!r.merge),estado:r.merge,zoom:{zoom:"65%"}})})]})})]},r.tag));return e.jsxs("div",{className:"grid gap-5 w-[535px]",children:[e.jsx(n,{children:t.selectImportBackup}),e.jsx("div",{className:"flex flex-col gap-2 overflow-x-auto",style:{maxHeight:"calc(100vh - 250px)"},children:s.length>0?c:e.jsx(d,{})}),e.jsx(x,{name:t.importBk,funcao:m})]})}export{J as default};
