"use strict";

exports.__esModule = true;
exports.doesScopeHaveGeolocationProviderSelector = void 0;
var _reselect = require("reselect");
(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 scopesExtendedConfigurationData = function scopesExtendedConfigurationData(state) {
  return state.get("scopesExtendedConfiguration");
};
var doesScopeHaveGeolocationProviderSelector = exports.doesScopeHaveGeolocationProviderSelector = function doesScopeHaveGeolocationProviderSelector(scopeId) {
  return (0, _reselect.createSelector)(scopesExtendedConfigurationData, function (scopesCfg) {
    var _scopesCfg$get$get, _scopesCfg$get;
    return (_scopesCfg$get$get = scopesCfg == null || (_scopesCfg$get = scopesCfg.get(scopeId)) == null ? void 0 : _scopesCfg$get.get("hasGeolocationProvider")) != null ? _scopesCfg$get$get : false;
  });
};
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(scopesExtendedConfigurationData, "scopesExtendedConfigurationData", "/home/vsts/work/1/s/src/selectors/scopeExtendedConfiguration.js");
  reactHotLoader.register(doesScopeHaveGeolocationProviderSelector, "doesScopeHaveGeolocationProviderSelector", "/home/vsts/work/1/s/src/selectors/scopeExtendedConfiguration.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(scopesExtendedConfigurationData, "scopesExtendedConfigurationData", "/home/vsts/work/1/s/src/selectors/scopeExtendedConfiguration.js");
  reactHotLoader.register(doesScopeHaveGeolocationProviderSelector, "doesScopeHaveGeolocationProviderSelector", "/home/vsts/work/1/s/src/selectors/scopeExtendedConfiguration.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();