Liferay.Loader.define("@liferay/content-dashboard-web@2.0.83/js/components/DownloadSpreadsheetButton/downloadSpreadsheetUtils",["module","exports","require","frontend-js-web"],(function(e,o,t){window;Object.defineProperty(o,"__esModule",{value:!0}),o.fetchFile=async function fetchFile({controller:e,url:o}){const t=await(0,n.fetch)(o,{method:"GET",signal:e.signal});return await t.blob()},o.downloadFileFromBlob=function downloadFileFromBlob(e){const o=URL.createObjectURL(e),t=document.createElement("a");t.href=o;const n=new Date,a="ContentDashboardItemsData-".concat(n.toLocaleDateString("en-US"),".xls");t.download=a,t.click(),URL.revokeObjectURL(o)};var n=t("frontend-js-web")}));
//# sourceMappingURL=downloadSpreadsheetUtils.js.map