Socket
Socket
Sign inDemoInstall

async-af

Package Overview
Dependencies
0
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.3.3 to 6.0.0

13

esm/index.js
/*!
* async-af/esm v5.3.3
* async-af/esm v6.0.0
*

@@ -307,2 +307,4 @@ * AsyncAF (Async/Await Fun)

var dataStore = new WeakMap();
var AsyncAfWrapperProto =

@@ -314,3 +316,3 @@ /*#__PURE__*/

this.data = Promise[Array.isArray(data) ? 'all' : 'resolve'](data);
dataStore.set(this, Promise[Array.isArray(data) ? 'all' : 'resolve'](data));
}

@@ -321,3 +323,3 @@

value: function then(resolve, reject) {
return new this.constructor(this.data.then(resolve, reject));
return new this.constructor(dataStore.get(this).then(resolve, reject));
}

@@ -332,3 +334,3 @@ }, {

value: function _finally(onFinally) {
return this.data.finally(onFinally);
return dataStore.get(this).finally(onFinally);
}

@@ -341,2 +343,5 @@ }]);

AsyncAfWrapperProto.use = use;
Object.defineProperty(AsyncAfWrapperProto.prototype, Symbol.toStringTag, {
value: 'AsyncAF'
});
/**

@@ -343,0 +348,0 @@ * empty AsyncAF class wrapper

/*!
* async-af/esm/min v5.3.3
* async-af/esm/min v6.0.0
*

@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun)

*/
function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function t(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function e(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");i(n.prototype,t&&t.prototype),t&&i(n,t)}function a(n){return(a=Object.getPrototypeOf||function(n){return n.__proto__})(n)}function i(n,t){return(i=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function c(n,t,r){return(c="undefined"!=typeof Reflect&&Reflect.construct?Reflect.construct:function(n,t,r){var e=[null];e.push.apply(e,t);var o=new(n.bind.apply(n,e));return r&&i(o,r.prototype),o}).apply(null,arguments)}function l(n,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}function u(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function f(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=[],e=!0,o=!1,a=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){o=!0,a=n}finally{try{e||null==c.return||c.return()}finally{if(o)throw a}}return r}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(n){return function(n){if(Array.isArray(n)){for(var t=0,r=Array(n.length);t<n.length;t++)r[t]=n[t];return r}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var p=function(n,t){return Object.defineProperty(n,"name",{value:t,configurable:!0})},s=function(n){var t=n,r=n.name;return(n=function(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return c(t,r)}).prototype=t.prototype,Object.setPrototypeOf(n,t),n.prototype.constructor=n,p(n,r)},h=function(){function n(r){t(this,n),this.data=Promise[Array.isArray(r)?"all":"resolve"](r)}var e,o;return e=n,(o=[{key:"then",value:function(n,t){return new this.constructor(this.data.then(n,t))}},{key:"catch",value:function(n){return this.then(null,n)}},{key:"finally",value:function(n){return this.data.finally(n)}}])&&r(e.prototype,o),n}();h.use=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==n(t))throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!==n(r))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");Object.assign(this.prototype,t),Object.assign(this,r)},s(function(n){function r(){return t(this,r),l(this,a(r).apply(this,arguments))}return o(r,h),r}());var d=u([":"]),b=u(["/"]),A=u(["/"]),v=u(["/"]),g=u(["\n"],["\\n"]),m=u(["("]),w=u([")"]),F=u(["/"]),O=u(["/"]),j=function n(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];n.label&&r.unshift(n.setFormat(n.labelFormat));var o=Date.now();return Promise.all(r).then(function(t){if(n.duration){var r=((Date.now()-o)/1e3).toFixed(3);t.push("\nin ".concat(r," secs"))}n.wrappedLog.apply(n,y(t))})};Object.defineProperties(j,{wrappedLog:{value:function(){var n;console&&console.log&&(n=console).log.apply(n,arguments)},writable:!0},wrappedWarn:{value:function(){var n;console&&console.warn&&(n=console).warn.apply(n,arguments)},writable:!0},setFormat:{value:function(n){var t=Error();if(!t.stack)return"";var r=f(t.stack.split(g).filter(function(n,t,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[t?t-1:t])}),1)[0],e=r.slice(r.indexOf(m)+1,r.indexOf(w)),o=e.lastIndexOf(F),a={file:function(){return"@".concat(e.slice(o+1),":\n")},path:function(){return"@".concat(e,":\n")},parent:function(){var n=e.slice(0,o).lastIndexOf(O)+1;return"@".concat(e.slice(n),":\n")},arrow:function(){return"========================>"}};return a[n]?a[n]():function(n,t,r){if("string"==typeof n)return n;var e=f(t.split(d),3),o=e[0],a=e[1],i=e[2],c=(o=o.split(b)).pop();o=o.join(A);var l="".concat(o.split(v).pop(),"/");return n({path:o+="/",line:a,col:i,file:c,parent:l,arrow:r})}(n,e,a.arrow())},writable:!0},options:{value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.label,r=n.duration,e=n.labelFormat;"boolean"==typeof t&&(E.label=t),"boolean"==typeof r&&(E.duration=r),e&&("string"==typeof e||"function"==typeof e?E.labelFormat=e:E.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(j.options.reset=function(){j.label=!0,j.labelFormat="file",j.duration=!0})();var E=p(j,"logAF"),T=function(n){return Array.isArray(n)||null!=n&&null!=n.length},k=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(t){if(!T(t))throw TypeError("joinAF cannot be called on ".concat(t,", only on an Array or array-like Object"));return Array.prototype.join.call(t,n)})};Object.defineProperty(k,"length",{value:1});var x=function(n){return"@async-af/".concat(n.replace(/AsyncAf|AF/g,"").toLowerCase())},S="".concat("./lib/","classes/"),P=[[{name:"AsyncAF"},"".concat(S,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(S,"AsyncAfWrapper"),x("AsyncAfWrapper")]],I=[p(E,"logAF")].map(function(n){return[n,"".concat("./lib/","methods/other/").concat(n.name),x(n.name)]}),_=[p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,n,t)})},"mapAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,n,t)})},"forEachAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,n,t)})},"filterAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!T(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===t)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,n,t)})},"reduceAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,n,t)})},"everyAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,n,t)})},"someAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!T(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,n,t)})},"includesAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,n,t)})},"findAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,n,t)})},"findIndexAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!T(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,n,t)})},"indexOfAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,n,t||r.length-1)})},"lastIndexOfAF"),p(k,"joinAF"),p(function(){for(var n=this,t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return this.then(function(t){if("string"!=typeof t&&!Array.isArray(t))throw TypeError("concatAF cannot be called on ".concat(t,", only on an Array or String"));return r.reduce(function(t,r){return t instanceof Promise?t.then(function(t){return r instanceof n.constructor||r instanceof Promise?r.then(function(n){return t.concat(n)}):t.concat(r)},t):r instanceof n.constructor||r instanceof Promise?r.then(function(n){return t.concat(n)}):t.concat(r)},t)})},"concatAF")].map(function(n){return[n,"".concat("./lib/","methods/arrays/").concat(n.name),x(n.name)]}),W=[p(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if("string"!=typeof r||Array.isArray(r))throw TypeError("splitAF may be called on a string but was called on ".concat(r));return String.prototype.split.call(r,n,t)})},"splitAF")].map(function(n){return[n,"".concat("./lib/","methods/strings/").concat(n.name),x(n.name)]}),M=y(_).concat(y(W));P.concat(y(I),y(M),[]);var R=function(n){return n.map(function(n){return f(n,1)[0]})},L=R(I),z=R(M),C=u(["AF"]),D=s(function(n){function r(){return t(this,r),l(this,a(r).apply(this,arguments))}return o(r,h),r}()),q=function(n){return n.reduce(function(n,t){var r=f(t.name.split(C)||[t.name],1)[0];return Object.assign(n,e({},t.name,{value:t}),e({},r,{value:t}))},{})};Object.defineProperties(h,q(L)),Object.defineProperties(h.prototype,q(z));export default D;
function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function t(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function e(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");i(n.prototype,t&&t.prototype),t&&i(n,t)}function a(n){return(a=Object.getPrototypeOf||function(n){return n.__proto__})(n)}function i(n,t){return(i=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function c(n,t,r){return(c="undefined"!=typeof Reflect&&Reflect.construct?Reflect.construct:function(n,t,r){var e=[null];e.push.apply(e,t);var o=new(n.bind.apply(n,e));return r&&i(o,r.prototype),o}).apply(null,arguments)}function l(n,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}function u(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function f(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=[],e=!0,o=!1,a=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){o=!0,a=n}finally{try{e||null==c.return||c.return()}finally{if(o)throw a}}return r}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(n){return function(n){if(Array.isArray(n)){for(var t=0,r=Array(n.length);t<n.length;t++)r[t]=n[t];return r}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var p=function(n,t){return Object.defineProperty(n,"name",{value:t,configurable:!0})},s=function(n){var t=n,r=n.name;return(n=function(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return c(t,r)}).prototype=t.prototype,Object.setPrototypeOf(n,t),n.prototype.constructor=n,p(n,r)},h=new WeakMap,d=function(){function n(r){t(this,n),h.set(this,Promise[Array.isArray(r)?"all":"resolve"](r))}var e,o;return e=n,(o=[{key:"then",value:function(n,t){return new this.constructor(h.get(this).then(n,t))}},{key:"catch",value:function(n){return this.then(null,n)}},{key:"finally",value:function(n){return h.get(this).finally(n)}}])&&r(e.prototype,o),n}();d.use=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==n(t))throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!==n(r))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");Object.assign(this.prototype,t),Object.assign(this,r)},Object.defineProperty(d.prototype,Symbol.toStringTag,{value:"AsyncAF"}),s(function(n){function r(){return t(this,r),l(this,a(r).apply(this,arguments))}return o(r,d),r}());var b=u([":"]),A=u(["/"]),v=u(["/"]),g=u(["/"]),m=u(["\n"],["\\n"]),w=u(["("]),F=u([")"]),O=u(["/"]),j=u(["/"]),E=function n(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];n.label&&r.unshift(n.setFormat(n.labelFormat));var o=Date.now();return Promise.all(r).then(function(t){if(n.duration){var r=((Date.now()-o)/1e3).toFixed(3);t.push("\nin ".concat(r," secs"))}n.wrappedLog.apply(n,y(t))})};Object.defineProperties(E,{wrappedLog:{value:function(){var n;console&&console.log&&(n=console).log.apply(n,arguments)},writable:!0},wrappedWarn:{value:function(){var n;console&&console.warn&&(n=console).warn.apply(n,arguments)},writable:!0},setFormat:{value:function(n){var t=Error();if(!t.stack)return"";var r=f(t.stack.split(m).filter(function(n,t,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[t?t-1:t])}),1)[0],e=r.slice(r.indexOf(w)+1,r.indexOf(F)),o=e.lastIndexOf(O),a={file:function(){return"@".concat(e.slice(o+1),":\n")},path:function(){return"@".concat(e,":\n")},parent:function(){var n=e.slice(0,o).lastIndexOf(j)+1;return"@".concat(e.slice(n),":\n")},arrow:function(){return"========================>"}};return a[n]?a[n]():function(n,t,r){if("string"==typeof n)return n;var e=f(t.split(b),3),o=e[0],a=e[1],i=e[2],c=(o=o.split(A)).pop();o=o.join(v);var l="".concat(o.split(g).pop(),"/");return n({path:o+="/",line:a,col:i,file:c,parent:l,arrow:r})}(n,e,a.arrow())},writable:!0},options:{value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.label,r=n.duration,e=n.labelFormat;"boolean"==typeof t&&(T.label=t),"boolean"==typeof r&&(T.duration=r),e&&("string"==typeof e||"function"==typeof e?T.labelFormat=e:T.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(E.options.reset=function(){E.label=!0,E.labelFormat="file",E.duration=!0})();var T=p(E,"logAF"),k=function(n){return Array.isArray(n)||null!=n&&null!=n.length},S=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(t){if(!k(t))throw TypeError("joinAF cannot be called on ".concat(t,", only on an Array or array-like Object"));return Array.prototype.join.call(t,n)})};Object.defineProperty(S,"length",{value:1});var x=function(n){return"@async-af/".concat(n.replace(/AsyncAf|AF/g,"").toLowerCase())},P="".concat("./lib/","classes/"),I=[[{name:"AsyncAF"},"".concat(P,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(P,"AsyncAfWrapper"),x("AsyncAfWrapper")]],_=[p(T,"logAF")].map(function(n){return[n,"".concat("./lib/","methods/other/").concat(n.name),x(n.name)]}),W=[p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,n,t)})},"mapAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,n,t)})},"forEachAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,n,t)})},"filterAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!k(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===t)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,n,t)})},"reduceAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,n,t)})},"everyAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,n,t)})},"someAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!k(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,n,t)})},"includesAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,n,t)})},"findAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,n,t)})},"findIndexAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!k(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,n,t)})},"indexOfAF"),p(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,n,t||r.length-1)})},"lastIndexOfAF"),p(S,"joinAF"),p(function(){for(var n=this,t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return this.then(function(t){if("string"!=typeof t&&!Array.isArray(t))throw TypeError("concatAF cannot be called on ".concat(t,", only on an Array or String"));return r.reduce(function(t,r){return t instanceof Promise?t.then(function(t){return r instanceof n.constructor||r instanceof Promise?r.then(function(n){return t.concat(n)}):t.concat(r)},t):r instanceof n.constructor||r instanceof Promise?r.then(function(n){return t.concat(n)}):t.concat(r)},t)})},"concatAF")].map(function(n){return[n,"".concat("./lib/","methods/arrays/").concat(n.name),x(n.name)]}),M=[p(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if("string"!=typeof r||Array.isArray(r))throw TypeError("splitAF may be called on a string but was called on ".concat(r));return String.prototype.split.call(r,n,t)})},"splitAF")].map(function(n){return[n,"".concat("./lib/","methods/strings/").concat(n.name),x(n.name)]}),R=y(W).concat(y(M));I.concat(y(_),y(R),[]);var L=function(n){return n.map(function(n){return f(n,1)[0]})},z=L(_),C=L(R),D=u(["AF"]),q=s(function(n){function r(){return t(this,r),l(this,a(r).apply(this,arguments))}return o(r,d),r}()),B=function(n){return n.reduce(function(n,t){var r=f(t.name.split(D)||[t.name],1)[0];return Object.assign(n,e({},t.name,{value:t}),e({},r,{value:t}))},{})};Object.defineProperties(d,B(z)),Object.defineProperties(d.prototype,B(C));export default q;
//# sourceMappingURL=min.js.map
/*!
* async-af/legacy/min v5.3.3
* async-af/legacy/min v6.0.0
*

@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun)

*/
var t,n;t="undefined"!=typeof self?self:this,n=function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=160)}([function(t,n){var r=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(34)("wks"),o=r(22),i=r(2).Symbol,c="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(4);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(2),o=r(0),i=r(15),c=r(9),u=r(10),a=function(t,n,r){var f,s,l,p=t&a.F,y=t&a.G,v=t&a.S,h=t&a.P,d=t&a.B,b=t&a.W,m=y?o:o[n]||(o[n]={}),x=m.prototype,g=y?e:v?e[n]:(e[n]||{}).prototype;for(f in y&&(r=n),r)(s=!p&&g&&void 0!==g[f])&&u(m,f)||(l=s?g[f]:r[f],m[f]=y&&"function"!=typeof g[f]?r[f]:d&&s?i(l,e):b&&g[f]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&c(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,r){"use strict";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n,r){t.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(3),o=r(60),i=r(46),c=Object.defineProperty;n.f=r(7)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(8),o=r(21);t.exports=r(7)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports={}},function(t,n,r){var e=r(47),o=r(136);t.exports=function(t,n){return n||(n=t.slice(0)),o(e(t,{raw:{value:o(n)}}))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(14);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(57),o=r(28);t.exports=function(t){return e(o(t))}},function(t,n,r){"use strict";n.a=function(t,n){return Object.defineProperty(t,"name",{value:n,configurable:!0})}},function(t,n,r){t.exports=r(72)},function(t,n,r){var e=r(8).f,o=r(10),i=r(1)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){"use strict";var e=r(14);t.exports.f=function(t){return new function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)}(t)}},function(t,n,r){"use strict";var e=r(75)(!0);r(45)(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n){t.exports=!0},function(t,n,r){var e=r(34)("keys"),o=r(22);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(4),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(16),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,r){r(79);for(var e=r(2),o=r(9),i=r(11),c=r(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var f=u[a],s=e[f],l=s&&s.prototype;l&&!l[c]&&o(l,c,f),i[f]=i.Array}},function(t,n,r){var e=r(28);t.exports=function(t){return Object(e(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(2),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(27),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(58),o=r(33);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(133),o=r(132),i=r(128);t.exports=function(t,n){return e(t)||o(t,n)||i()}},function(t,n,r){var e=r(3),o=r(4),i=r(23);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){var e,o,i,c=r(15),u=r(52),a=r(43),f=r(29),s=r(2),l=s.process,p=s.setImmediate,y=s.clearImmediate,v=s.MessageChannel,h=s.Dispatch,d=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},x=function(t){m.call(t.data)};p&&y||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return b[++d]=function(){u("function"==typeof t?t:Function(t),n)},e(d),d},y=function(t){delete b[t]},"process"==r(16)(l)?e=function(t){l.nextTick(c(m,t,1))}:h&&h.now?e=function(t){h.now(c(m,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=x,e=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",x,!1)):e="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:y}},function(t,n,r){var e=r(3),o=r(14),i=r(1)("species");t.exports=function(t,n){var r,c=e(t).constructor;return void 0===c||void 0==(r=e(c)[i])?n:o(r)}},function(t,n,r){var e=r(30),o=r(1)("iterator"),i=r(11);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(3),o=r(59),i=r(33),c=r(26)("IE_PROTO"),u=function(){},a=function(){var t,n=r(29)("iframe"),e=i.length;for(n.style.display="none",r(43).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;e--;)delete a.prototype[i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(u.prototype=e(t),r=new u,u.prototype=null,r[c]=t):r=a(),void 0===n?r:o(r,n)}},function(t,n,r){"use strict";var e=r(25),o=r(5),i=r(55),c=r(9),u=r(11),a=r(76),f=r(20),s=r(54),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,n,r,v,h,d,b){a(r,n,v);var m,x,g,O=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},j=n+" Iterator",w="values"==h,A=!1,_=t.prototype,S=_[l]||_["@@iterator"]||h&&_[h],F=S||O(h),P=h?w?O("entries"):F:void 0,E="Array"==n&&_.entries||S;if(E&&(g=s(E.call(new t)))!==Object.prototype&&g.next&&(f(g,j,!0),e||"function"==typeof g[l]||c(g,l,y)),w&&S&&"values"!==S.name&&(A=!0,F=function(){return S.call(this)}),e&&!b||!p&&!A&&_[l]||c(_,l,F),u[n]=F,u[j]=y,h)if(m={values:w?F:O("values"),keys:d?F:O("keys"),entries:P},b)for(x in m)x in _||i(_,x,m[x]);else o(o.P+o.F*(p||A),n,m);return m}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(143)},function(t,n,r){var e=r(106),o=r(105),i=r(97);t.exports=function(t){return e(t)||o(t)||i()}},function(t,n,r){var e=r(1)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],c=i[e]();c.next=function(){return{done:r=!0}},i[e]=function(){return c},t(i)}catch(t){}return r}},function(t,n,r){var e=r(11),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(3);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n){},function(t,n,r){var e=r(10),o=r(32),i=r(26)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,r){t.exports=r(9)},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(10),o=r(17),i=r(82)(!1),c=r(26)("IE_PROTO");t.exports=function(t,n){var r,u=o(t),a=0,f=[];for(r in u)r!=c&&e(u,r)&&f.push(r);for(;n.length>a;)e(u,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(8),o=r(3),i=r(36);t.exports=r(7)?Object.defineProperties:function(t,n){o(t);for(var r,c=i(n),u=c.length,a=0;u>a;)e.f(t,r=c[a++],n[r]);return t}},function(t,n,r){t.exports=!r(7)&&!r(13)(function(){return 7!=Object.defineProperty(r(29)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(124),o=r(122);function i(t){return(i="function"==typeof o&&"symbol"==typeof e?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t})(t)}function c(n){return"function"==typeof o&&"symbol"===i(e)?t.exports=c=function(t){return i(t)}:t.exports=c=function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":i(t)},c(n)}t.exports=c},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,r){t.exports=r(139)},function(t,n,r){"use strict";var e=r(5),o=r(23),i=r(39);e(e.S,"Promise",{try:function(t){var n=o.f(this),r=i(t);return(r.e?n.reject:n.resolve)(r.v),n.promise}})},function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(2),c=r(41),u=r(38);e(e.P+e.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(n,t()).then(function(){return r})}:t,r?function(r){return u(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(8),c=r(7),u=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(9);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n,r){var e=r(2),o=r(40).set,i=e.MutationObserver||e.WebKitMutationObserver,c=e.process,u=e.Promise,a="process"==r(16)(c);t.exports=function(){var t,n,r,f=function(){var e,o;for(a&&(e=c.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(a)r=function(){c.nextTick(f)};else if(!i||e.navigator&&e.navigator.standalone)if(u&&u.resolve){var s=u.resolve();r=function(){s.then(f)}}else r=function(){o.call(e,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},function(t,n,r){var e=r(15),o=r(51),i=r(50),c=r(3),u=r(35),a=r(42),f={},s={};(n=t.exports=function(t,n,r,l,p){var y,v,h,d,b=p?function(){return t}:a(t),m=e(r,l,n?2:1),x=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(y=u(t.length);y>x;x++)if((d=n?m(c(v=t[x])[0],v[1]):m(t[x]))===f||d===s)return d}else for(h=b.call(t);!(v=h.next()).done;)if((d=o(h,m,v.value,n))===f||d===s)return d}).BREAK=f,n.RETURN=s},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){"use strict";var e,o,i,c,u=r(25),a=r(2),f=r(15),s=r(30),l=r(5),p=r(4),y=r(14),v=r(70),h=r(69),d=r(41),b=r(40).set,m=r(68)(),x=r(23),g=r(39),O=r(38),j=a.TypeError,w=a.process,A=a.Promise,_="process"==s(w),S=function(){},F=o=x.f,P=!!function(){try{var t=A.resolve(1),n=(t.constructor={})[r(1)("species")]=function(t){t(S,S)};return(_||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof n}catch(t){}}(),E=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var r=t._c;m(function(){for(var e=t._v,o=1==t._s,i=0,c=function(n){var r,i,c,u=o?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{u?(o||(2==t._h&&L(t),t._h=1),!0===u?r=e:(s&&s.enter(),r=u(e),s&&(s.exit(),c=!0)),r===n.promise?f(j("Promise-chain cycle")):(i=E(r))?i.call(r,a,f):a(r)):f(e)}catch(t){s&&!c&&s.exit(),f(t)}};r.length>i;)c(r[i++]);t._c=[],t._n=!1,n&&!t._h&&k(t)})}},k=function(t){b.call(a,function(){var n,r,e,o=t._v,i=M(t);if(i&&(n=g(function(){_?w.emit("unhandledRejection",o,t):(r=a.onunhandledrejection)?r({promise:t,reason:o}):(e=a.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=_||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){b.call(a,function(){var n;_?w.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},I=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},R=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(n=E(t))?m(function(){var e={_w:r,_d:!1};try{n.call(t,f(R,e,1),f(I,e,1))}catch(t){I.call(e,t)}}):(r._v=t,r._s=1,T(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};P||(A=function(t){v(this,A,"Promise","_h"),y(t),e.call(this);try{t(f(R,this,1),f(I,this,1))}catch(t){I.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(67)(A.prototype,{then:function(t,n){var r=F(d(this,A));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=_?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=f(R,t,1),this.reject=f(I,t,1)},x.f=F=function(t){return t===A||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!P,{Promise:A}),r(20)(A,"Promise"),r(66)("Promise"),c=r(0).Promise,l(l.S+l.F*!P,"Promise",{reject:function(t){var n=F(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(u||!P),"Promise",{resolve:function(t){return O(u&&this===c?A:this,t)}}),l(l.S+l.F*!(P&&r(49)(function(t){A.all(t).catch(S)})),"Promise",{all:function(t){var n=this,r=F(n),e=r.resolve,o=r.reject,i=g(function(){var r=[],i=0,c=1;h(t,!1,function(t){var u=i++,a=!1;r.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,r[u]=t,--c||e(r))},o)}),--c||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=F(n),e=r.reject,o=g(function(){h(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){r(53),r(24),r(31),r(71),r(65),r(64),t.exports=r(0).Promise},function(t,n,r){var e=r(2),o=r(0),i=r(25),c=r(74),u=r(8).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:c.f(t)})}},function(t,n,r){n.f=r(1)},function(t,n,r){var e=r(27),o=r(28);t.exports=function(t){return function(n,r){var i,c,u=o(n)+"",a=e(r),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(44),o=r(21),i=r(20),c={};r(9)(c,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(c,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(){}},function(t,n,r){"use strict";var e=r(78),o=r(77),i=r(11),c=r(17);t.exports=r(45)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(27),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(17),o=r(35),i=r(81);t.exports=function(t){return function(n,r,c){var u,a=e(n),f=o(a.length),s=i(c,f);if(t&&r!=r){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){t.exports=r(127)},function(t,n,r){var e=r(113);function o(n){return t.exports=o=e||function(t){return t.__proto__},o(n)}t.exports=o},function(t,n,r){var e=r(61),o=r(114);t.exports=function(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?o(t):n}},function(t,n,r){var e=r(91);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e(t.prototype,n&&n.prototype),n&&e(t,n)}},function(t,n,r){var e=r(5),o=r(0),i=r(13);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],c={};c[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",c)}},function(t,n,r){var e=r(22)("meta"),o=r(4),i=r(10),c=r(8).f,u=0,a=Object.isExtensible||function(){return!0},f=!r(13)(function(){return a(Object.preventExtensions({}))}),s=function(t){c(t,e,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){var e=r(58),o=r(33).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(56),o=r(21),i=r(17),c=r(46),u=r(10),a=r(60),f=Object.getOwnPropertyDescriptor;n.f=r(7)?f:function(t,n){if(t=i(t),n=c(n,!0),a)try{return f(t,n)}catch(t){}if(u(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(83);function o(n,r){return t.exports=o=e||function(t,n){return t.__proto__=n,t},o(n,r)}t.exports=o},function(t,n,r){var e=r(95);function o(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),e(t,o.key,o)}}t.exports=function(t,n,r){return n&&o(t.prototype,n),r&&o(t,r),t}},function(t,n,r){var e=r(110),o=r(91);function i(n,r,c){return"undefined"!=typeof Reflect&&e?t.exports=i=e:t.exports=i=function(t,n,r){var e=[null];e.push.apply(e,n);var i=new(t.bind.apply(t,e));return r&&o(i,r.prototype),i},i.apply(null,arguments)}t.exports=i},function(t,n,r){"use strict";r.r(n);var e=r(86),o=r.n(e),i=r(85),c=r.n(i),u=r(84),a=r.n(u),f=r(19),s=r.n(f),l=r(62),p=r.n(l),y=r(92),v=r.n(y),h=r(96),d=r(63),b=r.n(d),m=r(61),x=r.n(m);r.d(n,"AsyncAfWrapperProto",function(){return g});var g=function(){function t(n){p()(this,t),this.data=s.a[Array.isArray(n)?"all":"resolve"](n)}return v()(t,[{key:"then",value:function(t,n){return new this.constructor(this.data.then(t,n))}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){return this.data.finally(t)}}]),t}();g.use=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==x()(t))throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!==x()(n))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");b()(this.prototype,t),b()(this,n)};var O=Object(h.a)(function(t){function n(){return p()(this,n),c()(this,a()(n).apply(this,arguments))}return o()(n,t),n}(g));n.default=O},function(t,n,r){t.exports=r(141)},function(t,n,r){"use strict";var e=r(83),o=r.n(e),i=r(93),c=r.n(i),u=r(18);n.a=function(t){var n=t,r=t.name;return(t=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return c()(n,r)}).prototype=n.prototype,o()(t,n),t.prototype.constructor=t,Object(u.a)(t,r)}},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,n,r){var e=r(30),o=r(1)("iterator"),i=r(11);t.exports=r(0).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){r(31),r(24),t.exports=r(98)},function(t,n,r){t.exports=r(99)},function(t,n,r){"use strict";var e=r(8),o=r(21);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){"use strict";var e=r(15),o=r(5),i=r(32),c=r(51),u=r(50),a=r(35),f=r(101),s=r(42);o(o.S+o.F*!r(49)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),y="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,d=void 0!==h,b=0,m=s(p);if(d&&(h=e(h,v>2?arguments[2]:void 0,2)),void 0==m||y==Array&&u(m))for(r=new y(n=a(p.length));n>b;b++)f(r,b,d?h(p[b],b):p[b]);else for(l=m.call(p),r=new y;!(o=l.next()).done;b++)f(r,b,d?c(l,h,[o.value,b],!0):o.value);return r.length=b,r}})},function(t,n,r){r(24),r(102),t.exports=r(0).Array.from},function(t,n,r){t.exports=r(103)},function(t,n,r){var e=r(104),o=r(100);t.exports=function(t){if(o(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return e(t)}},function(t,n){t.exports=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}}},function(t,n,r){"use strict";var e=r(14),o=r(4),i=r(52),c=[].slice,u={};t.exports=Function.bind||function(t){var n=e(this),r=c.call(arguments,1),a=function(){var e=r.concat(c.call(arguments));return this instanceof a?function(t,n,r){if(!(n in u)){for(var e=[],o=0;o<n;o++)e[o]="a["+o+"]";u[n]=Function("F,a","return new F("+e.join(",")+")")}return u[n](t,r)}(n,e.length,e):i(n,e,t)};return o(n.prototype)&&(a.prototype=n.prototype),a}},function(t,n,r){var e=r(5),o=r(44),i=r(14),c=r(3),u=r(4),a=r(13),f=r(107),s=(r(2).Reflect||{}).construct,l=a(function(){function t(){}return!(s(function(){},[],t)instanceof t)}),p=!a(function(){s(function(){})});e(e.S+e.F*(l||p),"Reflect",{construct:function(t,n){i(t),c(n);var r=arguments.length<3?t:i(arguments[2]);if(p&&!l)return s(t,n,r);if(t==r){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var e=[null];return e.push.apply(e,n),new(f.apply(t,e))}var a=r.prototype,y=o(u(a)?a:Object.prototype),v=Function.apply.call(t,y,n);return u(v)?v:y}})},function(t,n,r){r(108),t.exports=r(0).Reflect.construct},function(t,n,r){t.exports=r(109)},function(t,n,r){var e=r(32),o=r(54);r(87)("getPrototypeOf",function(){return function(t){return o(e(t))}})},function(t,n,r){r(111),t.exports=r(0).Object.getPrototypeOf},function(t,n,r){t.exports=r(112)},function(t,n){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,n,r){r(73)("observable")},function(t,n,r){r(73)("asyncIterator")},function(t,n,r){var e=r(17),o=r(89).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(e(t))}},function(t,n,r){var e=r(16);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(36),o=r(80),i=r(56);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var c,u=r(t),a=i.f,f=0;u.length>f;)a.call(t,c=u[f++])&&n.push(c);return n}},function(t,n,r){"use strict";var e=r(2),o=r(10),i=r(7),c=r(5),u=r(55),a=r(88).KEY,f=r(13),s=r(34),l=r(20),p=r(22),y=r(1),v=r(74),h=r(73),d=r(119),b=r(118),m=r(3),x=r(4),g=r(17),O=r(46),j=r(21),w=r(44),A=r(117),_=r(90),S=r(8),F=r(36),P=_.f,E=S.f,T=A.f,k=e.Symbol,M=e.JSON,L=M&&M.stringify,I=y("_hidden"),R=y("toPrimitive"),C={}.propertyIsEnumerable,N=s("symbol-registry"),W=s("symbols"),D=s("op-symbols"),G=Object.prototype,V="function"==typeof k,z=e.QObject,B=!z||!z.prototype||!z.prototype.findChild,H=i&&f(function(){return 7!=w(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=P(G,n);e&&delete G[n],E(t,n,r),e&&t!==G&&E(G,n,e)}:E,K=function(t){var n=W[t]=w(k.prototype);return n._k=t,n},J=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},U=function(t,n,r){return t===G&&U(D,n,r),m(t),n=O(n,!0),m(r),o(W,n)?(r.enumerable?(o(t,I)&&t[I][n]&&(t[I][n]=!1),r=w(r,{enumerable:j(0,!1)})):(o(t,I)||E(t,I,j(1,{})),t[I][n]=!0),H(t,n,r)):E(t,n,r)},q=function(t,n){m(t);for(var r,e=d(n=g(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},Y=function(t){var n=C.call(this,t=O(t,!0));return!(this===G&&o(W,t)&&!o(D,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,I)&&this[I][t])||n)},Q=function(t,n){if(t=g(t),n=O(n,!0),t!==G||!o(W,n)||o(D,n)){var r=P(t,n);return!r||!o(W,n)||o(t,I)&&t[I][n]||(r.enumerable=!0),r}},X=function(t){for(var n,r=T(g(t)),e=[],i=0;r.length>i;)o(W,n=r[i++])||n==I||n==a||e.push(n);return e},Z=function(t){for(var n,r=t===G,e=T(r?D:g(t)),i=[],c=0;e.length>c;)!o(W,n=e[c++])||r&&!o(G,n)||i.push(W[n]);return i};V||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(r){this===G&&n.call(D,r),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),H(this,t,j(1,r))};return i&&B&&H(G,t,{configurable:!0,set:n}),K(t)}).prototype,"toString",function(){return this._k}),_.f=Q,S.f=U,r(89).f=A.f=X,r(56).f=Y,r(80).f=Z,i&&!r(25)&&u(G,"propertyIsEnumerable",Y,!0),v.f=function(t){return K(y(t))}),c(c.G+c.W+c.F*!V,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)y($[tt++]);for(var nt=F(y.store),rt=0;nt.length>rt;)h(nt[rt++]);c(c.S+c.F*!V,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=k(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in N)if(N[n]===t)return n},useSetter:function(){B=!0},useSimple:function(){B=!1}}),c(c.S+c.F*!V,"Object",{create:function(t,n){return void 0===n?w(t):q(w(t),n)},defineProperty:U,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),M&&c(c.S+c.F*(!V||f(function(){var t=k();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(x(n)||void 0!==t)&&!J(t))return b(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!J(n))return n}),e[1]=n,L.apply(M,e)}}),k.prototype[R]||r(9)(k.prototype,R,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){r(120),r(53),r(116),r(115),t.exports=r(0).Symbol},function(t,n,r){t.exports=r(121)},function(t,n,r){r(24),r(31),t.exports=r(74).f("iterator")},function(t,n,r){t.exports=r(123)},function(t,n,r){var e=r(4),o=r(3),i=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(15)(Function.call,r(90).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return i(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:i}},function(t,n,r){var e=r(5);e(e.S,"Object",{setPrototypeOf:r(125).set})},function(t,n,r){r(126),t.exports=r(0).Object.setPrototypeOf},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,n,r){var e=r(3),o=r(42);t.exports=r(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){r(31),r(24),t.exports=r(129)},function(t,n,r){t.exports=r(130)},function(t,n,r){var e=r(131);t.exports=function(t,n){var r=[],o=!0,i=!1,c=void 0;try{for(var u,a=e(t);!(o=(u=a.next()).done)&&(r.push(u.value),!n||r.length!==n);o=!0);}catch(t){i=!0,c=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw c}}return r}},function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n,r){var e=r(4),o=r(88).onFreeze;r(87)("freeze",function(t){return function(n){return t&&e(n)?t(o(n)):n}})},function(t,n,r){r(134),t.exports=r(0).Object.freeze},function(t,n,r){t.exports=r(135)},function(t,n,r){"use strict";var e=r(36),o=r(80),i=r(56),c=r(32),u=r(57),a=Object.assign;t.exports=!a||r(13)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e})?function(t,n){for(var r=c(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,y=u(arguments[f++]),v=s?e(y).concat(s(y)):e(y),h=v.length,d=0;h>d;)l.call(y,p=v[d++])&&(r[p]=y[p]);return r}:a},function(t,n,r){var e=r(5);e(e.S+e.F,"Object",{assign:r(137)})},function(t,n,r){r(138),t.exports=r(0).Object.assign},function(t,n,r){var e=r(5);e(e.S+e.F*!r(7),"Object",{defineProperty:r(8).f})},function(t,n,r){r(140);var e=r(0).Object;t.exports=function(t,n,r){return e.defineProperty(t,n,r)}},function(t,n,r){var e=r(5);e(e.S+e.F*!r(7),"Object",{defineProperties:r(59)})},function(t,n,r){r(142);var e=r(0).Object;t.exports=function(t,n){return e.defineProperties(t,n)}},function(t,n,r){"use strict";r.r(n);var e=r(47),o=r.n(e),i=r(48),c=r.n(i),u=r(19),a=r.n(u),f=r(12),s=r.n(f),l=r(37),p=r.n(l),y=s()([":"]),v=s()(["/"]),h=s()(["/"]),d=s()(["/"]),b=s()(["\n"],["\\n"]),m=s()(["("]),x=s()([")"]),g=s()(["/"]),O=s()(["/"]),j=r(18),w=function t(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];t.label&&r.unshift(t.setFormat(t.labelFormat));var o=Date.now();return a.a.all(r).then(function(n){if(t.duration){var r=((Date.now()-o)/1e3).toFixed(3);n.push("\nin ".concat(r," secs"))}t.wrappedLog.apply(t,c()(n))})};o()(w,{wrappedLog:{value:function(){var t;console&&console.log&&(t=console).log.apply(t,arguments)},writable:!0},wrappedWarn:{value:function(){var t;console&&console.warn&&(t=console).warn.apply(t,arguments)},writable:!0},setFormat:{value:function(t){var n=Error();if(!n.stack)return"";var r=n.stack.split(b).filter(function(t,n,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[n?n-1:n])}),e=p()(r,1)[0],o=e.slice(e.indexOf(m)+1,e.indexOf(x)),i=o.lastIndexOf(g),c={file:function(){return"@".concat(o.slice(i+1),":\n")},path:function(){return"@".concat(o,":\n")},parent:function(){var t=o.slice(0,i).lastIndexOf(O)+1;return"@".concat(o.slice(t),":\n")},arrow:function(){return"========================>"}};return c[t]?c[t]():function(t,n,r){if("string"==typeof t)return t;var e=n.split(y),o=p()(e,3),i=o[0],c=o[1],u=o[2],a=(i=i.split(v)).pop();i=i.join(h);var f="".concat(i.split(d).pop(),"/");return t({path:i+="/",line:c,col:u,file:a,parent:f,arrow:r})}(t,o,c.arrow())},writable:!0},options:{value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.label,r=t.duration,e=t.labelFormat;"boolean"==typeof n&&(A.label=n),"boolean"==typeof r&&(A.duration=r),e&&("string"==typeof e||"function"==typeof e?A.labelFormat=e:A.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(w.options.reset=function(){w.label=!0,w.labelFormat="file",w.duration=!0})();var A=n.default=Object(j.a)(w,"logAF")},function(t,n,r){"use strict";r.r(n),n.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if("string"!=typeof r||Array.isArray(r))throw TypeError("splitAF may be called on a string but was called on ".concat(r));return String.prototype.split.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(19),o=r.n(e);n.default=function(){for(var t=this,n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return this.then(function(n){if("string"!=typeof n&&!Array.isArray(n))throw TypeError("concatAF cannot be called on ".concat(n,", only on an Array or String"));return r.reduce(function(n,r){return n instanceof o.a?n.then(function(n){return r instanceof t.constructor||r instanceof o.a?r.then(function(t){return n.concat(t)}):n.concat(r)},n):r instanceof t.constructor||r instanceof o.a?r.then(function(t){return n.concat(t)}):n.concat(r)},n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(n){if(!Object(e.a)(n))throw TypeError("joinAF cannot be called on ".concat(n,", only on an Array or array-like Object"));return Array.prototype.join.call(n,t)})};Object.defineProperty(o,"length",{value:1}),n.default=o},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,t,n||r.length-1)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===n)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,t,n)})}},function(t,n,r){var e=r(95);t.exports=function(t,n,r){return n in t?e(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},function(t,n,r){"use strict";r.r(n);var e=r(47),o=r.n(e),i=r(159),c=r.n(i),u=r(63),a=r.n(u),f=r(12),s=r.n(f),l=r(37),p=r.n(l),y=r(62),v=r.n(y),h=r(86),d=r.n(h),b=r(85),m=r.n(b),x=r(84),g=r.n(x),O=r(96),j=r(94),w=r(48),A=r.n(w),_=r(18),S=r(144),F=r(158),P=r(157),E=r(156),T=r(155),k=r(154),M=r(153),L=r(152),I=r(151),R=r(150),C=r(149),N=r(148),W=r(147),D=r(146),G=r(145),V=function(t){return"@async-af/".concat(t.replace(/AsyncAf|AF/g,"").toLowerCase())},z="".concat("./lib/","classes/"),B=[[{name:"AsyncAF"},"".concat(z,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(z,"AsyncAfWrapper"),V("AsyncAfWrapper")]],H=[Object(_.a)(S.default,"logAF")].map(function(t){return[t,"".concat("./lib/","methods/other/").concat(t.name),V(t.name)]}),K=[Object(_.a)(F.default,"mapAF"),Object(_.a)(P.default,"forEachAF"),Object(_.a)(E.default,"filterAF"),Object(_.a)(T.default,"reduceAF"),Object(_.a)(k.default,"everyAF"),Object(_.a)(M.default,"someAF"),Object(_.a)(L.default,"includesAF"),Object(_.a)(I.default,"findAF"),Object(_.a)(R.default,"findIndexAF"),Object(_.a)(C.default,"indexOfAF"),Object(_.a)(N.default,"lastIndexOfAF"),Object(_.a)(W.default,"joinAF"),Object(_.a)(D.default,"concatAF")].map(function(t){return[t,"".concat("./lib/","methods/arrays/").concat(t.name),V(t.name)]}),J=[Object(_.a)(G.default,"splitAF")].map(function(t){return[t,"".concat("./lib/","methods/strings/").concat(t.name),V(t.name)]}),U=A()(K).concat(A()(J)),q=(B.concat(A()(H),A()(U),[]),function(t){return t.map(function(t){return p()(t,1)[0]})}),Y=q(H),Q=q(U),X=s()(["AF"]),Z=Object(O.a)(function(t){function n(){return v()(this,n),m()(this,g()(n).apply(this,arguments))}return d()(n,t),n}(j.AsyncAfWrapperProto)),$=function(t){return t.reduce(function(t,n){var r=n.name.split(X)||[n.name],e=p()(r,1)[0];return a()(t,c()({},n.name,{value:n}),c()({},e,{value:n}))},{})};o()(j.AsyncAfWrapperProto,$(Y)),o()(j.AsyncAfWrapperProto.prototype,$(Q)),n.default=Z}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("AsyncAF",[],n):"object"==typeof exports?exports.AsyncAF=n():t.AsyncAF=n();
var t,n;t="undefined"!=typeof self?self:this,n=function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=175)}([function(t,n){var r=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(37)("wks"),o=r(22),i=r(2).Symbol,c="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(2),o=r(0),i=r(12),c=r(9),u=r(10),a=function(t,n,r){var f,s,l,p=t&a.F,v=t&a.G,y=t&a.S,h=t&a.P,d=t&a.B,b=t&a.W,g=v?o:o[n]||(o[n]={}),x=g.prototype,m=v?e:y?e[n]:(e[n]||{}).prototype;for(f in v&&(r=n),r)(s=!p&&m&&void 0!==m[f])&&u(g,f)||(l=s?m[f]:r[f],g[f]=v&&"function"!=typeof m[f]?r[f]:d&&s?i(l,e):b&&m[f]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&c(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,r){var e=r(3);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){"use strict";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n,r){t.exports=!r(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(5),o=r(65),i=r(53),c=Object.defineProperty;n.f=r(7)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(8),o=r(21);t.exports=r(7)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(14);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports={}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(54),o=r(152);t.exports=function(t,n){return n||(n=t.slice(0)),o(e(t,{raw:{value:o(n)}}))}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(52),o=r(31);t.exports=function(t){return e(o(t))}},function(t,n,r){"use strict";n.a=function(t,n){return Object.defineProperty(t,"name",{value:n,configurable:!0})}},function(t,n,r){var e=r(8).f,o=r(10),i=r(1)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){t.exports=r(76)},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){"use strict";var e=r(14);t.exports.f=function(t){return new function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)}(t)}},function(t,n,r){"use strict";var e=r(78)(!0);r(51)(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n){t.exports=!0},function(t,n,r){r(82);for(var e=r(2),o=r(9),i=r(13),c=r(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var f=u[a],s=e[f],l=s&&s.prototype;l&&!l[c]&&o(l,c,f),i[f]=i.Array}},function(t,n,r){var e=r(31);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(37)("keys"),o=r(22);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(29),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(3),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(12),o=r(58),i=r(57),c=r(5),u=r(30),a=r(47),f={},s={};(n=t.exports=function(t,n,r,l,p){var v,y,h,d,b=p?function(){return t}:a(t),g=e(r,l,n?2:1),x=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(v=u(t.length);v>x;x++)if((d=n?g(c(y=t[x])[0],y[1]):g(t[x]))===f||d===s)return d}else for(h=b.call(t);!(y=h.next()).done;)if((d=o(h,g,y.value,n))===f||d===s)return d}).BREAK=f,n.RETURN=s},function(t,n){},function(t,n,r){var e=r(16),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(2),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(63),o=r(36);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(149),o=r(148),i=r(144);t.exports=function(t,n){return e(t)||o(t,n)||i()}},function(t,n,r){var e=r(22)("meta"),o=r(3),i=r(10),c=r(8).f,u=0,a=Object.isExtensible||function(){return!0},f=!r(11)(function(){return a(Object.preventExtensions({}))}),s=function(t){c(t,e,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){var e=r(9);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n,r){var e=r(5),o=r(3),i=r(23);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){var e,o,i,c=r(12),u=r(59),a=r(48),f=r(32),s=r(2),l=s.process,p=s.setImmediate,v=s.clearImmediate,y=s.MessageChannel,h=s.Dispatch,d=0,b={},g=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},x=function(t){g.call(t.data)};p&&v||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return b[++d]=function(){u("function"==typeof t?t:Function(t),n)},e(d),d},v=function(t){delete b[t]},"process"==r(16)(l)?e=function(t){l.nextTick(c(g,t,1))}:h&&h.now?e=function(t){h.now(c(g,t,1))}:y?(i=(o=new y).port2,o.port1.onmessage=x,e=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",x,!1)):e="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),t.exports={set:p,clear:v}},function(t,n,r){var e=r(5),o=r(14),i=r(1)("species");t.exports=function(t,n){var r,c=e(t).constructor;return void 0===c||void 0==(r=e(c)[i])?n:o(r)}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(35),o=r(1)("iterator"),i=r(13);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(5),o=r(64),i=r(36),c=r(28)("IE_PROTO"),u=function(){},a=function(){var t,n=r(32)("iframe"),e=i.length;for(n.style.display="none",r(48).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;e--;)delete a.prototype[i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(u.prototype=e(t),r=new u,u.prototype=null,r[c]=t):r=a(),void 0===n?r:o(r,n)}},function(t,n,r){t.exports=r(9)},function(t,n,r){"use strict";var e=r(25),o=r(4),i=r(50),c=r(9),u=r(13),a=r(79),f=r(19),s=r(61),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,y,h,d,b){a(r,n,y);var g,x,m,O=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",A="values"==h,j=!1,_=t.prototype,S=_[l]||_["@@iterator"]||h&&_[h],F=S||O(h),E=h?A?O("entries"):F:void 0,P="Array"==n&&_.entries||S;if(P&&(m=s(P.call(new t)))!==Object.prototype&&m.next&&(f(m,w,!0),e||"function"==typeof m[l]||c(m,l,v)),A&&S&&"values"!==S.name&&(j=!0,F=function(){return S.call(this)}),e&&!b||!p&&!j&&_[l]||c(_,l,F),u[n]=F,u[w]=v,h)if(g={values:A?F:O("values"),keys:d?F:O("keys"),entries:E},b)for(x in g)x in _||i(_,x,g[x]);else o(o.P+o.F*(p||j),n,g);return g}},function(t,n,r){var e=r(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(3);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(158)},function(t,n,r){var e=r(112),o=r(111),i=r(103);t.exports=function(t){return e(t)||o(t)||i()}},function(t,n,r){var e=r(1)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],c=i[e]();c.next=function(){return{done:r=!0}},i[e]=function(){return c},t(i)}catch(t){}return r}},function(t,n,r){var e=r(13),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(5);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){n.f=r(1)},function(t,n,r){var e=r(10),o=r(27),i=r(28)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(10),o=r(17),i=r(85)(!1),c=r(28)("IE_PROTO");t.exports=function(t,n){var r,u=o(t),a=0,f=[];for(r in u)r!=c&&e(u,r)&&f.push(r);for(;n.length>a;)e(u,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(8),o=r(5),i=r(38);t.exports=r(7)?Object.defineProperties:function(t,n){o(t);for(var r,c=i(n),u=c.length,a=0;u>a;)e.f(t,r=c[a++],n[r]);return t}},function(t,n,r){t.exports=!r(7)&&!r(11)(function(){return 7!=Object.defineProperty(r(32)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(140),o=r(138);function i(t){return(i="function"==typeof o&&"symbol"==typeof e?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t})(t)}function c(n){return"function"==typeof o&&"symbol"===i(e)?t.exports=c=function(t){return i(t)}:t.exports=c=function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":i(t)},c(n)}t.exports=c},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,r){t.exports=r(154)},function(t,n,r){t.exports=r(156)},function(t,n,r){var e=r(12),o=r(52),i=r(27),c=r(30),u=r(120);t.exports=function(t,n){var r=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,v=n||u;return function(n,u,y){for(var h,d,b=i(n),g=o(b),x=e(u,y,3),m=c(g.length),O=0,w=r?v(n,m):a?v(n,0):void 0;m>O;O++)if((p||O in g)&&(d=x(h=g[O],O,b),t))if(r)w[O]=d;else if(d)switch(t){case 3:return!0;case 5:return h;case 6:return O;case 2:w.push(h)}else if(s)return!1;return l?-1:f||s?s:w}}},function(t,n,r){"use strict";var e=r(4),o=r(23),i=r(43);e(e.S,"Promise",{try:function(t){var n=o.f(this),r=i(t);return(r.e?n.reject:n.resolve)(r.v),n.promise}})},function(t,n,r){"use strict";var e=r(4),o=r(0),i=r(2),c=r(45),u=r(42);e(e.P+e.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(n,t()).then(function(){return r})}:t,r?function(r){return u(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(8),c=r(7),u=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(2),o=r(44).set,i=e.MutationObserver||e.WebKitMutationObserver,c=e.process,u=e.Promise,a="process"==r(16)(c);t.exports=function(){var t,n,r,f=function(){var e,o;for(a&&(e=c.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(a)r=function(){c.nextTick(f)};else if(!i||e.navigator&&e.navigator.standalone)if(u&&u.resolve){var s=u.resolve();r=function(){s.then(f)}}else r=function(){o.call(e,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},function(t,n,r){"use strict";var e,o,i,c,u=r(25),a=r(2),f=r(12),s=r(35),l=r(4),p=r(3),v=r(14),y=r(46),h=r(33),d=r(45),b=r(44).set,g=r(74)(),x=r(23),m=r(43),O=r(42),w=a.TypeError,A=a.process,j=a.Promise,_="process"==s(A),S=function(){},F=o=x.f,E=!!function(){try{var t=j.resolve(1),n=(t.constructor={})[r(1)("species")]=function(t){t(S,S)};return(_||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof n}catch(t){}}(),P=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var e=t._v,o=1==t._s,i=0,c=function(n){var r,i,c,u=o?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{u?(o||(2==t._h&&L(t),t._h=1),!0===u?r=e:(s&&s.enter(),r=u(e),s&&(s.exit(),c=!0)),r===n.promise?f(w("Promise-chain cycle")):(i=P(r))?i.call(r,a,f):a(r)):f(e)}catch(t){s&&!c&&s.exit(),f(t)}};r.length>i;)c(r[i++]);t._c=[],t._n=!1,n&&!t._h&&k(t)})}},k=function(t){b.call(a,function(){var n,r,e,o=t._v,i=M(t);if(i&&(n=m(function(){_?A.emit("unhandledRejection",o,t):(r=a.onunhandledrejection)?r({promise:t,reason:o}):(e=a.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=_||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){b.call(a,function(){var n;_?A.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},I=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},W=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw w("Promise can't be resolved itself");(n=P(t))?g(function(){var e={_w:r,_d:!1};try{n.call(t,f(W,e,1),f(I,e,1))}catch(t){I.call(e,t)}}):(r._v=t,r._s=1,T(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};E||(j=function(t){y(this,j,"Promise","_h"),v(t),e.call(this);try{t(f(W,this,1),f(I,this,1))}catch(t){I.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(41)(j.prototype,{then:function(t,n){var r=F(d(this,j));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=_?A.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=f(W,t,1),this.reject=f(I,t,1)},x.f=F=function(t){return t===j||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!E,{Promise:j}),r(19)(j,"Promise"),r(73)("Promise"),c=r(0).Promise,l(l.S+l.F*!E,"Promise",{reject:function(t){var n=F(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(u||!E),"Promise",{resolve:function(t){return O(u&&this===c?j:this,t)}}),l(l.S+l.F*!(E&&r(56)(function(t){j.all(t).catch(S)})),"Promise",{all:function(t){var n=this,r=F(n),e=r.resolve,o=r.reject,i=m(function(){var r=[],i=0,c=1;h(t,!1,function(t){var u=i++,a=!1;r.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,r[u]=t,--c||e(r))},o)}),--c||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=F(n),e=r.reject,o=m(function(){h(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){r(34),r(24),r(26),r(75),r(72),r(71),t.exports=r(0).Promise},function(t,n,r){var e=r(2),o=r(0),i=r(25),c=r(60),u=r(8).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:c.f(t)})}},function(t,n,r){var e=r(29),o=r(31);t.exports=function(t){return function(n,r){var i,c,u=o(n)+"",a=e(r),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(49),o=r(21),i=r(19),c={};r(9)(c,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(c,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(){}},function(t,n,r){"use strict";var e=r(81),o=r(80),i=r(13),c=r(17);t.exports=r(51)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(29),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(17),o=r(30),i=r(84);t.exports=function(t){return function(n,r,c){var u,a=e(n),f=o(a.length),s=i(c,f);if(t&&r!=r){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){t.exports=r(143)},function(t,n,r){var e=r(130);function o(n){return t.exports=o=e||function(t){return t.__proto__},o(n)}t.exports=o},function(t,n,r){var e=r(66),o=r(131);t.exports=function(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?o(t):n}},function(t,n,r){var e=r(95);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e(t.prototype,n&&n.prototype),n&&e(t,n)}},function(t,n,r){var e=r(4),o=r(0),i=r(11);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],c={};c[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",c)}},function(t,n,r){var e=r(3);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,r){var e=r(63),o=r(36).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(16);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(62),o=r(21),i=r(17),c=r(53),u=r(10),a=r(65),f=Object.getOwnPropertyDescriptor;n.f=r(7)?f:function(t,n){if(t=i(t),n=c(n,!0),a)try{return f(t,n)}catch(t){}if(u(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(86);function o(n,r){return t.exports=o=e||function(t,n){return t.__proto__=n,t},o(n,r)}t.exports=o},function(t,n,r){"use strict";var e=r(38),o=r(83),i=r(62),c=r(27),u=r(52),a=Object.assign;t.exports=!a||r(11)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e})?function(t,n){for(var r=c(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,v=u(arguments[f++]),y=s?e(v).concat(s(v)):e(v),h=y.length,d=0;h>d;)l.call(v,p=y[d++])&&(r[p]=v[p]);return r}:a},function(t,n,r){t.exports=r(122)},function(t,n,r){var e=r(69);function o(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),e(t,o.key,o)}}t.exports=function(t,n,r){return n&&o(t.prototype,n),r&&o(t,r),t}},function(t,n,r){t.exports=r(123)},function(t,n,r){var e=r(127),o=r(95);function i(n,r,c){return"undefined"!=typeof Reflect&&e?t.exports=i=e:t.exports=i=function(t,n,r){var e=[null];e.push.apply(e,n);var i=new(t.bind.apply(t,e));return r&&o(i,r.prototype),i},i.apply(null,arguments)}t.exports=i},function(t,n,r){"use strict";r.r(n);var e=r(89),o=r.n(e),i=r(88),c=r.n(i),u=r(87),a=r.n(u),f=r(99),s=r.n(f),l=r(69),p=r.n(l),v=r(20),y=r.n(v),h=r(67),d=r.n(h),b=r(98),g=r.n(b),x=r(97),m=r.n(x),O=r(102),w=r(68),A=r.n(w),j=r(66),_=r.n(j);r.d(n,"AsyncAfWrapperProto",function(){return F});var S=new m.a,F=function(){function t(n){d()(this,t),S.set(this,y.a[Array.isArray(n)?"all":"resolve"](n))}return g()(t,[{key:"then",value:function(t,n){return new this.constructor(S.get(this).then(t,n))}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){return S.get(this).finally(t)}}]),t}();F.use=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==_()(t))throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!==_()(n))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");A()(this.prototype,t),A()(this,n)},p()(F.prototype,s.a,{value:"AsyncAF"});var E=Object(O.a)(function(t){function n(){return d()(this,n),c()(this,a()(n).apply(this,arguments))}return o()(n,t),n}(F));n.default=E},function(t,n,r){"use strict";var e=r(86),o=r.n(e),i=r(100),c=r.n(i),u=r(18);n.a=function(t){var n=t,r=t.name;return(t=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return c()(n,r)}).prototype=n.prototype,o()(t,n),t.prototype.constructor=t,Object(u.a)(t,r)}},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,n,r){var e=r(35),o=r(1)("iterator"),i=r(13);t.exports=r(0).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){r(26),r(24),t.exports=r(104)},function(t,n,r){t.exports=r(105)},function(t,n,r){"use strict";var e=r(8),o=r(21);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){"use strict";var e=r(12),o=r(4),i=r(27),c=r(58),u=r(57),a=r(30),f=r(107),s=r(47);o(o.S+o.F*!r(56)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),v="function"==typeof this?this:Array,y=arguments.length,h=y>1?arguments[1]:void 0,d=void 0!==h,b=0,g=s(p);if(d&&(h=e(h,y>2?arguments[2]:void 0,2)),void 0==g||v==Array&&u(g))for(r=new v(n=a(p.length));n>b;b++)f(r,b,d?h(p[b],b):p[b]);else for(l=g.call(p),r=new v;!(o=l.next()).done;b++)f(r,b,d?c(l,h,[o.value,b],!0):o.value);return r.length=b,r}})},function(t,n,r){r(24),r(108),t.exports=r(0).Array.from},function(t,n,r){t.exports=r(109)},function(t,n,r){var e=r(110),o=r(106);t.exports=function(t){if(o(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return e(t)}},function(t,n){t.exports=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}}},function(t,n,r){"use strict";var e=r(4),o=r(14),i=r(12),c=r(33);t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,u,a=arguments[1];return o(this),(n=void 0!==a)&&o(a),void 0==t?new this:(r=[],n?(e=0,u=i(a,arguments[2],2),c(t,!1,function(t){r.push(u(t,e++))})):c(t,!1,r.push,r),new this(r))}})}},function(t,n,r){r(113)("WeakMap")},function(t,n,r){"use strict";var e=r(4);t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,r){r(115)("WeakMap")},function(t,n,r){"use strict";var e=r(2),o=r(4),i=r(40),c=r(11),u=r(9),a=r(41),f=r(33),s=r(46),l=r(3),p=r(19),v=r(8).f,y=r(70)(0),h=r(7);t.exports=function(t,n,r,d,b,g){var x=e[t],m=x,O=b?"set":"add",w=m&&m.prototype,A={};return h&&"function"==typeof m&&(g||w.forEach&&!c(function(){(new m).entries().next()}))?(m=n(function(n,r){s(n,m,t,"_c"),n._c=new x,void 0!=r&&f(r,b,n[O],n)}),y("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in w&&(!g||"clear"!=t)&&u(m.prototype,t,function(r,e){if(s(this,m,t),!n&&g&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o})}),g||v(m.prototype,"size",{get:function(){return this._c.size}})):(m=d.getConstructor(n,t,b,O),a(m.prototype,r),i.NEED=!0),p(m,t),A[t]=m,o(o.G+o.W+o.F,A),g||d.setStrong(m,t,b),m}},function(t,n,r){"use strict";var e=r(41),o=r(40).getWeak,i=r(5),c=r(3),u=r(46),a=r(33),f=r(70),s=r(10),l=r(91),p=f(5),v=f(6),y=0,h=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},b=function(t,n){return p(t.a,function(t){return t[0]===n})};d.prototype={get:function(t){var n=b(this,t);if(n)return n[1]},has:function(t){return!!b(this,t)},set:function(t,n){var r=b(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=v(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,i){var f=t(function(t,e){u(t,f,n,"_i"),t._t=n,t._i=y++,t._l=void 0,void 0!=e&&a(e,r,t[i],t)});return e(f.prototype,{delete:function(t){if(!c(t))return!1;var r=o(t);return!0===r?h(l(this,n)).delete(t):r&&s(r,this._i)&&delete r[this._i]},has:function(t){if(!c(t))return!1;var r=o(t);return!0===r?h(l(this,n)).has(t):r&&s(r,this._i)}}),f},def:function(t,n,r){var e=o(i(n),!0);return!0===e?h(t).set(n,r):e[t._i]=r,t},ufstore:h}},function(t,n,r){var e=r(3),o=r(93),i=r(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){var e=r(119);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){"use strict";var e,o=r(70)(0),i=r(50),c=r(40),u=r(96),a=r(118),f=r(3),s=r(11),l=r(91),p=c.getWeak,v=Object.isExtensible,y=a.ufstore,h={},d=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(f(t)){var n=p(t);return!0===n?y(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return a.def(l(this,"WeakMap"),t,n)}},g=t.exports=r(117)("WeakMap",d,b,a,!0,!0);s(function(){return 7!=(new g).set((Object.freeze||Object)(h),7).get(h)})&&(u((e=a.getConstructor(d,"WeakMap")).prototype,b),c.NEED=!0,o(["delete","has","get","set"],function(t){var n=g.prototype,r=n[t];i(n,t,function(n,o){if(f(n)&&!v(n)){this._f||(this._f=new e);var i=this._f[t](n,o);return"set"==t?this:i}return r.call(this,n,o)})}))},function(t,n,r){r(34),r(26),r(121),r(116),r(114),t.exports=r(0).WeakMap},function(t,n,r){r(34),t.exports=r(60).f("toStringTag")},function(t,n,r){"use strict";var e=r(14),o=r(3),i=r(59),c=[].slice,u={};t.exports=Function.bind||function(t){var n=e(this),r=c.call(arguments,1),a=function(){var e=r.concat(c.call(arguments));return this instanceof a?function(t,n,r){if(!(n in u)){for(var e=[],o=0;o<n;o++)e[o]="a["+o+"]";u[n]=Function("F,a","return new F("+e.join(",")+")")}return u[n](t,r)}(n,e.length,e):i(n,e,t)};return o(n.prototype)&&(a.prototype=n.prototype),a}},function(t,n,r){var e=r(4),o=r(49),i=r(14),c=r(5),u=r(3),a=r(11),f=r(124),s=(r(2).Reflect||{}).construct,l=a(function(){function t(){}return!(s(function(){},[],t)instanceof t)}),p=!a(function(){s(function(){})});e(e.S+e.F*(l||p),"Reflect",{construct:function(t,n){i(t),c(n);var r=arguments.length<3?t:i(arguments[2]);if(p&&!l)return s(t,n,r);if(t==r){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var e=[null];return e.push.apply(e,n),new(f.apply(t,e))}var a=r.prototype,v=o(u(a)?a:Object.prototype),y=Function.apply.call(t,v,n);return u(y)?y:v}})},function(t,n,r){r(125),t.exports=r(0).Reflect.construct},function(t,n,r){t.exports=r(126)},function(t,n,r){var e=r(27),o=r(61);r(90)("getPrototypeOf",function(){return function(t){return o(e(t))}})},function(t,n,r){r(128),t.exports=r(0).Object.getPrototypeOf},function(t,n,r){t.exports=r(129)},function(t,n){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,n,r){r(77)("observable")},function(t,n,r){r(77)("asyncIterator")},function(t,n,r){var e=r(17),o=r(92).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(e(t))}},function(t,n,r){var e=r(38),o=r(83),i=r(62);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var c,u=r(t),a=i.f,f=0;u.length>f;)a.call(t,c=u[f++])&&n.push(c);return n}},function(t,n,r){"use strict";var e=r(2),o=r(10),i=r(7),c=r(4),u=r(50),a=r(40).KEY,f=r(11),s=r(37),l=r(19),p=r(22),v=r(1),y=r(60),h=r(77),d=r(135),b=r(93),g=r(5),x=r(3),m=r(17),O=r(53),w=r(21),A=r(49),j=r(134),_=r(94),S=r(8),F=r(38),E=_.f,P=S.f,T=j.f,k=e.Symbol,M=e.JSON,L=M&&M.stringify,I=v("_hidden"),W=v("toPrimitive"),C={}.propertyIsEnumerable,N=s("symbol-registry"),R=s("symbols"),D=s("op-symbols"),G=Object.prototype,z="function"==typeof k,V=e.QObject,B=!V||!V.prototype||!V.prototype.findChild,H=i&&f(function(){return 7!=A(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=E(G,n);e&&delete G[n],P(t,n,r),e&&t!==G&&P(G,n,e)}:P,J=function(t){var n=R[t]=A(k.prototype);return n._k=t,n},K=z&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},U=function(t,n,r){return t===G&&U(D,n,r),g(t),n=O(n,!0),g(r),o(R,n)?(r.enumerable?(o(t,I)&&t[I][n]&&(t[I][n]=!1),r=A(r,{enumerable:w(0,!1)})):(o(t,I)||P(t,I,w(1,{})),t[I][n]=!0),H(t,n,r)):P(t,n,r)},q=function(t,n){g(t);for(var r,e=d(n=m(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},Y=function(t){var n=C.call(this,t=O(t,!0));return!(this===G&&o(R,t)&&!o(D,t))&&(!(n||!o(this,t)||!o(R,t)||o(this,I)&&this[I][t])||n)},Q=function(t,n){if(t=m(t),n=O(n,!0),t!==G||!o(R,n)||o(D,n)){var r=E(t,n);return!r||!o(R,n)||o(t,I)&&t[I][n]||(r.enumerable=!0),r}},X=function(t){for(var n,r=T(m(t)),e=[],i=0;r.length>i;)o(R,n=r[i++])||n==I||n==a||e.push(n);return e},Z=function(t){for(var n,r=t===G,e=T(r?D:m(t)),i=[],c=0;e.length>c;)!o(R,n=e[c++])||r&&!o(G,n)||i.push(R[n]);return i};z||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(r){this===G&&n.call(D,r),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),H(this,t,w(1,r))};return i&&B&&H(G,t,{configurable:!0,set:n}),J(t)}).prototype,"toString",function(){return this._k}),_.f=Q,S.f=U,r(92).f=j.f=X,r(62).f=Y,r(83).f=Z,i&&!r(25)&&u(G,"propertyIsEnumerable",Y,!0),y.f=function(t){return J(v(t))}),c(c.G+c.W+c.F*!z,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)v($[tt++]);for(var nt=F(v.store),rt=0;nt.length>rt;)h(nt[rt++]);c(c.S+c.F*!z,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=k(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in N)if(N[n]===t)return n},useSetter:function(){B=!0},useSimple:function(){B=!1}}),c(c.S+c.F*!z,"Object",{create:function(t,n){return void 0===n?A(t):q(A(t),n)},defineProperty:U,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),M&&c(c.S+c.F*(!z||f(function(){var t=k();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(x(n)||void 0!==t)&&!K(t))return b(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,L.apply(M,e)}}),k.prototype[W]||r(9)(k.prototype,W,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){r(136),r(34),r(133),r(132),t.exports=r(0).Symbol},function(t,n,r){t.exports=r(137)},function(t,n,r){r(24),r(26),t.exports=r(60).f("iterator")},function(t,n,r){t.exports=r(139)},function(t,n,r){var e=r(3),o=r(5),i=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(12)(Function.call,r(94).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return i(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:i}},function(t,n,r){var e=r(4);e(e.S,"Object",{setPrototypeOf:r(141).set})},function(t,n,r){r(142),t.exports=r(0).Object.setPrototypeOf},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,n,r){var e=r(5),o=r(47);t.exports=r(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){r(26),r(24),t.exports=r(145)},function(t,n,r){t.exports=r(146)},function(t,n,r){var e=r(147);t.exports=function(t,n){var r=[],o=!0,i=!1,c=void 0;try{for(var u,a=e(t);!(o=(u=a.next()).done)&&(r.push(u.value),!n||r.length!==n);o=!0);}catch(t){i=!0,c=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw c}}return r}},function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n,r){var e=r(3),o=r(40).onFreeze;r(90)("freeze",function(t){return function(n){return t&&e(n)?t(o(n)):n}})},function(t,n,r){r(150),t.exports=r(0).Object.freeze},function(t,n,r){t.exports=r(151)},function(t,n,r){var e=r(4);e(e.S+e.F,"Object",{assign:r(96)})},function(t,n,r){r(153),t.exports=r(0).Object.assign},function(t,n,r){var e=r(4);e(e.S+e.F*!r(7),"Object",{defineProperty:r(8).f})},function(t,n,r){r(155);var e=r(0).Object;t.exports=function(t,n,r){return e.defineProperty(t,n,r)}},function(t,n,r){var e=r(4);e(e.S+e.F*!r(7),"Object",{defineProperties:r(64)})},function(t,n,r){r(157);var e=r(0).Object;t.exports=function(t,n){return e.defineProperties(t,n)}},function(t,n,r){"use strict";r.r(n);var e=r(54),o=r.n(e),i=r(55),c=r.n(i),u=r(20),a=r.n(u),f=r(15),s=r.n(f),l=r(39),p=r.n(l),v=s()([":"]),y=s()(["/"]),h=s()(["/"]),d=s()(["/"]),b=s()(["\n"],["\\n"]),g=s()(["("]),x=s()([")"]),m=s()(["/"]),O=s()(["/"]),w=r(18),A=function t(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];t.label&&r.unshift(t.setFormat(t.labelFormat));var o=Date.now();return a.a.all(r).then(function(n){if(t.duration){var r=((Date.now()-o)/1e3).toFixed(3);n.push("\nin ".concat(r," secs"))}t.wrappedLog.apply(t,c()(n))})};o()(A,{wrappedLog:{value:function(){var t;console&&console.log&&(t=console).log.apply(t,arguments)},writable:!0},wrappedWarn:{value:function(){var t;console&&console.warn&&(t=console).warn.apply(t,arguments)},writable:!0},setFormat:{value:function(t){var n=Error();if(!n.stack)return"";var r=n.stack.split(b).filter(function(t,n,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[n?n-1:n])}),e=p()(r,1)[0],o=e.slice(e.indexOf(g)+1,e.indexOf(x)),i=o.lastIndexOf(m),c={file:function(){return"@".concat(o.slice(i+1),":\n")},path:function(){return"@".concat(o,":\n")},parent:function(){var t=o.slice(0,i).lastIndexOf(O)+1;return"@".concat(o.slice(t),":\n")},arrow:function(){return"========================>"}};return c[t]?c[t]():function(t,n,r){if("string"==typeof t)return t;var e=n.split(v),o=p()(e,3),i=o[0],c=o[1],u=o[2],a=(i=i.split(y)).pop();i=i.join(h);var f="".concat(i.split(d).pop(),"/");return t({path:i+="/",line:c,col:u,file:a,parent:f,arrow:r})}(t,o,c.arrow())},writable:!0},options:{value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.label,r=t.duration,e=t.labelFormat;"boolean"==typeof n&&(j.label=n),"boolean"==typeof r&&(j.duration=r),e&&("string"==typeof e||"function"==typeof e?j.labelFormat=e:j.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(A.options.reset=function(){A.label=!0,A.labelFormat="file",A.duration=!0})();var j=n.default=Object(w.a)(A,"logAF")},function(t,n,r){"use strict";r.r(n),n.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if("string"!=typeof r||Array.isArray(r))throw TypeError("splitAF may be called on a string but was called on ".concat(r));return String.prototype.split.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(20),o=r.n(e);n.default=function(){for(var t=this,n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return this.then(function(n){if("string"!=typeof n&&!Array.isArray(n))throw TypeError("concatAF cannot be called on ".concat(n,", only on an Array or String"));return r.reduce(function(n,r){return n instanceof o.a?n.then(function(n){return r instanceof t.constructor||r instanceof o.a?r.then(function(t){return n.concat(t)}):n.concat(r)},n):r instanceof t.constructor||r instanceof o.a?r.then(function(t){return n.concat(t)}):n.concat(r)},n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(n){if(!Object(e.a)(n))throw TypeError("joinAF cannot be called on ".concat(n,", only on an Array or array-like Object"));return Array.prototype.join.call(n,t)})};Object.defineProperty(o,"length",{value:1}),n.default=o},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,t,n||r.length-1)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===n)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(6);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,t,n)})}},function(t,n,r){var e=r(69);t.exports=function(t,n,r){return n in t?e(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},function(t,n,r){"use strict";r.r(n);var e=r(54),o=r.n(e),i=r(174),c=r.n(i),u=r(68),a=r.n(u),f=r(15),s=r.n(f),l=r(39),p=r.n(l),v=r(67),y=r.n(v),h=r(89),d=r.n(h),b=r(88),g=r.n(b),x=r(87),m=r.n(x),O=r(102),w=r(101),A=r(55),j=r.n(A),_=r(18),S=r(159),F=r(173),E=r(172),P=r(171),T=r(170),k=r(169),M=r(168),L=r(167),I=r(166),W=r(165),C=r(164),N=r(163),R=r(162),D=r(161),G=r(160),z=function(t){return"@async-af/".concat(t.replace(/AsyncAf|AF/g,"").toLowerCase())},V="".concat("./lib/","classes/"),B=[[{name:"AsyncAF"},"".concat(V,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(V,"AsyncAfWrapper"),z("AsyncAfWrapper")]],H=[Object(_.a)(S.default,"logAF")].map(function(t){return[t,"".concat("./lib/","methods/other/").concat(t.name),z(t.name)]}),J=[Object(_.a)(F.default,"mapAF"),Object(_.a)(E.default,"forEachAF"),Object(_.a)(P.default,"filterAF"),Object(_.a)(T.default,"reduceAF"),Object(_.a)(k.default,"everyAF"),Object(_.a)(M.default,"someAF"),Object(_.a)(L.default,"includesAF"),Object(_.a)(I.default,"findAF"),Object(_.a)(W.default,"findIndexAF"),Object(_.a)(C.default,"indexOfAF"),Object(_.a)(N.default,"lastIndexOfAF"),Object(_.a)(R.default,"joinAF"),Object(_.a)(D.default,"concatAF")].map(function(t){return[t,"".concat("./lib/","methods/arrays/").concat(t.name),z(t.name)]}),K=[Object(_.a)(G.default,"splitAF")].map(function(t){return[t,"".concat("./lib/","methods/strings/").concat(t.name),z(t.name)]}),U=j()(J).concat(j()(K)),q=(B.concat(j()(H),j()(U),[]),function(t){return t.map(function(t){return p()(t,1)[0]})}),Y=q(H),Q=q(U),X=s()(["AF"]),Z=Object(O.a)(function(t){function n(){return y()(this,n),g()(this,m()(n).apply(this,arguments))}return d()(n,t),n}(w.AsyncAfWrapperProto)),$=function(t){return t.reduce(function(t,n){var r=n.name.split(X)||[n.name],e=p()(r,1)[0];return a()(t,c()({},n.name,{value:n}),c()({},e,{value:n}))},{})};o()(w.AsyncAfWrapperProto,$(Y)),o()(w.AsyncAfWrapperProto.prototype,$(Q)),n.default=Z}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("AsyncAF",[],n):"object"==typeof exports?exports.AsyncAF=n():t.AsyncAF=n();
//# sourceMappingURL=min.js.map
/*!
* async-af/min v5.3.3
* async-af/min v6.0.0
*

@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun)

*/
var t,r;t="undefined"!=typeof self?self:this,r=function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=19)}([function(t,r,e){"use strict";r.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,r,e){"use strict";r.a=function(t,r){return Object.defineProperty(t,"name",{value:r,configurable:!0})}},function(t,r,e){"use strict";e.r(r);var n=e(3);e.d(r,"AsyncAfWrapperProto",function(){return o});class o{constructor(t){this.data=Promise[Array.isArray(t)?"all":"resolve"](t)}then(t,r){return new this.constructor(this.data.then(t,r))}catch(t){return this.then(null,t)}finally(t){return this.data.finally(t)}}o.use=function(t,r={}){if("object"!=typeof t)throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!=typeof r)throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");Object.assign(this.prototype,t),Object.assign(this,r)};const a=Object(n.a)(class extends o{});r.default=a},function(t,r,e){"use strict";var n=e(1);r.a=(t=>{const r=t,e=t.name;return(t=function(...t){return new r(...t)}).prototype=r.prototype,Object.setPrototypeOf(t,r),t.prototype.constructor=t,Object(n.a)(t,e)})},function(t,r,e){"use strict";e.r(r);var n,o,a=(t,r,e)=>{if("string"==typeof t)return t;let a=(n=r.split`:`,o=3,function(t){if(Array.isArray(t))return t}(n)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),c=a[0],i=a[1],l=a[2];const u=(c=c.split`/`).pop();c=c.join`/`;const s=`${c.split`/`.pop()}/`;return t({path:c+="/",line:i,col:l,file:u,parent:s,arrow:e})};var c=e(1);const i=function t(...r){t.label&&r.unshift(t.setFormat(t.labelFormat));const e=Date.now();return Promise.all(r).then(r=>{if(t.duration){const t=((Date.now()-e)/1e3).toFixed(3);r.push(`\nin ${t} secs`)}t.wrappedLog(...r)})};Object.defineProperties(i,{wrappedLog:{value:(...t)=>{console&&console.log&&console.log(...t)},writable:!0},wrappedWarn:{value:(...t)=>{console&&console.warn&&console.warn(...t)},writable:!0},setFormat:{value:t=>{const r=Error();if(!r.stack)return"";const e=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(r.stack.split`\n`.filter((t,r,e)=>/logAF(\s+|\s+\[.+\]\s+)\(/.test(e[r?r-1:r])),1)[0],n=e.slice(e.indexOf`(`+1,e.indexOf`)`),o=n.lastIndexOf`/`,c={file:()=>`@${n.slice(o+1)}:\n`,path:()=>`@${n}:\n`,parent(){const t=n.slice(0,o).lastIndexOf`/`+1;return`@${n.slice(t)}:\n`},arrow:()=>"========================>"};return c[t]?c[t]():a(t,n,c.arrow())},writable:!0},options:{value:(t={})=>{const r=t.label,e=t.duration,n=t.labelFormat;"boolean"==typeof r&&(l.label=r),"boolean"==typeof e&&(l.duration=e),n&&("string"==typeof n||"function"==typeof n?l.labelFormat=n:l.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(i.options.reset=function(){i.label=!0,i.labelFormat="file",i.duration=!0})();var l=r.default=Object(c.a)(i,"logAF")},function(t,r,e){"use strict";e.r(r),r.default=function(t,r){return this.then(e=>{if("string"!=typeof e||Array.isArray(e))throw TypeError(`splitAF may be called on a string but was called on ${e}`);return String.prototype.split.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r),r.default=function(...t){return this.then(r=>{if("string"!=typeof r&&!Array.isArray(r))throw TypeError(`concatAF cannot be called on ${r}, only on an Array or String`);return t.reduce((t,r)=>t instanceof Promise?t.then(t=>r instanceof this.constructor||r instanceof Promise?r.then(r=>t.concat(r)):t.concat(r),t):r instanceof this.constructor||r instanceof Promise?r.then(r=>t.concat(r)):t.concat(r),r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);const o=function(t=","){return this.then(r=>{if(!Object(n.a)(r))throw TypeError(`joinAF cannot be called on ${r}, only on an Array or array-like Object`);return Array.prototype.join.call(r,t)})};Object.defineProperty(o,"length",{value:1}),r.default=o},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`lastIndexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.lastIndexOf.call(e,t,r||e.length-1)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`indexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.indexOf.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findIndexAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.findIndex.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.find.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`includesAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.includes.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`someAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.some.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`everyAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.every.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=null){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`reduceAF cannot be called on ${e}, only on an Array or array-like Object`);if(!e.length&&null===r)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`filterAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.filter.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`forEachAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.forEach.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`mapAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.map.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(3),o=e(2),a=e(1),c=e(4),i=e(18),l=e(17),u=e(16),s=e(15),f=e(14),y=e(13),p=e(12),d=e(11),b=e(10),h=e(9),A=e(8),O=e(7),j=e(6),m=e(5);const v=t=>`@async-af/${t.replace(/AsyncAf|AF/g,"").toLowerCase()}`,w=(v("AsyncAfWrapper"),[Object(a.a)(c.default,"logAF")].map(t=>[t,`./lib/methods/other/${t.name}`,v(t.name)])),F=[Object(a.a)(i.default,"mapAF"),Object(a.a)(l.default,"forEachAF"),Object(a.a)(u.default,"filterAF"),Object(a.a)(s.default,"reduceAF"),Object(a.a)(f.default,"everyAF"),Object(a.a)(y.default,"someAF"),Object(a.a)(p.default,"includesAF"),Object(a.a)(d.default,"findAF"),Object(a.a)(b.default,"findIndexAF"),Object(a.a)(h.default,"indexOfAF"),Object(a.a)(A.default,"lastIndexOfAF"),Object(a.a)(O.default,"joinAF"),Object(a.a)(j.default,"concatAF")].map(t=>[t,`./lib/methods/arrays/${t.name}`,v(t.name)]),g=[Object(a.a)(m.default,"splitAF")].map(t=>[t,`./lib/methods/strings/${t.name}`,v(t.name)]),x=[...F,...g],E=t=>t.map(([t])=>t),$=E(w),T=E(x);const P=Object(n.a)(class extends o.AsyncAfWrapperProto{}),k=t=>t.reduce((t,r)=>{const e=(I=r.name.split`AF`||[r.name],S=1,function(t){if(Array.isArray(t))return t}(I)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(I,S)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[0];return Object.assign(t,{[r.name]:{value:r}},{[e]:{value:r}})},{});var I,S;Object.defineProperties(o.AsyncAfWrapperProto,k($)),Object.defineProperties(o.AsyncAfWrapperProto.prototype,k(T)),r.default=P}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("AsyncAF",[],r):"object"==typeof exports?exports.AsyncAF=r():t.AsyncAF=r();
var t,r;t="undefined"!=typeof self?self:this,r=function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=19)}([function(t,r,e){"use strict";r.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,r,e){"use strict";r.a=function(t,r){return Object.defineProperty(t,"name",{value:r,configurable:!0})}},function(t,r,e){"use strict";e.r(r);var n=e(3);e.d(r,"AsyncAfWrapperProto",function(){return a});const o=new WeakMap;class a{constructor(t){o.set(this,Promise[Array.isArray(t)?"all":"resolve"](t))}then(t,r){return new this.constructor(o.get(this).then(t,r))}catch(t){return this.then(null,t)}finally(t){return o.get(this).finally(t)}}a.use=function(t,r={}){if("object"!=typeof t)throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!=typeof r)throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");Object.assign(this.prototype,t),Object.assign(this,r)},Object.defineProperty(a.prototype,Symbol.toStringTag,{value:"AsyncAF"});const c=Object(n.a)(class extends a{});r.default=c},function(t,r,e){"use strict";var n=e(1);r.a=(t=>{const r=t,e=t.name;return(t=function(...t){return new r(...t)}).prototype=r.prototype,Object.setPrototypeOf(t,r),t.prototype.constructor=t,Object(n.a)(t,e)})},function(t,r,e){"use strict";e.r(r);var n,o,a=(t,r,e)=>{if("string"==typeof t)return t;let a=(n=r.split`:`,o=3,function(t){if(Array.isArray(t))return t}(n)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),c=a[0],i=a[1],l=a[2];const u=(c=c.split`/`).pop();c=c.join`/`;const s=`${c.split`/`.pop()}/`;return t({path:c+="/",line:i,col:l,file:u,parent:s,arrow:e})};var c=e(1);const i=function t(...r){t.label&&r.unshift(t.setFormat(t.labelFormat));const e=Date.now();return Promise.all(r).then(r=>{if(t.duration){const t=((Date.now()-e)/1e3).toFixed(3);r.push(`\nin ${t} secs`)}t.wrappedLog(...r)})};Object.defineProperties(i,{wrappedLog:{value:(...t)=>{console&&console.log&&console.log(...t)},writable:!0},wrappedWarn:{value:(...t)=>{console&&console.warn&&console.warn(...t)},writable:!0},setFormat:{value:t=>{const r=Error();if(!r.stack)return"";const e=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(r.stack.split`\n`.filter((t,r,e)=>/logAF(\s+|\s+\[.+\]\s+)\(/.test(e[r?r-1:r])),1)[0],n=e.slice(e.indexOf`(`+1,e.indexOf`)`),o=n.lastIndexOf`/`,c={file:()=>`@${n.slice(o+1)}:\n`,path:()=>`@${n}:\n`,parent(){const t=n.slice(0,o).lastIndexOf`/`+1;return`@${n.slice(t)}:\n`},arrow:()=>"========================>"};return c[t]?c[t]():a(t,n,c.arrow())},writable:!0},options:{value:(t={})=>{const r=t.label,e=t.duration,n=t.labelFormat;"boolean"==typeof r&&(l.label=r),"boolean"==typeof e&&(l.duration=e),n&&("string"==typeof n||"function"==typeof n?l.labelFormat=n:l.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(i.options.reset=function(){i.label=!0,i.labelFormat="file",i.duration=!0})();var l=r.default=Object(c.a)(i,"logAF")},function(t,r,e){"use strict";e.r(r),r.default=function(t,r){return this.then(e=>{if("string"!=typeof e||Array.isArray(e))throw TypeError(`splitAF may be called on a string but was called on ${e}`);return String.prototype.split.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r),r.default=function(...t){return this.then(r=>{if("string"!=typeof r&&!Array.isArray(r))throw TypeError(`concatAF cannot be called on ${r}, only on an Array or String`);return t.reduce((t,r)=>t instanceof Promise?t.then(t=>r instanceof this.constructor||r instanceof Promise?r.then(r=>t.concat(r)):t.concat(r),t):r instanceof this.constructor||r instanceof Promise?r.then(r=>t.concat(r)):t.concat(r),r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);const o=function(t=","){return this.then(r=>{if(!Object(n.a)(r))throw TypeError(`joinAF cannot be called on ${r}, only on an Array or array-like Object`);return Array.prototype.join.call(r,t)})};Object.defineProperty(o,"length",{value:1}),r.default=o},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`lastIndexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.lastIndexOf.call(e,t,r||e.length-1)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`indexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.indexOf.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findIndexAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.findIndex.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.find.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`includesAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.includes.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`someAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.some.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`everyAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.every.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=null){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`reduceAF cannot be called on ${e}, only on an Array or array-like Object`);if(!e.length&&null===r)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`filterAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.filter.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`forEachAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.forEach.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`mapAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.map.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(3),o=e(2),a=e(1),c=e(4),i=e(18),l=e(17),u=e(16),s=e(15),f=e(14),y=e(13),p=e(12),d=e(11),b=e(10),h=e(9),A=e(8),O=e(7),j=e(6),m=e(5);const v=t=>`@async-af/${t.replace(/AsyncAf|AF/g,"").toLowerCase()}`,w=(v("AsyncAfWrapper"),[Object(a.a)(c.default,"logAF")].map(t=>[t,`./lib/methods/other/${t.name}`,v(t.name)])),F=[Object(a.a)(i.default,"mapAF"),Object(a.a)(l.default,"forEachAF"),Object(a.a)(u.default,"filterAF"),Object(a.a)(s.default,"reduceAF"),Object(a.a)(f.default,"everyAF"),Object(a.a)(y.default,"someAF"),Object(a.a)(p.default,"includesAF"),Object(a.a)(d.default,"findAF"),Object(a.a)(b.default,"findIndexAF"),Object(a.a)(h.default,"indexOfAF"),Object(a.a)(A.default,"lastIndexOfAF"),Object(a.a)(O.default,"joinAF"),Object(a.a)(j.default,"concatAF")].map(t=>[t,`./lib/methods/arrays/${t.name}`,v(t.name)]),g=[Object(a.a)(m.default,"splitAF")].map(t=>[t,`./lib/methods/strings/${t.name}`,v(t.name)]),x=[...F,...g],E=t=>t.map(([t])=>t),$=E(w),T=E(x);const P=Object(n.a)(class extends o.AsyncAfWrapperProto{}),k=t=>t.reduce((t,r)=>{const e=(S=r.name.split`AF`||[r.name],I=1,function(t){if(Array.isArray(t))return t}(S)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(S,I)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[0];return Object.assign(t,{[r.name]:{value:r}},{[e]:{value:r}})},{});var S,I;Object.defineProperties(o.AsyncAfWrapperProto,k($)),Object.defineProperties(o.AsyncAfWrapperProto.prototype,k(T)),r.default=P}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("AsyncAF",[],r):"object"==typeof exports?exports.AsyncAF=r():t.AsyncAF=r();
//# sourceMappingURL=min.js.map

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "5.3.3",
"version": "6.0.0",
"homepage": "https://async-af.js.org",

@@ -9,0 +9,0 @@ "bugs": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc