New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@async-af/reduce

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@async-af/reduce - npm Package Compare versions

Comparing version 7.0.20 to 7.0.21

56

esm/index.js
/*!
* @async-af/reduce/esm v7.0.20
* @async-af/reduce/esm v7.0.21
*

@@ -12,2 +12,40 @@ * AsyncAF (The asynciest of async libs there ever was or ever will be...AsyncAF!?) reduceAF method

*/
function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _iterableToArrayLimit(arr, i) {
var _arr = [];
var _n = true;
var _d = false;
var _e = undefined;
try {
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i["return"] != null) _i["return"]();
} finally {
if (_d) throw _e;
}
}
return _arr;
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance");
}
/* eslint-disable no-unused-vars, valid-jsdoc */

@@ -114,5 +152,5 @@

var reduceAF = function reduceAF(callback$$1)
/* initialValue */
{
var reduceAF = function reduceAF(callback$$1
/* , initialValue */
) {
var _this = this,

@@ -134,3 +172,8 @@ _arguments = arguments;

var acc;
if (_arguments.length === 2) acc = _arguments[1];else {
if (_arguments.length === 2) {
var _arguments2 = _slicedToArray(_arguments, 2);
acc = _arguments2[1];
} else {
while (hole(i)) {

@@ -142,3 +185,4 @@ i++;

}
return (_this.inSeries ? serial(arr) : parallel(arr)).then(function (arr) {
return (_this.inSeries ? serial : parallel)(arr).then(function (arr) {
var reduceAF = function reduceAF(acc, i) {

@@ -145,0 +189,0 @@ return Promise.resolve(acc).then(function (acc) {

4

esm/min.js
/*!
* @async-af/reduce/esm/min v7.0.20
* @async-af/reduce/esm/min v7.0.21
*

@@ -12,3 +12,3 @@ * AsyncAF (The asynciest of async libs there ever was or ever will be...AsyncAF!?) reduceAF method

*/
var r=r=>new Promise((e,n)=>{var t=r.length>>>0,o=Array(t),i=t,a=t;if(!t)return e(o);for(var l=t=>Promise.resolve(r[t]).then(n=>{t in r&&(o[t]=n),--i||e(o)},n);a--;)l(a)});export default function(e){var n=this,t=arguments;return this.then(o=>{if(!(Array.isArray(i=o)||null!=i&&null!=i.length))throw TypeError("reduceAF cannot be called on ".concat(o,", only on an Array or array-like Object"));var i;if("function"!=typeof e)throw TypeError("".concat(e," is not a function"));var a=o.length>>>0;if(!a&&1===t.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!a)return t[1];var l,h=r=>!(r in o),u=0;if(2===t.length)l=t[1];else{for(;h(u);)u++;l=o[u++]}return(n.inSeries?(r=>(function e(n,t){var o=n.length;if(!o)return Promise.resolve(n);var i=!(t in r);return Promise.resolve(r[t]).then(r=>(i||(n[t]=r),t===o-1?n:e(n,t+1)))})(Array(r.length>>>0),0))(o):function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return r(e).then(n?e=>r(Array.prototype.map.call(e,n,t)):void 0)}(o)).then(r=>(function n(t,o){return Promise.resolve(t).then(t=>Promise.resolve(h(o)?t:e(t,r[o],o,r)).then(r=>o===a-1?r:n(r,o+1)))})(l,u))})};
var r=r=>new Promise((e,n)=>{var t=r.length>>>0,o=Array(t),a=t,i=t;if(!t)return e(o);for(var l=t=>Promise.resolve(r[t]).then(n=>{t in r&&(o[t]=n),--a||e(o)},n);i--;)l(i)});export default function(e){var n,t,o=this,a=arguments;return this.then(n=>{if(!(Array.isArray(t=n)||null!=t&&null!=t.length))throw TypeError("reduceAF cannot be called on ".concat(n,", only on an Array or array-like Object"));var t;if("function"!=typeof e)throw TypeError("".concat(e," is not a function"));var i=n.length>>>0;if(!i&&1===a.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!i)return a[1];var l,u=r=>!(r in n),h=0;if(2===a.length){var v=(h=2,(r=>{if(Array.isArray(r))return r})(n=a)||((r,e)=>{var n=[],t=!0,o=!1,a=void 0;try{for(var i,l=r[Symbol.iterator]();!(t=(i=l.next()).done)&&(n.push(i.value),!e||n.length!==e);t=!0);}catch(r){o=!0,a=r}finally{try{t||null==l.return||l.return()}finally{if(o)throw a}}return n})(n,h)||(()=>{throw new TypeError("Invalid attempt to destructure non-iterable instance")})());l=v[1]}else{for(;u(h);)h++;l=n[h++]}return(o.inSeries?r=>(function e(n,t){var o=n.length;if(!o)return Promise.resolve(n);var a=!(t in r);return Promise.resolve(r[t]).then(r=>(a||(n[t]=r),t===o-1?n:e(n,t+1)))})(Array(r.length>>>0),0):function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return r(e).then(n?e=>r(Array.prototype.map.call(e,n,t)):void 0)})(n).then(r=>(function n(t,o){return Promise.resolve(t).then(t=>Promise.resolve(u(o)?t:e(t,r[o],o,r)).then(r=>o===i-1?r:n(r,o+1)))})(l,h))})};
//# sourceMappingURL=min.js.map
/*!
* @async-af/reduce v7.0.20
* @async-af/reduce v7.0.21
*

@@ -255,5 +255,5 @@ * AsyncAF (The asynciest of async libs there ever was or ever will be...AsyncAF!?) reduceAF method

const reduceAF_reduceAF = function reduceAF(callback)
/* initialValue */
{
const reduceAF_reduceAF = function reduceAF(callback
/* , initialValue */
) {
return this.then(arr => {

@@ -270,3 +270,8 @@ if (!Object(permissiveIsArrayLike["default"])(arr)) throw TypeError(`reduceAF cannot be called on ${arr}, only on an Array or array-like Object`);

let acc;
if (arguments.length === 2) acc = arguments[1];else {
if (arguments.length === 2) {
var _arguments = Array.prototype.slice.call(arguments);
acc = _arguments[1];
} else {
while (hole(i)) i++;

@@ -276,3 +281,4 @@

}
return (this.inSeries ? Object(resolve["serial"])(arr) : Object(resolve["parallel"])(arr)).then(arr => {
return (this.inSeries ? resolve["serial"] : resolve["parallel"])(arr).then(arr => {
const reduceAF = (acc, i) => Promise.resolve(acc).then(acc => Promise.resolve(!hole(i) ? callback(acc, arr[i], i, arr) : acc).then(acc => i === length - 1 ? acc : reduceAF(acc, i + 1)));

@@ -279,0 +285,0 @@

/*!
* @async-af/reduce/legacy/min v7.0.20
* @async-af/reduce/legacy/min v7.0.21
*

@@ -12,3 +12,3 @@ * AsyncAF (The asynciest of async libs there ever was or ever will be...AsyncAF!?) reduceAF method

*/
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,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},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=121)}([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(30)("wks"),o=r(28),i=r(0).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n,r){t.exports=r(67)},function(t,n){var r=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(5);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(10),o=r(25);t.exports=r(8)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(0),o=r(3),i=r(11),u=r(6),c=r(12),f=function(t,n,r){var a,s,l,p=t&f.F,v=t&f.G,h=t&f.S,d=t&f.P,y=t&f.B,m=t&f.W,x=v?o:o[n]||(o[n]={}),_=x.prototype,g=v?e:h?e[n]:(e[n]||{}).prototype;for(a in v&&(r=n),r)(s=!p&&g&&void 0!==g[a])&&c(x,a)||(l=s?g[a]:r[a],x[a]=v&&"function"!=typeof g[a]?r[a]:y&&s?i(l,e):m&&g[a]==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):d&&"function"==typeof l?i(Function.call,l):l,d&&((x.virtual||(x.virtual={}))[a]=l,t&f.R&&_&&!_[a]&&u(_,a,l)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){t.exports=!r(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports={}},function(t,n,r){var e=r(4),o=r(56),i=r(46),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(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(13);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={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(47),o=r(20);t.exports=function(t){return e(o(t))}},function(t,n,r){"use strict";r.d(n,"b",function(){return u}),r.d(n,"a",function(){return c});var e=r(2),o=r.n(e),i=r(26),u=function(t){return function n(r,e){var i=r.length;if(!i)return o.a.resolve(r);var u=!(e in t);return o.a.resolve(t[e]).then(function(t){return u||(r[e]=t),e===i-1?r:n(r,e+1)})}(Array(t.length>>>0),0)},c=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return Object(i.a)(t,function(t){return t}).then(n?function(t){return Object(i.a)(Array.prototype.map.call(t,n,r))}:void 0)}},function(t,n,r){var e=r(10).f,o=r(12),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){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(5),o=r(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(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){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(30)("keys"),o=r(28);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){"use strict";var e=r(13);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";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){"use strict";var e=r(2),o=r.n(e);n.a=function(t){return new o.a(function(n,r){var e=t.length>>>0,i=Array(e),u=e,c=e;if(!e)return n(i);for(var f=function(e){return o.a.resolve(t[e]).then(function(r){e in t&&(i[e]=r),--u||n(i)},r)};c--;)f(c)})}},function(t,n,r){var e=r(21),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},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){t.exports=!0},function(t,n,r){var e=r(0),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(14),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;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"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){"use strict";var e=r(29),o=r(7),i=r(48),u=r(6),c=r(9),f=r(65),a=r(17),s=r(58),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,h,d,y,m){f(r,n,h);var x,_,g,b=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",j="values"==d,O=!1,S=t.prototype,P=S[l]||S["@@iterator"]||d&&S[d],T=P||b(d),M=d?j?b("entries"):T:void 0,A="Array"==n&&S.entries||P;if(A&&(g=s(A.call(new t)))!==Object.prototype&&g.next&&(a(g,w,!0),e||"function"==typeof g[l]||u(g,l,v)),j&&P&&"values"!==P.name&&(O=!0,T=function(){return P.call(this)}),e&&!m||!p&&!O&&S[l]||u(S,l,T),c[n]=T,c[w]=v,d)if(x={values:j?T:b("values"),keys:y?T:b("keys"),entries:M},m)for(_ in x)_ in S||i(S,_,x[_]);else o(o.P+o.F*(p||O),n,x);return x}},function(t,n,r){var e=r(0).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(4),o=r(13),i=r(1)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||void 0==(r=e(u)[i])?n:o(r)}},function(t,n,r){var e,o,i,u=r(11),c=r(59),f=r(34),a=r(19),s=r(0),l=s.process,p=s.setImmediate,v=s.clearImmediate,h=s.MessageChannel,d=s.Dispatch,y=0,m={},x=function(){var t=+this;if(m.hasOwnProperty(t)){var n=m[t];delete m[t],n()}},_=function(t){x.call(t.data)};p&&v||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return m[++y]=function(){c("function"==typeof t?t:Function(t),n)},e(y),y},v=function(t){delete m[t]},"process"==r(14)(l)?e=function(t){l.nextTick(u(x,t,1))}:d&&d.now?e=function(t){d.now(u(x,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=_,e=u(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",_,!1)):e="onreadystatechange"in a("script")?function(t){f.appendChild(a("script")).onreadystatechange=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(u(x,t,1),0)}),t.exports={set:p,clear:v}},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=r(4),o=r(5),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,r){var e=r(20);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";var e=r(66)(!0);r(33)(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,r){var e=r(57),o=r(31);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){r(62);for(var e=r(0),o=r(6),i=r(9),u=r(1)("toStringTag"),c="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(","),f=0;f<c.length;f++){var a=c[f],s=e[a],l=s&&s.prototype;l&&!l[u]&&o(l,u,a),i[a]=i.Array}},function(t,n,r){var e=r(32),o=r(1)("iterator"),i=r(9);t.exports=r(3).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n){},function(t,n,r){var e=r(11),o=r(51),i=r(52),u=r(4),c=r(27),f=r(43),a={},s={};(n=t.exports=function(t,n,r,l,p){var v,h,d,y,m=p?function(){return t}:f(t),x=e(r,l,n?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(v=c(t.length);v>_;_++)if((y=n?x(u(h=t[_])[0],h[1]):x(t[_]))===a||y===s)return y}else for(d=m.call(t);!(h=d.next()).done;)if((y=o(d,x,h.value,n))===a||y===s)return y}).BREAK=a,n.RETURN=s},function(t,n,r){var e=r(5);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){var e=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){t.exports=r(6)},function(t,n,r){var e=r(4),o=r(55),i=r(31),u=r(22)("IE_PROTO"),c=function(){},f=function(){var t,n=r(19)("iframe"),e=i.length;for(n.style.display="none",r(34).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[i[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:o(r,n)}},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(4);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,r){var e=r(9),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(6);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(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],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},function(t,n,r){var e=r(10),o=r(4),i=r(41);t.exports=r(8)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){t.exports=!r(8)&&!r(18)(function(){return 7!=Object.defineProperty(r(19)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(12),o=r(15),i=r(60)(!1),u=r(22)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),f=0,a=[];for(r in c)r!=u&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(a,r)||a.push(r));return a}},function(t,n,r){var e=r(12),o=r(39),i=r(22)("IE_PROTO"),u=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?u:null}},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){var e=r(15),o=r(27),i=r(61);t.exports=function(t){return function(n,r,u){var c,f=e(n),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(21),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){"use strict";var e=r(63),o=r(64),i=r(9),u=r(15);t.exports=r(33)(Array,"Array",function(t,n){this._t=u(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){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){"use strict";var e=r(49),o=r(25),i=r(17),u={};r(6)(u,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(21),o=r(20);t.exports=function(t){return function(n,r){var i,u,c=o(n)+"",f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(i=c.charCodeAt(f))<55296||i>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){r(44),r(40),r(42),r(68),r(71),r(72),t.exports=r(3).Promise},function(t,n,r){"use strict";var e,o,i,u,c=r(29),f=r(0),a=r(11),s=r(32),l=r(7),p=r(5),v=r(13),h=r(50),d=r(45),y=r(35),m=r(36).set,x=r(69)(),_=r(23),g=r(37),b=r(38),w=f.TypeError,j=f.process,O=f.Promise,S="process"==s(j),P=function(){},T=o=_.f,M=!!function(){try{var t=O.resolve(1),n=(t.constructor={})[r(1)("species")]=function(t){t(P,P)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(P)instanceof n}catch(t){}}(),A=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},L=function(t,n){if(!t._n){t._n=!0;var r=t._c;x(function(){for(var e=t._v,o=1==t._s,i=0,u=function(n){var r,i,u,c=o?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{c?(o||(2==t._h&&F(t),t._h=1),!0===c?r=e:(s&&s.enter(),r=c(e),s&&(s.exit(),u=!0)),r===n.promise?a(w("Promise-chain cycle")):(i=A(r))?i.call(r,f,a):f(r)):a(e)}catch(t){s&&!u&&s.exit(),a(t)}};r.length>i;)u(r[i++]);t._c=[],t._n=!1,n&&!t._h&&E(t)})}},E=function(t){m.call(f,function(){var n,r,e,o=t._v,i=k(t);if(i&&(n=g(function(){S?j.emit("unhandledRejection",o,t):(r=f.onunhandledrejection)?r({promise:t,reason:o}):(e=f.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=S||k(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(f,function(){var n;S?j.emit("rejectionHandled",t):(n=f.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=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()),L(n,!0))},R=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=A(t))?x(function(){var e={_w:r,_d:!1};try{n.call(t,a(R,e,1),a(C,e,1))}catch(t){C.call(e,t)}}):(r._v=t,r._s=1,L(r,!1))}catch(t){C.call({_w:r,_d:!1},t)}}};M||(O=function(t){h(this,O,"Promise","_h"),v(t),e.call(this);try{t(a(R,this,1),a(C,this,1))}catch(t){C.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(53)(O.prototype,{then:function(t,n){var r=T(y(this,O));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=S?j.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&L(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=a(R,t,1),this.reject=a(C,t,1)},_.f=T=function(t){return t===O||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!M,{Promise:O}),r(17)(O,"Promise"),r(70)("Promise"),u=r(3).Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var n=T(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!M),"Promise",{resolve:function(t){return b(c&&this===u?O:this,t)}}),l(l.S+l.F*!(M&&r(54)(function(t){O.all(t).catch(P)})),"Promise",{all:function(t){var n=this,r=T(n),e=r.resolve,o=r.reject,i=g(function(){var r=[],i=0,u=1;d(t,!1,function(t){var c=i++,f=!1;r.push(void 0),u++,n.resolve(t).then(function(t){f||(f=!0,r[c]=t,--u||e(r))},o)}),--u||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=T(n),e=r.reject,o=g(function(){d(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){var e=r(0),o=r(36).set,i=e.MutationObserver||e.WebKitMutationObserver,u=e.process,c=e.Promise,f="process"==r(14)(u);t.exports=function(){var t,n,r,a=function(){var e,o;for(f&&(e=u.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(f)r=function(){u.nextTick(a)};else if(!i||e.navigator&&e.navigator.standalone)if(c&&c.resolve){var s=c.resolve();r=function(){s.then(a)}}else r=function(){o.call(e,a)};else{var l=!0,p=document.createTextNode("");new i(a).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=r(0),o=r(3),i=r(10),u=r(8),c=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[c]&&i.f(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(7),o=r(3),i=r(0),u=r(35),c=r(38);e(e.P+e.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return c(n,t()).then(function(){return r})}:t,r?function(r){return c(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(7),o=r(23),i=r(37);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";r.r(n);var e=r(2),o=r.n(e),i=r(24),u=r(16);n.default=function(t){var n=this,r=arguments;return this.then(function(e){if(!Object(i.a)(e))throw TypeError("reduceAF cannot be called on ".concat(e,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var c=e.length>>>0;if(!c&&1===r.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!c)return r[1];var f,a=function(t){return!(t in e)},s=0;if(2===r.length)f=r[1];else{for(;a(s);)s++;f=e[s++]}return(n.inSeries?Object(u.b)(e):Object(u.a)(e)).then(function(n){return function r(e,i){return o.a.resolve(e).then(function(e){return o.a.resolve(a(i)?e:t(e,n[i],i,n)).then(function(t){return i===c-1?t:r(t,i+1)})})}(f,s)})})}}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("reduceAF",[],n):"object"==typeof exports?exports.reduceAF=n():t.reduceAF=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,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},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=127)}([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(30)("wks"),o=r(28),i=r(0).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n,r){t.exports=r(67)},function(t,n){var r=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(5);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(10),o=r(25);t.exports=r(8)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(0),o=r(3),i=r(11),u=r(6),c=r(12),f=function(t,n,r){var a,s,l,p=t&f.F,v=t&f.G,h=t&f.S,d=t&f.P,y=t&f.B,x=t&f.W,m=v?o:o[n]||(o[n]={}),_=m.prototype,g=v?e:h?e[n]:(e[n]||{}).prototype;for(a in v&&(r=n),r)(s=!p&&g&&void 0!==g[a])&&c(m,a)||(l=s?g[a]:r[a],m[a]=v&&"function"!=typeof g[a]?r[a]:y&&s?i(l,e):x&&g[a]==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):d&&"function"==typeof l?i(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[a]=l,t&f.R&&_&&!_[a]&&u(_,a,l)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){t.exports=!r(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports={}},function(t,n,r){var e=r(4),o=r(56),i=r(46),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(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(13);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={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(47),o=r(20);t.exports=function(t){return e(o(t))}},function(t,n,r){"use strict";r.d(n,"b",function(){return u}),r.d(n,"a",function(){return c});var e=r(2),o=r.n(e),i=r(26),u=function(t){return function n(r,e){var i=r.length;if(!i)return o.a.resolve(r);var u=!(e in t);return o.a.resolve(t[e]).then(function(t){return u||(r[e]=t),e===i-1?r:n(r,e+1)})}(Array(t.length>>>0),0)},c=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return Object(i.a)(t,function(t){return t}).then(n?function(t){return Object(i.a)(Array.prototype.map.call(t,n,r))}:void 0)}},function(t,n,r){var e=r(10).f,o=r(12),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){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(5),o=r(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(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){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(30)("keys"),o=r(28);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){"use strict";var e=r(13);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";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){"use strict";var e=r(2),o=r.n(e);n.a=function(t){return new o.a(function(n,r){var e=t.length>>>0,i=Array(e),u=e,c=e;if(!e)return n(i);for(var f=function(e){return o.a.resolve(t[e]).then(function(r){e in t&&(i[e]=r),--u||n(i)},r)};c--;)f(c)})}},function(t,n,r){var e=r(21),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},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){t.exports=!0},function(t,n,r){var e=r(0),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(14),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;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"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){"use strict";var e=r(29),o=r(7),i=r(48),u=r(6),c=r(9),f=r(65),a=r(17),s=r(58),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,h,d,y,x){f(r,n,h);var m,_,g,b=function(t){if(!p&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",j="values"==d,S=!1,O=t.prototype,P=O[l]||O["@@iterator"]||d&&O[d],T=P||b(d),A=d?j?b("entries"):T:void 0,M="Array"==n&&O.entries||P;if(M&&(g=s(M.call(new t)))!==Object.prototype&&g.next&&(a(g,w,!0),e||"function"==typeof g[l]||u(g,l,v)),j&&P&&"values"!==P.name&&(S=!0,T=function(){return P.call(this)}),e&&!x||!p&&!S&&O[l]||u(O,l,T),c[n]=T,c[w]=v,d)if(m={values:j?T:b("values"),keys:y?T:b("keys"),entries:A},x)for(_ in m)_ in O||i(O,_,m[_]);else o(o.P+o.F*(p||S),n,m);return m}},function(t,n,r){var e=r(0).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(4),o=r(13),i=r(1)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||void 0==(r=e(u)[i])?n:o(r)}},function(t,n,r){var e,o,i,u=r(11),c=r(59),f=r(34),a=r(19),s=r(0),l=s.process,p=s.setImmediate,v=s.clearImmediate,h=s.MessageChannel,d=s.Dispatch,y=0,x={},m=function(){var t=+this;if(x.hasOwnProperty(t)){var n=x[t];delete x[t],n()}},_=function(t){m.call(t.data)};p&&v||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return x[++y]=function(){c("function"==typeof t?t:Function(t),n)},e(y),y},v=function(t){delete x[t]},"process"==r(14)(l)?e=function(t){l.nextTick(u(m,t,1))}:d&&d.now?e=function(t){d.now(u(m,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=_,e=u(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",_,!1)):e="onreadystatechange"in a("script")?function(t){f.appendChild(a("script")).onreadystatechange=function(){f.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:p,clear:v}},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=r(4),o=r(5),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,r){var e=r(20);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";var e=r(66)(!0);r(33)(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,r){r(62);for(var e=r(0),o=r(6),i=r(9),u=r(1)("toStringTag"),c="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(","),f=0;f<c.length;f++){var a=c[f],s=e[a],l=s&&s.prototype;l&&!l[u]&&o(l,u,a),i[a]=i.Array}},function(t,n,r){var e=r(57),o=r(31);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(32),o=r(1)("iterator"),i=r(9);t.exports=r(3).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n){},function(t,n,r){var e=r(11),o=r(51),i=r(52),u=r(4),c=r(27),f=r(43),a={},s={};(n=t.exports=function(t,n,r,l,p){var v,h,d,y,x=p?function(){return t}:f(t),m=e(r,l,n?2:1),_=0;if("function"!=typeof x)throw TypeError(t+" is not iterable!");if(i(x)){for(v=c(t.length);v>_;_++)if((y=n?m(u(h=t[_])[0],h[1]):m(t[_]))===a||y===s)return y}else for(d=x.call(t);!(h=d.next()).done;)if((y=o(d,m,h.value,n))===a||y===s)return y}).BREAK=a,n.RETURN=s},function(t,n,r){var e=r(5);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){var e=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){t.exports=r(6)},function(t,n,r){var e=r(4),o=r(55),i=r(31),u=r(22)("IE_PROTO"),c=function(){},f=function(){var t,n=r(19)("iframe"),e=i.length;for(n.style.display="none",r(34).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[i[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:o(r,n)}},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(4);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,r){var e=r(9),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(6);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(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],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},function(t,n,r){var e=r(10),o=r(4),i=r(42);t.exports=r(8)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){t.exports=!r(8)&&!r(18)(function(){return 7!=Object.defineProperty(r(19)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(12),o=r(15),i=r(60)(!1),u=r(22)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),f=0,a=[];for(r in c)r!=u&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(a,r)||a.push(r));return a}},function(t,n,r){var e=r(12),o=r(39),i=r(22)("IE_PROTO"),u=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?u:null}},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){var e=r(15),o=r(27),i=r(61);t.exports=function(t){return function(n,r,u){var c,f=e(n),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(21),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){"use strict";var e=r(63),o=r(64),i=r(9),u=r(15);t.exports=r(33)(Array,"Array",function(t,n){this._t=u(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){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){"use strict";var e=r(49),o=r(25),i=r(17),u={};r(6)(u,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(21),o=r(20);t.exports=function(t){return function(n,r){var i,u,c=o(n)+"",f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(i=c.charCodeAt(f))<55296||i>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){r(44),r(40),r(41),r(68),r(71),r(72),t.exports=r(3).Promise},function(t,n,r){"use strict";var e,o,i,u,c=r(29),f=r(0),a=r(11),s=r(32),l=r(7),p=r(5),v=r(13),h=r(50),d=r(45),y=r(35),x=r(36).set,m=r(69)(),_=r(23),g=r(37),b=r(38),w=f.TypeError,j=f.process,S=f.Promise,O="process"==s(j),P=function(){},T=o=_.f,A=!!function(){try{var t=S.resolve(1),n=(t.constructor={})[r(1)("species")]=function(t){t(P,P)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(P)instanceof n}catch(t){}}(),M=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},L=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,u=function(n){var r,i,u,c=o?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{c?(o||(2==t._h&&F(t),t._h=1),!0===c?r=e:(s&&s.enter(),r=c(e),s&&(s.exit(),u=!0)),r===n.promise?a(w("Promise-chain cycle")):(i=M(r))?i.call(r,f,a):f(r)):a(e)}catch(t){s&&!u&&s.exit(),a(t)}};r.length>i;)u(r[i++]);t._c=[],t._n=!1,n&&!t._h&&E(t)})}},E=function(t){x.call(f,function(){var n,r,e,o=t._v,i=k(t);if(i&&(n=g(function(){O?j.emit("unhandledRejection",o,t):(r=f.onunhandledrejection)?r({promise:t,reason:o}):(e=f.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=O||k(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){x.call(f,function(){var n;O?j.emit("rejectionHandled",t):(n=f.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=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()),L(n,!0))},R=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=M(t))?m(function(){var e={_w:r,_d:!1};try{n.call(t,a(R,e,1),a(C,e,1))}catch(t){C.call(e,t)}}):(r._v=t,r._s=1,L(r,!1))}catch(t){C.call({_w:r,_d:!1},t)}}};A||(S=function(t){h(this,S,"Promise","_h"),v(t),e.call(this);try{t(a(R,this,1),a(C,this,1))}catch(t){C.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(53)(S.prototype,{then:function(t,n){var r=T(y(this,S));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=O?j.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&L(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=a(R,t,1),this.reject=a(C,t,1)},_.f=T=function(t){return t===S||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!A,{Promise:S}),r(17)(S,"Promise"),r(70)("Promise"),u=r(3).Promise,l(l.S+l.F*!A,"Promise",{reject:function(t){var n=T(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!A),"Promise",{resolve:function(t){return b(c&&this===u?S:this,t)}}),l(l.S+l.F*!(A&&r(54)(function(t){S.all(t).catch(P)})),"Promise",{all:function(t){var n=this,r=T(n),e=r.resolve,o=r.reject,i=g(function(){var r=[],i=0,u=1;d(t,!1,function(t){var c=i++,f=!1;r.push(void 0),u++,n.resolve(t).then(function(t){f||(f=!0,r[c]=t,--u||e(r))},o)}),--u||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=T(n),e=r.reject,o=g(function(){d(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){var e=r(0),o=r(36).set,i=e.MutationObserver||e.WebKitMutationObserver,u=e.process,c=e.Promise,f="process"==r(14)(u);t.exports=function(){var t,n,r,a=function(){var e,o;for(f&&(e=u.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(f)r=function(){u.nextTick(a)};else if(!i||e.navigator&&e.navigator.standalone)if(c&&c.resolve){var s=c.resolve();r=function(){s.then(a)}}else r=function(){o.call(e,a)};else{var l=!0,p=document.createTextNode("");new i(a).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=r(0),o=r(3),i=r(10),u=r(8),c=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[c]&&i.f(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(7),o=r(3),i=r(0),u=r(35),c=r(38);e(e.P+e.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return c(n,t()).then(function(){return r})}:t,r?function(r){return c(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(7),o=r(23),i=r(37);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){var e=r(107),o=r(108),i=r(112);t.exports=function(t,n){return e(t)||o(t,n)||i()}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n,r){var e=r(109);t.exports=function(t,n){var r=[],o=!0,i=!1,u=void 0;try{for(var c,f=e(t);!(o=(c=f.next()).done)&&(r.push(c.value),!n||r.length!==n);o=!0);}catch(t){i=!0,u=t}finally{try{o||null==f.return||f.return()}finally{if(i)throw u}}return r}},function(t,n,r){t.exports=r(110)},function(t,n,r){r(41),r(40),t.exports=r(111)},function(t,n,r){var e=r(4),o=r(43);t.exports=r(3).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){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n);var e=r(2),o=r.n(e),i=r(75),u=r.n(i),c=r(24),f=r(16);n.default=function(t){var n=this,r=arguments;return this.then(function(e){if(!Object(c.a)(e))throw TypeError("reduceAF cannot be called on ".concat(e,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var i=e.length>>>0;if(!i&&1===r.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!i)return r[1];var a,s=function(t){return!(t in e)},l=0;if(2===r.length){var p=u()(r,2);a=p[1]}else{for(;s(l);)l++;a=e[l++]}return(n.inSeries?f.b:f.a)(e).then(function(n){return function r(e,u){return o.a.resolve(e).then(function(e){return o.a.resolve(s(u)?e:t(e,n[u],u,n)).then(function(t){return u===i-1?t:r(t,u+1)})})}(a,l)})})}}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("reduceAF",[],n):"object"==typeof exports?exports.reduceAF=n():t.reduceAF=n();
//# sourceMappingURL=min.js.map
/*!
* @async-af/reduce/min v7.0.20
* @async-af/reduce/min v7.0.21
*

@@ -12,3 +12,3 @@ * AsyncAF (The asynciest of async libs there ever was or ever will be...AsyncAF!?) reduceAF method

*/
var e,t;e="undefined"!=typeof self?self:this,t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=10)}([function(e,t,r){"use strict";r.d(t,"b",function(){return o}),r.d(t,"a",function(){return u});var n=r(2);const o=e=>(function t(r,n){const o=r.length;if(!o)return Promise.resolve(r);const u=!(n in e);return Promise.resolve(e[n]).then(e=>(u||(r[n]=e),n===o-1?r:t(r,n+1)))})(Array(e.length>>>0),0),u=(e,t,r)=>Object(n.a)(e,e=>e).then(t?e=>Object(n.a)(Array.prototype.map.call(e,t,r)):void 0)},function(e,t,r){"use strict";t.a=function(e){return Array.isArray(e)||null!=e&&null!=e.length}},function(e,t,r){"use strict";t.a=(e=>new Promise((t,r)=>{const n=e.length>>>0,o=Array(n);let u=n,i=n;if(!n)return t(o);const c=n=>Promise.resolve(e[n]).then(r=>{n in e&&(o[n]=r),--u||t(o)},r);for(;i--;)c(i)}))},,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(1),o=r(0);t.default=function(e){return this.then(t=>{if(!Object(n.a)(t))throw TypeError(`reduceAF cannot be called on ${t}, only on an Array or array-like Object`);if("function"!=typeof e)throw TypeError(`${e} is not a function`);const r=t.length>>>0;if(!r&&1===arguments.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!r)return arguments[1];const u=e=>!(e in t);let i,c=0;if(2===arguments.length)i=arguments[1];else{for(;u(c);)c++;i=t[c++]}return(this.inSeries?Object(o.b)(t):Object(o.a)(t)).then(t=>{const n=(o,i)=>Promise.resolve(o).then(o=>Promise.resolve(u(i)?o:e(o,t[i],i,t)).then(e=>i===r-1?e:n(e,i+1)));return n(i,c)})})}}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("reduceAF",[],t):"object"==typeof exports?exports.reduceAF=t():e.reduceAF=t();
var e,t;e="undefined"!=typeof self?self:this,t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=10)}([function(e,t,r){"use strict";r.d(t,"b",function(){return o}),r.d(t,"a",function(){return u});var n=r(2);const o=e=>(function t(r,n){const o=r.length;if(!o)return Promise.resolve(r);const u=!(n in e);return Promise.resolve(e[n]).then(e=>(u||(r[n]=e),n===o-1?r:t(r,n+1)))})(Array(e.length>>>0),0),u=(e,t,r)=>Object(n.a)(e,e=>e).then(t?e=>Object(n.a)(Array.prototype.map.call(e,t,r)):void 0)},function(e,t,r){"use strict";t.a=function(e){return Array.isArray(e)||null!=e&&null!=e.length}},function(e,t,r){"use strict";t.a=(e=>new Promise((t,r)=>{const n=e.length>>>0,o=Array(n);let u=n,i=n;if(!n)return t(o);const c=n=>Promise.resolve(e[n]).then(r=>{n in e&&(o[n]=r),--u||t(o)},r);for(;i--;)c(i)}))},,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(1),o=r(0);t.default=function(e){return this.then(t=>{if(!Object(n.a)(t))throw TypeError(`reduceAF cannot be called on ${t}, only on an Array or array-like Object`);if("function"!=typeof e)throw TypeError(`${e} is not a function`);const r=t.length>>>0;if(!r&&1===arguments.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!r)return arguments[1];const u=e=>!(e in t);let i,c=0;if(2===arguments.length){var l=Array.prototype.slice.call(arguments);i=l[1]}else{for(;u(c);)c++;i=t[c++]}return(this.inSeries?o.b:o.a)(t).then(t=>{const n=(o,i)=>Promise.resolve(o).then(o=>Promise.resolve(u(i)?o:e(o,t[i],i,t)).then(e=>i===r-1?e:n(e,i+1)));return n(i,c)})})}}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("reduceAF",[],t):"object"==typeof exports?exports.reduceAF=t():e.reduceAF=t();
//# sourceMappingURL=min.js.map

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

"license": "MIT",
"version": "7.0.20",
"version": "7.0.21",
"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 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc