企微助手 ,仓库名 短剧

3.099f0cc6b9134310e91c.js 74KB

1
  1. webpackJsonp([3],{"+HRN":function(e,t,n){"use strict";var r=n("X3l8").Buffer,i=n(2);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,a=r.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=a,i=s,t.copy(n,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},1:function(e,t){},2:function(e,t){},"3MJz":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAAAXNSR0IArs4c6QAAAxJJREFUSA3NVttLFFEc/s7MrrdIe9Ew7YJQFPWQ4EOh5koKQQ/1olEQBEL1F1SQeXkrhJ7qNegpsXowQwnJKFYUIcLULhShkIQKYt5aV3dO35lxdmd2Z2fTp85yZn7n+33n953L78xZIduQBSCAIAqwjibaB1j9yiqdwkWQWGCUp+I2Prpwj4aQHdhBoRyskSyxx4OTgAQ2yAkkAJe1Dg2nRBuGXWhSQ8N+RBDFxYxiqqPA56T+zmaQMa7JLujyPnKdDqetiUbECJQ6QU9bwGDAoKfPBiV2YxyXuMC/ZQsGuF11tst+a6ZhYImjn7fBNO8RCh5O43PCKifUwGo5xF6KVjidlqBAPsFVio47naYtOF5gkGInUnyZAbXMDU5aIgGkuayl3PhpkmZYY7TzsbcmggudQeQV/UJkcQYDzSsYeVjpDOJrC/xx+hOCNmqghKaqQNmZUVzuO0ZLN9u5u4px9gFQsO8t+m/WmFjmx7Bsxzk1AWbwS2tJ03Vq7FTnzRJzcqpulEPTVbL5F5VoORjis5m1h8Kt/oLZBQfTRMxH4ZGpNL4ELDHGQyf5KzdBA1f9BWPR2URvl2VgYarQhXg1NISZiNV0WavEc+wvOPp40isOZieGsLa009PnBsNcylAcEujwF+y5Xo1vfe/YwYh3mv8+hEdVKpH+pYRJCm0SB0UrXqVmqTOMYWgIZEv03wqbSRKLajh+JYDIQubZCUwy1GJ8/3TcUaH9Z6gYpSeLUX+3AoFcgfp7h1B0tJJB3LeF4qUWNbsqVp3sAc7ujaL4z1Axxp5M40v3Mr6+CNH+gdr210RPK5dvkWbChEyOzmOxWTILdjfV2mTMfSpDV0NZvO1nBCi4wftVoFe08CxulsyCNnMrb3URZOEnP47lXFDXNzjzHm5FyOZKfuwjUHvdw9m9t2H1tgSFeSc68e3a1vFRB17ywGtoSQ5kLamBiWTHttoarzeDO6fjOadQwo91ynVnprf6W0DJZxzV+W0JWZ0+cEZ1NJcpFE0Xx3WeeDvnkahu7K2WDbRiRQgO+X8rfwF0cM5+TpQzPQAAAABJRU5ErkJggg=="},"7dSG":function(e,t,n){"use strict";(function(t,r){var i=n("ypnx");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;y.WritableState=m;var l=Object.create(n("jOgh"));l.inherits=n("LC74");var h={deprecate:n("iP15")},u=n("UcPO"),c=n("X3l8").Buffer,f=r.Uint8Array||function(){};var d,p=n("x0Ha");function g(){}function m(e,t){o=o||n("DsFX"),e=e||{};var r=t instanceof o;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var l=e.highWaterMark,h=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=l||0===l?l:r&&(h||0===h)?h:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===e.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,a=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,a){--t.pendingcb,n?(i.nextTick(a,r),i.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(a(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,a);else{var o=w(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?s(b,e,n,o,a):b(e,n,o,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(o=o||n("DsFX"),!(d.call(y,this)||this instanceof o))return new y(e);this._writableState=new m(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function v(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function b(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var h=n.chunk,u=n.encoding,c=n.callback;if(v(e,t,!1,t.objectMode?1:h.length,h,u,c),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)})}function S(e,t){var n=w(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(y,u),m.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(m.prototype,"buffer",{get:h.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===y&&(e&&e._writableState instanceof m)}})):d=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,a=this._writableState,o=!1,s=!a.objectMode&&(r=e,c.isBuffer(r)||r instanceof f);return s&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof n&&(n=g),a.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var a=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(r,o),a=!1),a}(this,a,e,n))&&(a.pendingcb++,o=function(e,t,n,r,i,a){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,n));return t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var h=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},h?h.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else v(e,t,!1,s,r,i,a);return l}(this,a,s,e,t,n)),o},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||_(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=p.destroy,y.prototype._undestroy=p.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n("W2nU"),n("DuR2"))},D1Va:function(e,t,n){"use strict";e.exports=a;var r=n("DsFX"),i=Object.create(n("jOgh"));function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:function(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",o)}function o(){var e=this;"function"==typeof this._flush?this._flush(function(t,n){s(e,t,n)}):s(this,null,null)}function s(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n("LC74"),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},DsFX:function(e,t,n){"use strict";var r=n("ypnx"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var a=Object.create(n("jOgh"));a.inherits=n("LC74");var o=n("Rt1F"),s=n("7dSG");a.inherits(c,o);for(var l=i(s.prototype),h=0;h<l.length;h++){var u=l[h];c.prototype[u]||(c.prototype[u]=s.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),c.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},K3Fi:function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},LC74:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},NYdC:function(e,t){},OFL7:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAaCAYAAACzdqxAAAAAAXNSR0IArs4c6QAAAmBJREFUSA21lc1rE0EYxp9JYq0RDZHiSbCnigYFb3UjiqhEsRUEvfoB4kVPHvwfPGi96qkUPFtQ0dYeFG0qUhVUPPRgC0Y8FExtCMYku6/PbJkwmWwoZukL4Z3367eTJ5sZYINMRXHfnpZd4mN/fxpzByfVSlTPpzOSrTYwrJL4PPxMldyelJvQcbOOj3QD1QqasyfkeQK4c2hGvdS1NwU5pnzcXK3hFMMUAizT79Q12yLBSmFZBANsTNGP+MDI7HFZ0oPSxKDohTEJwSZqeW6m0ySJ68w27QphGjho58KeFG44uTCM1FhXKMEVgm5HDZkcv9mt/As1bmLbR0qhG7wsJoq/UUn42GoPmHWQRNXL4JGJXd8VPF/GbjY/pL597pCOVYA6e/Zy+S2q3hWczqJUX8EoFH/5CEsqNNIZlCJKYSpSY/2OVmqYpMZHug3qPDV+tW0zzh14qspuX8dbsXhZ+gl9sh5Ug/gqHl39i8d6Zl3wj++4R6jnNnaNBfmfJYy59TYp5k5KPgjwmuC2vDvkxmwW/rUPe9OqaGotKeavySY/wP3/hWqQngl8PNCMDnBtEZeYzJlCDz5XX8JFM9faMR971SR79ZSxxQi1fFeQXL2JL70C7blUH3I8Rr+GO274OG8X46z9Bi7o+RBM8ffFgdmzhrWmsWCPXYyzprZDen4NrLA9Dsye5Y4zLTCfsmAX46wNK9wxgzF++LB4FjIU7mpKCPZm1BSTZ/n50DNa4T0PglHeKNOaQVa7FQuyg7fGkCSQ5Q28xVRF8TwQpz+BPzzwy7xNFrwp9cv0bqj/BzFstMetjhi1AAAAAElFTkSuQmCC"},Rt1F:function(e,t,n){"use strict";(function(t,r){var i=n("ypnx");e.exports=b;var a,o=n("sOR5");b.ReadableState=v;n("vzCy").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=n("UcPO"),h=n("X3l8").Buffer,u=t.Uint8Array||function(){};var c=Object.create(n("jOgh"));c.inherits=n("LC74");var f=n(1),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var p,g=n("+HRN"),m=n("x0Ha");c.inherits(b,l);var y=["error","close","destroy","pause","resume"];function v(e,t){a=a||n("DsFX"),e=e||{};var r=t instanceof a;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n("X4X3").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(a=a||n("DsFX"),!(this instanceof b))return new b(e);this._readableState=new v(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function _(e,t,n,r,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,A(e)}(e,o)):(i||(a=function(e,t){var n;r=t,h.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===h.prototype||(t=function(e){return h.from(e)}(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?w(e,o,t,!1):R(e,o)):w(e,o,t,!1))):r||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function w(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&A(e)),R(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=h.from(e,t),t=""),n=!0),_(this,e,t,!1,n)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=n("X4X3").StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};var x=8388608;function S(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(C,e):C(e))}function C(e){d("emit readable"),e.emit("readable"),L(e)}function R(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(E,e,t))}function E(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function O(e){d("readable nexttick read 0"),e.read(0)}function k(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=h.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),0===(e-=o)){o===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function U(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(N,t,e))}function N(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function q(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}b.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",i=!0),t.ended||t.reading?d("reading or ended",i=!1):i&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=S(n,t))),null===(r=e>0?T(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,t);var l=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function h(t,r){d("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,d("cleanup"),e.removeListener("close",y),e.removeListener("finish",v),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",h),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",g),f=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){d("onend"),e.end()}a.endEmitted?i.nextTick(l):n.once("end",l),e.on("unpipe",h);var c=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",c);var f=!1;var p=!1;function g(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==q(a.pipes,e))&&!f&&(d("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(t){d("onerror",t),b(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",v),b()}function v(){d("onfinish"),e.removeListener("close",y),b()}function b(){d("unpipe"),n.unpipe(e)}return n.on("data",g),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",y),e.once("finish",v),e.emit("pipe",n),a.flowing||(d("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,n);return this}var o=q(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},b.prototype.on=function(e,t){var n=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&A(this):i.nextTick(O,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(k,e,t))}(this,e)),this},b.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(d("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(d("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause())))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<y.length;a++)e.on(y[a],this.emit.bind(this,y[a]));return this._read=function(t){d("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=T}).call(t,n("DuR2"),n("W2nU"))},SZsn:function(e,t){},UZ5h:function(e,t,n){"use strict";var r=n("xCWu"),i=n("qOJP");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(h),c=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n("1nuA");function b(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",h=e.split(s);h[0]=h[0].replace(/\\/g,"/");var b=e=h.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var _=l.exec(b);if(_)return this.path=b,this.href=b,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=o.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&m[w]||(b=b.substr(2),this.slashes=!0)}if(!m[w]&&(S||w&&!y[w])){for(var A,C,R=-1,E=0;E<f.length;E++){-1!==(O=b.indexOf(f[E]))&&(-1===R||O<R)&&(R=O)}-1!==(C=-1===R?b.lastIndexOf("@"):b.lastIndexOf("@",R))&&(A=b.slice(0,C),b=b.slice(C+1),this.auth=decodeURIComponent(A)),R=-1;for(E=0;E<c.length;E++){var O;-1!==(O=b.indexOf(c[E]))&&(-1===R||O<R)&&(R=O)}-1===R&&(R=b.length),this.host=b.slice(0,R),b=b.slice(R),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var L=this.hostname.split(/\./),T=(E=0,L.length);E<T;E++){var U=L[E];if(U&&!U.match(d)){for(var N="",q=0,j=U.length;q<j;q++)U.charCodeAt(q)>127?N+="x":N+=U[q];if(!N.match(d)){var F=L.slice(0,E),M=L.slice(E+1),D=U.match(p);D&&(F.push(D[1]),M.unshift(D[2])),M.length&&(b="/"+M.join(".")+b),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=r.toASCII(this.hostname));var I=this.port?":"+this.port:"",P=this.hostname||"";this.host=P+I,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[x])for(E=0,T=u.length;E<T;E++){var B=u[E];if(-1!==b.indexOf(B)){var H=encodeURIComponent(B);H===B&&(H=escape(B)),b=b.split(B).join(H)}}var W=b.indexOf("#");-1!==W&&(this.hash=b.substr(W),b=b.slice(0,W));var J=b.indexOf("?");if(-1!==J?(this.search=b.substr(J),this.query=b.substr(J+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,J)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){I=this.pathname||"";var z=this.search||"";this.path=I+z}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var s=r[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),h=0;h<l.length;h++){var u=l[h];"protocol"!==u&&(n[u]=e[u])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var c=Object.keys(e),f=0;f<c.length;f++){var d=c[f];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||n.host&&e.pathname,x=w,S=n.pathname&&n.pathname.split("/")||[],A=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===S[0]?S[0]=n.host:S.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===S[0])),_)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,S=p;else if(p.length)S||(S=[]),S.pop(),S=S.concat(p),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(A)n.hostname=n.host=S.shift(),(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=S.slice(-1)[0],R=(n.host||e.host||S.length>1)&&("."===C||".."===C)||""===C,E=0,O=S.length;O>=0;O--)"."===(C=S[O])?S.splice(O,1):".."===C?(S.splice(O,1),E++):E&&(S.splice(O,1),E--);if(!w&&!x)for(;E--;E)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),R&&"/"!==S.join("/").substr(-1)&&S.push("");var k,L=""===S[0]||S[0]&&"/"===S[0].charAt(0);A&&(n.hostname=n.host=L?"":S.length?S.shift():"",(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift()));return(w=w||n.host&&S.length)&&!L&&S.unshift(""),S.length?n.pathname=S.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},UcPO:function(e,t,n){e.exports=n("vzCy").EventEmitter},WyOS:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAAAXNSR0IArs4c6QAAAvtJREFUSA2tVUtLlFEYfs43o6klpCY5WqFkREoGZRCBBt66LDLqB7SQFm2CNu0KokW7Nv2GlkUQGGmpmFpCCUY3kIxu4iUd00kdR+f0nPOdMzPfN1+6qHc4c97zPs/7nOu8A/yDyV5Uyy6My2fYa2XC1vH3JIexhsuMN7Hls71EIe6IY1hIcROooF8FiXr2n1Q8UFD2I4IVPCJ+RJGMnaRUh+zBOdGE1zrmoBRJ7c1ZkmMd22uxOHo5zhSz8C6uult246CUEBS7yu9Fyg5ZgkeQ51GOOPq4hf2aIPCLCTfZrnA8aJJ+sD+Ap3rS4/RviUP4bTBSjWkxocX26ZDAMtFm0YIXcgjFWOLBJ9HImBI5Y9KuiVbcNb7u9BnylipI7uXKXDGX0aXF1OXE8JWhrSYxRt49CvdzfJ65g6IZIwaD0GLrXBlQbYOmfyza3JVw9WfhoIjxCbY6CrazNRheFCG0WFFB8hMCbQZMdwIJEht4o8MqyGe0g5E+urVq7DHBicpRJWqxqgTjBHM9BDsQfDxqe8Ast3iBfuoBW0qqD6GSq/yizjBYTDEl8vjdoVz6G9u6q+N5NhtnbII63APtvwt6f3oidxWhgpVN1uLCawvbgGR6QQl3ha6gwAxySr6jcXoLhLOdGRG21KMPnCA++Qb9kboUZrYcZtp7HngNVmdLEX0+hryyOOJTbzF1fxJFRx3IcCiVlOnMPFTvMsvUs/n7/Ql8JrrErOy355cSqOHP8EP6DPwENZasdcBu7mI8CA6KeS9lZ/s3FJ9eziKG8mKYHxzG/FAEsXd7svCMgFew7kExX5ItAhk0upGLY1iPJdBT6I37Rl7BVycWUdI64eO4w5XJOcx2VgZiGUF1y5If94lEB8qgWpCpYiFNwQ/Ck0Rp6lLGgvCsmEQOp03/QfkJ+azuNCXY6cc2GKtiEWTTKMBPBTisx9fZfwxi+WIT3FT2jaijAC6Jet27ZydHWd6ncIOjU0wKrnkCA8QOZ0wyT/4Ii/BtFuFRG/8DX6rTDTTj8JEAAAAASUVORK5CYII="},X3l8:function(e,t,n){var r=n("EuP9"),i=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=o),a(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},X4X3:function(e,t,n){"use strict";var r=n("X3l8").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=h,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=c,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function h(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},ZqVu:function(e,t,n){(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var n;function r(){if(void 0!==n)return n;if(e.XMLHttpRequest){n=new e.XMLHttpRequest;try{n.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var a=void 0!==e.ArrayBuffer,o=a&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"==typeof e}t.arraybuffer=t.fetch||a&&i("arraybuffer"),t.msstream=!t.fetch&&o&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&a&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&s(r().overrideMimeType),t.vbArray=s(e.VBArray),n=null}).call(t,n("DuR2"))},cSWu:function(e,t,n){(t=e.exports=n("Rt1F")).Stream=t,t.Readable=t,t.Writable=n("7dSG"),t.Duplex=n("DsFX"),t.Transform=n("D1Va"),t.PassThrough=n("f48b")},dhnS:function(e,t,n){var r=n("EuP9").Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},f48b:function(e,t,n){"use strict";e.exports=a;var r=n("D1Va"),i=Object.create(n("jOgh"));function a(e){if(!(this instanceof a))return new a(e);r.call(this,e)}i.inherits=n("LC74"),i.inherits(a,r),a.prototype._transform=function(e,t,n){n(null,e)}},iP15:function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(t,n("DuR2"))},ifDC:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAAXNSR0IArs4c6QAAAwdJREFUSA2tVktIVFEY/v47DuMopcJQRiSZ9H6BEAQWtlCiZUGRFdFO2tRKpJeO1qJNEG2iNhEtKqkkWpQYVBQUWISLIkmyFhbmg8ZmMnX09J0793TvNJeLIx0487++///OOfc8RuBpqgMhvMdBzOIQ3evYS9m/QtAHhVuw0Clx/NIpKo6FFPuJ3UO5mJgKynHi3rLKdWnFfdp/mxiNiRVMukN7i/HlSCGJwkv6C9i3skcczDPKWkc3ohuFaJCTGNUOm4gkMZK8ol1lUHnKPuJX++T0YgFqpAkpyw4qnKKcH4lwiIJKHxLt2owUmrQi6hyWYQofqZtl0P582neCFwUkpFh5pYU0jhM0XxJdv4QzSgcQFXMixyxOfEcAKDdUvqkPlbUDnkCEG+SLx/ZT6yyOJr9v0/g6iiNPKxAu9hbs9xo5ukKV3gxFOYEghxREGQ4hrIXThB9dkDSmjyyyOO1hn0B+LoVy53z55wm+FXAkAwQt9UfQW1iSQGzNkBufSULJOJZUK0wmZm3/j89lSA7Vs9Zj1qpzsY7Gb6iJuhjclhM0jubhUVjhVcakHGFP43BXuceXwNnINNJTmuQ5+wp2d/AWHumr5B57O7t9S1Bmtw8PfmJ5rburoqWfeNOF8Ht8EkplsGP9SZKsdxK3U6ZY7QUnME29jF/0rl1ctdhkux1gsIjPjkAkhvMxYMK+xoLxFm7yIj6gd52+Is/wd9LW/+9PirXtK8gmkha8Y/0Tc+Rw1ssRwUmtchqDGpKZkdbacJHr2qHVwNb/sBeDPb2YGAuEsdZVaccFA8raAOoKwuTXD9YuA5in7MQG7JV9mDH57ozokUbuEosvpoXbBpC31LkxPngeEl0ja0amKHetIM4tn3mnfDEG65F69M3e5fLE/IkMQLWhnpO/Rts9fCaYLYd4Vhr4P+FJttu1spbOdWc0JnYjio1cyhv/xmxbv64WLhOzNohEY+e6LFDtqOHsLnE5qx3SHp6Rozwabxw7UMyZSFdRcY5fsNOuqNDFE5+5VAMpMsE/qx2+qWJew3EAAAAASUVORK5CYII="},jOgh:function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(t,n("EuP9").Buffer)},mbU0:function(e,t,n){(function(e,r,i){var a=n("ZqVu"),o=n("LC74"),s=n("cSWu"),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},h=t.IncomingMessage=function(t,n,o,l){var h=this;if(s.Readable.call(h),h._mode=o,h.headers={},h.rawHeaders=[],h.trailers={},h.rawTrailers=[],h.on("end",function(){e.nextTick(function(){h.emit("close")})}),"fetch"===o){if(h._fetchResponse=n,h.url=n.url,h.statusCode=n.status,h.statusMessage=n.statusText,n.headers.forEach(function(e,t){h.headers[t.toLowerCase()]=e,h.rawHeaders.push(t,e)}),a.writableStream){var u=new WritableStream({write:function(e){return new Promise(function(t,n){h._destroyed?n():h.push(new r(e))?t():h._resumeFetch=t})},close:function(){i.clearTimeout(l),h._destroyed||h.push(null)},abort:function(e){h._destroyed||h.emit("error",e)}});try{return void n.body.pipeTo(u).catch(function(e){i.clearTimeout(l),h._destroyed||h.emit("error",e)})}catch(e){}}var c=n.body.getReader();!function e(){c.read().then(function(t){if(!h._destroyed){if(t.done)return i.clearTimeout(l),void h.push(null);h.push(new r(t.value)),e()}}).catch(function(e){i.clearTimeout(l),h._destroyed||h.emit("error",e)})}()}else{if(h._xhr=t,h._pos=0,h.url=t.responseURL,h.statusCode=t.status,h.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===h.headers[n]&&(h.headers[n]=[]),h.headers[n].push(t[2])):void 0!==h.headers[n]?h.headers[n]+=", "+t[2]:h.headers[n]=t[2],h.rawHeaders.push(t[1],t[2])}}),h._charset="x-user-defined",!a.overrideMimeType){var f=h.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(h._charset=d[1].toLowerCase())}h._charset||(h._charset="utf-8")}}};o(h,s.Readable),h.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},h.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==l.DONE)break;try{n=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var a=n.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new r(a.length),s=0;s<a.length;s++)o[s]=255&a.charCodeAt(s);e.push(o)}else e.push(a,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==l.DONE||!t.response)break;n=t.response,e.push(new r(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==l.LOADING||!n)break;e.push(new r(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==l.LOADING)break;var h=new i.MSStreamReader;h.onprogress=function(){h.result.byteLength>e._pos&&(e.push(new r(new Uint8Array(h.result.slice(e._pos)))),e._pos=h.result.byteLength)},h.onload=function(){e.push(null)},h.readAsArrayBuffer(n)}e._xhr.readyState===l.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(t,n("W2nU"),n("EuP9").Buffer,n("DuR2"))},nFqq:function(e,t,n){(function(e){var r=n("rzLl"),i=n("mbU0"),a=n("q+vg"),o=n("K3Fi"),s=n("UZ5h"),l=t;l.request=function(t,n){t="string"==typeof t?s.parse(t):a(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||i,l=t.hostname||t.host,h=t.port,u=t.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),t.url=(l?o+"//"+l:"")+(h?":"+h:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var c=new r(t);return n&&c.on("response",n),c},l.get=function(e,t){var n=l.request(e,t);return n.end(),n},l.ClientRequest=r,l.IncomingMessage=i.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=o,l.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(t,n("DuR2"))},"q+vg":function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},qOJP:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},rzLl:function(e,t,n){(function(t,r,i){var a=n("ZqVu"),o=n("LC74"),s=n("mbU0"),l=n("cSWu"),h=n("dhnS"),u=s.IncomingMessage,c=s.readyStates;var f=e.exports=function(e){var n,r=this;l.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)i=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=function(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}(n,i),r._fetchTimer=null,r.on("finish",function(){r._onFinish()})};o(f,l.Writable),f.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===d.indexOf(n)&&(this._headers[n]={name:e,value:t})},f.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},f.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},f.prototype._onFinish=function(){var e=this;if(!e._destroyed){var n=e._opts,o=e._headers,s=null;"GET"!==n.method&&"HEAD"!==n.method&&(s=a.arraybuffer?h(t.concat(e._body)):a.blobConstructor?new r.Blob(e._body.map(function(e){return h(e)}),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var l=[];if(Object.keys(o).forEach(function(e){var t=o[e].name,n=o[e].value;Array.isArray(n)?n.forEach(function(e){l.push([t,e])}):l.push([t,n])}),"fetch"===e._mode){var u=null;if(a.abortController){var f=new AbortController;u=f.signal,e._fetchAbortController=f,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:l,body:s||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:u}).then(function(t){e._fetchResponse=t,e._connect()},function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var d=e._xhr=new r.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(d.timeout=n.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),l.forEach(function(e){d.setRequestHeader(e[0],e[1])}),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case c.LOADING:case c.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(s)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}}}},f.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},f.prototype._connect=function(){var e=this;e._destroyed||(e._response=new u(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},f.prototype._write=function(e,t,n){this._body.push(e),n()},f.prototype.abort=f.prototype.destroy=function(){this._destroyed=!0,r.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},f.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),l.Writable.prototype.end.call(this,e,t,n)},f.prototype.flushHeaders=function(){},f.prototype.setTimeout=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(t,n("EuP9").Buffer,n("DuR2"),n("W2nU"))},vTpq:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAArlJREFUSA3FVUtoU0EUPZNPWwVrrbYrV1IKWqMoRQ1IRWyFgrVBi+LCgqAbBRduRXShSzfuBKEbNeCHghvFqqvGhir+aFXqh25UtBSL1BDT9I1nJsnzvTfvkRQSHBjm3nM/Z2bufIAlNPkIp+RDfJYjmKZ8egmhEJU6M/kBSNx1+UfRK3bjgQsLUEIBuAuWUk/oggtUSh6DBhYAVESEJ0hwNTGfHGu5hft8cAOqjMjCOSNSARIL7Od9bR6wLBGLv5/JtnjilDrLDd1KWyfrd9DH7oICiVRduC3dTHbCFaEUge/sX0jSVLQNcUJH5AfUG75FQJ86mUYj5tFHrJ3BbboLLRcShfCG2AztYfZFvRILq4o5/g2Cx0NimvaPBFWfIvUd0YVvgjPZReAeeyN7LVqO00sI7u9rzmJTLRgcOSdUjVodQK3EphD380atstt5w7gm5HMsx0/WSGKPbaiuMIxmHA6JTmQQ0bf7fnXz62y3EcUhcizYj6qcRB2+4hZX1u9LGG2eg5VpwGK2QdvDy7IIr8gi96N0l9xhAjd5CweF4HVgsy+s6ECOKxtgzcbcEUVt2/h7xJJp2xZLjmP7sylbdwspkhwtkSiTTaQUPvnqwl1UstF+jWXR0t+B1sRLjq+wpm895lIZw08BYVwmieW0RZyKliN8w/IGCkwej2Nl/AU2D8e1NfMpjbfHdvh4qsd23oubRHms8zpp3fpTj9G2OOpaZtVjx9r4kxSC2zmMOPOYRAIbOKPglptZHWwsWizz73LVSLtJdJRNVN7B+CRNIlEVoo3euZhbJ/lSBLXC0U+yRDmeKfXZ9QS4Gv+SSQSouzLgSTBB/azo0d9JyXRVPkYXCS+xpjtLYHFMeXR1fNxNPuXL9BtDDO6m5R09rlC67r0XzigS9pLwDDH15Y8y9qTYy3fmf7S/15m2lhgNAuIAAAAASUVORK5CYII="},vzCy:function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function h(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,a,o,s;if(h(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=u(e))>0&&o.length>i&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return e}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):g(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(a){r.once&&e.removeEventListener(t,i),n(a)})}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var h=l.length,u=g(l,h);for(n=0;n<h;++n)a(u[n],this,t)}return!0},s.prototype.addListener=function(e,t){return c(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return c(this,e,t,!0)},s.prototype.once=function(e,t){return h(t),this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return h(t),this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,a,o;if(h(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return d(this,e,!0)},s.prototype.rawListeners=function(e){return d(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},wMjA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Gu7T"),i=n.n(r),a=n("gzej"),o=n("erru"),s=(n("nFqq"),{components:{datePicker:a.a,selfChannel:o.a},data:function(){return{dataLoading:!1,loading:!1,page:1,pages:0,total:0,page_size:20,sort_field:"",dataInfoArrs:[{prop:"first_roi",label:"首日ROI"},{prop:"cost",label:"当天总消耗"},{prop:"qw_fans",label:"企微关注数"},{prop:"qw_fans_cost",label:"企微关注成本"},{prop:"first_pay_money",label:"当日总回收"},{prop:"pay_money",label:"累计充值金额"},{prop:"of_fans",label:"新增用户"},{prop:"income_rate",label:"回本率"},{prop:"first_pay_ucnt",img:n("OTHY"),label:"当日首充人数"},{prop:"stat_firstDayChargeUserUnique",img:n("OTHY"),small_prop:"count",label:"当日首充人数(去重)",duplicateRemoval:!0},{prop:"pay_ucnt",img:n("8tyP"),label:"总充值人数"},{prop:"stat_chargeUserUnique",img:n("8tyP"),small_prop:"count",label:"总充值人数(去重)",duplicateRemoval:!0},{prop:"first_pay_cnt",label:"充值次数"},{prop:"pay_cnt",label:"总充值次数"},{prop:"pay_ucnt_cost",label:"充值用户成本",img:n("N+vA")},{prop:"stat_chargeUserUnique",small_prop:"pay_ucnt_cost_qc",img:n("N+vA"),label:"充值用户成本(去重)",duplicateRemoval:!0}],dataInfo:{},default_time:[this.$getDay(0,!1),this.$getDay(0,!1)],time:[],account_id:"",height:"",desCol:[{prop:"ref_date",label:"时间",fixed:"left"},{prop:"app_name",label:"公众号",fixed:"left"},{prop:"first_roi",label:"首日ROI"},{prop:"cost",label:"当天消耗"},{prop:"qw_fans",label:"企微关注数"},{prop:"qw_fans_cost",label:"企微关注成本"},{prop:"first_pay_money",label:"当日回收"},{prop:"pay_money",label:"累计充值金额"},{prop:"of_fans",label:"新增用户"},{prop:"income_rate",label:"回本率(%)"},{prop:"first_pay_ucnt",label:"充值人数"},{prop:"pay_ucnt",label:"总充值人数"},{prop:"first_pay_cnt",label:"充值次数"},{prop:"pay_cnt",label:"总充值次数"},{prop:"pay_ucnt_cost",label:"充值用户成本",notes:"充值用户成本=当天消耗/充值人数",min_width:"180"}],extra:[],duplicateRemovalData:{stat_chargeUserUnique:{flag:!1,loading:!1,data:{}},stat_firstDayChargeUserUnique:{flag:!1,loading:!1,data:{}}}}},computed:{isCanExport:function(){return!!this.$store.state.dataBoardAuth.can_export}},created:function(){this.time=this.default_time,this.height=document.documentElement.clientHeight-350>400?document.documentElement.clientHeight-350:400,this.initPreData(),this.init(1)},methods:{lookDuplicateRemovalData:function(e){var t=this;this.duplicateRemovalData[e].loading=!0,this.$axios.get(this.URL.BASEURL+this.URL[e],{params:{account_id:this.account_id,start_date:this.time[0],end_date:this.time[1]}}).then(function(n){n=n.data;t.duplicateRemovalData[e].loading=!1,n&&0==n.errno?(t.duplicateRemovalData[e].flag=!0,t.duplicateRemovalData[e].data.count=n.rst.count,n.rst&&n.rst.count,"stat_chargeUserUnique"==e&&(t.duplicateRemovalData[e].data.pay_ucnt_cost_qc=parseFloat(Number(t.dataInfo.cost)/Number(n.rst.count).toFixed(10)).toFixed(2))):4002!=n.errno&&t.$message({message:n.err,type:"warning"})}).catch(function(n){t.duplicateRemovalData[e].loading=!1})},changeTime:function(e){for(var t in!e||e&&0==e.length?this.time=[]:this.time=e,this.duplicateRemovalData)this.duplicateRemovalData[t].flag=!1;this.init(1),this.initPreData()},publicChange:function(e){for(var t in this.duplicateRemovalData)this.duplicateRemovalData[t].flag=!1;this.account_id=e,this.init(1),this.initPreData()},initPreData:function(){var e=this;this.dataLoading=!0,this.$axios.get(this.URL.BASEURL+this.URL.officialTrendTotal,{params:{start:this.time[0],end:this.time[1],app_id:this.account_id}}).then(function(t){t=t.data;e.dataLoading=!1,t&&0==t.errno?e.dataInfo=t.rst:4002!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){e.dataLoading=!1})},init:function(e,t){var n=this;if("export"!=t)this.page=e||this.page;else if(0==this.total)return void this.$message({message:"暂无数据可导出",type:"warning"});this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.officialTrendList,{params:{start:this.time[0],end:this.time[1],app_id:this.account_id,page:"export"==t?1:this.page,pagesize:"export"==t?this.$store.state.exportNumber:this.page_size}}).then(function(e){e=e.data;n.loading=!1,e&&0==e.errno?"export"==t?n.exportEvent(e.rst.data):(n.extra=e.rst.extra.day_columns,n.datas=e.rst.data,n.$refs.plxTable.reloadData(n.datas),n.total=e.rst.pageInfo.total,n.pages=e.rst.pageInfo.pages):4002!=e.errno&&n.$message({message:e.err,type:"warning"})}).catch(function(e){n.loading=!1})},handleCurrentChange:function(e){this.init(e)},handleSizeChange:function(e){this.page_size=e,this.init(1)},sortFieldEvent:function(e){this.sort_field=e,this.init(1)},exportEvent:function(e){var t=this,n=e,r=this.desCol.map(function(e){return e.label}),a=this.desCol.map(function(e){return e.prop});n.forEach(function(e){for(var r=0;r<a.length;r++)n[a[r]]=n[a[r]]?n[a[r]]:0;for(var i in t.extra)e[t.extra[i]]="充: "+(e&&e.day_info&&e.day_info[i]&&(e.day_info[i].pay_money||0==e.day_info[i].pay_money)?e.day_info[i].pay_money:"-")+" 增: "+(e&&e.day_info&&e.day_info[i]&&(e.day_info[i].new_roi||0==e.day_info[i].new_roi)?e.day_info[i].new_roi:"-")+" 回: "+(e&&e.day_info&&e.day_info[i]&&(e.day_info[i].total_roi||0==e.day_info[i].total_roi)?e.day_info[i].total_roi:"-")+" 倍: "+(e&&e.day_info&&e.day_info[i]&&(e.day_info[i].income_times||0==e.day_info[i].income_times)?e.day_info[i].income_times:"-")});var o=[{tHeader:[].concat(i()(r),i()(this.extra)),filterVal:[].concat(i()(a),i()(this.extra)),tableDatas:n,sheetName:""}];this.$exportOrder({excelDatas:o,name:"公众号数据趋势(导出时间:"+this.$getDay(0)+")"})}}}),l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"publicTrend"},[r("div",{staticClass:"screenBox flex"},[r("div",{staticClass:"flex"},[r("date-picker",{attrs:{title:"自定义",quickFlag:!0,afferent_time:e.default_time,clearFlag:!1},on:{changeTime:e.changeTime}}),e._v(" "),r("self-channel",{attrs:{title:"公众号",type:"thePublic"},on:{channelDefine:e.publicChange}})],1),e._v(" "),e.isCanExport?r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.init(1,"export")}}},[e._v("导出Excel")]):e._e()],1),e._v(" "),r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.dataLoading,expression:"dataLoading"}],staticClass:"dataInfoBox"},e._l(e.dataInfoArrs,function(t,i){return r("div",{key:i,staticClass:"dataInfoItem"},[r("div",{staticClass:"dataItemTitle"},[t.img?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:t.img,alt:""}}):["first_roi"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("G0vV"),alt:""}}):e._e(),e._v(" "),"cost"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("b9Sw"),alt:""}}):e._e(),e._v(" "),"qw_fans"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("vTpq"),alt:""}}):e._e(),e._v(" "),"qw_fans_cost"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("JZEC"),alt:""}}):e._e(),e._v(" "),"first_pay_money"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("WyOS"),alt:""}}):e._e(),e._v(" "),"pay_money"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("3MJz"),alt:""}}):e._e(),e._v(" "),"of_fans"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("ifDC"),alt:""}}):e._e(),e._v(" "),"income_rate"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("wVd1"),alt:""}}):e._e(),e._v(" "),"first_pay_ucnt"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("OTHY"),alt:""}}):e._e(),e._v(" "),"pay_ucnt"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("8tyP"),alt:""}}):e._e(),e._v(" "),"first_pay_cnt"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("Cibo"),alt:""}}):e._e(),e._v(" "),"pay_cnt"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"14px"},attrs:{src:n("OFL7"),alt:""}}):e._e(),e._v(" "),"pay_ucnt_cost"==t.prop?r("img",{staticClass:"titleIcon",staticStyle:{height:"18px",width:"18px"},attrs:{src:n("N+vA"),alt:""}}):e._e()],e._v(" "),r("span",[e._v(e._s(t.label))])],2),e._v(" "),t.duplicateRemoval?r("div",{staticClass:"dataItem-data"},[e.duplicateRemovalData[t.prop].loading?r("i",{staticClass:"el-icon-loading c-00b38a"}):e.duplicateRemovalData[t.prop].flag?r("span",[e._v(e._s(e.duplicateRemovalData[t.prop].data&&(e.duplicateRemovalData[t.prop].data[t.small_prop]||0==e.duplicateRemovalData[t.prop].data[t.small_prop])?e.$formatNum(e.duplicateRemovalData[t.prop].data[t.small_prop]):"-"))]):r("span",{staticClass:"f14 c-00b38a pointer",on:{click:function(n){return e.lookDuplicateRemovalData(t.prop)}}},[e._v("查看\n "),r("i",{staticClass:"el-icon-thumb",staticStyle:{transform:"rotate(270deg) rotateY(180deg)"}})])]):r("div",{staticClass:"dataItem-data"},[e._v("\n "+e._s(e.dataInfo&&(e.dataInfo[t.prop]||0==e.dataInfo[t.prop])?e.$formatNum(e.dataInfo[t.prop]):"-")+"\n ")])])}),0),e._v(" "),r("ux-grid",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"plxTable",staticClass:"tableGrid",attrs:{border:!1,"header-cell-style":function(){return{backgroundColor:"#FFFFFF !important",border:"none!important"}},height:e.height,"show-footer-overflow":"tooltip","show-overflow":"tooltip",size:"mini"},on:{"row-click":function(){}}},[e._l(e.desCol,function(t){return r("ux-table-column",{key:t.prop,attrs:{resizable:!0,field:t.prop,title:t.label,"min-width":t.min_width?t.min_width:120,fixed:t.fixed?t.fixed:"",align:"center"},scopedSlots:e._u([{key:"header",fn:function(){return[r("div",{class:["flex-align-jus-center",t.sort?"pointer":"",e.sort_field==t.prop?"sortFieldStyle":""],on:{click:function(n){t.sort&&e.sortFieldEvent(t.prop)}}},[e._v("\n "+e._s(t.label)),t.sort?r("i",{staticClass:"el-icon-caret-bottom"}):e._e(),e._v(" "),t.notes?r("el-tooltip",{attrs:{content:t.notes,placement:"top"}},[r("div",[r("i",{staticClass:"el-icon-question"})])]):e._e()],1)]},proxy:!0},{key:"default",fn:function(n){var i=n.row;return["app_name"==t.prop?r("span",[e._v(e._s(i[t.prop]?i[t.prop]:"-"))]):r("span",{class:e.sort_field==t.prop?"sortFieldStyle":""},[e._v(e._s(i[t.prop]||0==i[t.prop]?e.$formatNum(i[t.prop]):"-"))])]}}],null,!0)})}),e._v(" "),e._l(e.extra,function(t,n){return r("ux-table-column",{key:n+"extra",attrs:{width:"120"},scopedSlots:e._u([{key:"header",fn:function(){return[r("div",{staticClass:"flex-align-jus-center"},[e._v(e._s(t)+"\n "),1==n?r("el-tooltip",{attrs:{placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("充:当日回收"),r("br"),e._v("增:当日回收/当天消耗"),r("br"),e._v("回:累计充值/当天消耗"),r("br"),e._v("倍:回/增")]),e._v(" "),r("i",{staticClass:"el-icon-question"})]):e._e()],1)]},proxy:!0},{key:"default",fn:function(t){var i=t.row;return[r("div",{staticClass:"day_class_info"},[r("span",{staticClass:"font",staticStyle:{color:"#2C9841"}},[e._v("充:")]),e._v(" "),r("span",[e._v(e._s(i&&i.day_info&&i.day_info[n]&&i.day_info[n].pay_money?i.day_info[n].pay_money:"-"))])]),e._v(" "),r("div",{staticClass:"day_class_info"},[r("span",{staticClass:"font",staticStyle:{color:"#F28544"}},[e._v("增:")]),e._v(" "),r("span",[e._v(e._s(i&&i.day_info&&i.day_info[n]&&i.day_info[n].new_roi?i.day_info[n].new_roi:"-"))])]),e._v(" "),r("div",{staticClass:"day_class_info"},[r("span",{staticClass:"font",staticStyle:{color:"#EB4315"}},[e._v("回:")]),e._v(" "),r("span",[e._v(e._s(i&&i.day_info&&i.day_info[n]&&i.day_info[n].total_roi?i.day_info[n].total_roi:"-"))])]),e._v(" "),r("div",{staticClass:"day_class_info"},[r("span",{staticClass:"font",staticStyle:{color:"#2983DF"}},[e._v("倍:")]),e._v(" "),r("span",[e._v(e._s(i&&i.day_info&&i.day_info[n]&&i.day_info[n].income_times?i.day_info[n].income_times:"-"))])])]}}],null,!0)})})],2),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],staticClass:"pagination"},[r("el-pagination",{attrs:{background:"","current-page":e.page,layout:"prev, pager, next, sizes","page-sizes":[20,50,100],"page-count":Number(e.pages)},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1)],1)},staticRenderFns:[]};var h=n("VU/8")(s,l,!1,function(e){n("SZsn"),n("NYdC")},"data-v-258c6c22",null);t.default=h.exports},x0Ha:function(e,t,n){"use strict";var r=n("ypnx");function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},xCWu:function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var o="object"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,h=36,u=1,c=26,f=38,d=700,p=72,g=128,m="-",y=/^xn--/,v=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=h-u,x=Math.floor,S=String.fromCharCode;function A(e){throw new RangeError(_[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function R(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(b,".")).split("."),t).join(".")}function E(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function O(e){return C(e,function(e){var t="";return e>65535&&(t+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=S(e)}).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function L(e,t,n){var r=0;for(e=n?x(e/d):e>>1,e+=x(e/t);e>w*c>>1;r+=h)e=x(e/w);return x(r+(w+1)*e/(e+f))}function T(e){var t,n,r,i,a,o,s,f,d,y,v,b=[],_=e.length,w=0,S=g,C=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&A("not-basic"),b.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(a=w,o=1,s=h;i>=_&&A("invalid-input"),((f=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:h)>=h||f>x((l-w)/o))&&A("overflow"),w+=f*o,!(f<(d=s<=C?u:s>=C+c?c:s-C));s+=h)o>x(l/(y=h-d))&&A("overflow"),o*=y;C=L(w-a,t=b.length+1,0==a),x(w/t)>l-S&&A("overflow"),S+=x(w/t),w%=t,b.splice(w++,0,S)}return O(b)}function U(e){var t,n,r,i,a,o,s,f,d,y,v,b,_,w,C,R=[];for(b=(e=E(e)).length,t=g,n=0,a=p,o=0;o<b;++o)(v=e[o])<128&&R.push(S(v));for(r=i=R.length,i&&R.push(m);r<b;){for(s=l,o=0;o<b;++o)(v=e[o])>=t&&v<s&&(s=v);for(s-t>x((l-n)/(_=r+1))&&A("overflow"),n+=(s-t)*_,t=s,o=0;o<b;++o)if((v=e[o])<t&&++n>l&&A("overflow"),v==t){for(f=n,d=h;!(f<(y=d<=a?u:d>=a+c?c:d-a));d+=h)C=f-y,w=h-y,R.push(S(k(y+C%w,0))),f=x(C/w);R.push(S(k(f,0))),a=L(n,_,r==i),n=0,++r}++n,++t}return R.join("")}s={version:"1.4.1",ucs2:{decode:E,encode:O},decode:T,encode:U,toASCII:function(e){return R(e,function(e){return v.test(e)?"xn--"+U(e):e})},toUnicode:function(e){return R(e,function(e){return y.test(e)?T(e.slice(4).toLowerCase()):e})}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(t,n("3IRH")(e),n("DuR2"))},ypnx:function(e,t,n){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,i)});default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return t.nextTick(function(){e.apply(null,a)})}}}:e.exports=t}).call(t,n("W2nU"))}});