const a = typeof global < "u" ? global : self, l = a.MutationObserver || a.WebKitMutationObserver;
function s(n) {
  return function() {
    const o = setTimeout(r, 0), t = setInterval(r, 50);
    function r() {
      clearTimeout(o), clearInterval(t), n();
    }
  };
}
function u(n) {
  let e = 1;
  const o = new l(n), t = document.createTextNode("");
  return o.observe(t, {
    characterData: !0
  }), function() {
    e = -e, t.data = e;
  };
}
const c = typeof l == "function" ? u : s;
export {
  c as makeRequestCall,
  u as makeRequestCallFromMutationObserver,
  s as makeRequestCallFromTimer
};
//# sourceMappingURL=makeRequestCall.es.js.map
