import{aR as c,L as n}from"./index-B7qwhRTg.js";import{z as d}from"./vendor-CsGITfgk.js";async function i(t,a){try{const{data:o}=await c(t).blob(),r=window.URL.createObjectURL(d(o)),e=document.createElement("a");e.href=r,e.setAttribute("download",a),document.body.appendChild(e),e.click(),document.body.removeChild(e)}catch(o){n.error(i.name,o)}}export{i as d};
//# sourceMappingURL=index-DhwPO-Ue.js.map
