import { C as isArray_default, m as isArrayLike_default, x as identity_default } from "./_baseFor-BGiY-cm1.js";
import { t as isSymbol_default } from "./isSymbol-BvIfMnn6.js";
import { d as _arrayMap_default } from "./hasIn-COs6vImh.js";
import { c as _baseIteratee_default, o as _baseEach_default } from "./_baseUniq-CxZRxRRo.js";
function baseMap(e, l) {
  var u = -1, d = isArrayLike_default(e) ? Array(e.length) : [];
  return _baseEach_default(e, function(e2, c, f) {
    d[++u] = l(e2, c, f);
  }), d;
}
var _baseMap_default = baseMap;
function map(c, l) {
  return (isArray_default(c) ? _arrayMap_default : _baseMap_default)(c, _baseIteratee_default(l, 3));
}
var map_default = map;
function baseLt(e, c) {
  return e < c;
}
var _baseLt_default = baseLt;
function baseExtremum(e, c, l) {
  for (var d = -1, f = e.length; ++d < f; ) {
    var p = e[d], m = c(p);
    if (m != null && (h === void 0 ? m === m && !isSymbol_default(m) : l(m, h))) var h = m, g = p;
  }
  return g;
}
var _baseExtremum_default = baseExtremum;
function min(e) {
  return e && e.length ? _baseExtremum_default(e, identity_default, _baseLt_default) : void 0;
}
var min_default = min;
export {
  _baseMap_default as a,
  map_default as i,
  _baseExtremum_default as n,
  _baseLt_default as r,
  min_default as t
};
