Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/shared/fdsPropsTransformerActions",["module","exports","require","frontend-js-web","../utils/errorMessages","../utils/toasts"],(function(e,o,r){window;Object.defineProperty(o,"__esModule",{value:!0}),o.download=function download(e,o,r){(0,s.fetch)(e,o).then((e=>{if(!e.ok)throw t.DEFAULT_ERROR;return e.blob()})).then((e=>{const o=document.createElement("a");o.download=r+".json",o.href=URL.createObjectURL(e),document.body.appendChild(o),o.click(),(0,n.openSuccessToast)()})).catch((()=>{(0,n.openErrorToast)()}))};var s=r("frontend-js-web"),t=r("../utils/errorMessages"),n=r("../utils/toasts")}));
//# sourceMappingURL=fdsPropsTransformerActions.js.map