Liferay.Loader.define("@liferay!analytics-settings-web$babel/runtime@7.17.9/helpers/AsyncGenerator",["module","exports","require","./AwaitValue"],(function(e,t,r){window;{var n=r("./AwaitValue");function AsyncGenerator(e){var t,r;function resume(t,r){try{var o=e[t](r),u=o.value,s=u instanceof n;Promise.resolve(s?u.wrapped:u).then((function(e){s?resume("return"===t?"return":"next",e):settle(o.done?"return":"normal",e)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?resume(t.key,t.arg):r=null}this._invoke=function send(e,n){return new Promise((function(o,u){var s={key:e,arg:n,resolve:o,reject:u,next:null};r?r=r.next=s:(t=r=s,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)},e.exports=AsyncGenerator,e.exports.__esModule=!0,e.exports.default=e.exports}}));
//# sourceMappingURL=AsyncGenerator.js.map