function c(t,o,n){const e=document.createElement("a");e.href=t,e.download=o,e.style.display="none",e.addEventListener("click",a=>{a.stopPropagation()}),document.body.appendChild(e),setTimeout(()=>{e.click(),document.body.removeChild(e),typeof n=="function"&&n()},50)}const d={downloadCsvArray(t,o){let n="data:text/csv;charset=utf-8,";n+=t.map(e=>e.join(",")).join(`
`),c(encodeURI(n),o)},downloadDataAsFile(t,o,n){const e=new Blob([t],{type:n}),a=URL.createObjectURL(e);c(a,o,()=>{URL.revokeObjectURL(a)})},safeDownloadCsv(t,o){this.downloadDataAsFile(t,o,"text/csv;charset=utf-8;")}};export{d as F};
//# sourceMappingURL=B5-QmNlz.chunk.js.map
