import{j as e}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1165.js";import{u as p}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1164.js";import{u as l}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116164.js";import{S as o,o as n,bq as d,r as x}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1167.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1163.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1162.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11623.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1169.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11610.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11620.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1168.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11629.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11635.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11636.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11637.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11638.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11639.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1166.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11624.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11634.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11631.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11630.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11627.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11626.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11625.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11628.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11632.js";function O(){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{O as default};
