"use strict";

exports.__esModule = true;
exports.useSelectorAndUnwrap = exports.default = void 0;
var _unwrapImmutable = _interopRequireDefault(require("./../utils/unwrapImmutable"));
var _reactRedux = require("react-redux");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
(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 useSelectorAndUnwrap = exports.useSelectorAndUnwrap = function useSelectorAndUnwrap(selector) {
  return (0, _unwrapImmutable.default)((0, _reactRedux.useSelector)(selector));
};
__signature__(useSelectorAndUnwrap, "useSelector{}", function () {
  return [_reactRedux.useSelector];
});
__signature__(useSelectorAndUnwrap, "useSelector{}", function () {
  return [_reactRedux.useSelector];
});
var _default = useSelectorAndUnwrap;
var _default2 = _default;
var _default3 = exports.default = _default2;
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(useSelectorAndUnwrap, "useSelectorAndUnwrap", "/home/vsts/work/1/s/src/hooks/useSelectorAndUnwrap.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/hooks/useSelectorAndUnwrap.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(useSelectorAndUnwrap, "useSelectorAndUnwrap", "/home/vsts/work/1/s/src/hooks/useSelectorAndUnwrap.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/hooks/useSelectorAndUnwrap.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();