import a from "./_baseFindIndex.js";
import o from "./_baseIteratee.js";
import f from "./toInteger.js";
var l = Math.max;
function x(t, i, n) {
  var r = t == null ? 0 : t.length;
  if (!r)
    return -1;
  var e = n == null ? 0 : f(n);
  return e < 0 && (e = l(r + e, 0)), a(t, o(i), e);
}
export {
  x as default
};
