"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactRedux = require("react-redux");
var _SearchResultSidebarToggleButton = _interopRequireDefault(require("../../components/search/SearchResultSidebarToggleButton"));
var _prefs = require("../../actions/prefs");
var _reducers = require("../../reducers");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const mapStateToProps = state => ({
  isSearchResultSidebarOpen: (0, _reducers.isSearchResultSidebarOpen)(state)
});
const mapDispatchToProps = {
  toggleSearchResultSidebar: _prefs.toggleSearchResultSidebar
};
var _default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_SearchResultSidebarToggleButton.default);
exports.default = _default;