'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var arrayLikeToArray = require('./arrayLikeToArray.cjs');

function _unsupportedIterableToArray(r, a) {
  if (r) {
    if ("string" == typeof r) return arrayLikeToArray.default(r, a);
    var t = {}.toString.call(r).slice(8, -1);
    return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray.default(r, a) : void 0;
  }
}

exports.default = _unsupportedIterableToArray;
//# sourceMappingURL=unsupportedIterableToArray.cjs.map
