import { S as f } from "./isObjectLike.z36Fu426.js";
import { i as p } from "./watch.BCJD77bD.js";
import { i as g } from "./isSymbol.L0C2ND_U.js";
function l(r, t) {
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
    o[n] = t(r[n], n, r);
  return o;
}
var s = f ? f.prototype : void 0, e = s ? s.toString : void 0;
function m(r) {
  if (typeof r == "string")
    return r;
  if (p(r))
    return l(r, m) + "";
  if (g(r))
    return e ? e.call(r) : "";
  var t = r + "";
  return t == "0" && 1 / r == -1 / 0 ? "-0" : t;
}
function b(r) {
  return r == null ? "" : m(r);
}
export {
  l as a,
  b as t
};
