https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/public_html/wp-content/plugins/woo-variation-swatches/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/public_html/wp-content/plugins/woo-variation-swatches/assets/js/bluebird.min.js
!function(t){var e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Promise=t())}(function(){var t,e,n;return function r(i,o,s){function a(n,t){if(!o[n]){if(!i[n]){var e="function"==typeof _dereq_&&_dereq_;if(!t&&e)return e(n,!0);if(c)return c(n,!0);e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}e=o[n]={exports:{}};i[n][0].call(e.exports,function(t){var e=i[n][1][t];return a(e||t)},e,e.exports,r,i,o,s)}return o[n].exports}for(var c="function"==typeof _dereq_&&_dereq_,t=0;t<s.length;t++)a(s[t]);return a}({1:[function(t,e,n){"use strict";e.exports=function(t){var n=t._SomePromiseArray;function e(t){var e=new n(t),t=e.promise();return e.setHowMany(1),e.setUnwrap(),e.init(),t}t.any=e,t.prototype.any=function(){return e(this)}}},{}],2:[function(t,e,n){"use strict";var r;try{throw new Error}catch(t){r=t}var i=t("./schedule"),o=t("./queue"),s=t("./util");function a(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new o(16),this._normalQueue=new o(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var t=this;this.drainQueues=function(){t._drainQueues()},this._schedule=i}function c(t,e,n){this._lateQueue.push(t,e,n),this._queueTick()}function l(t,e,n){this._normalQueue.push(t,e,n),this._queueTick()}function u(t){this._normalQueue._pushOne(t),this._queueTick()}function p(t){for(;0<t.length();)!function(t){var e=t.shift();{var n;"function"!=typeof e?e._settlePromises():(n=t.shift(),t=t.shift(),e.call(n,t))}}(t)}a.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e},a.prototype.hasCustomScheduler=function(){return this._customScheduler},a.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},a.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this._trampolineEnabled=!1)},a.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},a.prototype.fatalError=function(t,e){e?(process.stderr.write("Fatal "+(t instanceof Error?t.stack:t)+"\n"),process.exit(2)):this.throwLater(t)},a.prototype.throwLater=function(t,e){if(1===arguments.length&&(e=t,t=function(){throw e}),"undefined"!=typeof setTimeout)setTimeout(function(){t(e)},0);else try{this._schedule(function(){t(e)})}catch(t){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(a.prototype.invokeLater=function(t,e,n){this._trampolineEnabled?c.call(this,t,e,n):this._schedule(function(){setTimeout(function(){t.call(e,n)},100)})},a.prototype.invoke=function(t,e,n){this._trampolineEnabled?l.call(this,t,e,n):this._schedule(function(){t.call(e,n)})},a.prototype.settlePromises=function(t){this._trampolineEnabled?u.call(this,t):this._schedule(function(){t._settlePromises()})}):(a.prototype.invokeLater=c,a.prototype.invoke=l,a.prototype.settlePromises=u),a.prototype._drainQueues=function(){p(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,p(this._lateQueue)},a.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},a.prototype._reset=function(){this._isTickUsed=!1},e.exports=a,e.exports.firstLineError=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,e,n){"use strict";e.exports=function(i,o,s,a){function n(t,e){this._reject(e)}function c(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(n,n,null,this,t)}function l(t,e){0==(50397184&this._bitField)&&this._resolveCallback(e.target)}function u(t,e){e.promiseRejectionQueued||this._reject(t)}var p=!1;i.prototype.bind=function(t){p||(p=!0,i.prototype._propagateFrom=a.propagateFromFunction(),i.prototype._boundValue=a.boundValueFunction());var e=s(t),n=new i(o);n._propagateFrom(this,1);var r=this._target();return n._setBoundTo(e),e instanceof i?(r._then(o,c,void 0,n,t={promiseRejectionQueued:!1,promise:n,target:r,bindingPromise:e}),e._then(l,u,void 0,n,t),n._setOnCancel(e)):n._resolveCallback(r),n},i.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},i.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},i.bind=function(t,e){return i.resolve(e).bind(t)}}},{}],4:[function(t,e,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var i=t("./promise")();i.noConflict=function(){try{Promise===i&&(Promise=r)}catch(t){}return i},e.exports=i},{"./promise":22}],5:[function(t,e,n){"use strict";var r,i=Object.create;i&&(r=i(null),i=i(null),r[" size"]=i[" size"]=0),e.exports=function(r){var n,i=t("./util"),o=i.canEvaluate;i.isIdentifier;function e(t,e){var n;if("function"==typeof(n=null!=t?t[e]:n))return n;e="Object "+i.classString(t)+" has no method '"+i.toString(e)+"'";throw new r.TypeError(e)}function s(t){return e(t,this.pop()).apply(t,this)}function a(t){return t[this]}function c(t){var e=+this;return t[e=e<0?Math.max(0,e+t.length):e]}r.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(s,void 0,void 0,e,void 0)},r.prototype.get=function(t){var e;return e="number"==typeof t?c:o&&null!==(e=n(t))?e:a,this._then(e,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(c,t,e){"use strict";t.exports=function(t,e,n,r){var i=c("./util"),o=i.tryCatch,s=i.errorObj,a=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var n=t._cancellationParent;if(null==n||!n._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),a.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){0<this._length()&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(t,e){var n;if(i.isArray(t))for(var r=0;r<t.length;++r)this._doInvokeOnCancel(t[r],e);else void 0!==t&&("function"==typeof t?e||(n=o(t).call(this._boundValue()))===s&&(this._attachExtraTrace(n.e),a.throwLater(n.e)):t._resultCancelled(this))},t.prototype._invokeOnCancel=function(){var t=this._onCancel();this._unsetOnCancel(),a.invoke(this._doInvokeOnCancel,this,t)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,e,n){"use strict";e.exports=function(p){var h=t("./util"),f=t("./es5").keys,_=h.tryCatch,d=h.errorObj;return function(c,l,u){return function(t){var e=u._boundValue();t:for(var n=0;n<c.length;++n){var r=c[n];if(r===Error||null!=r&&r.prototype instanceof Error){if(t instanceof r)return _(l).call(e,t)}else if("function"==typeof r){var i=_(r).call(e,t);if(i===d)return i;if(i)return _(l).call(e,t)}else if(h.isObject(t)){for(var o=f(r),s=0;s<o.length;++s){var a=o[s];if(r[a]!=t[a])continue t}return _(l).call(e,t)}}return p}}}},{"./es5":13,"./util":36}],8:[function(t,e,n){"use strict";e.exports=function(o){var s=!1,n=[];function a(){this._trace=new a.CapturedTrace(c())}function c(){var t=n.length-1;if(0<=t)return n[t]}return o.prototype._promiseCreated=function(){},o.prototype._pushContext=function(){},o.prototype._popContext=function(){return null},o._peekContext=o.prototype._peekContext=function(){},a.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},a.prototype._popContext=function(){if(void 0===this._trace)return null;var t=n.pop(),e=t._promiseCreated;return t._promiseCreated=null,e},a.CapturedTrace=null,a.create=function(){if(s)return new a},a.deactivateLongStackTraces=function(){},a.activateLongStackTraces=function(){var t=o.prototype._pushContext,e=o.prototype._popContext,n=o._peekContext,r=o.prototype._peekContext,i=o.prototype._promiseCreated;a.deactivateLongStackTraces=function(){o.prototype._pushContext=t,o.prototype._popContext=e,o._peekContext=n,o.prototype._peekContext=r,o.prototype._promiseCreated=i,s=!1},s=!0,o.prototype._pushContext=a.prototype._pushContext,o.prototype._popContext=a.prototype._popContext,o._peekContext=o.prototype._peekContext=c,o.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},a}},{}],9:[function(J,t,e){"use strict";t.exports=function(i,r){var n,o,s,a=i._getDomain,c=i._async,l=J("./errors").Warning,u=J("./util"),p=J("./es5"),h=u.canAttachTrace,f=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,_=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,v=null,y=null,m=!1,t=!(0==u.env("BLUEBIRD_DEBUG")),e=!(0==u.env("BLUEBIRD_WARNINGS")||!t&&!u.env("BLUEBIRD_WARNINGS")),t=!(0==u.env("BLUEBIRD_LONG_STACK_TRACES")||!t&&!u.env("BLUEBIRD_LONG_STACK_TRACES")),g=0!=u.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(e||!!u.env("BLUEBIRD_W_FORGOTTEN_RETURN"));i.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},i.prototype._ensurePossibleRejectionHandled=function(){var t;0==(524288&this._bitField)&&(this._setRejectionIsUnhandled(),t=this,setTimeout(function(){t._notifyUnhandledRejection()},1))},i.prototype._notifyUnhandledRejectionIsHandled=function(){M("rejectionHandled",n,void 0,this)},i.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},i.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},i.prototype._notifyUnhandledRejection=function(){var t;this._isRejectionUnhandled()&&(t=this._settledValue(),this._setUnhandledRejectionIsNotified(),M("unhandledRejection",o,t,this))},i.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},i.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},i.prototype._isUnhandledRejectionNotified=function(){return 0<(262144&this._bitField)},i.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},i.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},i.prototype._isRejectionUnhandled=function(){return 0<(1048576&this._bitField)},i.prototype._warn=function(t,e,n){return H(t,e,n||this)},i.onPossiblyUnhandledRejection=function(t){var e=a();o="function"==typeof t?null===e?t:u.domainBind(e,t):void 0},i.onUnhandledRejectionHandled=function(t){var e=a();n="function"==typeof t?null===e?t:u.domainBind(e,t):void 0};var b=function(){};i.longStackTraces=function(){if(c.haveItemsQueued()&&!K.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");var t,e,n;!K.longStackTraces&&$()&&(t=i.prototype._captureStackTrace,e=i.prototype._attachExtraTrace,n=i.prototype._dereferenceTrace,K.longStackTraces=!0,b=function(){if(c.haveItemsQueued()&&!K.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");i.prototype._captureStackTrace=t,i.prototype._attachExtraTrace=e,i.prototype._dereferenceTrace=n,r.deactivateLongStackTraces(),c.enableTrampoline(),K.longStackTraces=!1},i.prototype._captureStackTrace=V,i.prototype._attachExtraTrace=I,i.prototype._dereferenceTrace=L,r.activateLongStackTraces(),c.disableTrampolineIfNecessary())},i.hasLongStackTraces=function(){return K.longStackTraces&&$()};var w=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return u.global.dispatchEvent(t),function(t,e){var n={detail:e,cancelable:!0};p.defineProperty(n,"promise",{value:e.promise}),p.defineProperty(n,"reason",{value:e.reason});n=new CustomEvent(t.toLowerCase(),n);return!u.global.dispatchEvent(n)}}if("function"!=typeof Event)return(t=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),u.global.dispatchEvent(t),function(t,e){var n=document.createEvent("CustomEvent");return n.initCustomEvent(t.toLowerCase(),!1,!0,e),!u.global.dispatchEvent(n)};var t=new Event("CustomEvent");return u.global.dispatchEvent(t),function(t,e){t=new Event(t.toLowerCase(),{cancelable:!0});return t.detail=e,p.defineProperty(t,"promise",{value:e.promise}),p.defineProperty(t,"reason",{value:e.reason}),!u.global.dispatchEvent(t)}}catch(t){}return function(){return!1}}(),C=u.isNode?function(){return process.emit.apply(process,arguments)}:u.global?function(t){t="on"+t.toLowerCase(),t=u.global[t];return!!t&&(t.apply(u.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function j(t,e){return{promise:e}}var E={promiseCreated:j,promiseFulfilled:j,promiseRejected:j,promiseResolved:j,promiseCancelled:j,promiseChained:function(t,e,n){return{promise:e,child:n}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,n){return{reason:e,promise:n}},rejectionHandled:j},k=function(t){var e=!1;try{e=C.apply(null,arguments)}catch(t){c.throwLater(t),e=!0}var n=!1;try{n=w(t,E[t].apply(null,arguments))}catch(t){c.throwLater(t),n=!0}return n||e};function F(){return!1}function T(t,e,n){var r=this;try{t(e,n,function(t){if("function"!=typeof t)throw new TypeError("onCancel must be a function, got: "+u.toString(t));r._attachCancellationCallback(t)})}catch(t){return t}}function x(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?u.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function P(){return this._onCancelField}function R(t){this._onCancelField=t}function S(){this._cancellationParent=void 0,this._onCancelField=void 0}function O(t,e){var n;0!=(1&e)&&(n=(this._cancellationParent=t)._branchesRemainingToCancel,t._branchesRemainingToCancel=(n=void 0===n?0:n)+1),0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}i.config=function(t){var e;if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?i.longStackTraces():!t.longStackTraces&&i.hasLongStackTraces()&&b()),"warnings"in t&&(e=t.warnings,K.warnings=!!e,g=K.warnings,u.isObject(e)&&"wForgottenReturn"in e&&(g=!!e.wForgottenReturn)),"cancellation"in t&&t.cancellation&&!K.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");i.prototype._clearCancellationData=S,i.prototype._propagateFrom=O,i.prototype._onCancel=P,i.prototype._setOnCancel=R,i.prototype._attachCancellationCallback=x,i.prototype._execute=T,A=O,K.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!K.monitoring?(K.monitoring=!0,i.prototype._fireEvent=k):!t.monitoring&&K.monitoring&&(K.monitoring=!1,i.prototype._fireEvent=F)),i},i.prototype._fireEvent=F,i.prototype._execute=function(t,e,n){try{t(e,n)}catch(t){return t}},i.prototype._onCancel=function(){},i.prototype._setOnCancel=function(t){},i.prototype._attachCancellationCallback=function(t){},i.prototype._captureStackTrace=function(){},i.prototype._attachExtraTrace=function(){},i.prototype._dereferenceTrace=function(){},i.prototype._clearCancellationData=function(){},i.prototype._propagateFrom=function(t,e){};var A=function(t,e){0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)};function D(){var t=this._boundTo;return void 0!==t&&t instanceof i?t.isFulfilled()?t.value():void 0:t}function V(){this._trace=new X(this._peekContext())}function I(t,e){var n;h(t)&&(void 0!==(n=void 0!==(n=this._trace)&&e?n._parent:n)?n.attachExtraTrace(t):t.__stackCleaned__||(n=U(t),u.notEnumerableProp(t,"stack",n.message+"\n"+n.stack.join("\n")),u.notEnumerableProp(t,"__stackCleaned__",!0)))}function L(){this._trace=void 0}function H(t,e,n){var r;K.warnings&&(t=new l(t),e?n._attachExtraTrace(t):K.longStackTraces&&(r=i._peekContext())?r.attachExtraTrace(t):(r=U(t),t.stack=r.message+"\n"+r.stack.join("\n")),k("warning",t)||B(t,"",!0))}function N(t){for(var e=[],n=0;n<t.length;++n){var r=t[n],i="    (No stack trace)"===r||v.test(r),o=i&&Q(r);i&&!o&&(m&&" "!==r.charAt(0)&&(r="    "+r),e.push(r))}return e}function U(t){var e=t.stack,n=t.toString(),e="string"==typeof e&&0<e.length?function(t){for(var e=t.stack.replace(/\s+$/g,"").split("\n"),n=0;n<e.length;++n){var r=e[n];if("    (No stack trace)"===r||v.test(r))break}return e=0<n&&"SyntaxError"!=t.name?e.slice(n):e}(t):["    (No stack trace)"];return{message:n,stack:"SyntaxError"==t.name?e:N(e)}}function B(t,e,n){var r;"undefined"!=typeof console&&(t=u.isObject(t)?(r=t.stack,e+y(r,t)):e+String(t),"function"==typeof s&&s(t,n))}function M(t,e,n,r){var i=!1;try{"function"==typeof e&&(i=!0,"rejectionHandled"===t?e(r):e(n,r))}catch(t){c.throwLater(t)}"unhandledRejection"===t?k(t,n,r)||i||B(n,"Unhandled rejection "):k(t,r)}function q(t){if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{e=t&&"function"==typeof t.toString?t.toString():u.toString(t);if(/\[object [a-zA-Z0-9$_]+\]/.test(e))try{var e=JSON.stringify(t)}catch(t){}0===e.length&&(e="(empty array)")}return"(<"+function(t){if(t.length<41)return t;return t.substr(0,38)+"..."}(e)+">, no stack trace)"}function $(){return"function"==typeof W}var Q=function(){return!1},z=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function G(t){t=t.match(z);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function X(t){this._parent=t,this._promisesCreated=0;t=this._length=1+(void 0===t?0:t._length);W(this,X),32<t&&this.uncycle()}u.inherits(X,Error),(r.CapturedTrace=X).prototype.uncycle=function(){if(!((i=this._length)<2)){for(var t=[],e={},n=0,r=this;void 0!==r;++n)t.push(r),r=r._parent;for(var i,n=(i=this._length=n)-1;0<=n;--n){var o=t[n].stack;void 0===e[o]&&(e[o]=n)}for(n=0;n<i;++n){var s=e[t[n].stack];if(void 0!==s&&s!==n){0<s&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[n]._parent=void 0,t[n]._length=1;var a=0<n?t[n-1]:this;s<i-1?(a._parent=t[s+1],a._parent.uncycle(),a._length=a._parent._length+1):(a._parent=void 0,a._length=1);for(var c=a._length+1,l=n-2;0<=l;--l)t[l]._length=c,c++;return}}}},X.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=U(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(N(i.stack.split("\n"))),i=i._parent;!function(t){for(var e=t[0],n=1;n<t.length;++n){for(var r=t[n],i=e.length-1,o=e[i],s=-1,a=r.length-1;0<=a;--a)if(r[a]===o){s=a;break}for(a=s;0<=a;--a){var c=r[a];if(e[i]!==c)break;e.pop(),i--}e=r}}(r),function(t){for(var e=0;e<t.length;++e)(0===t[e].length||e+1<t.length&&t[e][0]===t[e+1][0])&&(t.splice(e,1),e--)}(r),u.notEnumerableProp(t,"stack",function(t,e){for(var n=0;n<e.length-1;++n)e[n].push("From previous event:"),e[n]=e[n].join("\n");return n<e.length&&(e[n]=e[n].join("\n")),t+"\n"+e.join("\n")}(n,r)),u.notEnumerableProp(t,"__stackCleaned__",!0)}};var W=function(){function t(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():q(e)}var e=/^\s*at\s*/;if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,v=e,y=t;var n=Error.captureStackTrace;return Q=function(t){return f.test(t)},function(t,e){Error.stackTraceLimit+=6,n(t,e),Error.stackTraceLimit-=6}}var r,i=new Error;if("string"==typeof i.stack&&0<=i.stack.split("\n")[0].indexOf("stackDetection@"))return v=/@/,y=t,m=!0,function(t){t.stack=(new Error).stack};try{throw new Error}catch(t){r="stack"in t}return"stack"in i||!r||"number"!=typeof Error.stackTraceLimit?(y=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?q(e):e.toString()},null):(v=e,y=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){},u.isNode&&process.stderr.isTTY?s=function(t,e){}:u.isNode||"string"!=typeof(new Error).stack||(s=function(t,e){}));var K={warnings:e,longStackTraces:!1,cancellation:!1,monitoring:!1};return t&&i.longStackTraces(),{longStackTraces:function(){return K.longStackTraces},warnings:function(){return K.warnings},cancellation:function(){return K.cancellation},monitoring:function(){return K.monitoring},propagateFromFunction:function(){return A},boundValueFunction:function(){return D},checkForgottenReturns:function(t,e,n,r,i){if(void 0===t&&null!==e&&g&&(void 0===i||!i._returnedNonUndefined())&&0!=(65535&r._bitField)){n&&(n+=" ");var o="",s="";if(e._trace){for(var a=e._trace.stack.split("\n"),c=N(a),l=c.length-1;0<=l;--l){var u=c[l];if(!_.test(u)){u=u.match(d);u&&(o="at "+u[1]+":"+u[2]+":"+u[3]+" ");break}}if(0<c.length)for(var p=c[0],l=0;l<a.length;++l)if(a[l]===p){0<l&&(s="\n"+a[l-1]);break}}r._warn("a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s,!0,e)}},setBounds:function(t,e){if($()){for(var n,r,i=t.stack.split("\n"),o=e.stack.split("\n"),s=-1,a=-1,c=0;c<i.length;++c)if(l=G(i[c])){n=l.fileName,s=l.line;break}for(var l,c=0;c<o.length;++c)if(l=G(o[c])){r=l.fileName,a=l.line;break}s<0||a<0||!n||!r||n!==r||a<=s||(Q=function(t){if(f.test(t))return!0;t=G(t);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=a)})}},warn:H,deprecated:function(t,e){return t+=" is deprecated and will be removed in a future version.",e&&(t+=" Use "+e+" instead."),H(t)},CapturedTrace:X,fireDomEvent:w,fireGlobalEvent:C}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,e,n){"use strict";e.exports=function(n){function r(){return this.value}function i(){throw this.reason}n.prototype.return=n.prototype.thenReturn=function(t){return t instanceof n&&t.suppressUnhandledRejections(),this._then(r,void 0,void 0,{value:t},void 0)},n.prototype.throw=n.prototype.thenThrow=function(t){return this._then(i,void 0,void 0,{reason:t},void 0)},n.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,i,void 0,{reason:t},void 0);var e=arguments[1];return this.caught(t,function(){throw e})},n.prototype.catchReturn=function(t){if(arguments.length<=1)return t instanceof n&&t.suppressUnhandledRejections(),this._then(void 0,r,void 0,{value:t},void 0);var e=arguments[1];e instanceof n&&e.suppressUnhandledRejections();return this.caught(t,function(){return e})}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t,n){var r=t.reduce,e=t.all;function i(){return e(this)}t.prototype.each=function(t){return r(this,t,n,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,n,n)},t.each=function(t,e){return r(t,e,n,0)._then(i,void 0,void 0,t,void 0)},t.mapSeries=function(t,e){return r(t,e,n,n)}}},{}],12:[function(t,e,n){"use strict";var r,i,o=t("./es5"),s=o.freeze,a=t("./util"),c=a.inherits,l=a.notEnumerableProp;function u(e,n){function r(t){if(!(this instanceof r))return new r(t);l(this,"message","string"==typeof t?t:n),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(r,Error),r}var p=u("Warning","warning"),h=u("CancellationError","cancellation error"),t=u("TimeoutError","timeout error"),f=u("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(t){r=u("TypeError","type error"),i=u("RangeError","range error")}for(var _="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),d=0;d<_.length;++d)"function"==typeof Array.prototype[_[d]]&&(f.prototype[_[d]]=Array.prototype[_[d]]);o.defineProperty(f.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),f.prototype.isOperational=!0;var v=0;function y(t){if(!(this instanceof y))return new y(t);l(this,"name","OperationalError"),l(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof Error?(l(this,"message",t.message),l(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}f.prototype.toString=function(){var t="\n"+(e=Array(4*v+1).join(" "))+"AggregateError of:\n";v++;for(var e=Array(4*v+1).join(" "),n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=e+i[o];t+=(r=i.join("\n"))+"\n"}return v--,t},c(y,Error);a=Error.__BluebirdErrorTypes__;a||(a=s({CancellationError:h,TimeoutError:t,OperationalError:y,RejectionError:y,AggregateError:f}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:a,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:a.CancellationError,OperationalError:a.OperationalError,TimeoutError:a.TimeoutError,AggregateError:a.AggregateError,Warning:p}},{"./es5":13,"./util":36}],13:[function(t,e,n){var r,i,o,s=function(){"use strict";return void 0===this}();s?e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:s,propertyIsWritable:function(t,e){e=Object.getOwnPropertyDescriptor(t,e);return!(e&&!e.writable&&!e.set)}}:(r={}.hasOwnProperty,i={}.toString,o={}.constructor.prototype,e.exports={isArray:function(t){try{return"[object Array]"===i.call(t)}catch(t){return!1}},keys:e=function(t){var e,n=[];for(e in t)r.call(t,e)&&n.push(e);return n},names:e,defineProperty:function(t,e,n){return t[e]=n.value,t},getDescriptor:function(t,e){return{value:t[e]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return Object(t).constructor.prototype}catch(t){return o}},isES5:s,propertyIsWritable:function(){return!0}})},{}],14:[function(t,e,n){"use strict";e.exports=function(t,r){var i=t.map;t.prototype.filter=function(t,e){return i(this,t,e,r)},t.filter=function(t,e,n){return i(t,e,n,r)}}},{}],15:[function(t,e,n){"use strict";e.exports=function(s,i,o){var a=t("./util"),c=s.CancellationError,l=a.errorObj,u=t("./catch_filter")(o);function p(t,e,n){this.promise=t,this.type=e,this.handler=n,this.called=!1,this.cancelPromise=null}function h(t){this.finallyHandler=t}function f(t,e){return null!=t.cancelPromise&&(1<arguments.length?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,1)}function _(){return v.call(this,this.promise._target()._settledValue())}function d(t){if(!f(this,t))return l.e=t,l}function v(t){var e=this.promise,n=this.handler;if(!this.called){this.called=!0;var r=this.isFinallyHandler()?n.call(e._boundValue()):n.call(e._boundValue(),t);if(r===o)return r;if(void 0!==r){e._setReturnedNonUndefined();n=i(r,e);if(n instanceof s){if(null!=this.cancelPromise){if(n._isCancelled()){r=new c("late cancellation observer");return e._attachExtraTrace(r),l.e=r,l}n.isPending()&&n._attachCancellationCallback(new h(this))}return n._then(_,d,void 0,this,void 0)}}}return e.isRejected()?(f(this),l.e=t,l):(f(this),t)}return p.prototype.isFinallyHandler=function(){return 0===this.type},h.prototype._resultCancelled=function(){f(this.finallyHandler)},s.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new p(this,e,t),void 0)},s.prototype.lastly=s.prototype.finally=function(t){return this._passThrough(t,0,v,v)},s.prototype.tap=function(t){return this._passThrough(t,1,v)},s.prototype.tapCatch=function(t){var e=arguments.length;if(1===e)return this._passThrough(t,1,void 0,v);for(var n=new Array(e-1),r=0,i=0;i<e-1;++i){var o=arguments[i];if(!a.isObject(o))return s.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+a.classString(o)));n[r++]=o}return n.length=r,this._passThrough(u(n,arguments[i],this),1,void 0,v)},p}},{"./catch_filter":7,"./util":36}],16:[function(r,t,e){"use strict";t.exports=function(s,n,a,c,t,l){var u=r("./errors").TypeError,e=r("./util"),p=e.errorObj,h=e.tryCatch,f=[];function _(t,e,n,r){var i,o;l.cancellation()?(i=new s(a),o=this._finallyPromise=new s(a),this._promise=i.lastly(function(){return o}),i._captureStackTrace(),i._setOnCancel(this)):(this._promise=new s(a))._captureStackTrace(),this._stack=r,this._generatorFunction=t,this._receiver=e,this._generator=void 0,this._yieldHandlers="function"==typeof n?[n].concat(f):f,this._yieldedPromise=null,this._cancellationPhase=!1}e.inherits(_,t),_.prototype._isResolved=function(){return null===this._promise},_.prototype._cleanup=function(){this._promise=this._generator=null,l.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},_.prototype._promiseCancelled=function(){var t;this._isResolved()||(t=void 0!==this._generator.return?(this._promise._pushContext(),h(this._generator.return).call(this._generator,void 0)):(t=new s.CancellationError("generator .return() sentinel"),s.coroutine.returnSentinel=t,this._promise._attachExtraTrace(t),this._promise._pushContext(),h(this._generator.throw).call(this._generator,t)),this._promise._popContext(),this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t))},_.prototype._promiseFulfilled=function(t){this._yieldedPromise=null,this._promise._pushContext();t=h(this._generator.next).call(this._generator,t);this._promise._popContext(),this._continue(t)},_.prototype._promiseRejected=function(t){this._yieldedPromise=null,this._promise._attachExtraTrace(t),this._promise._pushContext();t=h(this._generator.throw).call(this._generator,t);this._promise._popContext(),this._continue(t)},_.prototype._resultCancelled=function(){var t;this._yieldedPromise instanceof s&&(t=this._yieldedPromise,this._yieldedPromise=null,t.cancel())},_.prototype.promise=function(){return this._promise},_.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},_.prototype._continue=function(t){var e=this._promise;if(t===p)return this._cleanup(),this._cancellationPhase?e.cancel():e._rejectCallback(t.e,!1);var n=t.value;if(!0===t.done)return this._cleanup(),this._cancellationPhase?e.cancel():e._resolveCallback(n);t=c(n,this._promise);t instanceof s||null!==(t=function(t,e,n){for(var r=0;r<e.length;++r){n._pushContext();var i=h(e[r])(t);if(n._popContext(),i===p){n._pushContext();var o=s.reject(p.e);return n._popContext(),o}i=c(i,n);if(i instanceof s)return i}return null}(t,this._yieldHandlers,this._promise))?0==(50397184&(e=(t=t._target())._bitField))?(this._yieldedPromise=t)._proxy(this,null):0!=(33554432&e)?s._async.invoke(this._promiseFulfilled,this,t._value()):0!=(16777216&e)?s._async.invoke(this._promiseRejected,this,t._reason()):this._promiseCancelled():this._promiseRejected(new u("A value %s was yielded that could not be treated as a promise\n\n    See http://goo.gl/MqrFmX\n\n".replace("%s",String(n))+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")))},s.coroutine=function(r,t){if("function"!=typeof r)throw new u("generatorFunction must be a function\n\n    See http://goo.gl/MqrFmX\n");var i=Object(t).yieldHandler,o=_,s=(new Error).stack;return function(){var t=r.apply(this,arguments),e=new o(void 0,void 0,i,s),n=e.promise();return e._generator=t,e._promiseFulfilled(void 0),n}},s.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new u("expecting a function but got "+e.classString(t));f.push(t)},s.spawn=function(t){if(l.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return n("generatorFunction must be a function\n\n    See http://goo.gl/MqrFmX\n");var e=new _(t,this),t=e.promise();return e._run(s.spawn),t}}},{"./errors":12,"./util":36}],17:[function(a,t,e){"use strict";t.exports=function(t,n,e,r,i,o){var s=a("./util");s.canEvaluate,s.tryCatch,s.errorObj;t.join=function(){var t,e=arguments.length-1;0<e&&"function"==typeof arguments[e]&&(t=arguments[e]);var e=[].slice.call(arguments);t&&e.pop();e=new n(e).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(l,t,o,u,i,p){var s=l._getDomain,a=e("./util"),h=a.tryCatch,f=a.errorObj,c=l._async;function _(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();t=s();this._callback=null===t?e:a.domainBind(t,e),this._preservedValues=r===i?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],c.invoke(this._asyncInit,this,void 0)}function n(t,e,n,r){if("function"!=typeof e)return o("expecting a function but got "+a.classString(e));var i=0;if(void 0!==n){if("object"!=typeof n||null===n)return l.reject(new TypeError("options argument must be an object but it is "+a.classString(n)));if("number"!=typeof n.concurrency)return l.reject(new TypeError("'concurrency' must be a number but it is "+a.classString(n.concurrency)));i=n.concurrency}return new _(t,e,i="number"==typeof i&&isFinite(i)&&1<=i?i:0,r).promise()}a.inherits(_,t),_.prototype._asyncInit=function(){this._init$(void 0,-2)},_.prototype._init=function(){},_.prototype._promiseFulfilled=function(t,e){var n=this._values,r=this.length(),i=this._preservedValues,o=this._limit;if(e<0){if(n[e=-1*e-1]=t,1<=o&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(1<=o&&this._inFlight>=o)return n[e]=t,this._queue.push(e),!1;null!==i&&(i[e]=t);var s=this._promise,a=this._callback,c=s._boundValue();s._pushContext();c=h(a).call(c,t,e,r),t=s._popContext();if(p.checkForgottenReturns(c,t,null!==i?"Promise.filter":"Promise.map",s),c===f)return this._reject(c.e),!0;if((t=u(c,this._promise))instanceof l){s=(t=t._target())._bitField;if(0==(50397184&s))return 1<=o&&this._inFlight++,(n[e]=t)._proxy(this,-1*(e+1)),!1;if(0==(33554432&s))return 0!=(16777216&s)?this._reject(t._reason()):this._cancel(),!0;c=t._value()}n[e]=c}return r<=++this._totalResolved&&(null!==i?this._filter(n,i):this._resolve(n),!0)},_.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;0<t.length&&this._inFlight<e;){if(this._isResolved())return;var r=t.pop();this._promiseFulfilled(n[r],r)}},_.prototype._filter=function(t,e){for(var n=e.length,r=new Array(n),i=0,o=0;o<n;++o)t[o]&&(r[i++]=e[o]);r.length=i,this._resolve(r)},_.prototype.preservedValues=function(){return this._preservedValues},l.prototype.map=function(t,e){return n(this,t,e,null)},l.map=n}},{"./util":36}],19:[function(e,t,n){"use strict";t.exports=function(i,o,t,s,a){var c=e("./util"),l=c.tryCatch;i.method=function(r){if("function"!=typeof r)throw new i.TypeError("expecting a function but got "+c.classString(r));return function(){var t=new i(o);t._captureStackTrace(),t._pushContext();var e=l(r).apply(this,arguments),n=t._popContext();return a.checkForgottenReturns(e,n,"Promise.method",t),t._resolveFromSyncValue(e),t}},i.attempt=i.try=function(t){if("function"!=typeof t)return s("expecting a function but got "+c.classString(t));var e,n,r=new i(o);r._captureStackTrace(),r._pushContext(),n=1<arguments.length?(a.deprecated("calling Promise.try with more than 1 argument"),n=arguments[1],e=arguments[2],c.isArray(n)?l(t).apply(e,n):l(t).call(e,n)):l(t)();t=r._popContext();return a.checkForgottenReturns(n,t,"Promise.try",r),r._resolveFromSyncValue(n),r},i.prototype._resolveFromSyncValue=function(t){t===c.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{"./util":36}],20:[function(t,e,n){"use strict";var s=t("./util"),o=s.maybeWrapAsError,a=t("./errors").OperationalError,c=t("./es5");var l=/^(?:name|message|stack|cause)$/;function u(t){var e,n;if((n=t)instanceof Error&&c.getPrototypeOf(n)===Error.prototype){(e=new a(t)).name=t.name,e.message=t.message,e.stack=t.stack;for(var r=c.keys(t),i=0;i<r.length;++i){var o=r[i];l.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}e.exports=function(r,i){return function(t,e){var n;null!==r&&(t?(n=u(o(t)),r._attachExtraTrace(n),r._reject(n)):i?(n=[].slice.call(arguments,1),r._fulfill(n)):r._fulfill(e),r=null)}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util"),r=t._async,i=n.tryCatch,o=n.errorObj;function s(t,e){if(!n.isArray(t))return a.call(this,t,e);t=i(e).apply(this._boundValue(),[null].concat(t));t===o&&r.throwLater(t.e)}function a(t,e){var n=this._boundValue(),t=void 0===t?i(e).call(n,null):i(e).call(n,null,t);t===o&&r.throwLater(t.e)}function c(t,e){var n;t||((n=new Error(t+"")).cause=t,t=n);t=i(e).call(this._boundValue(),t);t===o&&r.throwLater(t.e)}t.prototype.asCallback=t.prototype.nodeify=function(t,e){var n;return"function"==typeof t&&(n=a,void 0!==e&&Object(e).spread&&(n=s),this._then(n,c,void 0,this,t)),this}}},{"./util":36}],22:[function(x,P,t){"use strict";P.exports=function(){function s(){return new u("circular promise resolution chain\n\n    See http://goo.gl/MqrFmX\n")}function a(){return new k.PromiseInspection(this._target())}function c(t){return k.reject(new u(t))}function l(){}var o={},p=x("./util"),h=p.isNode?function(){var t=process.domain;return t=void 0===t?null:t}:function(){return null};p.notEnumerableProp(k,"_getDomain",h);var t=x("./es5"),e=x("./async"),f=new e;t.defineProperty(k,"_async",{value:f});var n=x("./errors"),u=k.TypeError=n.TypeError;k.RangeError=n.RangeError;var _=k.CancellationError=n.CancellationError;k.TimeoutError=n.TimeoutError,k.OperationalError=n.OperationalError,k.RejectionError=n.OperationalError,k.AggregateError=n.AggregateError;var d=function(){},v={},y={},m=x("./thenables")(k,d),g=x("./promise_array")(k,d,m,c,l),t=x("./context")(k),n=t.create,b=x("./debuggability")(k,t),w=(b.CapturedTrace,x("./finally")(k,m,y)),C=x("./catch_filter")(y),r=x("./nodeback"),j=p.errorObj,E=p.tryCatch;function k(t){t!==d&&function(t,e){if(null==t||t.constructor!==k)throw new u("the promise constructor cannot be invoked directly\n\n    See http://goo.gl/MqrFmX\n");if("function"!=typeof e)throw new u("expecting a function but got "+p.classString(e))}(this,t),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(t),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function i(t){this.promise._resolveCallback(t)}function F(t){this.promise._rejectCallback(t,!1)}function T(t){var e=new k(d);e._fulfillmentHandler0=t,e._rejectionHandler0=t,e._promise0=t,e._receiver0=t}return k.prototype.toString=function(){return"[object Promise]"},k.prototype.caught=k.prototype.catch=function(t){var e=arguments.length;if(1<e){for(var n=new Array(e-1),r=0,i=0;i<e-1;++i){var o=arguments[i];if(!p.isObject(o))return c("Catch statement predicate: expecting an object but got "+p.classString(o));n[r++]=o}return n.length=r,this.then(void 0,C(n,t=arguments[i],this))}return this.then(void 0,t)},k.prototype.reflect=function(){return this._then(a,a,void 0,this,void 0)},k.prototype.then=function(t,e){var n;return b.warnings()&&0<arguments.length&&"function"!=typeof t&&"function"!=typeof e&&(n=".then() only accepts functions but was passed: "+p.classString(t),1<arguments.length&&(n+=", "+p.classString(e)),this._warn(n)),this._then(t,e,void 0,void 0,void 0)},k.prototype.done=function(t,e){this._then(t,e,void 0,void 0,void 0)._setIsFinal()},k.prototype.spread=function(t){return"function"!=typeof t?c("expecting a function but got "+p.classString(t)):this.all()._then(t,void 0,void 0,v,void 0)},k.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},k.prototype.all=function(){return 0<arguments.length&&this._warn(".all() was passed arguments but it does not take any"),new g(this).promise()},k.prototype.error=function(t){return this.caught(p.originatesFromRejection,t)},k.getNewLibraryCopy=P.exports,k.is=function(t){return t instanceof k},k.fromNode=k.fromCallback=function(t){var e=new k(d);e._captureStackTrace();var n=1<arguments.length&&!!Object(arguments[1]).multiArgs,n=E(t)(r(e,n));return n===j&&e._rejectCallback(n.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},k.all=function(t){return new g(t).promise()},k.resolve=k.fulfilled=k.cast=function(t){var e=m(t);return e instanceof k||((e=new k(d))._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},k.reject=k.rejected=function(t){var e=new k(d);return e._captureStackTrace(),e._rejectCallback(t,!0),e},k.setScheduler=function(t){if("function"!=typeof t)throw new u("expecting a function but got "+p.classString(t));return f.setScheduler(t)},k.prototype._then=function(t,e,n,r,i){var o=void 0!==i,s=o?i:new k(d),a=this._target(),c=a._bitField;o||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&c)?this._boundValue():a===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var l,u,i=h();return 0!=(50397184&c)?(o=a._settlePromiseCtx,0!=(33554432&c)?(u=a._rejectionHandler0,l=t):0!=(16777216&c)?(u=a._fulfillmentHandler0,l=e,a._unsetRejectionIsUnhandled()):(o=a._settlePromiseLateCancellationObserver,u=new _("late cancellation observer"),a._attachExtraTrace(u),l=e),f.invoke(o,a,{handler:null===i?l:"function"==typeof l&&p.domainBind(i,l),promise:s,receiver:r,value:u})):a._addCallbacks(t,e,s,r,i),s},k.prototype._length=function(){return 65535&this._bitField},k.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},k.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},k.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},k.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},k.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},k.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},k.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},k.prototype._isFinal=function(){return 0<(4194304&this._bitField)},k.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},k.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},k.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},k.prototype._setAsyncGuaranteed=function(){f.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},k.prototype._receiverAt=function(t){t=0===t?this._receiver0:this[4*t-4+3];if(t!==o)return void 0===t&&this._isBound()?this._boundValue():t},k.prototype._promiseAt=function(t){return this[4*t-4+2]},k.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4]},k.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},k.prototype._boundValue=function(){},k.prototype._migrateCallback0=function(t){t._bitField;var e=t._fulfillmentHandler0,n=t._rejectionHandler0,r=t._promise0,t=t._receiverAt(0);this._addCallbacks(e,n,r,t=void 0===t?o:t,null)},k.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),e=t._receiverAt(e);this._addCallbacks(n,r,i,e=void 0===e?o:e,null)},k.prototype._addCallbacks=function(t,e,n,r,i){var o,s=this._length();return 65531<=s&&this._setLength(s=0),0===s?(this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=null===i?t:p.domainBind(i,t)),"function"==typeof e&&(this._rejectionHandler0=null===i?e:p.domainBind(i,e))):(this[2+(o=4*s-4)]=n,this[3+o]=r,"function"==typeof t&&(this[o]=null===i?t:p.domainBind(i,t)),"function"==typeof e&&(this[1+o]=null===i?e:p.domainBind(i,e))),this._setLength(s+1),s},k.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},k.prototype._resolveCallback=function(t,e){if(0==(117506048&this._bitField)){if(t===this)return this._rejectCallback(s(),!1);var n=m(t,this);if(!(n instanceof k))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r!==this){n=r._bitField;if(0==(50397184&n)){var i=this._length();0<i&&r._migrateCallback0(this);for(var o=1;o<i;++o)r._migrateCallbackAt(this,o);this._setFollowing(),this._setLength(0),this._setFollowee(r)}else 0!=(33554432&n)?this._fulfill(r._value()):0!=(16777216&n)?this._reject(r._reason()):(n=new _("late cancellation observer"),r._attachExtraTrace(n),this._reject(n))}else this._reject(s())}},k.prototype._rejectCallback=function(t,e,n){var r=p.ensureErrorObject(t),i=r===t;i||n||!b.warnings()||(n="a promise was rejected with a non-error: "+p.classString(t),this._warn(n,!0)),this._attachExtraTrace(r,!!e&&i),this._reject(t)},k.prototype._resolveFromExecutor=function(t){var e,n;t!==d&&((e=this)._captureStackTrace(),this._pushContext(),n=!0,t=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,n)}),n=!1,this._popContext(),void 0!==t&&e._rejectCallback(t,!0))},k.prototype._settlePromiseFromHandler=function(t,e,n,r){var i;0==(65536&r._bitField)&&(r._pushContext(),e===v?n&&"number"==typeof n.length?i=E(t).apply(this._boundValue(),n):(i=j).e=new u("cannot .spread() a non-array: "+p.classString(n)):i=E(t).call(e,n),e=r._popContext(),0==(65536&r._bitField)&&(i===y?r._reject(n):i===j?r._rejectCallback(i.e,!1):(b.checkForgottenReturns(i,e,"",r,this),r._resolveCallback(i))))},k.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},k.prototype._followee=function(){return this._rejectionHandler0},k.prototype._setFollowee=function(t){this._rejectionHandler0=t},k.prototype._settlePromise=function(t,e,n,r){var i=t instanceof k,o=this._bitField,s=0!=(134217728&o);0!=(65536&o)?(i&&t._invokeInternalOnCancel(),n instanceof w&&n.isFinallyHandler()?(n.cancelPromise=t,E(e).call(n,r)===j&&t._reject(j.e)):e===a?t._fulfill(a.call(n)):n instanceof l?n._promiseCancelled(t):i||t instanceof g?t._cancel():n.cancel()):"function"==typeof e?i?(s&&t._setAsyncGuaranteed(),this._settlePromiseFromHandler(e,n,r,t)):e.call(n,r,t):n instanceof l?n._isResolved()||(0!=(33554432&o)?n._promiseFulfilled(r,t):n._promiseRejected(r,t)):i&&(s&&t._setAsyncGuaranteed(),0!=(33554432&o)?t._fulfill(r):t._reject(r))},k.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,n=t.promise,r=t.receiver,t=t.value;"function"==typeof e?n instanceof k?this._settlePromiseFromHandler(e,r,t,n):e.call(r,t,n):n instanceof k&&n._reject(t)},k.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},k.prototype._settlePromise0=function(t,e,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,t,i,e)},k.prototype._clearCallbackDataAtIndex=function(t){t=4*t-4;this[2+t]=this[3+t]=this[t]=this[1+t]=void 0},k.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var n=s();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,0<(65535&e)&&(0!=(134217728&e)?this._settlePromises():f.settlePromises(this),this._dereferenceTrace())}},k.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return f.fatalError(t,p.isNode);0<(65535&e)?f.settlePromises(this):this._ensurePossibleRejectionHandled()}},k.prototype._fulfillPromises=function(t,e){for(var n=1;n<t;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},k.prototype._rejectPromises=function(t,e){for(var n=1;n<t;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},k.prototype._settlePromises=function(){var t,e=this._bitField,n=65535&e;0<n&&(0!=(16842752&e)?(t=this._fulfillmentHandler0,this._settlePromise0(this._rejectionHandler0,t,e),this._rejectPromises(n,t)):(t=this._rejectionHandler0,this._settlePromise0(this._fulfillmentHandler0,t,e),this._fulfillPromises(n,t)),this._setLength(0)),this._clearCancellationData()},k.prototype._settledValue=function(){var t=this._bitField;return 0!=(33554432&t)?this._rejectionHandler0:0!=(16777216&t)?this._fulfillmentHandler0:void 0},k.defer=k.pending=function(){return b.deprecated("Promise.defer","new Promise"),{promise:new k(d),resolve:i,reject:F}},p.notEnumerableProp(k,"_makeSelfResolutionError",s),x("./method")(k,d,m,c,b),x("./bind")(k,d,m,b),x("./cancel")(k,g,c,b),x("./direct_resolve")(k),x("./synchronous_inspection")(k),x("./join")(k,g,m,d,f,h),(k.Promise=k).version="3.5.3",x("./map.js")(k,g,c,m,d,b),x("./call_get.js")(k),x("./using.js")(k,c,m,n,d,b),x("./timers.js")(k,d,b),x("./generators.js")(k,c,d,m,l,b),x("./nodeify.js")(k),x("./promisify.js")(k,d),x("./props.js")(k,g,m,c),x("./race.js")(k,d,m,c),x("./reduce.js")(k,g,c,m,d,b),x("./settle.js")(k,g,b),x("./some.js")(k,g,c),x("./filter.js")(k,d),x("./each.js")(k,d),x("./any.js")(k),p.toFastProperties(k),p.toFastProperties(k.prototype),T({a:1}),T({b:2}),T({c:3}),T(1),T(function(){}),T(void 0),T(!1),T(new k(d)),b.setBounds(e.firstLineError,p.lastLineError),k}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(r,t,e){"use strict";t.exports=function(a,n,c,o,t){var s=r("./util");s.isArray;function e(t){var e=this._promise=new a(n);t instanceof a&&e._propagateFrom(t,3),e._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return s.inherits(e,t),e.prototype.length=function(){return this._length},e.prototype.promise=function(){return this._promise},e.prototype._init=function t(e,n){if((r=c(this._values,this._promise))instanceof a){var r,i=(r=r._target())._bitField;if(this._values=r,0==(50397184&i))return this._promise._setAsyncGuaranteed(),r._then(t,this._reject,void 0,this,n);if(0==(33554432&i))return 0!=(16777216&i)?this._reject(r._reason()):this._cancel();r=r._value()}null!==(r=s.asArray(r))?0!==r.length?this._iterate(r):-5===n?this._resolveEmptyArray():this._resolve(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(n)):(r=o("expecting an array or an iterable object but got "+s.classString(r)).reason(),this._promise._rejectCallback(r,!1))},e.prototype._iterate=function(t){var e=this.getActualLength(t.length);this._length=e,this._values=this.shouldCopyValues()?new Array(e):this._values;for(var n=this._promise,r=!1,i=null,o=0;o<e;++o){var s=c(t[o],n),i=s instanceof a?(s=s._target())._bitField:null;r?null!==i&&s.suppressUnhandledRejections():null!==i?0==(50397184&i)?(s._proxy(this,o),this._values[o]=s):r=0!=(33554432&i)?this._promiseFulfilled(s._value(),o):0!=(16777216&i)?this._promiseRejected(s._reason(),o):this._promiseCancelled(o):r=this._promiseFulfilled(s,o)}r||n._setAsyncGuaranteed()},e.prototype._isResolved=function(){return null===this._values},e.prototype._resolve=function(t){this._values=null,this._promise._fulfill(t)},e.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},e.prototype._reject=function(t){this._values=null,this._promise._rejectCallback(t,!1)},e.prototype._promiseFulfilled=function(t,e){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},e.prototype._promiseCancelled=function(){return this._cancel(),!0},e.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},e.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof a)t.cancel();else for(var e=0;e<t.length;++e)t[e]instanceof a&&t[e].cancel()}},e.prototype.shouldCopyValues=function(){return!0},e.prototype.getActualLength=function(t){return t},e}},{"./util":36}],24:[function(r,t,e){"use strict";t.exports=function(l,u){var f={},_=r("./util"),p=r("./nodeback"),h=_.withAppended,d=_.maybeWrapAsError,t=_.canEvaluate,v=r("./errors").TypeError,y={__isPromisified__:!0},e=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")$"),m=function(t){return _.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function i(t){return!e.test(t)}function g(t){try{return!0===t.__isPromisified__}catch(t){return!1}}function b(t,e,n,r){for(var i,o,s,a=_.inheritedDataKeys(t),c=[],l=0;l<a.length;++l){var u=a[l],p=t[u],h=r===m||m(u,p,t);"function"!=typeof p||g(p)||(i=t,o=u,s=e,(s=_.getDataPropertyOrDefault(i,o+s,y))&&g(s))||!r(u,p,t,h)||c.push(u,p)}return function(t,e,n){for(var r=0;r<t.length;r+=2){var i=t[r];if(n.test(i))for(var o=i.replace(n,""),s=0;s<t.length;s+=2)if(t[s]===o)throw new v("Cannot promisify an API that has normal methods with '%s'-suffix\n\n    See http://goo.gl/MqrFmX\n".replace("%s",e))}}(c,e,n),c}var n,w=function(t){return t.replace(/([$])/,"\\$")};var C=t?n:function(i,o,t,e,n,s){var a=function(){return this}(),c=i;function r(){var t=o;o===f&&(t=this);var e=new l(u);e._captureStackTrace();var n="string"==typeof c&&this!==a?this[c]:i,r=p(e,s);try{n.apply(t,h(arguments,r))}catch(t){e._rejectCallback(d(t),!0,!0)}return e._isFateSealed()||e._setAsyncGuaranteed(),e}return"string"==typeof c&&(i=e),_.notEnumerableProp(r,"__isPromisified__",!0),r};function j(t,e,n,r,i){for(var o=new RegExp(w(e)+"$"),s=b(t,e,o,n),a=0,c=s.length;a<c;a+=2){var l,u=s[a],p=s[a+1],h=u+e;r===C?t[h]=C(u,f,u,p,e,i):(l=r(p,function(){return C(u,f,u,p,e,i)}),_.notEnumerableProp(l,"__isPromisified__",!0),t[h]=l)}return _.toFastProperties(t),t}l.promisify=function(t,e){if("function"!=typeof t)throw new v("expecting a function but got "+_.classString(t));if(g(t))return t;var n=void 0===(e=Object(e)).context?f:e.context,r=!!e.multiArgs,r=C(e=t,n,void 0,e,null,r);return _.copyDescriptors(t,r,i),r},l.promisifyAll=function(t,e){if("function"!=typeof t&&"object"!=typeof t)throw new v("the target of promisifyAll must be an object or a function\n\n    See http://goo.gl/MqrFmX\n");var n=!!(e=Object(e)).multiArgs,r=e.suffix,i=e.filter;"function"!=typeof i&&(i=m);var o=e.promisifier;if("function"!=typeof o&&(o=C),!_.isIdentifier(r="string"!=typeof r?"Async":r))throw new RangeError("suffix must be a valid identifier\n\n    See http://goo.gl/MqrFmX\n");for(var s=_.inheritedDataKeys(t),a=0;a<s.length;++a){var c=t[s[a]];"constructor"!==s[a]&&_.isClass(c)&&(j(c.prototype,r,i,o,n),j(c,r,i,o,n))}return j(t,r,i,o,n)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(_,t,e){"use strict";t.exports=function(n,t,r,i){var a,e=_("./util"),o=e.isObject,c=_("./es5");"function"==typeof Map&&(a=Map);var s,l,u=(l=0,function(t){s=t.size,l=0;var e=new Array(2*t.size);return t.forEach(p,e),e});function p(t,e){this[l]=t,this[l+s]=e,l++}function h(t){var e=!1;if(void 0!==a&&t instanceof a)i=u(t),e=!0;else for(var n=c.keys(t),r=n.length,i=new Array(2*r),o=0;o<r;++o){var s=n[o];i[o]=t[s],i[o+r]=s}this.constructor$(i),this._isMap=e,this._init$(void 0,e?-6:-3)}function f(t){var e=r(t);return o(e)?(t=e instanceof n?e._then(n.props,void 0,void 0,void 0,void 0):new h(e).promise(),e instanceof n&&t._propagateFrom(e,2),t):i("cannot await properties of a non-object\n\n    See http://goo.gl/MqrFmX\n")}e.inherits(h,t),h.prototype._init=function(){},h.prototype._promiseFulfilled=function(t,e){if(this._values[e]=t,++this._totalResolved>=this._length){if(this._isMap)n=function(t){for(var e=new a,n=t.length/2|0,r=0;r<n;++r){var i=t[n+r],o=t[r];e.set(i,o)}return e}(this._values);else for(var n={},r=this.length(),i=0,o=this.length();i<o;++i)n[this._values[i+r]]=this._values[i];return this._resolve(n),!0}return!1},h.prototype.shouldCopyValues=function(){return!1},h.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return f(this)},n.props=f}},{"./es5":13,"./util":36}],26:[function(t,e,n){"use strict";function r(t){this._capacity=t,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(t){return this._capacity<t},r.prototype._pushOne=function(t){var e=this.length();this._checkCapacity(e+1),this[this._front+e&this._capacity-1]=t,this._length=e+1},r.prototype.push=function(t,e,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(t),this._pushOne(e),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i&o]=t,this[1+i&o]=e,this[2+i&o]=n,this._length=r},r.prototype.shift=function(){var t=this._front,e=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,e},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(t){var e=this._capacity;this._capacity=t,function(t,e,n,r,i){for(var o=0;o<i;++o)n[o+r]=t[o+e],t[o+e]=void 0}(this,0,this,e,this._front+this._length&e-1)},e.exports=r},{}],27:[function(t,e,n){"use strict";e.exports=function(l,u,p,h){var f=t("./util"),_=function(e){return e.then(function(t){return n(t,e)})};function n(t,e){var n=p(t);if(n instanceof l)return _(n);if(null===(t=f.asArray(t)))return h("expecting an array or an iterable object but got "+f.classString(t));var r=new l(u);void 0!==e&&r._propagateFrom(e,3);for(var i=r._fulfill,o=r._reject,s=0,a=t.length;s<a;++s){var c=t[s];(void 0!==c||s in t)&&l.cast(c)._then(i,o,void 0,r,null)}return r}l.race=function(t){return n(t,void 0)},l.prototype.race=function(){return n(this,void 0)}}},{"./util":36}],28:[function(_,t,e){"use strict";t.exports=function(o,t,i,e,s,a){var c=o._getDomain,l=_("./util"),u=l.tryCatch;function p(t,e,n,r){this.constructor$(t);t=c();this._fn=null===t?e:l.domainBind(t,e),void 0!==n&&(n=o.resolve(n))._attachCancellationCallback(this),this._initialValue=n,this._currentCancellable=null,this._eachValues=r===s?Array(this._length):0===r?null:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function h(t,e){this.isFulfilled()?e._resolve(t):e._reject(t)}function n(t,e,n,r){return"function"!=typeof e?i("expecting a function but got "+l.classString(e)):new p(t,e,n,r).promise()}function f(t){this.accum=t,this.array._gotAccum(t);t=e(this.value,this.array._promise);return t instanceof o?(this.array._currentCancellable=t)._then(r,void 0,void 0,this,void 0):r.call(this,t)}function r(t){var e=this.array,n=e._promise,r=u(e._fn);n._pushContext(),(r=void 0!==e._eachValues?r.call(n._boundValue(),t,this.index,this.length):r.call(n._boundValue(),this.accum,t,this.index,this.length))instanceof o&&(e._currentCancellable=r);t=n._popContext();return a.checkForgottenReturns(r,t,void 0!==e._eachValues?"Promise.each":"Promise.reduce",n),r}l.inherits(p,t),p.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==s&&this._eachValues.push(t)},p.prototype._eachComplete=function(t){return null!==this._eachValues&&this._eachValues.push(t),this._eachValues},p.prototype._init=function(){},p.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},p.prototype.shouldCopyValues=function(){return!1},p.prototype._resolve=function(t){this._promise._resolveCallback(t),this._values=null},p.prototype._resultCancelled=function(t){if(t===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof o&&this._currentCancellable.cancel(),this._initialValue instanceof o&&this._initialValue.cancel())},p.prototype._iterate=function(t){var e=(this._values=t).length,n=void 0!==this._initialValue?(i=this._initialValue,0):(i=o.resolve(t[0]),1);if(!(this._currentCancellable=i).isRejected())for(;n<e;++n)var r={accum:null,value:t[n],index:n,length:e,array:this},i=i._then(f,void 0,void 0,r,void 0);(i=void 0!==this._eachValues?i._then(this._eachComplete,void 0,void 0,this,void 0):i)._then(h,h,void 0,i,this)},o.prototype.reduce=function(t,e){return n(this,t,e,null)},o.reduce=n}},{"./util":36}],29:[function(t,e,n){"use strict";var r,i,o,s=t("./util"),t=s.getNativePromise();t=s.isNode&&"undefined"==typeof MutationObserver?(r=global.setImmediate,i=process.nextTick,s.isRecentNode?function(t){r.call(global,t)}:function(t){i.call(process,t)}):"function"==typeof t&&"function"==typeof t.resolve?(o=t.resolve(),function(t){o.then(t)}):"undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:"undefined"!=typeof setTimeout?function(t){setTimeout(t,0)}:function(){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")}:function(){var n=document.createElement("div"),r={attributes:!0},i=!1,o=document.createElement("div");new MutationObserver(function(){n.classList.toggle("foo"),i=!1}).observe(o,r);return function(t){var e=new MutationObserver(function(){e.disconnect(),t()});e.observe(n,r),i||(i=!0,o.classList.toggle("foo"))}}(),e.exports=t},{"./util":36}],30:[function(o,t,e){"use strict";t.exports=function(t,e,n){var r=t.PromiseInspection;function i(t){this.constructor$(t)}o("./util").inherits(i,e),i.prototype._promiseResolved=function(t,e){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},i.prototype._promiseFulfilled=function(t,e){var n=new r;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},i.prototype._promiseRejected=function(t,e){var n=new r;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},t.settle=function(t){return n.deprecated(".settle()",".reflect()"),new i(t).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(u,t,e){"use strict";t.exports=function(t,e,r){var n=u("./util"),i=u("./errors").RangeError,o=u("./errors").AggregateError,s=n.isArray,a={};function c(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function l(t,e){if((0|e)!==e||e<0)return r("expecting a positive integer\n\n    See http://goo.gl/MqrFmX\n");var n=new c(t),t=n.promise();return n.setHowMany(e),n.init(),t}n.inherits(c,e),c.prototype._init=function(){var t;this._initialized&&(0!==this._howMany?(this._init$(void 0,-5),t=s(this._values),!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))):this._resolve([]))},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(t){this._howMany=t},c.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},c.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(a),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new o,e=this.length();e<this._values.length;++e)this._values[e]!==a&&t.push(this._values[e]);return 0<t.length?this._reject(t):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(t){this._values.push(t)},c.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(t){t="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new i(t)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=l,t.prototype.some=function(t){return l(this,t)},t._SomePromiseArray=c}},{"./errors":12,"./util":36}],32:[function(t,e,n){"use strict";e.exports=function(t){function e(t){void 0!==t?(t=t._target(),this._bitField=t._bitField,this._settledValueField=t._isFateSealed()?t._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},i=e.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},s=e.prototype.isPending=function(){return 0==(50397184&this._bitField)},a=e.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},t.prototype.isPending=function(){return s.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),r.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},{}],33:[function(t,e,n){"use strict";e.exports=function(s,a){var c=t("./util"),l=c.errorObj,i=c.isObject;var o={}.hasOwnProperty;return function(t,e){if(i(t)){if(t instanceof s)return t;var n=function(t){try{return t.then}catch(t){return l.e=t,l}}(t);if(n===l){e&&e._pushContext();var r=s.reject(n.e);return e&&e._popContext(),r}if("function"==typeof n){if(function(t){try{return o.call(t,"_promise0")}catch(t){return!1}}(t)){r=new s(a);return t._then(r._fulfill,r._reject,void 0,r,null),r}return function(t,e,n){var r=new s(a),i=r;n&&n._pushContext();r._captureStackTrace(),n&&n._popContext();var o=!0,t=c.tryCatch(e).call(t,function(t){r&&(r._resolveCallback(t),r=null)},function(t){r&&(r._rejectCallback(t,o,!0),r=null)});o=!1,r&&t===l&&(r._rejectCallback(t.e,!0,!0),r=null);return i}(t,n,e)}}return t}}},{"./util":36}],34:[function(t,e,n){"use strict";e.exports=function(r,i,o){var s=t("./util"),a=r.TimeoutError;function c(t){this.handle=t}c.prototype._resultCancelled=function(){clearTimeout(this.handle)};function l(t){return e(+this).thenReturn(t)}var e=r.delay=function(t,e){var n;return void 0!==e?(n=r.resolve(e)._then(l,null,null,t,void 0),o.cancellation()&&e instanceof r&&n._setOnCancel(e)):(n=new r(i),t=setTimeout(function(){n._fulfill()},+t),o.cancellation()&&n._setOnCancel(new c(t)),n._captureStackTrace()),n._setAsyncGuaranteed(),n};r.prototype.delay=function(t){return e(t,this)};function u(t){return clearTimeout(this.handle),t}function p(t){throw clearTimeout(this.handle),t}r.prototype.timeout=function(t,e){var n,r;t=+t;t=new c(setTimeout(function(){n.isPending()&&function(t,e,n){e="string"!=typeof e?e instanceof Error?e:new a("operation timed out"):new a(e);s.markAsOriginatingFromRejection(e),t._attachExtraTrace(e),t._reject(e),null!=n&&n.cancel()}(n,e,r)},t));return o.cancellation()?(r=this.then(),(n=r._then(u,p,void 0,t,void 0))._setOnCancel(t)):n=this._then(u,p,void 0,t,void 0),n}}},{"./util":36}],35:[function(s,t,e){"use strict";t.exports=function(p,h,f,e,t,_){var d=s("./util"),n=s("./errors").TypeError,r=s("./util").inherits,v=d.errorObj,y=d.tryCatch,i={};function c(t){setTimeout(function(){throw t},0)}function m(r,i){var o=0,s=r.length,a=new p(t);return function t(){if(s<=o)return a._fulfill();var e,n=(e=r[o++],(n=f(e))!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&n._setDisposable(e._getDisposer()),n);if(n instanceof p&&n._isDisposable()){try{n=f(n._getDisposer().tryDispose(i),r.promise)}catch(t){return c(t)}if(n instanceof p)return n._then(t,c,null,null,null)}t()}(),a}function g(t,e,n){this._data=t,this._promise=e,this._context=n}function o(t,e,n){this.constructor$(t,e,n)}function b(t){return g.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function w(t){this.length=t,this.promise=null,this[t-1]=null}g.prototype.data=function(){return this._data},g.prototype.promise=function(){return this._promise},g.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():i},g.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();t=e!==i?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,t},g.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},r(o,g),o.prototype.doDispose=function(t,e){return this.data().call(t,t,e)},w.prototype._resultCancelled=function(){for(var t=this.length,e=0;e<t;++e){var n=this[e];n instanceof p&&n.cancel()}},p.using=function(){var t=arguments.length;if(t<2)return h("you must pass at least 2 arguments to Promise.using");var e,o=arguments[t-1];if("function"!=typeof o)return h("expecting a function but got "+d.classString(o));var s=!0;2===t&&Array.isArray(arguments[0])?(t=(e=arguments[0]).length,s=!1):(e=arguments,t--);for(var n=new w(t),r=0;r<t;++r){var i,a=e[r];g.isDisposer(a)?(a=(i=a).promise())._setDisposable(i):(i=f(a))instanceof p&&(a=i._then(b,null,null,{resources:n,index:r},void 0)),n[r]=a}for(var c=new Array(n.length),r=0;r<c.length;++r)c[r]=p.resolve(n[r]).reflect();var l=p.all(c).then(function(t){for(var e=0;e<t.length;++e){var n=t[e];if(n.isRejected())return v.e=n.error(),v;if(!n.isFulfilled())return void l.cancel();t[e]=n.value()}u._pushContext(),o=y(o);var r=s?o.apply(void 0,t):o(t),i=u._popContext();return _.checkForgottenReturns(r,i,"Promise.using",u),r}),u=l.lastly(function(){var t=new p.PromiseInspection(l);return m(n,t)});return(n.promise=u)._setOnCancel(n),u},p.prototype._setDisposable=function(t){this._bitField=131072|this._bitField,this._disposer=t},p.prototype._isDisposable=function(){return 0<(131072&this._bitField)},p.prototype._getDisposer=function(){return this._disposer},p.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},p.prototype.disposer=function(t){if("function"==typeof t)return new o(t,this,e());throw new n}}},{"./errors":12,"./util":36}],36:[function(t,e,n){"use strict";var l=t("./es5"),r="undefined"==typeof navigator,i={e:{}},o,s="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function a(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return i.e=t,i}}function c(t){return o=t,a}var u=function(e,n){var r={}.hasOwnProperty;function t(){for(var t in this.constructor=e,(this.constructor$=n).prototype)r.call(n.prototype,t)&&"$"!==t.charAt(t.length-1)&&(this[t+"$"]=n.prototype[t])}return t.prototype=n.prototype,e.prototype=new t,e.prototype};function p(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function h(t){return"function"==typeof t||"object"==typeof t&&null!==t}function f(t){return p(t)?new Error(k(t)):t}function _(t,e){for(var n=t.length,r=new Array(n+1),i=0;i<n;++i)r[i]=t[i];return r[i]=e,r}function d(t,e,n){if(!l.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;e=Object.getOwnPropertyDescriptor(t,e);return null!=e?null==e.get&&null==e.set?e.value:n:void 0}function v(t,e,n){return p(t)||l.defineProperty(t,e,{value:n,configurable:!0,enumerable:!1,writable:!0}),t}function y(t){throw t}var m=function(){function a(t){for(var e=0;e<i.length;++e)if(i[e]===t)return 1}var i=[Array.prototype,Object.prototype,Function.prototype];if(l.isES5){var c=Object.getOwnPropertyNames;return function(t){for(var e,n=[],r=Object.create(null);null!=t&&!a(t);){try{e=c(t)}catch(t){return n}for(var i=0;i<e.length;++i){var o,s=e[i];r[s]||(r[s]=!0,null!=(o=Object.getOwnPropertyDescriptor(t,s))&&null==o.get&&null==o.set&&n.push(s))}t=l.getPrototypeOf(t)}return n}}var o={}.hasOwnProperty;return function(t){if(a(t))return[];var e=[];t:for(var n in t)if(o.call(t,n))e.push(n);else{for(var r=0;r<i.length;++r)if(o.call(i[r],n))continue t;e.push(n)}return e}}(),g=/this\s*\.\s*\S+\s*=/;function b(t){try{if("function"==typeof t){var e=l.names(t.prototype),n=l.isES5&&1<e.length,r=0<e.length&&!(1===e.length&&"constructor"===e[0]),i=g.test(t+"")&&0<l.names(t).length;if(n||r||i)return!0}return!1}catch(t){return!1}}function w(t){function e(){}e.prototype=t;var n=new e;function r(){return n.foo,1}return r(),r(),t}var C=/^[a-z$_][a-z$_0-9]*$/i;function j(t){return C.test(t)}function E(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=e+i+n;return r}function k(t){try{return t+""}catch(t){return"[no string representation]"}}function F(t){return t instanceof Error||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function T(t){try{v(t,"isOperational",!0)}catch(t){}}function x(t){return null!=t&&(t instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===t.isOperational)}function P(t){return F(t)&&l.propertyIsWritable(t,"stack")}var R="stack"in new Error?function(t){return P(t)?t:new Error(k(t))}:function(t){if(P(t))return t;try{throw new Error(k(t))}catch(t){return t}};function S(t){return{}.toString.call(t)}function O(t,e,n){for(var r=l.names(t),i=0;i<r.length;++i){var o=r[i];if(n(o))try{l.defineProperty(e,o,l.getDescriptor(t,o))}catch(t){}}}var A=function(t){return l.isArray(t)?t:null},D,A;"undefined"!=typeof Symbol&&Symbol.iterator&&(D="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,n=[],r=t[Symbol.iterator]();!(e=r.next()).done;)n.push(e.value);return n},A=function(t){return l.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?D(t):null});var V="undefined"!=typeof process&&"[object process]"===S(process).toLowerCase(),I="undefined"!=typeof process&&void 0!==process.env;function L(t){return I?process.env[t]:void 0}function H(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}}function N(t,e){return t.bind(e)}var U={isClass:b,isIdentifier:j,inheritedDataKeys:m,getDataPropertyOrDefault:d,thrower:y,isArray:l.isArray,asArray:A,notEnumerableProp:v,isPrimitive:p,isObject:h,isError:F,canEvaluate:r,errorObj:i,tryCatch:c,inherits:u,withAppended:_,maybeWrapAsError:f,toFastProperties:w,filledRange:E,toString:k,canAttachTrace:P,ensureErrorObject:R,originatesFromRejection:x,markAsOriginatingFromRejection:T,classString:S,copyDescriptors:O,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:V,hasEnvVariables:I,env:L,global:s,getNativePromise:H,domainBind:N},B;U.isRecentNode=U.isNode&&(B=process.versions.node.split(".").map(Number),0===B[0]&&10<B[1]||0<B[0]),U.isNode&&U.toFastProperties(process);try{throw new Error}catch(t){U.lastLineError=t}e.exports=U},{"./es5":13}]},{},[4])(4)}),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise);

https://t.me/AnonymousX5 - 2025