Liferay.Loader.define("commerce-frontend-js@4.0.75/utilities/notifications",["module","exports","require","frontend-js-web"],(function(e,o,i){window;{Object.defineProperty(o,"__esModule",{value:!0}),o.showNotification=showNotification,o.showErrorNotification=function showErrorNotification(e=Liferay.Language.get("unexpected-error")){showNotification(e,"danger")};var n=i("frontend-js-web");const e={danger:Liferay.Language.get("danger"),success:Liferay.Language.get("success"),warning:Liferay.Language.get("warning")};function showNotification(o,i="success",t=!0,a=500,r){(0,n.openToast)({closeable:t,delay:{hide:5e3,show:0},duration:a,message:o,title:r||e[i],type:i})}}}));
//# sourceMappingURL=notifications.js.map