Sin descripción

slicedToArray-4cd9e6d3.js 999B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. function _arrayWithHoles(arr) {
  2. if (Array.isArray(arr)) return arr;
  3. }
  4. function _iterableToArrayLimit(arr, i) {
  5. if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
  6. return;
  7. }
  8. var _arr = [];
  9. var _n = true;
  10. var _d = false;
  11. var _e = undefined;
  12. try {
  13. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  14. _arr.push(_s.value);
  15. if (i && _arr.length === i) break;
  16. }
  17. } catch (err) {
  18. _d = true;
  19. _e = err;
  20. } finally {
  21. try {
  22. if (!_n && _i["return"] != null) _i["return"]();
  23. } finally {
  24. if (_d) throw _e;
  25. }
  26. }
  27. return _arr;
  28. }
  29. function _nonIterableRest() {
  30. throw new TypeError("Invalid attempt to destructure non-iterable instance");
  31. }
  32. function _slicedToArray(arr, i) {
  33. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
  34. }
  35. export { _slicedToArray as _ };
  36. //# sourceMappingURL=slicedToArray-4cd9e6d3.js.map