"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _ComponentContainer = _interopRequireDefault(require("../../../../../Framework/ComponentContainer"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var mapStateToProps = function mapStateToProps(_ref) {
  var api = _ref.api,
    ui = _ref.ui;
  return {
    show: api.isFetching && (!ui.visibilityMap.optionlist || ui.visibilityMap.optionDetails)
  };
};
var mapDispatchToProps = function mapDispatchToProps() {
  return {};
};
var _default = exports["default"] = (0, _ComponentContainer["default"])(mapStateToProps, mapDispatchToProps);