Início  ›  Ferramentas  ›  Trocar capa de EPUB

Trocar capa de EPUB

Adicione, troque ou remova a capa do seu ebook e corrija o título e o autor. Grátis, sem cadastro e sem enviar o arquivo para nenhum servidor.

Seu arquivo não sai do seu aparelho Kindle · Kobo · Apple Books

Seu ebook

Nova capa

Ajustes da capa

Encaixe da imagem
Cor de fundo
Tamanho da capa

Informações do livro

Aparecem aqui quando você envia o EPUB. O que você mudar é gravado no arquivo e aparece na biblioteca do Kindle, Kobo ou Apple Books.

Mais de um autor? Separe os nomes com ponto e vírgula (;).

Procurando o próximo livro?Veja os livros, HQs e mangás com desconto hoje.
Ver livros com desconto

Como trocar a capa de um EPUB

1

Envie o ebook

Escolha o arquivo .epub. A ferramenta mostra a capa atual, o título e o autor.

2

Escolha a nova capa

Use uma imagem sua ou crie uma capa simples com título e autor.

3

Baixe e leia

Baixe o EPUB e envie para o Kindle, Kobo ou o leitor que preferir.

Perguntas frequentes

Qual o tamanho ideal para a capa de um ebook?

Use uma imagem vertical na proporção 2:3, como 1600 × 2400 pixels. Para livros que vão para o Kindle, a Amazon recomenda a proporção 1,6:1, como 1600 × 2560 pixels. As duas opções estão em "Tamanho da capa".

Meu arquivo é enviado para algum lugar?

Não. O livro e a imagem são abertos e montados no seu próprio navegador. Nada é enviado para o nosso servidor.

A capa nova não apareceu no Kindle. O que fazer?

Apague a versão antiga do livro no aparelho e envie o arquivo novo pelo Enviar para Kindle. Alguns leitores guardam a miniatura da capa antiga até o livro ser removido.

Funciona com livros protegidos por DRM?

Não. Livros com DRM vêm criptografados e não podem ser alterados. A ferramenta avisa quando encontrar um arquivo assim.

Posso só remover a capa?

Pode. Envie o EPUB, escolha "Remover" em "Nova capa" e toque em "Baixar EPUB sem capa". A página de capa também é retirada, para não sobrar uma página em branco.

Posso mudar o título e o autor sem trocar a capa?

Pode. Envie o EPUB, corrija os dados em "Informações do livro" e baixe o arquivo sem escolher imagem. A capa atual continua no livro. O título, o autor, a editora e o ano ficam gravados no EPUB, e o seu leitor de ebooks passa a mostrar os dados novos na biblioteca.

Procurando o próximo livro?Veja os livros, HQs e mangás com desconto hoje.
Ver livros com desconto
'),e.file("OEBPS/cap1.xhtml",'\n\nCapítulo 1

Capítulo 1

Este é um livro de exemplo, criado só para testar a troca de capa.

