function__spreadArrays(){for(vars=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;varr=Array(s),k=0;for(i=0;i<il;i++)for(vara=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];returnr}n=function(){functione(e){varn=this.constructor;returnthis.then((function(t){returnn.resolve(e()).then((function(){returnt}))}),(function(t){returnn.resolve(e()).then((function(){returnn.reject(t)}))}))}functionn(e){return!(!e||void0===e.length)}functiont(){}functiono(e){if(!(thisinstanceofo))thrownewTypeError("Promises must be constructed via new");if("function"!=typeofe)thrownewTypeError("not a function");this._state=0,this._handled=!1,this._value=void0,this._deferreds=[],c(e,this)}functionr(e,n){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){vart=1===e._state?n.onFulfilled:n.onRejected;if(null!==t){varo;try{o=t(e._value)}catch(r){returnvoidf(n.promise,r)}i(n.promise,o)}else(1===e._state?i:f)(n.promise,e._value)}))):e._deferreds.push(n)}functioni(e,n){try{if(n===e)thrownewTypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeofn||"function"==typeofn)){vart=n.then;if(ninstanceofo)returne._state=3,e._value=n,voidu(e);if("function"==typeoft)returnvoidc(function(e,n){returnfunction(){e.apply(n,arguments)}}(t,n),e)}e._state=1,e._value=n,u(e)}catch(r){f(e,r)}}functionf(e,n){e._state=2,e._value=n,u(e)}functionu(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(varn=0,t=e._deferreds.length;t>n;n++)r(e,e._deferreds[n]);e._deferreds=null}functionc(e,n){vart=!1;try{e((function(e){t||(t=!0,i(n,e))}),(function(e){t||(t=!0,f(n,e))}))}catch(o){if(t)return;t=!0,f(n,o)}}vara=setTimeout;o.prototype.catch=function(e){returnthis.then(null,e)},o.prototype.then=function(e,n){varo=newthis.constructor(t);returnr(this,newfunction(e,n,t){this.onFulfilled="function"==typeofe?e:null,this.onRejected="function"==typeofn?n:null,this.promise=t}(e,n,o)),o},o.prototype.finally=e,o.all=function(e){returnnewo((function(t,o){functionr(e,n){try{if(n&&("object"==typeofn||"function"==typeofn)){varu=n.then;if("function"==typeofu)returnvoidu.call(n,(function(n){r(e,n)}),o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))returno(newTypeError("Promise.all accepts an array"));vari=Array.prototype.slice.call(e);if(0===i.length)returnt([]);for(varf=i.length,u=0;i.length>u;u++)r(u,i[u])}))},o.resolve=function(e){returne&&"object"==typeofe&&e.constructor===o?e:newo((function(n){n(e)}))},o.reject=function(e){returnnewo((function(n,t){t(e)}))},o.race=function(e){returnnewo((function(t,r){if(!n(e))returnr(newTypeError("Promise.race accepts an array"));for(vari=0,f=e.length;f>i;i++)o.resolve(e[i]).then(t,r)}))},o._immediateFn="function"==typeofsetImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){void0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};varl=function(){if("undefined"!=typeofself)returnself;if("undefined"!=typeofwindow)returnwindow;if("undefined"!=typeofglobal)returnglobal;throwError("unable to locate global object")}();"Promise"inl?l.Promise.prototype.finally||(l.Promise.prototype.finally=e):l.Promise=o},"object"==typeofexports&&"undefined"!=typeofmodule?n():"function"==typeofdefine&&define.amd?define(n):n();vargetRandomValues="undefined"!=typeofcrypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeofmsCrypto&&"function"==typeofmsCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),rnds8=newUint8Array(16);functionrng(){if(!getRandomValues)thrownewError("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");returngetRandomValues(rnds8)}for(varbyteToHex=[],i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);functionv4(options,buf,offset){vari=buf&&offset||0;"string"==typeofoptions&&(buf="binary"===options?newArray(16):null,options=null);varrnds=(options=options