import{da as c}from"./chunk-QMYHTLAJ.js";var r=(()=>{class t{downloadExcel(o,e){this._downloadFile(o,e,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")}downloadXml(o,e){this._downloadFile(o,e,"application/xml")}_downloadFile(o,e,l){let d=new Blob([o],{type:l}),a=window.URL.createObjectURL(d),n=document.createElement("a");n.href=a,n.download=e,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(a)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=c({token:t,factory:t.\u0275fac})}}return t})();export{r as a};
