"use strict";

exports.__esModule = true;
exports.shiftToast = exports.SHIFT_TOAST = exports.pushToast = exports.PUSH_TOAST = void 0;

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var PUSH_TOAST = "PUSH_TOAST";
exports.PUSH_TOAST = PUSH_TOAST;

var pushToast = function pushToast(message, type) {
  if (type === void 0) {
    type = "confirm";
  }

  return {
    type: PUSH_TOAST,
    payload: {
      message: message,
      type: type
    }
  };
};

exports.pushToast = pushToast;
var SHIFT_TOAST = "SHIFT_TOAST";
exports.SHIFT_TOAST = SHIFT_TOAST;

var shiftToast = function shiftToast() {
  return {
    type: SHIFT_TOAST
  };
}; // Specific dismissable toast: (Later)
// Add static toast
// Remove static toast


exports.shiftToast = shiftToast;
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(PUSH_TOAST, "PUSH_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
  reactHotLoader.register(pushToast, "pushToast", "/home/vsts/work/1/s/src/actions/toasts.js");
  reactHotLoader.register(SHIFT_TOAST, "SHIFT_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
  reactHotLoader.register(shiftToast, "shiftToast", "/home/vsts/work/1/s/src/actions/toasts.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();

;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(PUSH_TOAST, "PUSH_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
  reactHotLoader.register(pushToast, "pushToast", "/home/vsts/work/1/s/src/actions/toasts.js");
  reactHotLoader.register(SHIFT_TOAST, "SHIFT_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
  reactHotLoader.register(shiftToast, "shiftToast", "/home/vsts/work/1/s/src/actions/toasts.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();