Liferay.Loader.define("@frontend-js-components-web$babel/runtime@7.11.2/helpers/createForOfIteratorHelperLoose", ['module', 'exports', 'require', './unsupportedIterableToArray'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    var unsupportedIterableToArray = require("./unsupportedIterableToArray");

    function _createForOfIteratorHelperLoose(o, allowArrayLike) {
      var it;

      if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
        if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
          if (it) o = it;
          var i = 0;
          return function () {
            if (i >= o.length) return {
              done: true
            };
            return {
              done: false,
              value: o[i++]
            };
          };
        }

        throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
      }

      it = o[Symbol.iterator]();
      return it.next.bind(it);
    }

    module.exports = _createForOfIteratorHelperLoose;
  }
});
//# sourceMappingURL=createForOfIteratorHelperLoose.js.map