import p from "./index.es292.js";
import s from "./index.es143.js";
import g from "./index.es283.js";
function k(i) {
  var l = function(r, a, n, f) {
    var e = !p(r) && s(r), u = (e || r).length, t = i > 0 ? 0 : u - 1;
    for (f || (n = r[e ? e[t] : t], t += i); t >= 0 && t < u; t += i) {
      var c = e ? e[t] : t;
      n = a(n, r[c], c, r);
    }
    return n;
  };
  return function(r, a, n, f) {
    var e = arguments.length >= 3;
    return l(r, g(a, f, 4), n, e);
  };
}
export {
  k as default
};
//# sourceMappingURL=index.es293.js.map
