Nav apraksta

slicedToArray-172f4624.js 1023B

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