import { __exports as m } from "./index.es447.js";
import { __require as b } from "./index.es349.js";
import { __require as E } from "./index.es404.js";
import { __require as T } from "./index.es405.js";
import { __require as x } from "./index.es350.js";
import { __require as y } from "./index.es351.js";
import { __require as h } from "./index.es407.js";
import { __require as j } from "./index.es408.js";
var n;
function z() {
  if (n) return m;
  n = 1;
  var _ = /* @__PURE__ */ b(), f = /* @__PURE__ */ E(), v = /* @__PURE__ */ T(), p = /* @__PURE__ */ x(), c = /* @__PURE__ */ y(), q = /* @__PURE__ */ h(), d = /* @__PURE__ */ j();
  return _({ target: "Promise", stat: !0, forced: d }, {
    allSettled: function(C) {
      var t = this, i = p.f(t), o = i.resolve, S = i.reject, u = c(function() {
        var I = v(t.resolve), r = [], P = 0, e = 1;
        q(C, function(R) {
          var s = P++, a = !1;
          e++, f(I, t, R).then(function(l) {
            a || (a = !0, r[s] = { status: "fulfilled", value: l }, --e || o(r));
          }, function(l) {
            a || (a = !0, r[s] = { status: "rejected", reason: l }, --e || o(r));
          });
        }), --e || o(r);
      });
      return u.error && S(u.value), i.promise;
    }
  }), m;
}
export {
  z as __require
};
//# sourceMappingURL=index.es347.js.map
