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