var i = function() {
  return i = Object.assign || function(e) {
    for (var t, n = 1, c = arguments.length; n < c; n++) {
      t = arguments[n];
      for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
    }
    return e;
  }, i.apply(this, arguments);
};
function y(o, e) {
  var t = {};
  for (var n in o) Object.prototype.hasOwnProperty.call(o, n) && e.indexOf(n) < 0 && (t[n] = o[n]);
  if (o != null && typeof Object.getOwnPropertySymbols == "function")
    for (var c = 0, n = Object.getOwnPropertySymbols(o); c < n.length; c++)
      e.indexOf(n[c]) < 0 && Object.prototype.propertyIsEnumerable.call(o, n[c]) && (t[n[c]] = o[n[c]]);
  return t;
}
function O(o, e, t, n) {
  function c(r) {
    return r instanceof t ? r : new t(function(p) {
      p(r);
    });
  }
  return new (t || (t = Promise))(function(r, p) {
    function l(a) {
      try {
        u(n.next(a));
      } catch (f) {
        p(f);
      }
    }
    function s(a) {
      try {
        u(n.throw(a));
      } catch (f) {
        p(f);
      }
    }
    function u(a) {
      a.done ? r(a.value) : c(a.value).then(l, s);
    }
    u((n = n.apply(o, e || [])).next());
  });
}
function d(o, e, t) {
  if (t || arguments.length === 2) for (var n = 0, c = e.length, r; n < c; n++)
    (r || !(n in e)) && (r || (r = Array.prototype.slice.call(e, 0, n)), r[n] = e[n]);
  return o.concat(r || Array.prototype.slice.call(e));
}
export {
  i as __assign,
  O as __awaiter,
  y as __rest,
  d as __spreadArray
};
//# sourceMappingURL=tslib.es6.js.map
