import c from "./index.es292.js";
import s from "./index.es145.js";
import e from "./index.es282.js";
import I from "./index.es187.js";
function g(n, f, o) {
  var r = -1 / 0, u = -1 / 0, i, l;
  if (f == null || typeof f == "number" && typeof n[0] != "object" && n != null) {
    n = c(n) ? n : s(n);
    for (var t = 0, p = n.length; t < p; t++)
      i = n[t], i != null && i > r && (r = i);
  } else
    f = e(f, o), I(n, function(m, y, a) {
      l = f(m, y, a), (l > u || l === -1 / 0 && r === -1 / 0) && (r = m, u = l);
    });
  return r;
}
export {
  g as default
};
//# sourceMappingURL=index.es198.js.map
