function _iterableToArrayLimit (r, t) {
  if (typeof Symbol !== 'undefined' && (Symbol.iterator in Object(r))) {
    var e = []; var i = !0; var o = !1; var l = void 0
    try {
      for (var n, a = r[Symbol.iterator](); !(i = (n = a.next()).done) && (e.push(n.value), !t || e.length !== t); i = !0) ;
    } catch (r) {
      (o = !0, l = r)
    } finally {
      try {
        i || a.return == null || a.return()
      } finally {
        if (o) throw l
      }
    }
    return e
  }
}
module.exports = _iterableToArrayLimit
