You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
|
function _createForOfIteratorHelper(r, e) {
|
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
if (!t) {
|
|
if (Array.isArray(r) || (t = unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
t && (r = t);
|
|
var _n = 0,
|
|
F = function F() {};
|
|
return {
|
|
s: F,
|
|
n: function n() {
|
|
return _n >= r.length ? {
|
|
done: !0
|
|
} : {
|
|
done: !1,
|
|
value: r[_n++]
|
|
};
|
|
},
|
|
e: function e(r) {
|
|
throw r;
|
|
},
|
|
f: F
|
|
};
|
|
}
|
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
var o,
|
|
a = !0,
|
|
u = !1;
|
|
return {
|
|
s: function s() {
|
|
t = t.call(r);
|
|
},
|
|
n: function n() {
|
|
var r = t.next();
|
|
return a = r.done, r;
|
|
},
|
|
e: function e(r) {
|
|
u = !0, o = r;
|
|
},
|
|
f: function f() {
|
|
try {
|
|
a || null == t["return"] || t["return"]();
|
|
} finally {
|
|
if (u) throw o;
|
|
}
|
|
}
|
|
};
|
|
}
|
|
module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; |