import * as n from "react";
import { T as o } from "./index-emotion-element-8ce3e063.browser.esm.js";
import "./index-emotion-react.browser.esm.js";
function r(t) {
  return Object.keys(t).length === 0;
}
function u(t = null) {
  const e = n.useContext(o);
  return !e || r(e) ? t : e;
}
export {
  u as default
};
