text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).batchTaskAssignment=t()}(this,(function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e,t){return e(t={exports:{}},t.exports),t.exports}var r=Math.ceil,n=Math.floor,o=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)},u=Object.freeze({__proto__:null,default:o,__moduleExports:o}),i=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e},c=Object.freeze({__proto__:null,default:i,__moduleExports:i}),l=u&&o||u,f=c&&i||c,a=function(e){return function(t,r){var n,o,u=String(f(t)),i=l(r),c=u.length;return i<0||i>=c?e?"":void 0:(n=u.charCodeAt(i))<55296||n>56319||i+1===c||(o=u.charCodeAt(i+1))<56320||o>57343?e?u.charAt(i):n:e?u.slice(i,i+2):o-56320+(n-55296<<10)+65536}},s=Object.freeze({__proto__:null,default:a,__moduleExports:a}),_=Object.freeze({__proto__:null,default:!0,__moduleExports:!0}),p=t((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),d=Object.freeze({__proto__:null,default:p,__moduleExports:p}),h=t((function(e){var t=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)})),y=h.version,v=Object.freeze({__proto__:null,default:h,__moduleExports:h,version:y}),m=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},g=Object.freeze({__proto__:null,default:m,__moduleExports:m}),b=g&&m||g,O=function(e,t,r){if(b(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}},j=Object.freeze({__proto__:null,default:O,__moduleExports:O}),x=function(e){return"object"==typeof e?null!==e:"function"==typeof e},E=Object.freeze({__proto__:null,default:x,__moduleExports:x}),w=E&&x||E,z=function(e){if(!w(e))throw TypeError(e+" is not an object!");return e},S=Object.freeze({__proto__:null,default:z,__moduleExports:z}),P=function(e){try{return!!e()}catch(e){return!0}},A=Object.freeze({__proto__:null,default:P,__moduleExports:P}),T=A&&P||A,M=!T((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),k=Object.freeze({__proto__:null,default:M,__moduleExports:M}),L=d&&p||d,F=L.document,R=w(F)&&w(F.createElement),C=function(e){return R?F.createElement(e):{}},D=Object.freeze({__proto__:null,default:C,__moduleExports:C}),N=k&&M||k,I=D&&C||D,q=!N&&!T((function(){return 7!=Object.defineProperty(I("div"),"a",{get:function(){return 7}}).a})),B=Object.freeze({__proto__:null,default:q,__moduleExports:q}),G=function(e,t){if(!w(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!w(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!w(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!w(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")},V=Object.freeze({__proto__:null,default:G,__moduleExports:G}),H=S&&z||S,U=B&&q||B,W=V&&G||V,$=Object.defineProperty,J=N?Object.defineProperty:function(e,t,r){if(H(e),t=W(t,!0),H(r),U)try{return $(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e},K={f:J},Z=Object.freeze({__proto__:null,default:K,__moduleExports:K,f:J}),Q=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},X=Object.freeze({__proto__:null,default:Q,__moduleExports:Q}),Y=Z&&K||Z,ee=X&&Q||X,te=N?function(e,t,r){return Y.f(e,t,ee(1,r))}:function(e,t,r){return e[t]=r,e},re=Object.freeze({__proto__:null,default:te,__moduleExports:te}),ne={}.hasOwnProperty,oe=function(e,t){return ne.call(e,t)},ue=Object.freeze({__proto__:null,default:oe,__moduleExports:oe}),ie=v&&h||v,ce=j&&O||j,le=re&&te||re,fe=ue&&oe||ue,ae=function(e,t,r){var n,o,u,i=e&ae.F,c=e&ae.G,l=e&ae.S,f=e&ae.P,a=e&ae.B,s=e&ae.W,_=c?ie:ie[t]||(ie[t]={}),p=_.prototype,d=c?L:l?L[t]:(L[t]||{}).prototype;for(n in c&&(r=t),r)(o=!i&&d&&void 0!==d[n])&&fe(_,n)||(u=o?d[n]:r[n],_[n]=c&&"function"!=typeof d[n]?r[n]:a&&o?ce(u,L):s&&d[n]==u?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):f&&"function"==typeof u?ce(Function.call,u):u,f&&((_.virtual||(_.virtual={}))[n]=u,e&ae.R&&p&&!p[n]&&le(p,n,u)))};ae.F=1,ae.G=2,ae.S=4,ae.P=8,ae.B=16,ae.W=32,ae.U=64,ae.R=128;var se=ae,_e=Object.freeze({__proto__:null,default:se,__moduleExports:se}),pe=le,de=Object.freeze({__proto__:null,default:pe,__moduleExports:pe}),he={},ye=Object.freeze({__proto__:null,default:he,__moduleExports:he}),ve={}.toString,me=function(e){return ve.call(e).slice(8,-1)},ge=Object.freeze({__proto__:null,default:me,__moduleExports:me}),be=ge&&me||ge,Oe=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==be(e)?e.split(""):Object(e)},je=Object.freeze({__proto__:null,default:Oe,__moduleExports:Oe}),xe=je&&Oe||je,Ee=function(e){return xe(f(e))},we=Object.freeze({__proto__:null,default:Ee,__moduleExports:Ee}),ze=Math.min,Se=function(e){return e>0?ze(l(e),9007199254740991):0},Pe=Object.freeze({__proto__:null,default:Se,__moduleExports:Se}),Ae=Math.max,Te=Math.min,Me=function(e,t){return(e=l(e))<0?Ae(e+t,0):Te(e,t)},ke=Object.freeze({__proto__:null,default:Me,__moduleExports:Me}),Le=we&&Ee||we,Fe=Pe&&Se||Pe,Re=ke&&Me||ke,Ce=function(e){return function(t,r,n){var o,u=Le(t),i=Fe(u.length),c=Re(n,i);if(e&&r!=r){for(;i>c;)if((o=u[c++])!=o)return!0}else for(;i>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}},De=Object.freeze({__proto__:null,default:Ce,__moduleExports:Ce}),Ne=!!_||_,Ie=t((function(e){var t=L["__core-js_shared__"]||(L["__core-js_shared__"]={});(e.exports=function(e,r){return t[e]||(t[e]=void 0!==r?r:{})})("versions",[]).push({version:ie.version,mode:Ne?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),qe=Object.freeze({__proto__:null,default:Ie,__moduleExports:Ie}),Be=0,Ge=Math.random(),Ve=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Be+Ge).toString(36))},He=Object.freeze({__proto__:null,default:Ve,__moduleExports:Ve}),Ue=qe&&Ie||qe,We=He&&Ve||He,$e=Ue("keys"),Je=function(e){return $e[e]||($e[e]=We(e))},Ke=Object.freeze({__proto__:null,default:Je,__moduleExports:Je}),Ze=Ke&&Je||Ke,Qe=(De&&Ce||De)(!1),Xe=Ze("IE_PROTO"),Ye=function(e,t){var r,n=Le(e),o=0,u=[];for(r in n)r!=Xe&&fe(n,r)&&u.push(r);for(;t.length>o;)fe(n,r=t[o++])&&(~Qe(u,r)||u.push(r));return u},et=Object.freeze({__proto__:null,default:Ye,__moduleExports:Ye}),tt="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),rt=Object.freeze({__proto__:null,default:tt,__moduleExports:tt}),nt=et&&Ye||et,ot=rt&&tt||rt,ut=Object.keys||function(e){return nt(e,ot)},it=Object.freeze({__proto__:null,default:ut,__moduleExports:ut}),ct=it&&ut||it,lt=N?Object.defineProperties:function(e,t){H(e);for(var r,n=ct(t),o=n.length,u=0;o>u;)Y.f(e,r=n[u++],t[r]);return e},ft=Object.freeze({__proto__:null,default:lt,__moduleExports:lt}),at=L.document,st=at&&at.documentElement,_t=Object.freeze({__proto__:null,default:st,__moduleExports:st}),pt=ft&&lt||ft,dt=_t&&st||_t,ht=Ze("IE_PROTO"),yt=function(){},vt=function(){var e,t=I("iframe"),r=ot.length;for(t.style.display="none",dt.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),vt=e.F;r--;)delete vt.prototype[ot[r]];return vt()},mt=Object.create||function(e,t){var r;return null!==e?(yt.prototype=H(e),r=new yt,yt.prototype=null,r[ht]=e):r=vt(),void 0===t?r:pt(r,t)},gt=Object.freeze({__proto__:null,default:mt,__moduleExports:mt}),bt=t((function(e){var t=Ue("wks"),r=L.Symbol,n="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=n&&r[e]||(n?r:We)("Symbol."+e))}).store=t})),Ot=Object.freeze({__proto__:null,default:bt,__moduleExports:bt}),jt=Ot&&bt||Ot,xt=Y.f,Et=jt("toStringTag"),wt=function(e,t,r){e&&!fe(e=r?e:e.prototype,Et)&&xt(e,Et,{configurable:!0,value:t})},zt=Object.freeze({__proto__:null,default:wt,__moduleExports:wt}),St=gt&&mt||gt,Pt=zt&&wt||zt,At={};le(At,jt("iterator"),(function(){return this}));var Tt=function(e,t,r){e.prototype=St(At,{next:ee(1,r)}),Pt(e,t+" Iterator")},Mt=Object.freeze({__proto__:null,default:Tt,__moduleExports:Tt}),kt=function(e){return Object(f(e))},Lt=Object.freeze({__proto__:null,default:kt,__moduleExports:kt}),Ft=Lt&&kt||Lt,Rt=Ze("IE_PROTO"),Ct=Object.prototype,Dt=Object.getPrototypeOf||function(e){return e=Ft(e),fe(e,Rt)?e[Rt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ct:null},Nt=Object.freeze({__proto__:null,default:Dt,__moduleExports:Dt}),It=_e&&se||_e,qt=de&&pe||de,Bt=ye&&he||ye,Gt=Mt&&Tt||Mt,Vt=Nt&&Dt||Nt,Ht=jt("iterator"),Ut=!([].keys&&"next"in[].keys()),Wt=function(){return this},$t=function(e,t,r,n,o,u,i){Gt(r,t,n);var c,l,f,a=function(e){if(!Ut&&e in d)return d[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},s=t+" Iterator",_="values"==o,p=!1,d=e.prototype,h=d[Ht]||d["@@iterator"]||o&&d[o],y=h||a(o),v=o?_?a("entries"):y:void 0,m="Array"==t&&d.entries||h;if(m&&(f=Vt(m.call(new e)))!==Object.prototype&&f.next&&(Pt(f,s,!0),Ne||"function"==typeof f[Ht]||le(f,Ht,Wt)),_&&h&&"values"!==h.name&&(p=!0,y=function(){return h.call(this)}),Ne&&!i||!Ut&&!p&&d[Ht]||le(d,Ht,y),Bt[t]=y,Bt[s]=Wt,o)if(c={values:_?y:a("values"),keys:u?y:a("keys"),entries:v},i)for(l in c)l in d||qt(d,l,c[l]);else It(It.P+It.F*(Ut||p),t,c);return c},Jt=Object.freeze({__proto__:null,default:$t,__moduleExports:$t}),Kt=Jt&&$t||Jt,Zt=(s&&a||s)(!0);Kt(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=Zt(t,r),this._i+=e.length,{value:e,done:!1})}));var Qt=function(){},Xt=Object.freeze({__proto__:null,default:Qt,__moduleExports:Qt}),Yt=function(e,t){return{value:t,done:!!e}},er=Object.freeze({__proto__:null,default:Yt,__moduleExports:Yt}),tr=Xt&&Qt||Xt,rr=er&&Yt||er;Kt(Array,"Array",(function(e,t){this._t=Le(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,rr(1)):rr(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values");Bt.Arguments=Bt.Array,tr("keys"),tr("values"),tr("entries");for(var nr=jt("toStringTag"),or="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(","),ur=0;ur<or.length;ur++){var ir=or[ur],cr=L[ir],lr=cr&&cr.prototype;lr&&!lr[nr]&&le(lr,nr,ir),Bt[ir]=Bt.Array}var fr,ar,sr,_r=jt("toStringTag"),pr="Arguments"==be(function(){return arguments}()),dr=function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),_r))?r:pr?be(t):"Object"==(n=be(t))&&"function"==typeof t.callee?"Arguments":n},hr=Object.freeze({__proto__:null,default:dr,__moduleExports:dr}),yr=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e},vr=Object.freeze({__proto__:null,default:yr,__moduleExports:yr}),mr=function(e,t,r,n){try{return n?t(H(r)[0],r[1]):t(r)}catch(t){var o=e.return;throw void 0!==o&&H(o.call(e)),t}},gr=Object.freeze({__proto__:null,default:mr,__moduleExports:mr}),br=jt("iterator"),Or=Array.prototype,jr=function(e){return void 0!==e&&(Bt.Array===e||Or[br]===e)},xr=Object.freeze({__proto__:null,default:jr,__moduleExports:jr}),Er=hr&&dr||hr,wr=jt("iterator"),zr=ie.getIteratorMethod=function(e){if(null!=e)return e[wr]||e["@@iterator"]||Bt[Er(e)]},Sr=Object.freeze({__proto__:null,default:zr,__moduleExports:zr}),Pr=gr&&mr||gr,Ar=xr&&jr||xr,Tr=Sr&&zr||Sr,Mr=t((function(e){var t={},r={},n=e.exports=function(e,n,o,u,i){var c,l,f,a,s=i?function(){return e}:Tr(e),_=ce(o,u,n?2:1),p=0;if("function"!=typeof s)throw TypeError(e+" is not iterable!");if(Ar(s)){for(c=Fe(e.length);c>p;p++)if((a=n?_(H(l=e[p])[0],l[1]):_(e[p]))===t||a===r)return a}else for(f=s.call(e);!(l=f.next()).done;)if((a=Pr(f,_,l.value,n))===t||a===r)return a};n.BREAK=t,n.RETURN=r})),kr=Object.freeze({__proto__:null,default:Mr,__moduleExports:Mr}),Lr=jt("species"),Fr=function(e,t){var r,n=H(e).constructor;return void 0===n||null==(r=H(n)[Lr])?t:b(r)},Rr=Object.freeze({__proto__:null,default:Fr,__moduleExports:Fr}),Cr=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)},Dr=Object.freeze({__proto__:null,default:Cr,__moduleExports:Cr}),Nr=Dr&&Cr||Dr,Ir=L.process,qr=L.setImmediate,Br=L.clearImmediate,Gr=L.MessageChannel,Vr=L.Dispatch,Hr=0,Ur={},Wr=function(){var e=+this;if(Ur.hasOwnProperty(e)){var t=Ur[e];delete Ur[e],t()}},$r=function(e){Wr.call(e.data)};qr&&Br||(qr=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return Ur[++Hr]=function(){Nr("function"==typeof e?e:Function(e),t)},fr(Hr),Hr},Br=function(e){delete Ur[e]},"process"==be(Ir)?fr=function(e){Ir.nextTick(ce(Wr,e,1))}:Vr&&Vr.now?fr=function(e){Vr.now(ce(Wr,e,1))}:Gr?(sr=(ar=new Gr).port2,ar.port1.onmessage=$r,fr=ce(sr.postMessage,sr,1)):L.addEventListener&&"function"==typeof postMessage&&!L.importScripts?(fr=function(e){L.postMessage(e+"","*")},L.addEventListener("message",$r,!1)):fr="onreadystatechange"in I("script")?function(e){dt.appendChild(I("script")).onreadystatechange=function(){dt.removeChild(this),Wr.call(e)}}:function(e){setTimeout(ce(Wr,e,1),0)});var Jr={set:qr,clear:Br},Kr=Jr.set,Zr=Jr.clear,Qr=Object.freeze({__proto__:null,default:Jr,__moduleExports:Jr,set:Kr,clear:Zr}),Xr=Qr&&Jr||Qr,Yr=Xr.set,en=L.MutationObserver||L.WebKitMutationObserver,tn=L.process,rn=L.Promise,nn="process"==be(tn),on=function(){var e,t,r,n=function(){var n,o;for(nn&&(n=tn.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(nn)r=function(){tn.nextTick(n)};else if(!en||L.navigator&&L.navigator.standalone)if(rn&&rn.resolve){var o=rn.resolve(void 0);r=function(){o.then(n)}}else r=function(){Yr.call(L,n)};else{var u=!0,i=document.createTextNode("");new en(n).observe(i,{characterData:!0}),r=function(){i.data=u=!u}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}},un=Object.freeze({__proto__:null,default:on,__moduleExports:on});function cn(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=b(t),this.reject=b(r)}var ln=function(e){return new cn(e)},fn={f:ln},an=Object.freeze({__proto__:null,default:fn,__moduleExports:fn,f:ln}),sn=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},_n=Object.freeze({__proto__:null,default:sn,__moduleExports:sn}),pn=L.navigator,dn=pn&&pn.userAgent||"",hn=Object.freeze({__proto__:null,default:dn,__moduleExports:dn}),yn=an&&fn||an,vn=function(e,t){if(H(e),w(t)&&t.constructor===e)return t;var r=yn.f(e);return(0,r.resolve)(t),r.promise},mn=Object.freeze({__proto__:null,default:vn,__moduleExports:vn}),gn=function(e,t,r){for(var n in t)r&&e[n]?e[n]=t[n]:le(e,n,t[n]);return e},bn=Object.freeze({__proto__:null,default:gn,__moduleExports:gn}),On=jt("species"),jn=function(e){var t="function"==typeof ie[e]?ie[e]:L[e];N&&t&&!t[On]&&Y.f(t,On,{configurable:!0,get:function(){return this}})},xn=Object.freeze({__proto__:null,default:jn,__moduleExports:jn}),En=jt("iterator"),wn=!1;try{var zn=[7][En]();zn.return=function(){wn=!0},Array.from(zn,(function(){throw 2}))}catch(e){}var Sn,Pn,An,Tn,Mn=function(e,t){if(!t&&!wn)return!1;var r=!1;try{var n=[7],o=n[En]();o.next=function(){return{done:r=!0}},n[En]=function(){return o},e(n)}catch(e){}return r},kn=Object.freeze({__proto__:null,default:Mn,__moduleExports:Mn}),Ln=vr&&yr||vr,Fn=kr&&Mr||kr,Rn=Rr&&Fr||Rr,Cn=un&&on||un,Dn=_n&&sn||_n,Nn=hn&&dn||hn,In=mn&&vn||mn,qn=bn&&gn||bn,Bn=xn&&jn||xn,Gn=kn&&Mn||kn,Vn=Xr.set,Hn=Cn(),Un=L.TypeError,Wn=L.process,$n=Wn&&Wn.versions,Jn=$n&&$n.v8||"",Kn=L.Promise,Zn="process"==Er(Wn),Qn=function(){},Xn=Pn=yn.f,Yn=!!function(){try{var e=Kn.resolve(1),t=(e.constructor={})[jt("species")]=function(e){e(Qn,Qn)};return(Zn||"function"==typeof PromiseRejectionEvent)&&e.then(Qn)instanceof t&&0!==Jn.indexOf("6.6")&&-1===Nn.indexOf("Chrome/66")}catch(e){}}(),eo=function(e){var t;return!(!w(e)||"function"!=typeof(t=e.then))&&t},to=function(e,t){if(!e._n){e._n=!0;var r=e._c;Hn((function(){for(var n=e._v,o=1==e._s,u=0,i=function(t){var r,u,i,c=o?t.ok:t.fail,l=t.resolve,f=t.reject,a=t.domain;try{c?(o||(2==e._h&&oo(e),e._h=1),!0===c?r=n:(a&&a.enter(),r=c(n),a&&(a.exit(),i=!0)),r===t.promise?f(Un("Promise-chain cycle")):(u=eo(r))?u.call(r,l,f):l(r)):f(n)}catch(e){a&&!i&&a.exit(),f(e)}};r.length>u;)i(r[u++]);e._c=[],e._n=!1,t&&!e._h&&ro(e)}))}},ro=function(e){Vn.call(L,(function(){var t,r,n,o=e._v,u=no(e);if(u&&(t=Dn((function(){Zn?Wn.emit("unhandledRejection",o,e):(r=L.onunhandledrejection)?r({promise:e,reason:o}):(n=L.console)&&n.error&&n.error("Unhandled promise rejection",o)})),e._h=Zn||no(e)?2:1),e._a=void 0,u&&t.e)throw t.v}))},no=function(e){return 1!==e._h&&0===(e._a||e._c).length},oo=function(e){Vn.call(L,(function(){var t;Zn?Wn.emit("rejectionHandled",e):(t=L.onrejectionhandled)&&t({promise:e,reason:e._v})}))},uo=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),to(t,!0))},io=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Un("Promise can't be resolved itself");(t=eo(e))?Hn((function(){var n={_w:r,_d:!1};try{t.call(e,ce(io,n,1),ce(uo,n,1))}catch(e){uo.call(n,e)}})):(r._v=e,r._s=1,to(r,!1))}catch(e){uo.call({_w:r,_d:!1},e)}}};Yn||(Kn=function(e){Ln(this,Kn,"Promise","_h"),b(e),Sn.call(this);try{e(ce(io,this,1),ce(uo,this,1))}catch(e){uo.call(this,e)}},(Sn=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=qn(Kn.prototype,{then:function(e,t){var r=Xn(Rn(this,Kn));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Zn?Wn.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&to(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),An=function(){var e=new Sn;this.promise=e,this.resolve=ce(io,e,1),this.reject=ce(uo,e,1)},yn.f=Xn=function(e){return e===Kn||e===Tn?new An(e):Pn(e)}),It(It.G+It.W+It.F*!Yn,{Promise:Kn}),Pt(Kn,"Promise"),Bn("Promise"),Tn=ie.Promise,It(It.S+It.F*!Yn,"Promise",{reject:function(e){var t=Xn(this);return(0,t.reject)(e),t.promise}}),It(It.S+It.F*(Ne||!Yn),"Promise",{resolve:function(e){return In(Ne&&this===Tn?Kn:this,e)}}),It(It.S+It.F*!(Yn&&Gn((function(e){Kn.all(e).catch(Qn)}))),"Promise",{all:function(e){var t=this,r=Xn(t),n=r.resolve,o=r.reject,u=Dn((function(){var r=[],u=0,i=1;Fn(e,!1,(function(e){var c=u++,l=!1;r.push(void 0),i++,t.resolve(e).then((function(e){l||(l=!0,r[c]=e,--i||n(r))}),o)})),--i||n(r)}));return u.e&&o(u.v),r.promise},race:function(e){var t=this,r=Xn(t),n=r.reject,o=Dn((function(){Fn(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return o.e&&n(o.v),r.promise}}),It(It.P+It.R,"Promise",{finally:function(e){var t=Rn(this,ie.Promise||L.Promise),r="function"==typeof e;return this.then(r?function(r){return In(t,e()).then((function(){return r}))}:e,r?function(r){return In(t,e()).then((function(){throw r}))}:e)}}),It(It.S,"Promise",{try:function(e){var t=yn.f(this),r=Dn(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}});var co=ie.Promise,lo=Object.freeze({__proto__:null,default:co,__moduleExports:co}),fo=lo&&co||lo,ao=e(t((function(e){e.exports={default:fo,__esModule:!0}}))),so=function(e,t,r){t in e?Y.f(e,t,ee(0,r)):e[t]=r},_o=Object.freeze({__proto__:null,default:so,__moduleExports:so}),po=_o&&so||_o;It(It.S+It.F*!Gn((function(e){})),"Array",{from:function(e){var t,r,n,o,u=Ft(e),i="function"==typeof this?this:Array,c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,a=0,s=Tr(u);if(f&&(l=ce(l,c>2?arguments[2]:void 0,2)),null==s||i==Array&&Ar(s))for(r=new i(t=Fe(u.length));t>a;a++)po(r,a,f?l(u[a],a):u[a]);else for(o=s.call(u),r=new i;!(n=o.next()).done;a++)po(r,a,f?Pr(o,l,[n.value,a],!0):n.value);return r.length=a,r}});var ho=ie.Array.from,yo=Object.freeze({__proto__:null,default:ho,__moduleExports:ho}),vo=yo&&ho||yo,mo=t((function(e){e.exports={default:vo,__esModule:!0}})),go=e(mo),bo=Object.freeze({__proto__:null,default:go,__moduleExports:mo}),Oo=bo&&go||bo,jo=e(t((function(e,t){t.__esModule=!0;var r,n=(r=Oo)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,n.default)(e)}}))),xo="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Eo(e){return null!=e&&(!!e._isBuffer||wo(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&wo(e.slice(0,0))}(e))}function wo(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var zo=xo.performance||{},So=(zo.now||zo.mozNow||zo.msNow||zo.oNow||zo.webkitNow,"function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e});function Po(e,t){var r={seen:[],stylize:To};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Fo(t)?r.showHidden=t:t&&Uo(r,t),Do(r.showHidden)&&(r.showHidden=!1),Do(r.depth)&&(r.depth=2),Do(r.colors)&&(r.colors=!1),Do(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Ao),Mo(r,e,r.depth)}function Ao(e,t){var r=Po.styles[t];return r?"["+Po.colors[r][0]+"m"+e+"["+Po.colors[r][1]+"m":e}function To(e,t){return e}function Mo(e,t,r){if(e.customInspect&&t&&Go(t.inspect)&&t.inspect!==Po&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Co(n)||(n=Mo(e,n,r)),n}var o=function(e,t){if(Do(t))return e.stylize("undefined","undefined");if(Co(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(n=t,"number"==typeof n)return e.stylize(""+t,"number");var n;if(Fo(t))return e.stylize(""+t,"boolean");if(Ro(t))return e.stylize("null","null")}(e,t);if(o)return o;var u=Object.keys(t),i=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(t)),Bo(t)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return ko(t);if(0===u.length){if(Go(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(No(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(qo(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Bo(t))return ko(t)}var l,f,a="",s=!1,_=["{","}"];(l=t,Array.isArray(l)&&(s=!0,_=["[","]"]),Go(t))&&(a=" [Function"+(t.name?": "+t.name:"")+"]");return No(t)&&(a=" "+RegExp.prototype.toString.call(t)),qo(t)&&(a=" "+Date.prototype.toUTCString.call(t)),Bo(t)&&(a=" "+ko(t)),0!==u.length||s&&0!=t.length?r<0?No(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),f=s?function(e,t,r,n,o){for(var u=[],i=0,c=t.length;i<c;++i)Wo(t,String(i))?u.push(Lo(e,t,r,n,String(i),!0)):u.push("");return o.forEach((function(o){o.match(/^\d+$/)||u.push(Lo(e,t,r,n,o,!0))})),u}(e,t,r,i,u):u.map((function(n){return Lo(e,t,r,i,n,s)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(f,a,_)):_[0]+a+_[1]}function ko(e){return"["+Error.prototype.toString.call(e)+"]"}function Lo(e,t,r,n,o,u){var i,c,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?c=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(c=e.stylize("[Setter]","special")),Wo(n,o)||(i="["+o+"]"),c||(e.seen.indexOf(l.value)<0?(c=Ro(r)?Mo(e,l.value,null):Mo(e,l.value,r-1)).indexOf("\n")>-1&&(c=u?c.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return"   "+e})).join("\n")):c=e.stylize("[Circular]","special")),Do(i)){if(u&&o.match(/^\d+$/))return c;(i=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+c}function Fo(e){return"boolean"==typeof e}function Ro(e){return null===e}function Co(e){return"string"==typeof e}function Do(e){return void 0===e}function No(e){return Io(e)&&"[object RegExp]"===Ho(e)}function Io(e){return"object"==typeof e&&null!==e}function qo(e){return Io(e)&&"[object Date]"===Ho(e)}function Bo(e){return Io(e)&&("[object Error]"===Ho(e)||e instanceof Error)}function Go(e){return"function"==typeof e}function Vo(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Ho(e){return Object.prototype.toString.call(e)}function Uo(e,t){if(!t||!Io(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function Wo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function $o(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,u=Math.min(r,n);o<u;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}Po.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Po.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Jo,Ko=Object.prototype.hasOwnProperty,Zo=Object.keys||function(e){var t=[];for(var r in e)Ko.call(e,r)&&t.push(r);return t},Qo=Array.prototype.slice;function Xo(){return void 0!==Jo?Jo:Jo="foo"===function(){}.name}function Yo(e){return Object.prototype.toString.call(e)}function eu(e){return!Eo(e)&&("function"==typeof xo.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function tu(e,t){e||cu(e,!0,t,"==",lu)}var ru=/\s*function\s+([^\(\s]*)\s*/;function nu(e){if(Go(e)){if(Xo())return e.name;var t=e.toString().match(ru);return t&&t[1]}}function ou(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return uu(iu(e.actual),128)+" "+e.operator+" "+uu(iu(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||cu;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=nu(t),u=n.indexOf("\n"+o);if(u>=0){var i=n.indexOf("\n",u+1);n=n.substring(i+1)}this.stack=n}}}function uu(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function iu(e){if(Xo()||!Go(e))return Po(e);var t=nu(e);return"[Function"+(t?": "+t:"")+"]"}function cu(e,t,r,n,o){throw new ou({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function lu(e,t){e||cu(e,!0,t,"==",lu)}function fu(e,t,r,n){if(e===t)return!0;if(Eo(e)&&Eo(t))return 0===$o(e,t);if(qo(e)&&qo(t))return e.getTime()===t.getTime();if(No(e)&&No(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(eu(e)&&eu(t)&&Yo(e)===Yo(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===$o(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(Eo(e)!==Eo(t))return!1;var o=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==o&&o===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null==e||null==t)return!1;if(Vo(e)||Vo(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=au(e),u=au(t);if(o&&!u||!o&&u)return!1;if(o)return e=Qo.call(e),t=Qo.call(t),fu(e,t,r);var i,c,l=Zo(e),f=Zo(t);if(l.length!==f.length)return!1;for(l.sort(),f.sort(),c=l.length-1;c>=0;c--)if(l[c]!==f[c])return!1;for(c=l.length-1;c>=0;c--)if(i=l[c],!fu(e[i],t[i],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function au(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function su(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function _u(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&cu(o,r,"Missing expected exception"+n);var u="string"==typeof n,i=!e&&o&&!r;if((!e&&Bo(o)&&u&&su(o,r)||i)&&cu(o,r,"Got unwanted exception"+n),e&&o&&r&&!su(o,r)||!e&&o)throw o}return tu.AssertionError=ou,So(ou,Error),tu.fail=cu,tu.ok=lu,tu.equal=function e(t,r,n){t!=r&&cu(t,r,n,"==",e)},tu.notEqual=function e(t,r,n){t==r&&cu(t,r,n,"!=",e)},tu.deepEqual=function e(t,r,n){fu(t,r,!1)||cu(t,r,n,"deepEqual",e)},tu.deepStrictEqual=function e(t,r,n){fu(t,r,!0)||cu(t,r,n,"deepStrictEqual",e)},tu.notDeepEqual=function e(t,r,n){fu(t,r,!1)&&cu(t,r,n,"notDeepEqual",e)},tu.notDeepStrictEqual=function e(t,r,n){fu(t,r,!0)&&cu(t,r,n,"notDeepStrictEqual",e)},tu.strictEqual=function e(t,r,n){t!==r&&cu(t,r,n,"===",e)},tu.notStrictEqual=function e(t,r,n){t===r&&cu(t,r,n,"!==",e)},tu.throws=function(e,t,r){_u(!0,e,t,r)},tu.doesNotThrow=function(e,t,r){_u(!1,e,t,r)},tu.ifError=function(e){if(e)throw e},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{delay:200,unitMaximum:10},t=e.delay,r=void 0===t?200:t,n=e.unitMaximum,o=void 0===n?10:n;tu("number"==typeof r,"delay typeof number"),tu(r>=0,"delay is gte 0"),tu("number"==typeof o,"unitMaximum typeof number"),tu(o>=0,"unitMaximum is gte 0"),tu(Math.floor(o)===o,"unitMaximum is integer");var u=void 0,i=void 0;return function(e){tu("function"==typeof e,"dispose callback instanceof function");var t=[],n={resolves:[],datas:t,dataLengths:[]};function c(){if(u&&clearTimeout(u),n.datas.length>=o)return l();u=setTimeout((function(){l()}),r)}function l(){var r=t.splice(0,o);i=!0,e(r,a)}var f=[];function a(e){for(tu("[object Array]"===Object.prototype.toString.call(e),"unitResult instanceof Array"),e.unshift.apply(e,jo(f.splice(0)));!(e.length<n.dataLengths[0])&&n.dataLengths[0];){var t=e.splice(0,n.dataLengths[0]);n.resolves[0](t),n.resolves.shift(),n.dataLengths.shift()}f.push.apply(f,jo(e)),n.datas.length>0?c():i=!1}return function(e){return tu("[object Array]"===Object.prototype.toString.call(e),"task instanceof Array"),0===e.length?ao.resolve(null):new ao((function(t){var r;if(n.resolves.push(t),(r=n.datas).push.apply(r,jo(e)),n.dataLengths.push(e.length),i)return"working";c()}))}}}}));
  