'),e.generateAsync({type:"blob",mimeType:"application/epub+zip"})}();await O(e,"livro-de-exemplo.epub"),n.epub&&(n.epub.originalBlob=e)})),r("lc-btnChangeFile").addEventListener("click",(function(){r("lc-inEpub").click()}));var c=r("lc-metaHint").textContent;r("lc-btnRemoveFile").addEventListener("click",(function(){n.busy||(n.epub=null,n.beforeUrl&&(URL.revokeObjectURL(n.beforeUrl),n.beforeUrl=null),["lc-inTitle","lc-inAuthor","lc-inPublisher","lc-inYear"].forEach((function(e){r(e).value=""})),r("lc-metaHint").textContent=c,"remover"===n.mode&&(n.mode="imagem"),y(""),x(""),r("lc-kindleBox").hidden=!0,z())})),r("lc-btnClearImg").addEventListener("click",(function(){n.img=null,n.imgName="",z()})),i.querySelectorAll(".seg button").forEach((function(e){e.addEventListener("click",(function(){n.mode=e.dataset.mode,"texto"===n.mode&&I().then(z),z()}))})),i.querySelectorAll("[data-group] .chip").forEach((function(e){e.addEventListener("click",(function(){var t,r,a=e.parentNode.dataset.group;n[a]=e.dataset.v,t=a,r=e.dataset.v,i.querySelectorAll('[data-group="'+t+'"] .chip').forEach((function(e){e.setAttribute("aria-pressed",String(e.dataset.v===r))})),z()}))})),i.querySelectorAll(".sw").forEach((function(e){e.addEventListener("click",(function(){n.bg=e.dataset.c,i.querySelectorAll(".sw").forEach((function(t){t.setAttribute("aria-pressed",String(t===e))})),z()}))})),r("lc-inColor").addEventListener("input",(function(e){n.bg=e.target.value,i.querySelectorAll(".sw").forEach((function(e){e.setAttribute("aria-pressed","false")})),z()})),["lc-inTitle","lc-inAuthor","lc-inPublisher","lc-inYear"].forEach((function(e){r(e).addEventListener("input",z)})),r("lc-btnResetMeta").addEventListener("click",(function(){n.epub&&(M(n.epub),z())})),r("lc-btnGo").addEventListener("click",(async function(){if(!n.busy&&n.epub&&("none"!==B()||U())&&k()){r("lc-inTitle").value.trim()||(r("lc-inTitle").value=n.epub.title),n.busy=!0,z(),x("Montando o EPUB…");var t=n.epub;try{"texto"===n.mode&&await I();var i=await async function(){var t=n.epub,r=t.zip,i=t.opf,a=i.documentElement.namespaceURI||e,l=v(i,"metadata")[0],c=v(i,"manifest")[0],h=(v(i,"spine")[0],"3"===t.version.charAt(0)),x=B(),y=P();function E(){v(i,"meta").forEach((function(e){"cover"===e.getAttribute("name")&&e.parentNode.removeChild(e)}))}function C(e){E();var t=i.createElementNS(a,"meta");t.setAttribute("name","cover"),t.setAttribute("content",e),l.appendChild(t)}function S(e){var t=e.getAttribute("id");t&&(v(i,"itemref").forEach((function(e){e.getAttribute("idref")===t&&e.parentNode.removeChild(e)})),v(i,"meta").concat(v(i,"link")).forEach((function(e){e.getAttribute("refines")==="#"+t&&e.parentNode.removeChild(e)}))),e.parentNode&&e.parentNode.removeChild(e)}if(U()&&await async function(t,r,i){var n=t.opf,a=v(n,"metadata")[0],l=L();function c(e){var t=e.getAttribute("id");t&&v(a,"meta").concat(v(a,"link")).forEach((function(e){e.getAttribute("refines")==="#"+t&&e.parentNode.removeChild(e)}))}function u(e,t){var r=n.createElementNS(o,"dc:"+e);return r.textContent=t,r}function s(e,t){var r=v(a,e);t?r[0]?r[0].textContent=t:a.appendChild(u(e,t)):r.forEach((function(e){c(e),e.parentNode.removeChild(e)}))}if(l.title&&l.title!==t.title){s("title",l.title);var f=[];t.zip.forEach((function(e,t){!t.dir&&/\.ncx$/i.test(e)&&f.push(e)}));for(var m=0;m=0&&r.file(Y[G],Z.split(H).join(W))}}if(r.file($,D),h){var J=(j.getAttribute("properties")||"").split(/\s+/).filter(Boolean);J.indexOf("cover-image")<0&&J.push("cover-image"),j.setAttribute("properties",J.join(" "))}C(j.getAttribute("id")),t.coverPagePath?await async function(e,t){var r=p(e.zip,e.coverPagePath);if(r){var i=await r.async("string"),n=i.replace(/viewBox\s*=\s*"0 0 [\d.]+ [\d.]+"/i,'viewBox="0 0 '+t[0]+" "+t[1]+'"').replace(/(]*?\swidth\s*=\s*")[\d.]+(")/i,"$1"+t[0]+"$2").replace(/(]*?\sheight\s*=\s*")[\d.]+(")/i,"$1"+t[1]+"$2");n!==i&&e.zip.file(r.name,n)}}(t,y):await F(t,$,y,a,h)}else{var X=g(r,t.opfDir+"images/cover.jpg");r.file(X,D);var K=b(i,"cover-image"),Q=i.createElementNS(a,"item");Q.setAttribute("id",K),Q.setAttribute("href",m(t.opfDir,X)),Q.setAttribute("media-type","image/jpeg"),h&&Q.setAttribute("properties","cover-image"),c.appendChild(Q),C(K),await F(t,X,y,a,h)}}var V=(new XMLSerializer).serializeToString(i);/^<\?xml/.test(V)||(V='\n'+V),r.file(t.opfPath,V);var _=new JSZip;_.file("mimetype","application/epub+zip",{compression:"STORE"});var ee=[];r.forEach((function(e,t){t.dir||"mimetype"===e||ee.push(e)}));for(var te=0;te1048576?(e/1048576).toFixed(1).replace(".",",")+" MB":Math.max(1,Math.round(e/1024))+" KB"}function g(e,t){if(!p(e,t))return t;for(var r=t.lastIndexOf("."),i=2;p(e,t.slice(0,r)+"-"+i+t.slice(r));)i++;return t.slice(0,r)+"-"+i+t.slice(r)}function b(e,t){var r={};v(e,"item").forEach((function(e){r[e.getAttribute("id")]=1}));for(var i=t,n=2;r[i];)i=t+"-"+n++;return i}function x(e,t){var i=r("lc-status");i.textContent=e||"",i.className="status"+(t?" "+t:"")}function y(e){var t=r("lc-epubError");t.textContent=e,t.hidden=!e}async function E(e,t){var r;try{r=await JSZip.loadAsync(e)}catch(e){throw new Error("Não consegui abrir este arquivo. Confira se ele é mesmo um .epub.")}if(p(r,"META-INF/encryption.xml")&&((await p(r,"META-INF/encryption.xml").async("string")).match(/Algorithm\s*=\s*"[^"]*"/g)||[]).some((function(e){return!/idpf\.org\/2008\/embedding|ns\.adobe\.com\/pdf\/enc#RC/.test(e)})))throw new Error("Este livro tem DRM (proteção contra cópia) e não pode ser alterado.");var i=p(r,"META-INF/container.xml");if(!i)throw new Error("Este arquivo não parece ser um EPUB válido: falta o META-INF/container.xml.");var n=d(await i.async("string")),a=n&&v(n,"rootfile")[0],o=a&&a.getAttribute("full-path");if(!o||!p(r,o))throw new Error("Não encontrei o arquivo de índice do livro (OPF).");o=p(r,o).name;var l=d(await p(r,o).async("string"));if(!l)throw new Error("O índice do livro (OPF) está com defeito e não pôde ser lido.");var c={zip:r,name:t,size:e.size,opfPath:o,opfDir:u(o),opf:l,version:l.documentElement.getAttribute("version")||"2.0"},s=v(l,"metadata")[0]||l.documentElement,m=v(s,"title")[0],h=v(s,"publisher")[0],g=v(s,"date")[0];c.title=m?m.textContent.trim():"",c.author=v(s,"creator").map((function(e){return e.textContent.trim()})).filter(Boolean).join("; "),c.publisher=h?h.textContent.trim():"";var b=g?g.textContent.match(/\d{4}/):null;return c.year=b?b[0]:"",await async function(e){var t=w(e),r=null;if(!(r=t.filter((function(e){return/(^|\s)cover-image(\s|$)/.test(e.getAttribute("properties")||"")}))[0]||null)){var i=v(e.opf,"meta").filter((function(e){return"cover"===e.getAttribute("name")}))[0];if(i){var n=i.getAttribute("content");r=t.filter((function(e){return e.getAttribute("id")===n}))[0]||t.filter((function(e){return e.getAttribute("href")===n}))[0]||null}}var a=v(e.opf,"reference").filter((function(e){return/cover/i.test(e.getAttribute("type")||"")}))[0];if(e.coverPagePath=null,a){var o=f(e.opfDir,a.getAttribute("href")||"");p(e.zip,o)&&(e.coverPagePath=p(e.zip,o).name)}if(!r&&e.coverPagePath){var l=await async function(e,t){return(await C(e,t)).refs[0]||null}(e,e.coverPagePath);l&&(r=t.filter((function(t){return A(e,t)===l}))[0]||null)}if(r||(r=t.filter((function(e){return/^image\//.test(e.getAttribute("media-type")||"")&&/cover/i.test((e.getAttribute("id")||"")+" "+(e.getAttribute("href")||""))}))[0]||null),e.coverItem=r,e.coverPath=r?A(e,r):null,e.coverPath&&!p(e.zip,e.coverPath)&&(e.coverItem=null,e.coverPath=null),e.coverPath&&(e.coverPath=p(e.zip,e.coverPath).name),e.coverMime=r&&r.getAttribute("media-type")||"",e.coverPath&&!e.coverPagePath)for(var c=v(e.opf,"itemref").slice(0,3),u=0;u=0&&d.textLen<40){e.coverPagePath=p(e.zip,m).name;break}}}}}(c),c}function w(e){return v(e.opf,"item")}function A(e,t){return f(e.opfDir,t.getAttribute("href")||"")}async function C(e,t){var r=p(e.zip,t);if(!r)return{refs:[],textLen:9999};var i,n=d(i=await r.async("string"))||(new DOMParser).parseFromString(i,"text/html"),a=[];v(n,"img").forEach((function(e){a.push(e.getAttribute("src"))})),v(n,"image").forEach((function(e){a.push(e.getAttributeNS("http://www.w3.org/1999/xlink","href")||e.getAttribute("xlink:href")||e.getAttribute("href"))}));var o=v(n,"body")[0];return{refs:a.filter(Boolean).map((function(e){return f(u(t),e)})),textLen:o?o.textContent.replace(/\s+/g,"").length:0}}function P(){return t[n.size]}function S(e,t,r){var i=t.split(/\s+/).filter(Boolean),n=[],a="";return i.forEach((function(t){var i=a?a+" "+t:t;e.measureText(i).width<=r||!a?a=i:(n.push(a),a=t)})),a&&n.push(a),n}function N(e,t,r,i,n,a,o){var l,c=i;do{e.font=r.replace("{px}",c),l=S(e,t,a),c-=4}while((l.length>o||l.some((function(t){return e.measureText(t).width>a})))&&c>n);return{lines:l,px:c+4}}function T(e){var t=P(),i=t[0],a=t[1];e.width=i,e.height=a;var o=e.getContext("2d"),l=function(e){var t=e.replace("#","");3===t.length&&(t=t.split("").map((function(e){return e+e})).join(""));var r=[0,2,4].map((function(e){var r=parseInt(t.substr(e,2),16)/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}));return.2126*r[0]+.7152*r[1]+.0722*r[2]}(n.bg)<.35?"#fbf6ef":"#241f1a",c="#c4631c"===n.bg.toLowerCase()?"#fbf6ef":"#e07a2c";if(o.fillStyle=n.bg,o.fillRect(0,0,i,a),"imagem"!==n.mode){var u=(r("lc-inTitle").value||"Sem título").trim(),s=(r("lc-inAuthor").value||"").trim();if(o.fillStyle=l,o.textBaseline="alphabetic","classico"===n.style){o.strokeStyle=l,o.globalAlpha=.35,o.lineWidth=4,o.strokeRect(80,80,i-160,a-160),o.globalAlpha=1,o.fillStyle=c,o.fillRect(i/2-90,.3*a,180,8),o.fillStyle=l,o.textAlign="center";var f=N(o,u,"600 {px}px Fraunces, Georgia, serif",190,70,i-320,5),m=1.12*f.px,p=.3*a+80+f.px;f.lines.forEach((function(e,t){o.fillText(e,i/2,p+t*m)})),s&&(o.font="600 64px 'Work Sans', system-ui, sans-serif",void 0!==o.letterSpacing&&(o.letterSpacing="10px"),o.fillText(s.toUpperCase(),i/2,a-230,i-320),void 0!==o.letterSpacing&&(o.letterSpacing="0px"))}else if("moderno"===n.style){o.fillStyle=c,o.fillRect(140,220,24,.42*a),o.fillStyle=l,o.textAlign="left";var d=N(o,u,"700 {px}px 'Work Sans', system-ui, sans-serif",210,72,i-360,6),v=1.05*d.px;d.lines.forEach((function(e,t){o.fillText(e,220,220+.82*d.px+t*v)})),s&&(o.font="500 72px 'Work Sans', system-ui, sans-serif",o.fillText(s,140,a-200,i-280))}else{o.textAlign="center";var h=N(o,u,"500 {px}px Fraunces, Georgia, serif",150,60,i-400,5),g=1.2*h.px,b=h.lines.length*g,x=a/2-b/2+.8*h.px;h.lines.forEach((function(e,t){o.fillText(e,i/2,x+t*g)})),s&&(o.globalAlpha=.75,o.font="italic 500 60px Fraunces, Georgia, serif",o.fillText(s,i/2,x+b+60,i-400),o.globalAlpha=1)}}else{var y=n.img,E=y.naturalWidth||y.width,w=y.naturalHeight||y.height;if("esticar"===n.fit)o.drawImage(y,0,0,i,a);else{var A="recortar"===n.fit?Math.max(i/E,a/w):Math.min(i/E,a/w),C=E*A,S=w*A;o.imageSmoothingQuality="high",o.drawImage(y,(i-C)/2,(a-S)/2,C,S)}}}function B(){return n.epub?"texto"===n.mode||"imagem"===n.mode&&n.img?"replace":"remover"===n.mode&&n.epub.coverPath?"remove":"none":"none"}function L(){return{title:r("lc-inTitle").value.trim(),author:r("lc-inAuthor").value.split(";").map((function(e){return e.trim()})).filter(Boolean).join("; "),publisher:r("lc-inPublisher").value.trim(),year:r("lc-inYear").value.trim()}}function U(){if(!n.epub)return!1;var e=L(),t=n.epub;return e.title!==t.title||e.author!==t.author||e.publisher!==t.publisher||e.year!==t.year}function k(){var e=r("lc-inYear").value.trim();return!e||/^\d{4}$/.test(e)}function z(){a||(a=!0,requestAnimationFrame((function(){a=!1,function(){var e=n.epub,t=P(),a=!(!e||!e.coverPath);"remover"===n.mode&&e&&!a&&(n.mode="imagem"),r("lc-dropEpub").hidden=!!e,r("lc-btnSample").hidden=!!e,r("lc-fileCard").hidden=!e,r("lc-btnResetMeta").hidden=!U(),["lc-inTitle","lc-inAuthor","lc-inPublisher","lc-inYear"].forEach((function(t){r(t).disabled=!e})),i.querySelectorAll(".seg button").forEach((function(e){e.setAttribute("aria-pressed",String(e.dataset.mode===n.mode))})),r("lc-segRemove").hidden=!!e&&!a,r("lc-panelImagem").hidden="imagem"!==n.mode,r("lc-panelTexto").hidden="texto"!==n.mode,r("lc-panelRemover").hidden="remover"!==n.mode,r("lc-btnClearImg").hidden=!n.img,r("lc-imgLabel").textContent=n.img?"Imagem: "+n.imgName+" (toque para trocar)":"Toque ou arraste a imagem";var o="remover"===n.mode;r("lc-optFit").hidden="imagem"!==n.mode,r("lc-optStyle").hidden="texto"!==n.mode,r("lc-optSize").hidden=o,r("lc-optBg").hidden=o||!("texto"===n.mode||"centralizar"===n.fit),r("lc-adjHint").hidden=!o;var l=t[0]+"/"+t[1];["lc-frameBefore","lc-frameAfter"].forEach((function(e){r(e).style.aspectRatio=l}));var c=r("lc-frameBefore");if(e&&n.beforeUrl){c.className="cv-frame has",c.innerHTML="";var u=document.createElement("img");u.src=n.beforeUrl,u.alt="Capa atual",c.appendChild(u)}else c.className="cv-frame",c.textContent=e?"Este livro está sem capa":"Capa atual";var s=r("lc-frameAfter"),f=B();if("replace"===f||!e&&"imagem"===n.mode&&n.img){var m=s.querySelector("canvas");m||(s.innerHTML="",(m=document.createElement("canvas")).setAttribute("role","img"),m.setAttribute("aria-label","Prévia da nova capa"),s.appendChild(m)),s.className="cv-frame has",T(m)}else if(e&&"imagem"===n.mode&&n.beforeUrl){s.className="cv-frame has",s.innerHTML="";var p=document.createElement("img");p.src=n.beforeUrl,p.alt="Capa mantida",s.appendChild(p)}else s.className="cv-frame",s.textContent=e?"remove"===f?"Sem capa (a atual será removida)":"imagem"===n.mode?"Escolha uma imagem":"Sem capa":"Nova capa";var d=L(),v=U();r("lc-facts").innerHTML="",[["Título",e?d.title||"não informado":"—"],["Autor",e?d.author||"não informado":"—"],["Editora",e?d.publisher||"não informada":"—"],["Ano",e?d.year||"não informado":"—"],["Versão",e?"EPUB "+e.version.charAt(0):"—"],["Capa",e?"replace"===f?"nova, "+t[0]+" × "+t[1]+" px":"remove"===f?"será removida":e.coverPath?"mantida":"sem capa":"—"]].forEach((function(e,t){t&&r("lc-facts").appendChild(document.createElement("br"));var i=document.createElement("strong");i.textContent=e[0]+": ",r("lc-facts").appendChild(i),r("lc-facts").appendChild(document.createTextNode(e[1]))}));var h=r("lc-btnGo"),g="none"===f&&!v;h.disabled=n.busy||!e||g||!k(),h.textContent=n.busy?"Montando o EPUB…":e?k()?"remove"===f?"Baixar EPUB sem capa":"replace"===f?"Baixar EPUB com nova capa":v?"Baixar EPUB com dados atualizados":"imagem"===n.mode?"Escolha uma imagem":"Altere a capa ou as informações":"Confira o ano (4 números)":"Selecione um EPUB"}()})))}async function O(e,t){y(""),x("Abrindo o livro…"),r("lc-kindleBox").hidden=!0;try{var i=await E(e,t);if(n.beforeUrl&&URL.revokeObjectURL(n.beforeUrl),n.beforeUrl=null,i.coverPath){var a=await p(i.zip,i.coverPath).async("blob");n.beforeUrl=URL.createObjectURL(new Blob([a],{type:i.coverMime||"image/jpeg"}))}n.epub=i,r("lc-fileName").textContent=t,r("lc-fileMeta").textContent=h(e.size)+" · EPUB "+i.version.charAt(0)+" · "+(i.coverPath?"capa encontrada":"sem capa"),M(i),r("lc-metaHint").textContent=i.title||i.author?"Lidas do próprio arquivo. O que você mudar aqui é gravado no EPUB e aparece na biblioteca do Kindle, Kobo ou Apple Books.":"O arquivo não informa título e autor. Preencha aqui para o livro aparecer certo na sua biblioteca.",x("")}catch(e){n.epub=null,y(e.message),x("")}z()}function M(e){r("lc-inTitle").value=e.title,r("lc-inAuthor").value=e.author,r("lc-inPublisher").value=e.publisher,r("lc-inYear").value=e.year}async function R(e){var t=[];return e.zip.forEach((function(e,r){!r.dir&&/\.(x?html?|css|ncx)$/i.test(e)&&t.push(e)})),t}async function F(e,t,r,i,n){var a=e.opf,o=e.zip,l=g(o,e.opfDir+"cover.xhtml"),c=m(u(l),t),s=n?'\n\n\n\nCapa\n\n\n\n
\n\n\n\n
\n\n\n':'\n\n\n\nCapa\n\n\n\n
Capa
\n\n\n';o.file(l,s);var f=b(a,"cover-page"),p=a.createElementNS(i,"item");p.setAttribute("id",f),p.setAttribute("href",m(e.opfDir,l)),p.setAttribute("media-type","application/xhtml+xml"),n&&p.setAttribute("properties","svg"),v(a,"manifest")[0].appendChild(p);var d=v(a,"spine")[0],h=a.createElementNS(i,"itemref");h.setAttribute("idref",f),h.setAttribute("linear","yes"),d.insertBefore(h,d.firstElementChild||null);var x=v(a,"guide")[0];if(x||n||(x=a.createElementNS(i,"guide"),a.documentElement.appendChild(x)),x){v(x,"reference").forEach((function(e){/cover/i.test(e.getAttribute("type")||"")&&e.parentNode.removeChild(e)}));var y=a.createElementNS(i,"reference");y.setAttribute("type","cover"),y.setAttribute("title","Capa"),y.setAttribute("href",m(e.opfDir,l)),x.insertBefore(y,x.firstElementChild||null)}}function I(){return l||(l=document.fonts?Promise.all([document.fonts.load("600 100px Fraunces"),document.fonts.load("500 100px Fraunces"),document.fonts.load("italic 500 60px Fraunces"),document.fonts.load("700 100px 'Work Sans'"),document.fonts.load("600 60px 'Work Sans'"),document.fonts.load("500 60px 'Work Sans'")]).catch((function(){})):Promise.resolve()),l}async function D(e){e&&(/\.epub$/i.test(e.name)||"application/epub+zip"===e.type?(await O(e,e.name),n.epub&&(n.epub.originalBlob=e)):y("Escolha um arquivo com extensão .epub."))}async function j(e){if(e){try{n.img=await function(e){return new Promise((function(t,r){var i=URL.createObjectURL(e),n=new Image;n.onload=function(){t(n)},n.onerror=function(){URL.revokeObjectURL(i),r(new Error("Não consegui abrir esta imagem. Use JPG, PNG ou WebP."))},n.src=i}))}(e),n.imgName=e.name,n.mode="imagem",x("")}catch(e){x(e.message,"err")}z()}}}();

Este site contém links de afiliados. Como Associado da Amazon e de outros programas de afiliados, podemos ganhar comissões por compras qualificadas feitas através desses links, sem custo adicional para você.