import{j as a}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777.js";import{u as l,d as n}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277720.js";import{V as c,de as d,X as i,I as m}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277711.js";import{d as p}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777154.js";import{u as x}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277746.js";import{V as h}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277719.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27778.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27777.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27779.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27776.js";const g="/assets/png/Gabarito.chunk.png";function G(){const{language:s}=l(),{config:o}=n(x(r=>({config:r.config}))),e=async()=>{try{const r=await fetch(`${h.backend_utils}api/XLSX/gabarito`);if(!r.ok)throw new Error("Erro ao buscar gabarito");const t=await r.json();p(t.XLSXbase64,`${o.name}_gabarito.xlsx`)}catch(r){console.error("Erro ao baixar gabarito:",r),m({type:"Error",message:s.erroDownload,position:"top-right"})}};return a.jsxs("div",{className:"w-[800px] p-2 px-4",children:[a.jsxs("div",{className:"flex gap-2 items-center",children:[a.jsx(c,{children:s.modeloDeImportacao}),a.jsxs("button",{className:"ml-3 btn-daisy !btn-xs !bg-[var(--primaria)] pulse !text-[var(--letra)]",onClick:e,children:[a.jsx(d,{size:14}),s.baixarModelo]})]}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsxs("div",{className:"pt-2",children:[a.jsx(i,{weight:"600",children:s.sigaAsInstrucoesAbaixo}),a.jsxs("ul",{className:"list-decimal grid gap-2 px-6",children:[a.jsx("li",{children:s.abraUmArquivoExcelBranco}),a.jsxs("li",{children:[a.jsx("span",{children:s.posicioneContatosFormatacao}),a.jsx("span",{children:a.jsx("img",{src:chrome.runtime.getURL(`content/${g}`),alt:"gabrito",className:"h-[96px] w-full rounded-md"})})]}),a.jsx("li",{children:s.aposConcluirSalveImporte})]})]}),a.jsxs("div",{className:"pt-2",children:[a.jsx(i,{weight:"600",children:s.dicasIndinspensaveis}),a.jsxs("ul",{className:"list-decimal grid gap-2 px-6",children:[a.jsxs("li",{children:[s.importanteContatosTenham," ",a.jsx("strong",{className:"text-[var(--primaria)]",children:s.dDDS}),s.respectivos]}),a.jsxs("li",{children:[a.jsx("span",{children:s.QueiraImportarContatos}),a.jsx("a",{className:"link text-[var(--primaria)]",href:"https://contacts.google.com",target:"_blank",children:"Google Contacts"}),a.jsxs("span",{children:[" ",s.downloadPlanilhaEImportacao]})]})]})]})]})]})}export{G as default};
