import { _ as C } from "./index.es322.js";
import { f as B } from "./index.es378.js";
import { f as b } from "./index.es574.js";
import { i as A } from "./index.es575.js";
import { o as E } from "./index.es459.js";
import { s as Y } from "./index.es457.js";
import { d as $ } from "./index.es576.js";
import { w as k } from "./index.es467.js";
import { i as x } from "./index.es458.js";
import { i as j } from "./index.es577.js";
var V = C, q = B, P = b, z = A, H = E, J = Y, I = $, N = k, O = x, G = j, Q = P.PROPER;
P.CONFIGURABLE;
G.IteratorPrototype;
var m = G.BUGGY_SAFARI_ITERATORS, c = N("iterator"), T = "keys", p = "values", h = "entries", U = function() {
  return this;
}, er = function(R, i, n, d, e, g, y) {
  z(n, i, d);
  var f = function(t) {
    if (t === e && a)
      return a;
    if (!m && t && t in r)
      return r[t];
    switch (t) {
      case T:
        return function() {
          return new n(this, t);
        };
      case p:
        return function() {
          return new n(this, t);
        };
      case h:
        return function() {
          return new n(this, t);
        };
    }
    return function() {
      return new n(this);
    };
  }, S = i + " Iterator", l = !1, r = R.prototype, o = r[c] || r["@@iterator"] || e && r[e], a = !m && o || f(e), _ = i === "Array" && r.entries || o, u, s, v;
  if (_ && (u = H(_.call(new R())), u !== Object.prototype && u.next && (J(u, S, !0, !0), O[S] = U)), Q && e === p && o && o.name !== p && (l = !0, a = function() {
    return q(o, this);
  }), e)
    if (s = {
      values: f(p),
      keys: g ? a : f(T),
      entries: f(h)
    }, y)
      for (v in s)
        (m || l || !(v in r)) && I(r, v, s[v]);
    else
      V({ target: i, proto: !0, forced: m || l }, s);
  return y && r[c] !== a && I(r, c, a, { name: e }), O[i] = a, s;
};
export {
  er as i
};
//# sourceMappingURL=index.es510.js.map
