MCPcopy Index your code
hub / github.com/plotly/plotly.py / SSe

Function SSe

plotly/package_data/plotly.min.js:31–31  ·  view source on GitHub ↗
(e,t,r,n,i)

Source from the content-addressed store, hash-verified

29`)>=0&&n++,a+o.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(t===""?"":t+`
30 `)+" "+e.join(`,
31 `)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}cu.types=oj();function N5e(e){return Array.isArray(e)}cu.isArray=N5e;function fj(e){return typeof e=="boolean"}cu.isBoolean=fj;function wR(e){return e===null}cu.isNull=wR;function Y5t(e){return e==null}cu.isNullOrUndefined=Y5t;function U5e(e){return typeof e=="number"}cu.isNumber=U5e;function TR(e){return typeof e=="string"}cu.isString=TR;function K5t(e){return typeof e=="symbol"}cu.isSymbol=K5t;function S2(e){return e===void 0}cu.isUndefined=S2;function aE(e){return mA(e)&&hj(e)==="[object RegExp]"}cu.isRegExp=aE;cu.types.isRegExp=aE;function mA(e){return typeof e=="object"&&e!==null}cu.isObject=mA;function bR(e){return mA(e)&&hj(e)==="[object Date]"}cu.isDate=bR;cu.types.isDate=bR;function oE(e){return mA(e)&&(hj(e)==="[object Error]"||e instanceof Error)}cu.isError=oE;cu.types.isNativeError=oE;function _R(e){return typeof e=="function"}cu.isFunction=_R;function J5t(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e=="undefined"}cu.isPrimitive=J5t;cu.isBuffer=sj();function hj(e){return Object.prototype.toString.call(e)}function uj(e){return e<10?"0"+e.toString(10):e.toString(10)}var $5t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Q5t(){var e=new Date,t=[uj(e.getHours()),uj(e.getMinutes()),uj(e.getSeconds())].join(":");return[e.getDate(),$5t[e.getMonth()],t].join(" ")}cu.log=function(){console.log("%s - %s",Q5t(),cu.format.apply(cu,arguments))};cu.inherits=Zy();cu._extend=function(e,t){if(!t||!mA(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function V5e(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var A2=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;cu.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(A2&&t[A2]){var r=t[A2];if(typeof r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,A2,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var n,i,a=new Promise(function(l,u){n=l,i=u}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(l,u){l?i(l):n(u)});try{t.apply(this,o)}catch(l){i(l)}return a}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),A2&&Object.defineProperty(r,A2,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,O5e(t))};cu.promisify.custom=A2;function eSt(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function tSt(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function t(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};e.apply(this,r).then(function(s){process.nextTick(o.bind(null,null,s))},function(s){process.nextTick(eSt.bind(null,s,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,O5e(e)),t}cu.callbackify=tSt});var W5e=ye((ndr,j5e)=>{"use strict";function G5e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function rSt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?G5e(Object(r),!0).forEach(function(n){iSt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G5e(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function iSt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nSt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H5e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aSt(e,t,r){return t&&H5e(e.prototype,t),r&&H5e(e,r),e}var oSt=b2(),AR=oSt.Buffer,sSt=dj(),vj=sSt.inspect,lSt=vj&&vj.custom||"inspect";function uSt(e,t,r){AR.prototype.copy.call(e,t,r)}j5e.exports=function(){function e(){nSt(this,e),this.head=null,this.tail=null,this.length=0}return aSt(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return AR.alloc(0);for(var n=AR.allocUnsafe(r>>>0),i=this.head,a=0;i;)uSt(i.data,n,a),a+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,a=n.data;for(r-=a.length;n=n.next;){var o=n.data,s=r>o.length?o.length:r;if(s===o.length?a+=o:a+=o.slice(0,r),r-=s,r===0){s===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++i}return this.length-=i,a}},{key:"_getBuffer",value:function(r){var n=AR.allocUnsafe(r),i=this.head,a=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,s=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,s),r-=s,r===0){s===o.length?(++a,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(s));break}++a}return this.length-=a,n}},{key:lSt,value:function(r,n){return vj(this,rSt({},n,{depth:0,customInspect:!1}))}}]),e}()});var gj=ye((adr,Z5e)=>{"use strict";function cSt(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(pj,this,e)):process.nextTick(pj,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted?process.nextTick(SR,r):(r._writableState.errorEmitted=!0,process.nextTick(X5e,r,a)):process.nextTick(X5e,r,a):t?(process.nextTick(SR,r),t(a)):process.nextTick(SR,r)}),this)}function X5e(e,t){pj(e,t),SR(e)}function SR(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function fSt(){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.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function pj(e,t){e.emit("error",t)}function hSt(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Z5e.exports={destroy:cSt,undestroy:fSt,errorOrDestroy:hSt}});var M2=ye((odr,J5e)=>{"use strict";function dSt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var K5e={};function J0(e,t,r){r||(r=Error);function n(a,o,s){return typeof t=="string"?t:t(a,o,s)}var i=function(a){dSt(o,a);function o(s,l,u){return a.call(this,n(s,l,u))||this}return o}(r);i.prototype.name=r.name,i.prototype.code=e,K5e[e]=i}function Y5e(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function vSt(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function pSt(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function gSt(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}J0("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);J0("ERR_INVALID_ARG_TYPE",function(e,t,r){var n;typeof t=="string"&&vSt(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var i;if(pSt(e," argument"))i="The ".concat(e," ").concat(n," ").concat(Y5e(t,"type"));else{var a=gSt(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(a," ").concat(n," ").concat(Y5e(t,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);J0("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");J0("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});J0("ERR_STREAM_PREMATURE_CLOSE","Premature close");J0("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});J0("ERR_MULTIPLE_CALLBACK","Callback called multiple times");J0("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");J0("ERR_STREAM_WRITE_AFTER_END","write after end");J0("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);J0("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);J0("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");J5e.exports.codes=K5e});var mj=ye((sdr,$5e)=>{"use strict";var mSt=M2().codes.ERR_INVALID_OPT_VALUE;function ySt(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function _St(e,t,r,n){var i=ySt(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var a=n?r:"highWaterMark";throw new mSt(a,i)}return Math.floor(i)}return e.objectMode?16:16*1024}$5e.exports={getHighWaterMark:_St}});var eSe=ye((ldr,Q5e)=>{Q5e.exports=xSt;function xSt(e,t){if(yj("noDeprecation"))return e;var r=!1;function n(){if(!r){if(yj("throwDeprecation"))throw new Error(t);yj("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function yj(e){try{if(!window.localStorage)return!1}catch(r){return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var bj=ye((udr,oSe)=>{"use strict";oSe.exports=Bh;function rSe(e){var t=this;this.next=null,this.entry=null,this.finish=function(){XSt(t,e)}}var yA;Bh.WritableState=lE;var bSt={deprecate:eSe()},iSe=xH(),ER=b2().Buffer,wSt=window.Uint8Array||function(){};function TSt(e){return ER.from(e)}function ASt(e){return ER.isBuffer(e)||e instanceof wSt}var xj=gj(),SSt=mj(),MSt=SSt.getHighWaterMark,V_=M2().codes,ESt=V_.ERR_INVALID_ARG_TYPE,kSt=V_.ERR_METHOD_NOT_IMPLEMENTED,CSt=V_.ERR_MULTIPLE_CALLBACK,LSt=V_.ERR_STREAM_CANNOT_PIPE,PSt=V_.ERR_STREAM_DESTROYED,ISt=V_.ERR_STREAM_NULL_VALUES,RSt=V_.ERR_STREAM_WRITE_AFTER_END,DSt=V_.ERR_UNKNOWN_ENCODING,_A=xj.errorOrDestroy;Zy()(Bh,iSe);function FSt(){}function lE(e,t,r){yA=yA||E2(),e=e||{},typeof r!="boolean"&&(r=t instanceof yA),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=MSt(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){VSt(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new rSe(this)}lE.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(lE.prototype,"buffer",{get:bSt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}})();var MR;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(MR=Function.prototype[Symbol.hasInstance],Object.defineProperty(Bh,Symbol.hasInstance,{value:function(t){return MR.call(this,t)?!0:this!==Bh?!1:t&&t._writableState instanceof lE}})):MR=function(t){return t instanceof this};function Bh(e){yA=yA||E2();var t=this instanceof yA;if(!t&&!MR.call(Bh,this))return new Bh(e);this._writableState=new lE(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),iSe.call(this)}Bh.prototype.pipe=function(){_A(this,new LSt)};function zSt(e,t){var r=new RSt;_A(e,r),process.nextTick(t,r)}function qSt(e,t,r,n){var i;return r===null?i=new ISt:typeof r!="string"&&!t.objectMode&&(i=new ESt("chunk",["string","Buffer"],r)),i?(_A(e,i),process.nextTick(n,i),!1):!0}Bh.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&ASt(e);return a&&!ER.isBuffer(e)&&(e=TSt(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=FSt),n.ending?zSt(this,r):(a||qSt(this,n,e,r))&&(n.pendingcb++,i=BSt(this,n,a,e,t,r)),i};Bh.prototype.cork=function(){this._writableState.corked++};Bh.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&nSe(this,e))};Bh.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new DSt(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(Bh.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function OSt(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=ER.from(t,r)),t}Object.defineProperty(Bh.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function BSt(e,t,r,n,i,a){if(!r){var o=OSt(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else _j(e,t,!1,s,n,i,a);return l}function _j(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new PSt("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function NSt(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(sE,e,t),e._writableState.errorEmitted=!0,_A(e,n)):(i(n),e._writableState.errorEmitted=!0,_A(e,n),sE(e,t))}function USt(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function VSt(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new CSt;if(USt(r),t)NSt(e,r,n,t,i);else{var a=aSe(r)||e.destroyed;!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&nSe(e,r),n?process.nextTick(tSe,e,r,a,i):tSe(e,r,a,i)}}function tSe(e,t,r,n){r||GSt(e,t),t.pendingcb--,n(),sE(e,t)}function GSt(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function nSe(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0,s=!0;r;)i[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,_j(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new rSe(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,f=t.objectMode?1:l.length;if(_j(e,t,!1,f,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Bh.prototype._write=function(e,t,r){r(new kSt("_write()"))};Bh.prototype._writev=null;Bh.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||WSt(this,n,r),this};Object.defineProperty(Bh.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function aSe(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function HSt(e,t){e._final(function(r){t.pendingcb--,r&&_A(e,r),t.prefinished=!0,e.emit("prefinish"),sE(e,t)})}function jSt(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(HSt,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function sE(e,t){var r=aSe(t);if(r&&(jSt(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function WSt(e,t,r){t.ending=!0,sE(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function XSt(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(Bh.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});Bh.prototype.destroy=xj.destroy;Bh.prototype._undestroy=xj.undestroy;Bh.prototype._destroy=function(e,t){t(e)}});var E2=ye((cdr,lSe)=>{"use strict";var ZSt=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};lSe.exports=Wm;var sSe=Aj(),Tj=bj();Zy()(Wm,sSe);for(wj=ZSt(Tj.prototype),kR=0;kR<wj.length;kR++)CR=wj[kR],Wm.prototype[CR]||(Wm.prototype[CR]=Tj.prototype[CR]);var wj,CR,kR;function Wm(e){if(!(this instanceof Wm))return new Wm(e);sSe.call(this,e),Tj.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",YSt)))}Object.defineProperty(Wm.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Wm.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Wm.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function YSt(){this._writableState.ended||process.nextTick(KSt,this)}function KSt(e){e.end()}Object.defineProperty(Wm.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var fSe=ye((Sj,cSe)=>{var LR=b2(),Xm=LR.Buffer;function uSe(e,t){for(var r in e)t[r]=e[r]}Xm.from&&Xm.alloc&&Xm.allocUnsafe&&Xm.allocUnsafeSlow?cSe.exports=LR:(uSe(LR,Sj),Sj.Buffer=k2);function k2(e,t,r){return Xm(e,t,r)}k2.prototype=Object.create(Xm.prototype);uSe(Xm,k2);k2.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Xm(e,t,r)};k2.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Xm(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};k2.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Xm(e)};k2.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return LR.SlowBuffer(e)}});var kj=ye(dSe=>{"use strict";var Ej=fSe().Buffer,hSe=Ej.isEncoding||function(e){switch(e=""+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 JSt(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}}function $St(e){var t=JSt(e);if(typeof t!="string"&&(Ej.isEncoding===hSe||!hSe(e)))throw new Error("Unknown encoding: "+e);return t||e}dSe.StringDecoder=uE;function uE(e){this.encoding=$St(e);var t;switch(this.encoding){case"utf16le":this.text=nMt,this.end=aMt,t=4;break;case"utf8":this.fillLast=tMt,t=4;break;case"base64":this.text=oMt,this.end=sMt,t=3;break;default:this.write=lMt,this.end=uMt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ej.allocUnsafe(t)}uE.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};uE.prototype.end=iMt;uE.prototype.text=rMt;uE.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};function Mj(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function QSt(e,t,r){var n=t.length-1;if(n<r)return 0;var i=Mj(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=Mj(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=Mj(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function eMt(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function tMt(e){var t=this.lastTotal-this.lastNeed,r=eMt(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function rMt(e,t){var r=QSt(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function iMt(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function nMt(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function aMt(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function oMt(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?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-r))}function sMt(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function lMt(e){return e.toString(this.encoding)}function uMt(e){return e&&e.length?this.write(e):""}});var PR=ye((hdr,gSe)=>{"use strict";var vSe=M2().codes.ERR_STREAM_PREMATURE_CLOSE;function cMt(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function fMt(){}function hMt(e){return e.setHeader&&typeof e.abort=="function"}function pSe(e,t,r){if(typeof t=="function")return pSe(e,null,t);t||(t={}),r=cMt(r||fMt);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,a=function(){e.writable||s()},o=e._writableState&&e._writableState.finished,s=function(){i=!1,o=!0,n||r.call(e)},l=e._readableState&&e._readableState.endEmitted,u=function(){n=!1,l=!0,i||r.call(e)},c=function(v){r.call(e,v)},f=function(){var v;if(n&&!l)return(!e._readableState||!e._readableState.ended)&&(v=new vSe),r.call(e,v);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(v=new vSe),r.call(e,v)},h=function(){e.req.on("finish",s)};return hMt(e)?(e.on("complete",s),e.on("abort",f),e.req?h():e.on("request",h)):i&&!e._writableState&&(e.on("end",a),e.on("close",a)),e.on("end",u),e.on("finish",s),t.error!==!1&&e.on("error",c),e.on("close",f),function(){e.removeListener("complete",s),e.removeListener("abort",f),e.removeListener("request",h),e.req&&e.req.removeListener("finish",s),e.removeListener("end",a),e.removeListener("close",a),e.removeListener("finish",s),e.removeListener("end",u),e.removeListener("error",c),e.removeListener("close",f)}}gSe.exports=pSe});var ySe=ye((ddr,mSe)=>{"use strict";var IR;function G_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dMt=PR(),H_=Symbol("lastResolve"),C2=Symbol("lastReject"),cE=Symbol("error"),RR=Symbol("ended"),L2=Symbol("lastPromise"),Cj=Symbol("handlePromise"),P2=Symbol("stream");function j_(e,t){return{value:e,done:t}}function vMt(e){var t=e[H_];if(t!==null){var r=e[P2].read();r!==null&&(e[L2]=null,e[H_]=null,e[C2]=null,t(j_(r,!1)))}}function pMt(e){process.nextTick(vMt,e)}function gMt(e,t){return function(r,n){e.then(function(){if(t[RR]){r(j_(void 0,!0));return}t[Cj](r,n)},n)}}var mMt=Object.getPrototypeOf(function(){}),yMt=Object.setPrototypeOf((IR={get stream(){return this[P2]},next:function(){var t=this,r=this[cE];if(r!==null)return Promise.reject(r);if(this[RR])return Promise.resolve(j_(void 0,!0));if(this[P2].destroyed)return new Promise(function(o,s){process.nextTick(function(){t[cE]?s(t[cE]):o(j_(void 0,!0))})});var n=this[L2],i;if(n)i=new Promise(gMt(n,this));else{var a=this[P2].read();if(a!==null)return Promise.resolve(j_(a,!1));i=new Promise(this[Cj])}return this[L2]=i,i}},G_(IR,Symbol.asyncIterator,function(){return this}),G_(IR,"return",function(){var t=this;return new Promise(function(r,n){t[P2].destroy(null,function(i){if(i){n(i);return}r(j_(void 0,!0))})})}),IR),mMt),_Mt=function(t){var r,n=Object.create(yMt,(r={},G_(r,P2,{value:t,writable:!0}),G_(r,H_,{value:null,writable:!0}),G_(r,C2,{value:null,writable:!0}),G_(r,cE,{value:null,writable:!0}),G_(r,RR,{value:t._readableState.endEmitted,writable:!0}),G_(r,Cj,{value:function(a,o){var s=n[P2].read();s?(n[L2]=null,n[H_]=null,n[C2]=null,a(j_(s,!1))):(n[H_]=a,n[C2]=o)},writable:!0}),r));return n[L2]=null,dMt(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var a=n[C2];a!==null&&(n[L2]=null,n[H_]=null,n[C2]=null,a(i)),n[cE]=i;return}var o=n[H_];o!==null&&(n[L2]=null,n[H_]=null,n[C2]=null,o(j_(void 0,!0))),n[RR]=!0}),t.on("readable",pMt.bind(null,n)),n};mSe.exports=_Mt});var xSe=ye((vdr,_Se)=>{_Se.exports=function(){throw new Error("Readable.from is not available in the browser")}});var Aj=ye((gdr,LSe)=>{"use strict";LSe.exports=Bu;var xA;Bu.ReadableState=ASe;var pdr=Sb().EventEmitter,TSe=function(t,r){return t.listeners(r).length},hE=xH(),DR=b2().Buffer,xMt=window.Uint8Array||function(){};function bMt(e){return DR.from(e)}function wMt(e){return DR.isBuffer(e)||e instanceof xMt}var Lj=dj(),nu;Lj&&Lj.debuglog?nu=Lj.debuglog("stream"):nu=function(){};var TMt=W5e(),qj=gj(),AMt=mj(),SMt=AMt.getHighWaterMark,FR=M2().codes,MMt=FR.ERR_INVALID_ARG_TYPE,EMt=FR.ERR_STREAM_PUSH_AFTER_EOF,kMt=FR.ERR_METHOD_NOT_IMPLEMENTED,CMt=FR.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,bA,Pj,Ij;Zy()(Bu,hE);var fE=qj.errorOrDestroy,Rj=["error","close","destroy","pause","resume"];function LMt(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function ASe(e,t,r){xA=xA||E2(),e=e||{},typeof r!="boolean"&&(r=t instanceof xA),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=SMt(this,e,"readableHighWaterMark",r),this.buffer=new TMt,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.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(bA||(bA=kj().StringDecoder),this.decoder=new bA(e.encoding),this.encoding=e.encoding)}function Bu(e){if(xA=xA||E2(),!(this instanceof Bu))return new Bu(e);var t=this instanceof xA;this._readableState=new ASe(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),hE.call(this)}Object.defineProperty(Bu.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});Bu.prototype.destroy=qj.destroy;Bu.prototype._undestroy=qj.undestroy;Bu.prototype._destroy=function(e,t){t(e)};Bu.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=DR.from(e,t),t=""),n=!0),SSe(this,e,t,!1,n)};Bu.prototype.unshift=function(e){return SSe(this,e,null,!0,!1)};function SSe(e,t,r,n,i){nu("readableAddChunk",t);var a=e._readableState;if(t===null)a.reading=!1,RMt(e,a);else{var o;if(i||(o=PMt(a,t)),o)fE(e,o);else if(a.objectMode||t&&t.length>0)if(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==DR.prototype&&(t=bMt(t)),n)a.endEmitted?fE(e,new CMt):Dj(e,a,t,!0);else if(a.ended)fE(e,new EMt);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?Dj(e,a,t,!1):zj(e,a)):Dj(e,a,t,!1)}else n||(a.reading=!1,zj(e,a))}return!a.ended&&(a.length<a.highWaterMark||a.length===0)}function Dj(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&zR(e)),zj(e,t)}function PMt(e,t){var r;return!wMt(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new MMt("chunk",["string","Buffer","Uint8Array"],t)),r}Bu.prototype.isPaused=function(){return this._readableState.flowing===!1};Bu.prototype.setEncoding=function(e){bA||(bA=kj().StringDecoder);var t=new bA(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var bSe=1073741824;function IMt(e){return e>=bSe?e=bSe:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function wSe(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=IMt(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Bu.prototype.read=function(e){nu("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return nu("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Fj(this):zR(this),null;if(e=wSe(e,t),e===0&&t.ended)return t.length===0&&Fj(this),null;var n=t.needReadable;nu("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,nu("length less than watermark",n)),t.ended||t.reading?(n=!1,nu("reading or ended",n)):n&&(nu("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=wSe(r,t)));var i;return e>0?i=kSe(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Fj(this)),i!==null&&this.emit("data",i),i};function RMt(e,t){if(nu("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?zR(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,MSe(e)))}}function zR(e){var t=e._readableState;nu("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(nu("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(MSe,e))}function MSe(e){var t=e._readableState;nu("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Oj(e)}function zj(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(DMt,e,t))}function DMt(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(nu("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}Bu.prototype._read=function(e){fE(this,new kMt("_read()"))};Bu.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,nu("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?s:m;n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",o);function o(b,p){nu("onunpipe"),b===r&&p&&p.hasUnpiped===!1&&(p.hasUnpiped=!0,c())}function s(){nu("onend"),e.end()}var l=FMt(r);e.on("drain",l);var u=!1;function c(){nu("cleanup"),e.removeListener("close",d),e.removeListener("finish",v),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",o),r.removeListener("end",s),r.removeListener("end",m),r.removeListener("data",f),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}r.on("data",f);function f(b){nu("ondata");var p=e.write(b);nu("dest.write",p),p===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&CSe(n.pipes,e)!==-1)&&!u&&(nu("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function h(b){nu("onerror",b),m(),e.removeListener("error",h),TSe(e,"error")===0&&fE(e,b)}LMt(e,"error",h);function d(){e.removeListener("finish",v),m()}e.once("close",d);function v(){nu("onfinish"),e.removeListener("close",d),m()}e.once("finish",v);function m(){nu("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(nu("pipe resume"),r.resume()),e};function FMt(e){return function(){var r=e._readableState;nu("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&TSe(e,"data")&&(r.flowing=!0,Oj(e))}}Bu.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=CSe(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};Bu.prototype.on=function(e,t){var r=hE.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,nu("on readable",n.length,n.reading),n.length?zR(this):n.reading||process.nextTick(zMt,this)),r};Bu.prototype.addListener=Bu.prototype.on;Bu.prototype.removeListener=function(e,t){var r=hE.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(ESe,this),r};Bu.prototype.removeAllListeners=function(e){var t=hE.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(ESe,this),t};function ESe(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function zMt(e){nu("readable nexttick read 0"),e.read(0)}Bu.prototype.resume=function(){var e=this._readableState;return e.flowing||(nu("resume"),e.flowing=!e.readableListening,qMt(this,e)),e.paused=!1,this};function qMt(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(OMt,e,t))}function OMt(e,t){nu("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Oj(e),t.flowing&&!t.reading&&e.read(0)}Bu.prototype.pause=function(){return nu("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(nu("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Oj(e){var t=e._readableState;for(nu("flow",t.flowing);t.flowing&&e.read()!==null;);}Bu.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(nu("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(nu("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var s=t.push(o);s||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i));for(var a=0;a<Rj.length;a++)e.on(Rj[a],this.emit.bind(this,Rj[a]));return this._read=function(o){nu("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(Bu.prototype[Symbol.asyncIterator]=function(){return Pj===void 0&&(Pj=ySe()),Pj(this)});Object.defineProperty(Bu.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(Bu.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Bu.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});Bu._fromList=kSe;Object.defineProperty(Bu.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function kSe(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Fj(e){var t=e._readableState;nu("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(BMt,t,e))}function BMt(e,t){if(nu("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(Bu.from=function(e,t){return Ij===void 0&&(Ij=xSe()),Ij(Bu,e,t)});function CSe(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var Bj=ye((mdr,ISe)=>{"use strict";ISe.exports=Ky;var qR=M2().codes,NMt=qR.ERR_METHOD_NOT_IMPLEMENTED,UMt=qR.ERR_MULTIPLE_CALLBACK,VMt=qR.ERR_TRANSFORM_ALREADY_TRANSFORMING,GMt=qR.ERR_TRANSFORM_WITH_LENGTH_0,OR=E2();Zy()(Ky,OR);function HMt(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new UMt);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Ky(e){if(!(this instanceof Ky))return new Ky(e);OR.call(this,e),this._transformState={afterTransform:HMt.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",jMt)}function jMt(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){PSe(e,t,r)}):PSe(this,null,null)}Ky.prototype.push=function(e,t){return this._transformState.needTransform=!1,OR.prototype.push.call(this,e,t)};Ky.prototype._transform=function(e,t,r){r(new NMt("_transform()"))};Ky.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Ky.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Ky.prototype._destroy=function(e,t){OR.prototype._destroy.call(this,e,function(r){t(r)})};function PSe(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new GMt;if(e._transformState.transforming)throw new VMt;return e.push(null)}});var FSe=ye((ydr,DSe)=>{"use strict";DSe.exports=dE;var RSe=Bj();Zy()(dE,RSe);function dE(e){if(!(this instanceof dE))return new dE(e);RSe.call(this,e)}dE.prototype._transform=function(e,t,r){r(null,e)}});var NSe=ye((_dr,BSe)=>{"use strict";var Nj;function WMt(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var OSe=M2().codes,XMt=OSe.ERR_MISSING_ARGS,ZMt=OSe.ERR_STREAM_DESTROYED;function zSe(e){if(e)throw e}function YMt(e){return e.setHeader&&typeof e.abort=="function"}function KMt(e,t,r,n){n=WMt(n);var i=!1;e.on("close",function(){i=!0}),Nj===void 0&&(Nj=PR()),Nj(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var a=!1;return function(o){if(!i&&!a){if(a=!0,YMt(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new ZMt("pipe"))}}}function qSe(e){e()}function JMt(e,t){return e.pipe(t)}function $Mt(e){return!e.length||typeof e[e.length-1]!="function"?zSe:e.pop()}function QMt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=$Mt(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new XMt("streams");var i,a=t.map(function(o,s){var l=s<t.length-1,u=s>0;return KMt(o,l,u,function(c){i||(i=c),c&&a.forEach(qSe),!l&&(a.forEach(qSe),n(i))})});return t.reduce(JMt)}BSe.exports=QMt});var VSe=ye((xdr,USe)=>{USe.exports=$0;var Uj=Sb().EventEmitter,e4t=Zy();e4t($0,Uj);$0.Readable=Aj();$0.Writable=bj();$0.Duplex=E2();$0.Transform=Bj();$0.PassThrough=FSe();$0.finished=PR();$0.pipeline=NSe();$0.Stream=$0;function $0(){Uj.call(this)}$0.prototype.pipe=function(e,t){var r=this;function n(c){e.writable&&e.write(c)===!1&&r.pause&&r.pause()}r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}e.on("drain",i),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",o),r.on("close",s));var a=!1;function o(){a||(a=!0,e.end())}function s(){a||(a=!0,typeof e.destroy=="function"&&e.destroy())}function l(c){if(u(),Uj.listenerCount(this,"error")===0)throw c}r.on("error",l),e.on("error",l);function u(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e}});var TA=ye(fu=>{var GSe=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),n={},i=0;i<r.length;i++)n[r[i]]=Object.getOwnPropertyDescriptor(t,r[i]);return n},t4t=/%[sdj%]/g;fu.format=function(e){if(!jR(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(W_(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,a=String(e).replace(t4t,function(s){if(s==="%%")return"%";if(r>=i)return s;switch(s){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(l){return"[Circular]"}default:return s}}),o=n[r];r<i;o=n[++r])HR(o)||!wA(o)?a+=" "+o:a+=" "+W_(o);return a};fu.deprecate=function(e,t){if(typeof process!="undefined"&&process.noDeprecation===!0)return e;if(typeof process=="undefined")return function(){return fu.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var BR={},HSe=/^$/;NR="false",NR=NR.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),HSe=new RegExp("^"+NR+"$","i");var NR;fu.debuglog=function(e){if(e=e.toUpperCase(),!BR[e])if(HSe.test(e)){var t=process.pid;BR[e]=function(){var r=fu.format.apply(fu,arguments);console.error("%s %d: %s",e,t,r)}}else BR[e]=function(){};return BR[e]};function W_(e,t){var r={seen:[],stylize:i4t};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),jj(t)?r.showHidden=t:t&&fu._extend(r,t),R2(r.showHidden)&&(r.showHidden=!1),R2(r.depth)&&(r.depth=2),R2(r.colors)&&(r.colors=!1),R2(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=r4t),VR(r,e,r.depth)}fu.inspect=W_;W_.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};W_.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function r4t(e,t){var r=W_.styles[t];return r?"\x1B["+W_.colors[r][0]+"m"+e+"\x1B["+W_.colors[r][1]+"m":e}function i4t(e,t){return e}function n4t(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function VR(e,t,r){if(e.customInspect&&t&&UR(t.inspect)&&t.inspect!==fu.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return jR(n)||(n=VR(e,n,r)),n}var i=a4t(e,t);if(i)return i;var a=Object.keys(t),o=n4t(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),pE(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return Vj(t);if(a.length===0){if(UR(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(vE(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(GR(t))return e.stylize(Date.prototype.toString.call(t),"date");if(pE(t))return Vj(t)}var l="",u=!1,c=["{","}"];if(jSe(t)&&(u=!0,c=["[","]"]),UR(t)){var f=t.name?": "+t.name:"";l=" [Function"+f+"]"}if(vE(t)&&(l=" "+RegExp.prototype.toString.call(t)),GR(t)&&(l=" "+Date.prototype.toUTCString.call(t)),pE(t)&&(l=" "+Vj(t)),a.length===0&&(!u||t.length==0))return c[0]+l+c[1];if(r<0)return vE(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var h;return u?h=o4t(e,t,r,o,a):h=a.map(function(d){return Hj(e,t,r,o,d,u)}),e.seen.pop(),s4t(h,l,c)}function a4t(e,t){if(R2(t))return e.stylize("undefined","undefined");if(jR(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(WSe(t))return e.stylize(""+t,"number");if(jj(t))return e.stylize(""+t,"boolean");if(HR(t))return e.stylize("null","null")}function Vj(e){return"["+Error.prototype.toString.call(e)+"]"}function o4t(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)XSe(t,String(o))?a.push(Hj(e,t,r,n,String(o),!0)):a.push("");return i.forEach(function(l){l.match(/^\d+$/)||a.push(Hj(e,t,r,n,l,!0))}),a}function Hj(e,t,r,n,i,a){var o,s,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?l.set?s=e.stylize("[Getter/Setter]","special"):s=e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),XSe(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(HR(r)?s=VR(e,l.value,null):s=VR(e,l.value,r-1),s.indexOf(`
32`)>-1&&(a?s=s.split(`
33`).map(function(u){return" "+u}).join(`
34`).slice(2):s=`

Callers 1

plotly.min.jsFile · 0.85

Calls 7

RMtFunction · 0.85
PMtFunction · 0.85
bMtFunction · 0.85
DjFunction · 0.85
zjFunction · 0.85
nuFunction · 0.70
writeMethod · 0.45

Tested by

no test coverage detected