!function(n,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports):"function"==typeofdefine&&define.amd?define(["exports"],t):t(n.async=n.async||{})}(this,function(n){"use strict";functiont(n){returnn}functione(n,t,e){switch(e.length){case0:returnn.call(t);case1:returnn.call(t,e[0]);case2:returnn.call(t,e[0],e[1]);case3:returnn.call(t,e[0],e[1],e[2])}returnn.apply(t,e)}functionr(n,t,r){returnt=ot(void0===t?n.length-1:t,0),function(){for(varu=arguments,o=-1,i=ot(u.length-t,0),c=Array(i);++o<i;)c[o]=u[t+o];o=-1;for(varf=Array(t+1);++o<t;)f[o]=u[o];returnf[t]=r(c),e(n,this,f)}}functionu(n){returnfunction(){returnn}}functiono(n){vart=typeofn;returnnull!=n&&("object"==t||"function"==t)}functioni(n){vart=o(n)?lt.call(n):"";returnt==it||t==ct||t==ft}functionc(n){return!!vt&&vtinn}functionf(n){if(null!=n){try{returnmt.call(n)}catch(n){}try{returnn+""}catch(n){}}return""}functiona(n){if(!o(n)||c(n))return!1;vart=i(n)?wt:bt;returnt.test(f(n))}functionl(n,t){returnnull==n?void0:n[t]}functions(n,t){vare=l(n,t);returna(e)?e:void0}functionp(n){vart=0,e=0;returnfunction(){varr=_t(),u=At-(r-e);if(e=r,u>0){if(++t>=Lt)returnarguments[0]}elset=0;returnn.apply(void0,arguments)}}functionh(n,e){returnTt(r(n,e,t),n+"")}functiony(n){returnh(function(t,e){varr=Ft(function(e,r){varu=this;returnn(t,function(n,t){n.apply(u,e.concat([t]))},r)});returne.length?r.apply(this,e):r})}functionv(n){return"number"==typeofn&&n>-1&&n%1==0&&n<=It}functiond(n){returnnull!=n&&v(n.length)&&!i(n)}functionm(){}functiong(n){returnfunction(){if(null!==n){vart=n;n=null,t.apply(this,arguments)}}}functionb(n,t){for(vare=-1,r=Array(n);++e<n;)r[e]=t(e);returnr}functionj(n){returnnull!=n&&"object"==typeofn}functionS(n){returnj(n)&&zt.call(n)==Mt}functionk(){return!1}functionO(n,t){returnt=null==t?Jt:t,!!t&&("number"==typeofn||Kt.test(n))&&n>-1&&n%1==0&&n<t}functionw(n){returnj(n)&&v(n.length)&&!!Se[we.call(n)]}functionx(n){returnfunction(t){returnn(t)}}functionE(n,t){vare=qt(n),r=!e&&Dt(n),u=!e&&!r&&Ht(n),o=!e&&!r&&!u&&Fe(n),i=e||r||u||o,c=i?b(n.length,String):[],f=c.length;for(varainn)!t&&!Be.call(n,a)||i&&("length"==a||u&&("offset"==a||"parent"==a)||o&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||O(a,f))||c.push(a);returnc}functionL(n){vart=n&&n.constructor,e="function"==typeoft&&t.prototype||$e;returnn===e}functionA(n,t){returnfunction(e){returnn(t(e))}}function_(n){if(!L(n))returnMe(n);vart=[];for(vareinObject(n))ze.call(n,e)&&"constructor"!=e&&t.push(e);returnt}functionT(n){returnd(n)?E(n):_(n)}functionF(n){vart=-1,e=n.length;returnfunction(){return++t<e?{value:n[t],key:t}:null}}functionI(n){vart=-1;returnfunction(){vare=n.next();returne.done?null:(t++,{value:e.value,key:t})}}functionB(n){vart=T(n),e=-1,r=t.length;returnfunction(){varu=t[++e];returne<r?{value:n[u],key:u}:null}}function$(n){if(d(n))returnF(n);vart=$t(n);returnt?I(t):B(n)}functionM(n){returnfunction(){if(null===n)thrownewError("Callback was already called.");vart=n;n=null,t.apply(this,arguments)}}functionP(n){returnfunction(t,e,r){functionu(n,t){if(f-=1,n)c=!0,r(n);else{if(t===Re||c&&f<=0)returnc=!0,r(null);o()}}functiono(){for(;f<n&&!c;){vart=i();if(null===t)returnc=!0,void(f<=0&&r(null));f+=1,e(t.value,t.key,M(u))}}if(r=g(r||m),n<=0||!t)returnr(null);vari=$(t),c=!1,f=0;o()}}functionz(n,t,e,r){P(t)(n,e,r)}functionR(n,t){returnfunction(e,r,u){returnn(e,t,r,u)}}functionU(n,t,e){functionr(n){n?e(n):++o===i&&e(null)}e=g(e||m);varu=0,o=0,i=n.length;for(0===i&&e(null);u<i;u++)t(n[u],u,M(r))}functionV(n){returnfunction(t,e,r){returnn(Ve,t,e,r)}}functionD(n,t,e,r){r=g(r||m),t=t||[];varu=[],o=0;n(t,function(n,t,r){vari=o++;e(n,function(n,t){u[i]=t,r(n)})},function(n){r(n,u)})}functionq(n){returnfunction(t,e,r,u){returnn(P(e),t,r,u)}}functionC(n){returnFt(function(t,e){varr;try{r=n.apply(this,t)}catch(n){returne(n)}o(r)&&"function"==typeofr.then?r.then(function(n){e(null,n)},function(n){e(n.message?n:newError(n))}):e(null,r)})}functionW