"use strict";

exports.__esModule = true;
exports.useSettingsPageContext = exports.settingsPageContext = exports.SettingsPageContextProvider = exports.SettingsPageContextConsumer = void 0;
var _react = require("react");
var _createContext = require("../createContext");
const context = /*#__PURE__*/(0, _react.createContext)(null);
const settingsPageContext = exports.settingsPageContext = context;
const SettingsPageContextProvider = exports.SettingsPageContextProvider = context.Provider;
const SettingsPageContextConsumer = exports.SettingsPageContextConsumer = context.Consumer;
const useSettingsPageContext = () => {
  const value = (0, _react.useContext)(settingsPageContext);
  (0, _createContext.assertContextValue)('SettingsPageProvider', value);
  return value;
};
exports.useSettingsPageContext = useSettingsPageContext;
//# sourceMappingURL=SettingsPageContext.js.map