import { f as m } from "./index.es456.js";
import { i as p } from "./index.es606.js";
import { i as c } from "./index.es367.js";
import { c as b } from "./index.es455.js";
import { t as S } from "./index.es500.js";
var $ = m, n = p, k = c, u = b, l = S, v = $([].push), T = function(t) {
  if (k(t))
    return t;
  if (n(t)) {
    for (var g = t.length, i = [], a = 0; a < g; a++) {
      var r = t[a];
      typeof r == "string" ? v(i, r) : (typeof r == "number" || u(r) === "Number" || u(r) === "String") && v(i, l(r));
    }
    var h = i.length, f = !0;
    return function(y, o) {
      if (f)
        return f = !1, o;
      if (n(this))
        return o;
      for (var s = 0; s < h; s++)
        if (i[s] === y)
          return o;
    };
  }
};
export {
  T as g
};
//# sourceMappingURL=index.es574.js.map
