import { commonjsGlobal as o } from "../../../../../_virtual/_commonjsHelpers.js";
var i = l;
function l(e, r) {
  if (a("noDeprecation"))
    return e;
  var t = !1;
  function n() {
    if (!t) {
      if (a("throwDeprecation"))
        throw new Error(r);
      a("traceDeprecation") ? console.trace(r) : console.warn(r), t = !0;
    }
    return e.apply(this, arguments);
  }
  return n;
}
function a(e) {
  try {
    if (!o.localStorage)
      return !1;
  } catch {
    return !1;
  }
  var r = o.localStorage[e];
  return r == null ? !1 : String(r).toLowerCase() === "true";
}
export {
  i as default
};
//# sourceMappingURL=browser.js.map
