dd-trace 5.88.0 → 5.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ext/tags.js +2 -0
- package/index.d.ts +9 -0
- package/package.json +12 -8
- package/packages/datadog-instrumentations/src/helpers/rewriter/index.js +26 -111
- package/packages/datadog-instrumentations/src/helpers/rewriter/{compiler.js → orchestrion/compiler.js} +5 -5
- package/packages/datadog-instrumentations/src/helpers/rewriter/orchestrion/index.js +43 -0
- package/packages/datadog-instrumentations/src/helpers/rewriter/orchestrion/matcher.js +49 -0
- package/packages/datadog-instrumentations/src/helpers/rewriter/orchestrion/transformer.js +121 -0
- package/packages/datadog-instrumentations/src/helpers/rewriter/{transforms.js → orchestrion/transforms.js} +6 -6
- package/packages/datadog-instrumentations/src/jest.js +101 -43
- package/packages/datadog-plugin-cypress/src/cypress-plugin.js +36 -5
- package/packages/datadog-plugin-cypress/src/source-map-utils.js +297 -0
- package/packages/datadog-plugin-cypress/src/support.js +4 -1
- package/packages/dd-trace/src/aiguard/sdk.js +5 -1
- package/packages/dd-trace/src/ci-visibility/exporters/ci-visibility-exporter.js +1 -0
- package/packages/dd-trace/src/config/index.js +2 -0
- package/packages/dd-trace/src/config/supported-configurations.json +10 -0
- package/packages/dd-trace/src/datastreams/checkpointer.js +13 -0
- package/packages/dd-trace/src/datastreams/index.js +3 -0
- package/packages/dd-trace/src/datastreams/manager.js +9 -0
- package/packages/dd-trace/src/datastreams/processor.js +126 -3
- package/packages/dd-trace/src/encode/agentless-json.js +16 -2
- package/packages/dd-trace/src/exporters/agent/writer.js +7 -8
- package/packages/dd-trace/src/pkg.js +1 -1
- package/packages/dd-trace/src/proxy.js +2 -1
- package/packages/dd-trace/src/startup-log.js +52 -18
- package/vendor/dist/@datadog/sketches-js/index.js +1 -1
- package/vendor/dist/@datadog/source-map/index.js +1 -1
- package/vendor/dist/@isaacs/ttlcache/index.js +1 -1
- package/vendor/dist/@opentelemetry/core/index.js +1 -1
- package/vendor/dist/@opentelemetry/resources/index.js +1 -1
- package/vendor/dist/astring/index.js +1 -1
- package/vendor/dist/crypto-randomuuid/index.js +1 -1
- package/vendor/dist/escape-string-regexp/index.js +1 -1
- package/vendor/dist/esquery/index.js +1 -1
- package/vendor/dist/ignore/index.js +1 -1
- package/vendor/dist/istanbul-lib-coverage/index.js +1 -1
- package/vendor/dist/jest-docblock/index.js +1 -1
- package/vendor/dist/jsonpath-plus/index.js +1 -1
- package/vendor/dist/limiter/index.js +1 -1
- package/vendor/dist/lodash.sortby/index.js +1 -1
- package/vendor/dist/lru-cache/index.js +1 -1
- package/vendor/dist/meriyah/index.js +1 -1
- package/vendor/dist/module-details-from-path/index.js +1 -1
- package/vendor/dist/mutexify/promise/index.js +1 -1
- package/vendor/dist/opentracing/index.js +1 -1
- package/vendor/dist/path-to-regexp/index.js +1 -1
- package/vendor/dist/pprof-format/index.js +1 -1
- package/vendor/dist/protobufjs/index.js +1 -1
- package/vendor/dist/protobufjs/minimal/index.js +1 -1
- package/vendor/dist/retry/index.js +1 -1
- package/vendor/dist/rfdc/index.js +1 -1
- package/vendor/dist/semifies/index.js +1 -1
- package/vendor/dist/shell-quote/index.js +1 -1
- package/vendor/dist/source-map/index.js +1 -1
- package/vendor/dist/source-map/lib/util/index.js +1 -1
- package/vendor/dist/tlhunter-sorted-set/index.js +1 -1
- package/vendor/dist/ttl-set/index.js +1 -1
- package/packages/datadog-instrumentations/src/helpers/rewriter/transformer.js +0 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var __webpack_modules__={"./@protobufjs/aspromise/index.js":function(t){t.exports=asPromise;function asPromise(t,r){for(var e=Array(arguments.length-1),i=0,n=2,o=!0;n<arguments.length;)e[i++]=arguments[n++];return new Promise(function(n,s){e[i]=function(t){if(o)if(o=!1,t)s(t);else{for(var r=Array(arguments.length-1),e=0;e<r.length;)r[e++]=arguments[e];n.apply(null,r)}};try{t.apply(r||null,e)}catch(t){o&&(o=!1,s(t))}})}},"./@protobufjs/base64/index.js":function(t,r){var e=r;e.length=function(t){var r=t.length;if(!r)return 0;for(var e=0;--r%4>1&&"="===t.charAt(r);)++e;return Math.ceil(3*t.length)/4-e};for(var i=Array(64),n=Array(123),o=0;o<64;)n[i[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;e.encode=function(t,r,e){for(var n,o=null,s=[],f=0,u=0;r<e;){var a=t[r++];switch(u){case 0:s[f++]=i[a>>2],n=(3&a)<<4,u=1;break;case 1:s[f++]=i[n|a>>4],n=(15&a)<<2,u=2;break;case 2:s[f++]=i[n|a>>6],s[f++]=i[63&a],u=0}f>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,s)),f=0)}return(u&&(s[f++]=i[n],s[f++]=61,1===u&&(s[f++]=61)),o)?(f&&o.push(String.fromCharCode.apply(String,s.slice(0,f))),o.join("")):String.fromCharCode.apply(String,s.slice(0,f))};var s="invalid encoding";e.decode=function(t,r,e){for(var i,o=e,f=0,u=0;u<t.length;){var a=t.charCodeAt(u++);if(61===a&&f>1)break;if(void 0===(a=n[a]))throw Error(s);switch(f){case 0:i=a,f=1;break;case 1:r[e++]=i<<2|(48&a)>>4,i=a,f=2;break;case 2:r[e++]=(15&i)<<4|(60&a)>>2,i=a,f=3;break;case 3:r[e++]=(3&i)<<6|a,f=0}}if(1===f)throw Error(s);return e-o},e.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},"./@protobufjs/eventemitter/index.js":function(t){function EventEmitter(){this._listeners={}}t.exports=EventEmitter,EventEmitter.prototype.on=function(t,r,e){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:r,ctx:e||this}),this},EventEmitter.prototype.off=function(t,r){if(void 0===t)this._listeners={};else if(void 0===r)this._listeners[t]=[];else for(var e=this._listeners[t],i=0;i<e.length;)e[i].fn===r?e.splice(i,1):++i;return this},EventEmitter.prototype.emit=function(t){var r=this._listeners[t];if(r){for(var e=[],i=1;i<arguments.length;)e.push(arguments[i++]);for(i=0;i<r.length;)r[i].fn.apply(r[i++].ctx,e)}return this}},"./@protobufjs/float/index.js":function(t){function factory(t){return"undefined"!=typeof Float32Array?!function(){var r=new Float32Array([-0]),e=new Uint8Array(r.buffer),i=128===e[3];function writeFloat_f32_cpy(t,i,n){r[0]=t,i[n]=e[0],i[n+1]=e[1],i[n+2]=e[2],i[n+3]=e[3]}function writeFloat_f32_rev(t,i,n){r[0]=t,i[n]=e[3],i[n+1]=e[2],i[n+2]=e[1],i[n+3]=e[0]}function readFloat_f32_cpy(t,i){return e[0]=t[i],e[1]=t[i+1],e[2]=t[i+2],e[3]=t[i+3],r[0]}function readFloat_f32_rev(t,i){return e[3]=t[i],e[2]=t[i+1],e[1]=t[i+2],e[0]=t[i+3],r[0]}t.writeFloatLE=i?writeFloat_f32_cpy:writeFloat_f32_rev,t.writeFloatBE=i?writeFloat_f32_rev:writeFloat_f32_cpy,t.readFloatLE=i?readFloat_f32_cpy:readFloat_f32_rev,t.readFloatBE=i?readFloat_f32_rev:readFloat_f32_cpy}():!function(){function writeFloat_ieee754(t,r,e,i){var n=+(r<0);if(n&&(r=-r),0===r)t(1/r>0?0:0x80000000,e,i);else if(isNaN(r))t(0x7fc00000,e,i);else if(r>34028234663852886e22)t((n<<31|0x7f800000)>>>0,e,i);else if(r<11754943508222875e-54)t((n<<31|Math.round(r/1401298464324817e-60))>>>0,e,i);else{var o=Math.floor(Math.log(r)/Math.LN2),s=8388607&Math.round(r*Math.pow(2,-o)*8388608);t((n<<31|o+127<<23|s)>>>0,e,i)}}function readFloat_ieee754(t,r,e){var i=t(r,e),n=(i>>31)*2+1,o=i>>>23&255,s=8388607&i;return 255===o?s?NaN:1/0*n:0===o?1401298464324817e-60*n*s:n*Math.pow(2,o-150)*(s+8388608)}t.writeFloatLE=writeFloat_ieee754.bind(null,writeUintLE),t.writeFloatBE=writeFloat_ieee754.bind(null,writeUintBE),t.readFloatLE=readFloat_ieee754.bind(null,readUintLE),t.readFloatBE=readFloat_ieee754.bind(null,readUintBE)}(),"undefined"!=typeof Float64Array?!function(){var r=new Float64Array([-0]),e=new Uint8Array(r.buffer),i=128===e[7];function writeDouble_f64_cpy(t,i,n){r[0]=t,i[n]=e[0],i[n+1]=e[1],i[n+2]=e[2],i[n+3]=e[3],i[n+4]=e[4],i[n+5]=e[5],i[n+6]=e[6],i[n+7]=e[7]}function writeDouble_f64_rev(t,i,n){r[0]=t,i[n]=e[7],i[n+1]=e[6],i[n+2]=e[5],i[n+3]=e[4],i[n+4]=e[3],i[n+5]=e[2],i[n+6]=e[1],i[n+7]=e[0]}function readDouble_f64_cpy(t,i){return e[0]=t[i],e[1]=t[i+1],e[2]=t[i+2],e[3]=t[i+3],e[4]=t[i+4],e[5]=t[i+5],e[6]=t[i+6],e[7]=t[i+7],r[0]}function readDouble_f64_rev(t,i){return e[7]=t[i],e[6]=t[i+1],e[5]=t[i+2],e[4]=t[i+3],e[3]=t[i+4],e[2]=t[i+5],e[1]=t[i+6],e[0]=t[i+7],r[0]}t.writeDoubleLE=i?writeDouble_f64_cpy:writeDouble_f64_rev,t.writeDoubleBE=i?writeDouble_f64_rev:writeDouble_f64_cpy,t.readDoubleLE=i?readDouble_f64_cpy:readDouble_f64_rev,t.readDoubleBE=i?readDouble_f64_rev:readDouble_f64_cpy}():!function(){function writeDouble_ieee754(t,r,e,i,n,o){var s,f=+(i<0);if(f&&(i=-i),0===i)t(0,n,o+r),t(1/i>0?0:0x80000000,n,o+e);else if(isNaN(i))t(0,n,o+r),t(0x7ff80000,n,o+e);else if(i>17976931348623157e292)t(0,n,o+r),t((f<<31|0x7ff00000)>>>0,n,o+e);else if(i<22250738585072014e-324)t((s=i/5e-324)>>>0,n,o+r),t((f<<31|s/0x100000000)>>>0,n,o+e);else{var u=Math.floor(Math.log(i)/Math.LN2);1024===u&&(u=1023),t(0x10000000000000*(s=i*Math.pow(2,-u))>>>0,n,o+r),t((f<<31|u+1023<<20|1048576*s&1048575)>>>0,n,o+e)}}function readDouble_ieee754(t,r,e,i,n){var o=t(i,n+r),s=t(i,n+e),f=(s>>31)*2+1,u=s>>>20&2047,a=0x100000000*(1048575&s)+o;return 2047===u?a?NaN:1/0*f:0===u?5e-324*f*a:f*Math.pow(2,u-1075)*(a+0x10000000000000)}t.writeDoubleLE=writeDouble_ieee754.bind(null,writeUintLE,0,4),t.writeDoubleBE=writeDouble_ieee754.bind(null,writeUintBE,4,0),t.readDoubleLE=readDouble_ieee754.bind(null,readUintLE,0,4),t.readDoubleBE=readDouble_ieee754.bind(null,readUintBE,4,0)}(),t}function writeUintLE(t,r,e){r[e]=255&t,r[e+1]=t>>>8&255,r[e+2]=t>>>16&255,r[e+3]=t>>>24}function writeUintBE(t,r,e){r[e]=t>>>24,r[e+1]=t>>>16&255,r[e+2]=t>>>8&255,r[e+3]=255&t}function readUintLE(t,r){return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>0}function readUintBE(t,r){return(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3])>>>0}t.exports=factory(factory)},"./@protobufjs/inquire/index.js":function(module){module.exports=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}},"./@protobufjs/pool/index.js":function(t){t.exports=pool;function pool(t,r,e){var i=e||8192,n=i>>>1,o=null,s=i;return function(e){if(e<1||e>n)return t(e);s+e>i&&(o=t(i),s=0);var f=r.call(o,s,s+=e);return 7&s&&(s=(7|s)+1),f}}},"./@protobufjs/utf8/index.js":function(t,r){var e=r;e.length=function(t){for(var r=0,e=0,i=0;i<t.length;++i)(e=t.charCodeAt(i))<128?r+=1:e<2048?r+=2:(64512&e)==55296&&(64512&t.charCodeAt(i+1))==56320?(++i,r+=4):r+=3;return r},e.read=function(t,r,e){if(e-r<1)return"";for(var i,n=null,o=[],s=0;r<e;)(i=t[r++])<128?o[s++]=i:i>191&&i<224?o[s++]=(31&i)<<6|63&t[r++]:i>239&&i<365?(i=((7&i)<<18|(63&t[r++])<<12|(63&t[r++])<<6|63&t[r++])-65536,o[s++]=55296+(i>>10),o[s++]=56320+(1023&i)):o[s++]=(15&i)<<12|(63&t[r++])<<6|63&t[r++],s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,o)),s=0);return n?(s&&n.push(String.fromCharCode.apply(String,o.slice(0,s))),n.join("")):String.fromCharCode.apply(String,o.slice(0,s))},e.write=function(t,r,e){for(var i,n,o=e,s=0;s<t.length;++s)(i=t.charCodeAt(s))<128?r[e++]=i:(i<2048?r[e++]=i>>6|192:((64512&i)==55296&&(64512&(n=t.charCodeAt(s+1)))==56320?(i=65536+((1023&i)<<10)+(1023&n),++s,r[e++]=i>>18|240,r[e++]=i>>12&63|128):r[e++]=i>>12|224,r[e++]=i>>6&63|128),r[e++]=63&i|128);return e-o}},"./protobufjs/minimal.js":function(t,r,e){t.exports=e("./protobufjs/src/index-minimal.js")},"./protobufjs/src/index-minimal.js":function(t,r,e){var i=r;function configure(){i.util._configure(),i.Writer._configure(i.BufferWriter),i.Reader._configure(i.BufferReader)}i.build="minimal",i.Writer=e("./protobufjs/src/writer.js"),i.BufferWriter=e("./protobufjs/src/writer_buffer.js"),i.Reader=e("./protobufjs/src/reader.js"),i.BufferReader=e("./protobufjs/src/reader_buffer.js"),i.util=e("./protobufjs/src/util/minimal.js"),i.rpc=e("./protobufjs/src/rpc.js"),i.roots=e("./protobufjs/src/roots.js"),i.configure=configure,configure()},"./protobufjs/src/reader.js":function(t,r,e){t.exports=Reader;var i,n=e("./protobufjs/src/util/minimal.js"),o=n.LongBits,s=n.utf8;function indexOutOfRange(t,r){return RangeError("index out of range: "+t.pos+" + "+(r||1)+" > "+t.len)}function Reader(t){this.buf=t,this.pos=0,this.len=t.length}var f="undefined"!=typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new Reader(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new Reader(t);throw Error("illegal buffer")},create=function(){return n.Buffer?function(t){return(Reader.create=function(t){return n.Buffer.isBuffer(t)?new i(t):f(t)})(t)}:f};function readLongVarint(){var t=new o(0,0),r=0;if(this.len-this.pos>4){for(;r<4;++r)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*r)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;r=0}else{for(;r<3;++r){if(this.pos>=this.len)throw indexOutOfRange(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*r)>>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*r)>>>0,t}if(this.len-this.pos>4){for(;r<5;++r)if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*r+3)>>>0,this.buf[this.pos++]<128)return t}else for(;r<5;++r){if(this.pos>=this.len)throw indexOutOfRange(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*r+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function readFixed32_end(t,r){return(t[r-4]|t[r-3]<<8|t[r-2]<<16|t[r-1]<<24)>>>0}function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new o(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader.create=create(),Reader.prototype._slice=n.Array.prototype.subarray||n.Array.prototype.slice,Reader.prototype.uint32=function(){var t=0xffffffff;return function(){if(t=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(t=(t|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(t=(t|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(t=(t|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(t=(t|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return t;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return t}}(),Reader.prototype.int32=function(){return 0|this.uint32()},Reader.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)},Reader.prototype.bool=function(){return 0!==this.uint32()},Reader.prototype.fixed32=function(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.sfixed32=function(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return 0|readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.float=function(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var t=n.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},Reader.prototype.double=function(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var t=n.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},Reader.prototype.bytes=function(){var t=this.uint32(),r=this.pos,e=this.pos+t;if(e>this.len)throw indexOutOfRange(this,t);if(this.pos+=t,Array.isArray(this.buf))return this.buf.slice(r,e);if(r===e){var i=n.Buffer;return i?i.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,r,e)},Reader.prototype.string=function(){var t=this.bytes();return s.read(t,0,t.length)},Reader.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw indexOutOfRange(this,t);this.pos+=t}else do if(this.pos>=this.len)throw indexOutOfRange(this);while(128&this.buf[this.pos++]);return this},Reader.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},Reader._configure=function(t){i=t,Reader.create=create(),i._configure();var r=n.Long?"toLong":"toNumber";n.merge(Reader.prototype,{int64:function(){return readLongVarint.call(this)[r](!1)},uint64:function(){return readLongVarint.call(this)[r](!0)},sint64:function(){return readLongVarint.call(this).zzDecode()[r](!1)},fixed64:function(){return readFixed64.call(this)[r](!0)},sfixed64:function(){return readFixed64.call(this)[r](!1)}})}},"./protobufjs/src/reader_buffer.js":function(t,r,e){t.exports=BufferReader;var i=e("./protobufjs/src/reader.js");(BufferReader.prototype=Object.create(i.prototype)).constructor=BufferReader;var n=e("./protobufjs/src/util/minimal.js");function BufferReader(t){i.call(this,t)}BufferReader._configure=function(){n.Buffer&&(BufferReader.prototype._slice=n.Buffer.prototype.slice)},BufferReader.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len))},BufferReader._configure()},"./protobufjs/src/roots.js":function(t){t.exports={}},"./protobufjs/src/rpc.js":function(t,r,e){r.Service=e("./protobufjs/src/rpc/service.js")},"./protobufjs/src/rpc/service.js":function(t,r,e){t.exports=Service;var i=e("./protobufjs/src/util/minimal.js");function Service(t,r,e){if("function"!=typeof t)throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!r,this.responseDelimited=!!e}(Service.prototype=Object.create(i.EventEmitter.prototype)).constructor=Service,Service.prototype.rpcCall=function rpcCall(t,r,e,n,o){if(!n)throw TypeError("request must be specified");var s=this;if(!o)return i.asPromise(rpcCall,s,t,r,e,n);if(!s.rpcImpl)return void setTimeout(function(){o(Error("already ended"))},0);try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(r,i){if(r)return s.emit("error",r,t),o(r);if(null===i)return void s.end(!0);if(!(i instanceof e))try{i=e[s.responseDelimited?"decodeDelimited":"decode"](i)}catch(r){return s.emit("error",r,t),o(r)}return s.emit("data",i,t),o(null,i)})}catch(r){s.emit("error",r,t),setTimeout(function(){o(r)},0);return}},Service.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},"./protobufjs/src/util/longbits.js":function(t,r,e){t.exports=LongBits;var i=e("./protobufjs/src/util/minimal.js");function LongBits(t,r){this.lo=t>>>0,this.hi=r>>>0}var n=LongBits.zero=new LongBits(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var o=LongBits.zeroHash="\0\0\0\0\0\0\0\0";LongBits.fromNumber=function(t){if(0===t)return n;var r=t<0;r&&(t=-t);var e=t>>>0,i=(t-e)/0x100000000>>>0;return r&&(i=~i>>>0,e=~e>>>0,++e>0xffffffff&&(e=0,++i>0xffffffff&&(i=0))),new LongBits(e,i)},LongBits.from=function(t){if("number"==typeof t)return LongBits.fromNumber(t);if(i.isString(t))if(!i.Long)return LongBits.fromNumber(parseInt(t,10));else t=i.Long.fromString(t);return t.low||t.high?new LongBits(t.low>>>0,t.high>>>0):n},LongBits.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var r=~this.lo+1>>>0,e=~this.hi>>>0;return r||(e=e+1>>>0),-(r+0x100000000*e)}return this.lo+0x100000000*this.hi},LongBits.prototype.toLong=function(t){return i.Long?new i.Long(0|this.lo,0|this.hi,!!t):{low:0|this.lo,high:0|this.hi,unsigned:!!t}};var s=String.prototype.charCodeAt;LongBits.fromHash=function(t){return t===o?n:new LongBits((s.call(t,0)|s.call(t,1)<<8|s.call(t,2)<<16|s.call(t,3)<<24)>>>0,(s.call(t,4)|s.call(t,5)<<8|s.call(t,6)<<16|s.call(t,7)<<24)>>>0)},LongBits.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},LongBits.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},LongBits.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},LongBits.prototype.length=function(){var t=this.lo,r=(this.lo>>>28|this.hi<<4)>>>0,e=this.hi>>>24;return 0===e?0===r?t<16384?t<128?1:2:t<2097152?3:4:r<16384?r<128?5:6:r<2097152?7:8:e<128?9:10}},"./protobufjs/src/util/minimal.js":function(t,r,e){var i=r;function merge(t,r,e){for(var i=Object.keys(r),n=0;n<i.length;++n)void 0!==t[i[n]]&&e||(t[i[n]]=r[i[n]]);return t}function newError(t){function CustomError(t,r){if(!(this instanceof CustomError))return new CustomError(t,r);Object.defineProperty(this,"message",{get:function(){return t}}),Error.captureStackTrace?Error.captureStackTrace(this,CustomError):Object.defineProperty(this,"stack",{value:Error().stack||""}),r&&merge(this,r)}return CustomError.prototype=Object.create(Error.prototype,{constructor:{value:CustomError,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return t},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),CustomError}i.asPromise=e("./@protobufjs/aspromise/index.js"),i.base64=e("./@protobufjs/base64/index.js"),i.EventEmitter=e("./@protobufjs/eventemitter/index.js"),i.float=e("./@protobufjs/float/index.js"),i.inquire=e("./@protobufjs/inquire/index.js"),i.utf8=e("./@protobufjs/utf8/index.js"),i.pool=e("./@protobufjs/pool/index.js"),i.LongBits=e("./protobufjs/src/util/longbits.js"),i.isNode=!!("undefined"!=typeof global&&global&&global.process&&global.process.versions&&global.process.versions.node),i.global=i.isNode&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},i.isString=function(t){return"string"==typeof t||t instanceof String},i.isObject=function(t){return t&&"object"==typeof t},i.isset=i.isSet=function(t,r){var e=t[r];return!!(null!=e&&t.hasOwnProperty(r))&&("object"!=typeof e||(Array.isArray(e)?e.length:Object.keys(e).length)>0)},i.Buffer=function(){try{var t=i.inquire("buffer").Buffer;return t.prototype.utf8Write?t:null}catch(t){return null}}(),i._Buffer_from=null,i._Buffer_allocUnsafe=null,i.newBuffer=function(t){return"number"==typeof t?i.Buffer?i._Buffer_allocUnsafe(t):new i.Array(t):i.Buffer?i._Buffer_from(t):"undefined"==typeof Uint8Array?t:new Uint8Array(t)},i.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,i.Long=i.global.dcodeIO&&i.global.dcodeIO.Long||i.global.Long||i.inquire("long"),i.key2Re=/^true|false|0|1$/,i.key32Re=/^-?(?:0|[1-9][0-9]*)$/,i.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,i.longToHash=function(t){return t?i.LongBits.from(t).toHash():i.LongBits.zeroHash},i.longFromHash=function(t,r){var e=i.LongBits.fromHash(t);return i.Long?i.Long.fromBits(e.lo,e.hi,r):e.toNumber(!!r)},i.merge=merge,i.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1)},i.newError=newError,i.ProtocolError=newError("ProtocolError"),i.oneOfGetter=function(t){for(var r={},e=0;e<t.length;++e)r[t[e]]=1;return function(){for(var t=Object.keys(this),e=t.length-1;e>-1;--e)if(1===r[t[e]]&&void 0!==this[t[e]]&&null!==this[t[e]])return t[e]}},i.oneOfSetter=function(t){return function(r){for(var e=0;e<t.length;++e)t[e]!==r&&delete this[t[e]]}},i.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},i._configure=function(){var t=i.Buffer;if(!t){i._Buffer_from=i._Buffer_allocUnsafe=null;return}i._Buffer_from=t.from!==Uint8Array.from&&t.from||function(r,e){return new t(r,e)},i._Buffer_allocUnsafe=t.allocUnsafe||function(r){return new t(r)}}},"./protobufjs/src/writer.js":function(t,r,e){t.exports=Writer;var i,n=e("./protobufjs/src/util/minimal.js"),o=n.LongBits,s=n.base64,f=n.utf8;function Op(t,r,e){this.fn=t,this.len=r,this.next=void 0,this.val=e}function noop(){}function State(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states}function Writer(){this.len=0,this.head=new Op(noop,0,0),this.tail=this.head,this.states=null}var create=function(){return n.Buffer?function(){return(Writer.create=function(){return new i})()}:function(){return new Writer}};function writeByte(t,r,e){r[e]=255&t}function writeVarint32(t,r,e){for(;t>127;)r[e++]=127&t|128,t>>>=7;r[e]=t}function VarintOp(t,r){this.len=t,this.next=void 0,this.val=r}function writeVarint64(t,r,e){for(;t.hi;)r[e++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;for(;t.lo>127;)r[e++]=127&t.lo|128,t.lo=t.lo>>>7;r[e++]=t.lo}function writeFixed32(t,r,e){r[e]=255&t,r[e+1]=t>>>8&255,r[e+2]=t>>>16&255,r[e+3]=t>>>24}Writer.create=create(),Writer.alloc=function(t){return new n.Array(t)},n.Array!==Array&&(Writer.alloc=n.pool(Writer.alloc,n.Array.prototype.subarray)),Writer.prototype._push=function(t,r,e){return this.tail=this.tail.next=new Op(t,r,e),this.len+=r,this},VarintOp.prototype=Object.create(Op.prototype),VarintOp.prototype.fn=writeVarint32,Writer.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new VarintOp((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<0x10000000?4:5,t)).len,this},Writer.prototype.int32=function(t){return t<0?this._push(writeVarint64,10,o.fromNumber(t)):this.uint32(t)},Writer.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},Writer.prototype.uint64=function(t){var r=o.from(t);return this._push(writeVarint64,r.length(),r)},Writer.prototype.int64=Writer.prototype.uint64,Writer.prototype.sint64=function(t){var r=o.from(t).zzEncode();return this._push(writeVarint64,r.length(),r)},Writer.prototype.bool=function(t){return this._push(writeByte,1,+!!t)},Writer.prototype.fixed32=function(t){return this._push(writeFixed32,4,t>>>0)},Writer.prototype.sfixed32=Writer.prototype.fixed32,Writer.prototype.fixed64=function(t){var r=o.from(t);return this._push(writeFixed32,4,r.lo)._push(writeFixed32,4,r.hi)},Writer.prototype.sfixed64=Writer.prototype.fixed64,Writer.prototype.float=function(t){return this._push(n.float.writeFloatLE,4,t)},Writer.prototype.double=function(t){return this._push(n.float.writeDoubleLE,8,t)};var u=n.Array.prototype.set?function(t,r,e){r.set(t,e)}:function(t,r,e){for(var i=0;i<t.length;++i)r[e+i]=t[i]};Writer.prototype.bytes=function(t){var r=t.length>>>0;if(!r)return this._push(writeByte,1,0);if(n.isString(t)){var e=Writer.alloc(r=s.length(t));s.decode(t,e,0),t=e}return this.uint32(r)._push(u,r,t)},Writer.prototype.string=function(t){var r=f.length(t);return r?this.uint32(r)._push(f.write,r,t):this._push(writeByte,1,0)},Writer.prototype.fork=function(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this},Writer.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this},Writer.prototype.ldelim=function(){var t=this.head,r=this.tail,e=this.len;return this.reset().uint32(e),e&&(this.tail.next=t.next,this.tail=r,this.len+=e),this},Writer.prototype.finish=function(){for(var t=this.head.next,r=this.constructor.alloc(this.len),e=0;t;)t.fn(t.val,r,e),e+=t.len,t=t.next;return r},Writer._configure=function(t){i=t,Writer.create=create(),i._configure()}},"./protobufjs/src/writer_buffer.js":function(t,r,e){t.exports=BufferWriter;var i=e("./protobufjs/src/writer.js");(BufferWriter.prototype=Object.create(i.prototype)).constructor=BufferWriter;var n=e("./protobufjs/src/util/minimal.js");function BufferWriter(){i.call(this)}function writeStringBuffer(t,r,e){t.length<40?n.utf8.write(t,r,e):r.utf8Write?r.utf8Write(t,e):r.write(t,e)}BufferWriter._configure=function(){BufferWriter.alloc=n._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=n.Buffer&&n.Buffer.prototype instanceof Uint8Array&&"set"===n.Buffer.prototype.set.name?function(t,r,e){r.set(t,e)}:function(t,r,e){if(t.copy)t.copy(r,e,0,t.length);else for(var i=0;i<t.length;)r[e++]=t[i++]}},BufferWriter.prototype.bytes=function(t){n.isString(t)&&(t=n._Buffer_from(t,"base64"));var r=t.length>>>0;return this.uint32(r),r&&this._push(BufferWriter.writeBytesBuffer,r,t),this},BufferWriter.prototype.string=function(t){var r=n.Buffer.byteLength(t);return this.uint32(r),r&&this._push(writeStringBuffer,r,t),this},BufferWriter._configure()}},__webpack_module_cache__={};function __webpack_require__(t){var r=__webpack_module_cache__[t];if(void 0!==r)return r.exports;var e=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(e.exports,e,e.exports,__webpack_require__),e.exports}var __webpack_exports__=__webpack_require__("./protobufjs/minimal.js");module.exports=__webpack_exports__})();
|
|
1
|
+
(()=>{"use strict";var __webpack_modules__={"./@protobufjs/aspromise/index.js"(t){t.exports=asPromise;function asPromise(t,r){for(var e=Array(arguments.length-1),i=0,o=2,n=!0;o<arguments.length;)e[i++]=arguments[o++];return new Promise(function(o,s){e[i]=function(t){if(n)if(n=!1,t)s(t);else{for(var r=Array(arguments.length-1),e=0;e<r.length;)r[e++]=arguments[e];o.apply(null,r)}};try{t.apply(r||null,e)}catch(t){n&&(n=!1,s(t))}})}},"./@protobufjs/base64/index.js"(t,r){var e=r;e.length=function(t){var r=t.length;if(!r)return 0;for(var e=0;--r%4>1&&"="===t.charAt(r);)++e;return Math.ceil(3*t.length)/4-e};for(var i=Array(64),o=Array(123),n=0;n<64;)o[i[n]=n<26?n+65:n<52?n+71:n<62?n-4:n-59|43]=n++;e.encode=function(t,r,e){for(var o,n=null,s=[],u=0,f=0;r<e;){var a=t[r++];switch(f){case 0:s[u++]=i[a>>2],o=(3&a)<<4,f=1;break;case 1:s[u++]=i[o|a>>4],o=(15&a)<<2,f=2;break;case 2:s[u++]=i[o|a>>6],s[u++]=i[63&a],f=0}u>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),u=0)}return(f&&(s[u++]=i[o],s[u++]=61,1===f&&(s[u++]=61)),n)?(u&&n.push(String.fromCharCode.apply(String,s.slice(0,u))),n.join("")):String.fromCharCode.apply(String,s.slice(0,u))};var s="invalid encoding";e.decode=function(t,r,e){for(var i,n=e,u=0,f=0;f<t.length;){var a=t.charCodeAt(f++);if(61===a&&u>1)break;if(void 0===(a=o[a]))throw Error(s);switch(u){case 0:i=a,u=1;break;case 1:r[e++]=i<<2|(48&a)>>4,i=a,u=2;break;case 2:r[e++]=(15&i)<<4|(60&a)>>2,i=a,u=3;break;case 3:r[e++]=(3&i)<<6|a,u=0}}if(1===u)throw Error(s);return e-n},e.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},"./@protobufjs/eventemitter/index.js"(t){function EventEmitter(){this._listeners={}}t.exports=EventEmitter,EventEmitter.prototype.on=function(t,r,e){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:r,ctx:e||this}),this},EventEmitter.prototype.off=function(t,r){if(void 0===t)this._listeners={};else if(void 0===r)this._listeners[t]=[];else for(var e=this._listeners[t],i=0;i<e.length;)e[i].fn===r?e.splice(i,1):++i;return this},EventEmitter.prototype.emit=function(t){var r=this._listeners[t];if(r){for(var e=[],i=1;i<arguments.length;)e.push(arguments[i++]);for(i=0;i<r.length;)r[i].fn.apply(r[i++].ctx,e)}return this}},"./@protobufjs/float/index.js"(t){function factory(t){return"u">typeof Float32Array?!function(){var r=new Float32Array([-0]),e=new Uint8Array(r.buffer),i=128===e[3];function writeFloat_f32_cpy(t,i,o){r[0]=t,i[o]=e[0],i[o+1]=e[1],i[o+2]=e[2],i[o+3]=e[3]}function writeFloat_f32_rev(t,i,o){r[0]=t,i[o]=e[3],i[o+1]=e[2],i[o+2]=e[1],i[o+3]=e[0]}function readFloat_f32_cpy(t,i){return e[0]=t[i],e[1]=t[i+1],e[2]=t[i+2],e[3]=t[i+3],r[0]}function readFloat_f32_rev(t,i){return e[3]=t[i],e[2]=t[i+1],e[1]=t[i+2],e[0]=t[i+3],r[0]}t.writeFloatLE=i?writeFloat_f32_cpy:writeFloat_f32_rev,t.writeFloatBE=i?writeFloat_f32_rev:writeFloat_f32_cpy,t.readFloatLE=i?readFloat_f32_cpy:readFloat_f32_rev,t.readFloatBE=i?readFloat_f32_rev:readFloat_f32_cpy}():!function(){function writeFloat_ieee754(t,r,e,i){var o=+(r<0);if(o&&(r=-r),0===r)t(1/r>0?0:0x80000000,e,i);else if(isNaN(r))t(0x7fc00000,e,i);else if(r>34028234663852886e22)t((o<<31|0x7f800000)>>>0,e,i);else if(r<11754943508222875e-54)t((o<<31|Math.round(r/1401298464324817e-60))>>>0,e,i);else{var n=Math.floor(Math.log(r)/Math.LN2),s=8388607&Math.round(r*Math.pow(2,-n)*8388608);t((o<<31|n+127<<23|s)>>>0,e,i)}}function readFloat_ieee754(t,r,e){var i=t(r,e),o=(i>>31)*2+1,n=i>>>23&255,s=8388607&i;return 255===n?s?NaN:1/0*o:0===n?1401298464324817e-60*o*s:o*Math.pow(2,n-150)*(s+8388608)}t.writeFloatLE=writeFloat_ieee754.bind(null,writeUintLE),t.writeFloatBE=writeFloat_ieee754.bind(null,writeUintBE),t.readFloatLE=readFloat_ieee754.bind(null,readUintLE),t.readFloatBE=readFloat_ieee754.bind(null,readUintBE)}(),"u">typeof Float64Array?!function(){var r=new Float64Array([-0]),e=new Uint8Array(r.buffer),i=128===e[7];function writeDouble_f64_cpy(t,i,o){r[0]=t,i[o]=e[0],i[o+1]=e[1],i[o+2]=e[2],i[o+3]=e[3],i[o+4]=e[4],i[o+5]=e[5],i[o+6]=e[6],i[o+7]=e[7]}function writeDouble_f64_rev(t,i,o){r[0]=t,i[o]=e[7],i[o+1]=e[6],i[o+2]=e[5],i[o+3]=e[4],i[o+4]=e[3],i[o+5]=e[2],i[o+6]=e[1],i[o+7]=e[0]}function readDouble_f64_cpy(t,i){return e[0]=t[i],e[1]=t[i+1],e[2]=t[i+2],e[3]=t[i+3],e[4]=t[i+4],e[5]=t[i+5],e[6]=t[i+6],e[7]=t[i+7],r[0]}function readDouble_f64_rev(t,i){return e[7]=t[i],e[6]=t[i+1],e[5]=t[i+2],e[4]=t[i+3],e[3]=t[i+4],e[2]=t[i+5],e[1]=t[i+6],e[0]=t[i+7],r[0]}t.writeDoubleLE=i?writeDouble_f64_cpy:writeDouble_f64_rev,t.writeDoubleBE=i?writeDouble_f64_rev:writeDouble_f64_cpy,t.readDoubleLE=i?readDouble_f64_cpy:readDouble_f64_rev,t.readDoubleBE=i?readDouble_f64_rev:readDouble_f64_cpy}():!function(){function writeDouble_ieee754(t,r,e,i,o,n){var s,u=+(i<0);if(u&&(i=-i),0===i)t(0,o,n+r),t(1/i>0?0:0x80000000,o,n+e);else if(isNaN(i))t(0,o,n+r),t(0x7ff80000,o,n+e);else if(i>17976931348623157e292)t(0,o,n+r),t((u<<31|0x7ff00000)>>>0,o,n+e);else if(i<22250738585072014e-324)t((s=i/5e-324)>>>0,o,n+r),t((u<<31|s/0x100000000)>>>0,o,n+e);else{var f=Math.floor(Math.log(i)/Math.LN2);1024===f&&(f=1023),t(0x10000000000000*(s=i*Math.pow(2,-f))>>>0,o,n+r),t((u<<31|f+1023<<20|1048576*s&1048575)>>>0,o,n+e)}}function readDouble_ieee754(t,r,e,i,o){var n=t(i,o+r),s=t(i,o+e),u=(s>>31)*2+1,f=s>>>20&2047,a=0x100000000*(1048575&s)+n;return 2047===f?a?NaN:1/0*u:0===f?5e-324*u*a:u*Math.pow(2,f-1075)*(a+0x10000000000000)}t.writeDoubleLE=writeDouble_ieee754.bind(null,writeUintLE,0,4),t.writeDoubleBE=writeDouble_ieee754.bind(null,writeUintBE,4,0),t.readDoubleLE=readDouble_ieee754.bind(null,readUintLE,0,4),t.readDoubleBE=readDouble_ieee754.bind(null,readUintBE,4,0)}(),t}function writeUintLE(t,r,e){r[e]=255&t,r[e+1]=t>>>8&255,r[e+2]=t>>>16&255,r[e+3]=t>>>24}function writeUintBE(t,r,e){r[e]=t>>>24,r[e+1]=t>>>16&255,r[e+2]=t>>>8&255,r[e+3]=255&t}function readUintLE(t,r){return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>0}function readUintBE(t,r){return(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3])>>>0}t.exports=factory(factory)},"./@protobufjs/inquire/index.js"(module){module.exports=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}},"./@protobufjs/pool/index.js"(t){t.exports=pool;function pool(t,r,e){var i=e||8192,o=i>>>1,n=null,s=i;return function(e){if(e<1||e>o)return t(e);s+e>i&&(n=t(i),s=0);var u=r.call(n,s,s+=e);return 7&s&&(s=(7|s)+1),u}}},"./@protobufjs/utf8/index.js"(t,r){var e=r;e.length=function(t){for(var r=0,e=0,i=0;i<t.length;++i)(e=t.charCodeAt(i))<128?r+=1:e<2048?r+=2:(64512&e)==55296&&(64512&t.charCodeAt(i+1))==56320?(++i,r+=4):r+=3;return r},e.read=function(t,r,e){if(e-r<1)return"";for(var i,o=null,n=[],s=0;r<e;)(i=t[r++])<128?n[s++]=i:i>191&&i<224?n[s++]=(31&i)<<6|63&t[r++]:i>239&&i<365?(i=((7&i)<<18|(63&t[r++])<<12|(63&t[r++])<<6|63&t[r++])-65536,n[s++]=55296+(i>>10),n[s++]=56320+(1023&i)):n[s++]=(15&i)<<12|(63&t[r++])<<6|63&t[r++],s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,n)),s=0);return o?(s&&o.push(String.fromCharCode.apply(String,n.slice(0,s))),o.join("")):String.fromCharCode.apply(String,n.slice(0,s))},e.write=function(t,r,e){for(var i,o,n=e,s=0;s<t.length;++s)(i=t.charCodeAt(s))<128?r[e++]=i:(i<2048?r[e++]=i>>6|192:((64512&i)==55296&&(64512&(o=t.charCodeAt(s+1)))==56320?(i=65536+((1023&i)<<10)+(1023&o),++s,r[e++]=i>>18|240,r[e++]=i>>12&63|128):r[e++]=i>>12|224,r[e++]=i>>6&63|128),r[e++]=63&i|128);return e-n}},"./protobufjs/minimal.js"(t,r,e){t.exports=e("./protobufjs/src/index-minimal.js")},"./protobufjs/src/index-minimal.js"(t,r,e){var i=r;function configure(){i.util._configure(),i.Writer._configure(i.BufferWriter),i.Reader._configure(i.BufferReader)}i.build="minimal",i.Writer=e("./protobufjs/src/writer.js"),i.BufferWriter=e("./protobufjs/src/writer_buffer.js"),i.Reader=e("./protobufjs/src/reader.js"),i.BufferReader=e("./protobufjs/src/reader_buffer.js"),i.util=e("./protobufjs/src/util/minimal.js"),i.rpc=e("./protobufjs/src/rpc.js"),i.roots=e("./protobufjs/src/roots.js"),i.configure=configure,configure()},"./protobufjs/src/reader.js"(t,r,e){t.exports=Reader;var i,o=e("./protobufjs/src/util/minimal.js"),n=o.LongBits,s=o.utf8;function indexOutOfRange(t,r){return RangeError("index out of range: "+t.pos+" + "+(r||1)+" > "+t.len)}function Reader(t){this.buf=t,this.pos=0,this.len=t.length}var u="u">typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new Reader(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new Reader(t);throw Error("illegal buffer")},create=function(){return o.Buffer?function(t){return(Reader.create=function(t){return o.Buffer.isBuffer(t)?new i(t):u(t)})(t)}:u};function readLongVarint(){var t=new n(0,0),r=0;if(this.len-this.pos>4){for(;r<4;++r)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*r)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;r=0}else{for(;r<3;++r){if(this.pos>=this.len)throw indexOutOfRange(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*r)>>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*r)>>>0,t}if(this.len-this.pos>4){for(;r<5;++r)if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*r+3)>>>0,this.buf[this.pos++]<128)return t}else for(;r<5;++r){if(this.pos>=this.len)throw indexOutOfRange(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*r+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function readFixed32_end(t,r){return(t[r-4]|t[r-3]<<8|t[r-2]<<16|t[r-1]<<24)>>>0}function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new n(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader.create=create(),Reader.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,Reader.prototype.uint32=function(){var t=0xffffffff;return function(){if(t=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(t=(t|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(t=(t|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(t=(t|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(t=(t|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return t;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return t}}(),Reader.prototype.int32=function(){return 0|this.uint32()},Reader.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)},Reader.prototype.bool=function(){return 0!==this.uint32()},Reader.prototype.fixed32=function(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.sfixed32=function(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return 0|readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.float=function(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var t=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},Reader.prototype.double=function(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var t=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},Reader.prototype.bytes=function(){var t=this.uint32(),r=this.pos,e=this.pos+t;if(e>this.len)throw indexOutOfRange(this,t);if(this.pos+=t,Array.isArray(this.buf))return this.buf.slice(r,e);if(r===e){var i=o.Buffer;return i?i.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,r,e)},Reader.prototype.string=function(){var t=this.bytes();return s.read(t,0,t.length)},Reader.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw indexOutOfRange(this,t);this.pos+=t}else do if(this.pos>=this.len)throw indexOutOfRange(this);while(128&this.buf[this.pos++]);return this},Reader.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},Reader._configure=function(t){i=t,Reader.create=create(),i._configure();var r=o.Long?"toLong":"toNumber";o.merge(Reader.prototype,{int64:function(){return readLongVarint.call(this)[r](!1)},uint64:function(){return readLongVarint.call(this)[r](!0)},sint64:function(){return readLongVarint.call(this).zzDecode()[r](!1)},fixed64:function(){return readFixed64.call(this)[r](!0)},sfixed64:function(){return readFixed64.call(this)[r](!1)}})}},"./protobufjs/src/reader_buffer.js"(t,r,e){t.exports=BufferReader;var i=e("./protobufjs/src/reader.js");(BufferReader.prototype=Object.create(i.prototype)).constructor=BufferReader;var o=e("./protobufjs/src/util/minimal.js");function BufferReader(t){i.call(this,t)}BufferReader._configure=function(){o.Buffer&&(BufferReader.prototype._slice=o.Buffer.prototype.slice)},BufferReader.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len))},BufferReader._configure()},"./protobufjs/src/roots.js"(t){t.exports={}},"./protobufjs/src/rpc.js"(t,r,e){r.Service=e("./protobufjs/src/rpc/service.js")},"./protobufjs/src/rpc/service.js"(t,r,e){t.exports=Service;var i=e("./protobufjs/src/util/minimal.js");function Service(t,r,e){if("function"!=typeof t)throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!r,this.responseDelimited=!!e}(Service.prototype=Object.create(i.EventEmitter.prototype)).constructor=Service,Service.prototype.rpcCall=function rpcCall(t,r,e,o,n){if(!o)throw TypeError("request must be specified");var s=this;if(!n)return i.asPromise(rpcCall,s,t,r,e,o);if(!s.rpcImpl)return void setTimeout(function(){n(Error("already ended"))},0);try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(r,i){if(r)return s.emit("error",r,t),n(r);if(null===i)return void s.end(!0);if(!(i instanceof e))try{i=e[s.responseDelimited?"decodeDelimited":"decode"](i)}catch(r){return s.emit("error",r,t),n(r)}return s.emit("data",i,t),n(null,i)})}catch(r){s.emit("error",r,t),setTimeout(function(){n(r)},0);return}},Service.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},"./protobufjs/src/util/longbits.js"(t,r,e){t.exports=LongBits;var i=e("./protobufjs/src/util/minimal.js");function LongBits(t,r){this.lo=t>>>0,this.hi=r>>>0}var o=LongBits.zero=new LongBits(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var n=LongBits.zeroHash="\0\0\0\0\0\0\0\0";LongBits.fromNumber=function(t){if(0===t)return o;var r=t<0;r&&(t=-t);var e=t>>>0,i=(t-e)/0x100000000>>>0;return r&&(i=~i>>>0,e=~e>>>0,++e>0xffffffff&&(e=0,++i>0xffffffff&&(i=0))),new LongBits(e,i)},LongBits.from=function(t){if("number"==typeof t)return LongBits.fromNumber(t);if(i.isString(t))if(!i.Long)return LongBits.fromNumber(parseInt(t,10));else t=i.Long.fromString(t);return t.low||t.high?new LongBits(t.low>>>0,t.high>>>0):o},LongBits.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var r=~this.lo+1>>>0,e=~this.hi>>>0;return r||(e=e+1>>>0),-(r+0x100000000*e)}return this.lo+0x100000000*this.hi},LongBits.prototype.toLong=function(t){return i.Long?new i.Long(0|this.lo,0|this.hi,!!t):{low:0|this.lo,high:0|this.hi,unsigned:!!t}};var s=String.prototype.charCodeAt;LongBits.fromHash=function(t){return t===n?o:new LongBits((s.call(t,0)|s.call(t,1)<<8|s.call(t,2)<<16|s.call(t,3)<<24)>>>0,(s.call(t,4)|s.call(t,5)<<8|s.call(t,6)<<16|s.call(t,7)<<24)>>>0)},LongBits.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},LongBits.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},LongBits.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},LongBits.prototype.length=function(){var t=this.lo,r=(this.lo>>>28|this.hi<<4)>>>0,e=this.hi>>>24;return 0===e?0===r?t<16384?t<128?1:2:t<2097152?3:4:r<16384?r<128?5:6:r<2097152?7:8:e<128?9:10}},"./protobufjs/src/util/minimal.js"(t,r,e){var i=r;function merge(t,r,e){for(var i=Object.keys(r),o=0;o<i.length;++o)void 0!==t[i[o]]&&e||(t[i[o]]=r[i[o]]);return t}function newError(t){function CustomError(t,r){if(!(this instanceof CustomError))return new CustomError(t,r);Object.defineProperty(this,"message",{get:function(){return t}}),Error.captureStackTrace?Error.captureStackTrace(this,CustomError):Object.defineProperty(this,"stack",{value:Error().stack||""}),r&&merge(this,r)}return CustomError.prototype=Object.create(Error.prototype,{constructor:{value:CustomError,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return t},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),CustomError}i.asPromise=e("./@protobufjs/aspromise/index.js"),i.base64=e("./@protobufjs/base64/index.js"),i.EventEmitter=e("./@protobufjs/eventemitter/index.js"),i.float=e("./@protobufjs/float/index.js"),i.inquire=e("./@protobufjs/inquire/index.js"),i.utf8=e("./@protobufjs/utf8/index.js"),i.pool=e("./@protobufjs/pool/index.js"),i.LongBits=e("./protobufjs/src/util/longbits.js"),i.isNode=!!("u">typeof global&&global&&global.process&&global.process.versions&&global.process.versions.node),i.global=i.isNode&&global||"u">typeof window&&window||"u">typeof self&&self||this,i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},i.isString=function(t){return"string"==typeof t||t instanceof String},i.isObject=function(t){return t&&"object"==typeof t},i.isset=i.isSet=function(t,r){var e=t[r];return!!(null!=e&&t.hasOwnProperty(r))&&("object"!=typeof e||(Array.isArray(e)?e.length:Object.keys(e).length)>0)},i.Buffer=function(){try{var t=i.inquire("buffer").Buffer;return t.prototype.utf8Write?t:null}catch(t){return null}}(),i._Buffer_from=null,i._Buffer_allocUnsafe=null,i.newBuffer=function(t){return"number"==typeof t?i.Buffer?i._Buffer_allocUnsafe(t):new i.Array(t):i.Buffer?i._Buffer_from(t):"u"<typeof Uint8Array?t:new Uint8Array(t)},i.Array="u">typeof Uint8Array?Uint8Array:Array,i.Long=i.global.dcodeIO&&i.global.dcodeIO.Long||i.global.Long||i.inquire("long"),i.key2Re=/^true|false|0|1$/,i.key32Re=/^-?(?:0|[1-9][0-9]*)$/,i.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,i.longToHash=function(t){return t?i.LongBits.from(t).toHash():i.LongBits.zeroHash},i.longFromHash=function(t,r){var e=i.LongBits.fromHash(t);return i.Long?i.Long.fromBits(e.lo,e.hi,r):e.toNumber(!!r)},i.merge=merge,i.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1)},i.newError=newError,i.ProtocolError=newError("ProtocolError"),i.oneOfGetter=function(t){for(var r={},e=0;e<t.length;++e)r[t[e]]=1;return function(){for(var t=Object.keys(this),e=t.length-1;e>-1;--e)if(1===r[t[e]]&&void 0!==this[t[e]]&&null!==this[t[e]])return t[e]}},i.oneOfSetter=function(t){return function(r){for(var e=0;e<t.length;++e)t[e]!==r&&delete this[t[e]]}},i.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},i._configure=function(){var t=i.Buffer;if(!t){i._Buffer_from=i._Buffer_allocUnsafe=null;return}i._Buffer_from=t.from!==Uint8Array.from&&t.from||function(r,e){return new t(r,e)},i._Buffer_allocUnsafe=t.allocUnsafe||function(r){return new t(r)}}},"./protobufjs/src/writer.js"(t,r,e){t.exports=Writer;var i,o=e("./protobufjs/src/util/minimal.js"),n=o.LongBits,s=o.base64,u=o.utf8;function Op(t,r,e){this.fn=t,this.len=r,this.next=void 0,this.val=e}function noop(){}function State(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states}function Writer(){this.len=0,this.head=new Op(noop,0,0),this.tail=this.head,this.states=null}var create=function(){return o.Buffer?function(){return(Writer.create=function(){return new i})()}:function(){return new Writer}};function writeByte(t,r,e){r[e]=255&t}function writeVarint32(t,r,e){for(;t>127;)r[e++]=127&t|128,t>>>=7;r[e]=t}function VarintOp(t,r){this.len=t,this.next=void 0,this.val=r}function writeVarint64(t,r,e){for(;t.hi;)r[e++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;for(;t.lo>127;)r[e++]=127&t.lo|128,t.lo=t.lo>>>7;r[e++]=t.lo}function writeFixed32(t,r,e){r[e]=255&t,r[e+1]=t>>>8&255,r[e+2]=t>>>16&255,r[e+3]=t>>>24}Writer.create=create(),Writer.alloc=function(t){return new o.Array(t)},o.Array!==Array&&(Writer.alloc=o.pool(Writer.alloc,o.Array.prototype.subarray)),Writer.prototype._push=function(t,r,e){return this.tail=this.tail.next=new Op(t,r,e),this.len+=r,this},VarintOp.prototype=Object.create(Op.prototype),VarintOp.prototype.fn=writeVarint32,Writer.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new VarintOp((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<0x10000000?4:5,t)).len,this},Writer.prototype.int32=function(t){return t<0?this._push(writeVarint64,10,n.fromNumber(t)):this.uint32(t)},Writer.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},Writer.prototype.uint64=function(t){var r=n.from(t);return this._push(writeVarint64,r.length(),r)},Writer.prototype.int64=Writer.prototype.uint64,Writer.prototype.sint64=function(t){var r=n.from(t).zzEncode();return this._push(writeVarint64,r.length(),r)},Writer.prototype.bool=function(t){return this._push(writeByte,1,+!!t)},Writer.prototype.fixed32=function(t){return this._push(writeFixed32,4,t>>>0)},Writer.prototype.sfixed32=Writer.prototype.fixed32,Writer.prototype.fixed64=function(t){var r=n.from(t);return this._push(writeFixed32,4,r.lo)._push(writeFixed32,4,r.hi)},Writer.prototype.sfixed64=Writer.prototype.fixed64,Writer.prototype.float=function(t){return this._push(o.float.writeFloatLE,4,t)},Writer.prototype.double=function(t){return this._push(o.float.writeDoubleLE,8,t)};var f=o.Array.prototype.set?function(t,r,e){r.set(t,e)}:function(t,r,e){for(var i=0;i<t.length;++i)r[e+i]=t[i]};Writer.prototype.bytes=function(t){var r=t.length>>>0;if(!r)return this._push(writeByte,1,0);if(o.isString(t)){var e=Writer.alloc(r=s.length(t));s.decode(t,e,0),t=e}return this.uint32(r)._push(f,r,t)},Writer.prototype.string=function(t){var r=u.length(t);return r?this.uint32(r)._push(u.write,r,t):this._push(writeByte,1,0)},Writer.prototype.fork=function(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this},Writer.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this},Writer.prototype.ldelim=function(){var t=this.head,r=this.tail,e=this.len;return this.reset().uint32(e),e&&(this.tail.next=t.next,this.tail=r,this.len+=e),this},Writer.prototype.finish=function(){for(var t=this.head.next,r=this.constructor.alloc(this.len),e=0;t;)t.fn(t.val,r,e),e+=t.len,t=t.next;return r},Writer._configure=function(t){i=t,Writer.create=create(),i._configure()}},"./protobufjs/src/writer_buffer.js"(t,r,e){t.exports=BufferWriter;var i=e("./protobufjs/src/writer.js");(BufferWriter.prototype=Object.create(i.prototype)).constructor=BufferWriter;var o=e("./protobufjs/src/util/minimal.js");function BufferWriter(){i.call(this)}function writeStringBuffer(t,r,e){t.length<40?o.utf8.write(t,r,e):r.utf8Write?r.utf8Write(t,e):r.write(t,e)}BufferWriter._configure=function(){BufferWriter.alloc=o._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(t,r,e){r.set(t,e)}:function(t,r,e){if(t.copy)t.copy(r,e,0,t.length);else for(var i=0;i<t.length;)r[e++]=t[i++]}},BufferWriter.prototype.bytes=function(t){o.isString(t)&&(t=o._Buffer_from(t,"base64"));var r=t.length>>>0;return this.uint32(r),r&&this._push(BufferWriter.writeBytesBuffer,r,t),this},BufferWriter.prototype.string=function(t){var r=o.Buffer.byteLength(t);return this.uint32(r),r&&this._push(writeStringBuffer,r,t),this},BufferWriter._configure()}},__webpack_module_cache__={};function __webpack_require__(t){var r=__webpack_module_cache__[t];if(void 0!==r)return r.exports;var e=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(e.exports,e,e.exports,__webpack_require__),e.exports}var __webpack_exports__=__webpack_require__("./protobufjs/minimal.js");module.exports=__webpack_exports__})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var t={"./retry/index.js"
|
|
1
|
+
(()=>{var t={"./retry/index.js"(t,e,r){t.exports=r("./retry/lib/retry.js")},"./retry/lib/retry.js"(t,e,r){var i=r("./retry/lib/retry_operation.js");e.operation=function(t){return new i(e.timeouts(t),{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw Error("minTimeout is greater than maxTimeout");for(var i=[],o=0;o<e.retries;o++)i.push(this.createTimeout(o,e));return t&&t.forever&&!i.length&&i.push(this.createTimeout(o,e)),i.sort(function(t,e){return t-e}),i},e.createTimeout=function(t,e){var r=Math.round((e.randomize?Math.random()+1:1)*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return Math.min(r,e.maxTimeout)},e.wrap=function(t,r,i){if(r instanceof Array&&(i=r,r=null),!i)for(var o in i=[],t)"function"==typeof t[o]&&i.push(o);for(var n=0;n<i.length;n++){var s=i[n],a=t[s];t[s]=(function(i){var o=e.operation(r),n=Array.prototype.slice.call(arguments,1),s=n.pop();n.push(function(t){o.retry(t)||(t&&(arguments[0]=o.mainError()),s.apply(this,arguments))}),o.attempt(function(){i.apply(t,n)})}).bind(t,a),t[s].options=r}}},"./retry/lib/retry_operation.js"(t){function RetryOperation(t,e){"boolean"==typeof e&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}t.exports=RetryOperation,RetryOperation.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},RetryOperation.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},RetryOperation.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(void 0===r)if(!this._cachedTimeouts)return!1;else this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);var i=this;return this._timer=setTimeout(function(){i._attempts++,i._operationTimeoutCb&&(i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout),i._options.unref&&i._timeout.unref()),i._fn(i._attempts)},r),this._options.unref&&this._timer.unref(),!0},RetryOperation.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)},RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)},RetryOperation.prototype.start=RetryOperation.prototype.try,RetryOperation.prototype.errors=function(){return this._errors},RetryOperation.prototype.attempts=function(){return this._attempts},RetryOperation.prototype.mainError=function(){if(0===this._errors.length)return null;for(var t={},e=null,r=0,i=0;i<this._errors.length;i++){var o=this._errors[i],n=o.message,s=(t[n]||0)+1;t[n]=s,s>=r&&(e=o,r=s)}return e}}},e={};function __webpack_require__(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,__webpack_require__),o.exports}var r=__webpack_require__("./retry/index.js");module.exports=r})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={"./rfdc/index.js"
|
|
1
|
+
(()=>{"use strict";var e={"./rfdc/index.js"(e){function copyBuffer(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function rfdcCircles(e){let r=[],t=[],o=new Map;if(o.set(Date,e=>new Date(e)),o.set(Map,(e,r)=>new Map(cloneArray(Array.from(e),r))),o.set(Set,(e,r)=>new Set(cloneArray(Array.from(e),r))),e.constructorHandlers)for(let r of e.constructorHandlers)o.set(r[0],r[1]);let n=null;return e.proto?cloneProto:clone;function cloneArray(e,c){let l=Object.keys(e),f=Array(l.length);for(let u=0;u<l.length;u++){let s=l[u],i=e[s];if("object"!=typeof i||null===i)f[s]=i;else if(i.constructor!==Object&&(n=o.get(i.constructor)))f[s]=n(i,c);else if(ArrayBuffer.isView(i))f[s]=copyBuffer(i);else{let e=r.indexOf(i);-1!==e?f[s]=t[e]:f[s]=c(i)}}return f}function clone(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return cloneArray(e,clone);if(e.constructor!==Object&&(n=o.get(e.constructor)))return n(e,clone);let c={};for(let l in r.push(e),t.push(c),e){if(!1===Object.hasOwnProperty.call(e,l))continue;let f=e[l];if("object"!=typeof f||null===f)c[l]=f;else if(f.constructor!==Object&&(n=o.get(f.constructor)))c[l]=n(f,clone);else if(ArrayBuffer.isView(f))c[l]=copyBuffer(f);else{let e=r.indexOf(f);-1!==e?c[l]=t[e]:c[l]=clone(f)}}return r.pop(),t.pop(),c}function cloneProto(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return cloneArray(e,cloneProto);if(e.constructor!==Object&&(n=o.get(e.constructor)))return n(e,cloneProto);let c={};for(let l in r.push(e),t.push(c),e){let f=e[l];if("object"!=typeof f||null===f)c[l]=f;else if(f.constructor!==Object&&(n=o.get(f.constructor)))c[l]=n(f,cloneProto);else if(ArrayBuffer.isView(f))c[l]=copyBuffer(f);else{let e=r.indexOf(f);-1!==e?c[l]=t[e]:c[l]=cloneProto(f)}}return r.pop(),t.pop(),c}}e.exports=function rfdc(e){if((e=e||{}).circles)return rfdcCircles(e);let r=new Map;if(r.set(Date,e=>new Date(e)),r.set(Map,(e,r)=>new Map(cloneArray(Array.from(e),r))),r.set(Set,(e,r)=>new Set(cloneArray(Array.from(e),r))),e.constructorHandlers)for(let t of e.constructorHandlers)r.set(t[0],t[1]);let t=null;return e.proto?cloneProto:clone;function cloneArray(e,o){let n=Object.keys(e),c=Array(n.length);for(let l=0;l<n.length;l++){let f=n[l],u=e[f];"object"!=typeof u||null===u?c[f]=u:u.constructor!==Object&&(t=r.get(u.constructor))?c[f]=t(u,o):ArrayBuffer.isView(u)?c[f]=copyBuffer(u):c[f]=o(u)}return c}function clone(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return cloneArray(e,clone);if(e.constructor!==Object&&(t=r.get(e.constructor)))return t(e,clone);let o={};for(let n in e){if(!1===Object.hasOwnProperty.call(e,n))continue;let c=e[n];"object"!=typeof c||null===c?o[n]=c:c.constructor!==Object&&(t=r.get(c.constructor))?o[n]=t(c,clone):ArrayBuffer.isView(c)?o[n]=copyBuffer(c):o[n]=clone(c)}return o}function cloneProto(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return cloneArray(e,cloneProto);if(e.constructor!==Object&&(t=r.get(e.constructor)))return t(e,cloneProto);let o={};for(let n in e){let c=e[n];"object"!=typeof c||null===c?o[n]=c:c.constructor!==Object&&(t=r.get(c.constructor))?o[n]=t(c,cloneProto):ArrayBuffer.isView(c)?o[n]=copyBuffer(c):o[n]=cloneProto(c)}return o}}}},r={};function __webpack_require__(t){var o=r[t];if(void 0!==o)return o.exports;var n=r[t]={exports:{}};return e[t](n,n.exports,__webpack_require__),n.exports}var t=__webpack_require__("./rfdc/index.js");module.exports=t})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={"./semifies/index.js"
|
|
1
|
+
(()=>{var e={"./semifies/index.js"(e){function checkAll(e,t){for(let[n,r]of e)if(!test(t,r,n))return!1;return!0}function match(e){return"latest"===e&&(e=">=0"),e.match(/^([^\d+]*)(\d.*)$/)||[null,"","*.*.*"]}function compile(e){let t=[],n=[],r=e.trim().split(/\s+/);for(let e=0;e<r.length;e++){let i=r[e];if("-"===i)continue;if("||"===i){t.push(n),n=[];continue}if(/^[<>=~v^]+$/.test(i)&&e+1<r.length){r[e+1]=i+r[e+1];continue}let u=match(i),l=u[1]||"=";l.endsWith("v")&&(l=l.slice(0,-1));let[s,c]=parse(u[2],l);if(e+2<r.length&&"-"===r[e+1]){let t=match(r[e+2]);r[e+2]="<="+(-1===t[2].indexOf("-")?t[2]+".*.*":t[2]),c=">="}if("~"===c[0]){let e=u[2].split("-")[0].split(".").length;n.push([">=",s]),n.push(["<",1===e?inc(s,0):inc(s,1)])}else if("^"===c[0]){let e=0!==s[0]?0:0!==s[1]?1:2;n.push([">=",s]),n.push(["<",0===e?inc(s,0):1===e?inc(s,1):inc(s,2)])}else n.push([c.replace("~","").replace("^",""),s])}return n.length&&t.push(n),t}function inc(e,t){let n=e.slice(0);if(-1===e[t])return n;for(n[t++]++;t<3;t++)n[t]=0;return n}function num(e){return"x"===e||"X"===e||"*"===e||"latest"===e?-1:Number(e)}function numOrString(e){return/^\d+$/.test(e)?Number(e):e}function ok(e,t,n){return -1===n?"<"!==e:"="===e?t===n:">"===e?t>n:">="===e?t>=n:"<"===e?t<n:"<="===e&&t<=n}function parse(e,t){let[n,r]=(e=e.split("+")[0]).split("-"),i=n.split(".").map(num).slice(0,3),u=Math.max(i.length-1,0);return(">"===t?(t=">=",i.push(0,0,0),i[u]++):""===t?i.push(0,0,0):i.push(-1,-1,-1),r)?[i.slice(0,3).concat(r.split(".").map(numOrString)),t]:[i.slice(0,3),t]}function test(e,t,n){if(!ok("=",e[0],t[0]))return ok(n,e[0],t[0]);if(!ok("=",e[1],t[1]))return ok(n,e[1],t[1]);if(!ok("=",e[2],t[2])||3===e.length&&3===t.length)return ok(n,e[2],t[2]);if("<"===n[0]&&(3===t.length||3===e.length))return!1;if(">"===n[0]){if(3===e.length)return!0;if(3===t.length)return!1}for(let r=3;r<Math.max(e.length,t.length);r++)if(ok(n,e[r]||"",t[r]||""))return!0;return!1}e.exports=function satisfies(e,t){let[n]=parse(e,"");for(let e of compile(t))if(checkAll(e,n))return!0;return!1}}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,__webpack_require__),i.exports}var n=__webpack_require__("./semifies/index.js");module.exports=n})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={"./shell-quote/parse.js"
|
|
1
|
+
(()=>{"use strict";var e={"./shell-quote/parse.js"(e){for(var t="(?:\\|\\||\\&\\&|;;|\\|\\&|\\<\\(|\\<\\<\\<|>>|>\\&|<\\&|[&;()|<>])",r=RegExp("^"+t+"$"),n="|&;()<> \\t",a=/^#$/,o="",s=0;s<4;s++)o+=(0x100000000*Math.random()).toString(16);var i=RegExp("^"+o);function matchAll(e,t){for(var r,n=t.lastIndex,a=[];r=t.exec(e);)a.push(r),t.lastIndex===r.index&&(t.lastIndex+=1);return t.lastIndex=n,a}function getVar(e,t,r){var n="function"==typeof e?e(r):e[r];return(void 0===n&&""!=r?n="":void 0===n&&(n="$"),"object"==typeof n)?t+o+JSON.stringify(n)+o:t+n}function parseInternal(e,o,s){s||(s={});var i=s.escape||"\\",u=matchAll(e,RegExp(["("+t+")","("+("(\\"+i+"['\""+n+"]|[^\\s'\""+n)+"])+|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"));if(0===u.length)return[];o||(o={});var c=!1;return u.map(function(t){var n,s=t[0];if(s&&!c){if(r.test(s))return{op:s};var u=!1,l=!1,p="",f=!1;for(n=0;n<s.length;n++){var v=s.charAt(n);if(f=f||!u&&("*"===v||"?"===v),l)p+=v,l=!1;else if(u)v===u?u=!1:"'"==u?p+=v:v===i?(n+=1,'"'===(v=s.charAt(n))||v===i||"$"===v?p+=v:p+=i+v):"$"===v?p+=parseEnvVar():p+=v;else if('"'===v||"'"===v)u=v;else if(r.test(v))return{op:s};else if(a.test(v)){c=!0;var x={comment:e.slice(t.index+n+1)};if(p.length)return[p,x];return[x]}else v===i?l=!0:"$"===v?p+=parseEnvVar():p+=v}return f?{op:"glob",pattern:p}:p}function parseEnvVar(){n+=1;var e,t,r=s.charAt(n);if("{"===r){if(n+=1,"}"===s.charAt(n))throw Error("Bad substitution: "+s.slice(n-2,n+1));if((e=s.indexOf("}",n))<0)throw Error("Bad substitution: "+s.slice(n));t=s.slice(n,e),n=e}else if(/[*@#?$!_-]/.test(r))t=r,n+=1;else{var a=s.slice(n);(e=a.match(/[^\w\d_]/))?(t=a.slice(0,e.index),n+=e.index-1):(t=a,n=s.length)}return getVar(o,"",t)}}).reduce(function(e,t){return void 0===t?e:e.concat(t)},[])}e.exports=function(e,t,r){var n=parseInternal(e,t,r);return"function"!=typeof t?n:n.reduce(function(e,t){if("object"==typeof t)return e.concat(t);var r=t.split(RegExp("("+o+".*?"+o+")","g"));return 1===r.length?e.concat(r[0]):e.concat(r.filter(Boolean).map(function(e){return i.test(e)?JSON.parse(e.split(o)[1]):e}))},[])}},"./shell-quote/quote.js"(e){e.exports=function(e){return e.map(function(e){return""===e?"''":e&&"object"==typeof e?e.op.replace(/(.)/g,"\\$1"):/["\s\\]/.test(e)&&!/'/.test(e)?"'"+e.replace(/(['])/g,"\\$1")+"'":/["'\s]/.test(e)?'"'+e.replace(/(["\\$`!])/g,"\\$1")+'"':String(e).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,__webpack_require__),a.exports}var r={};r.quote=__webpack_require__("./shell-quote/quote.js"),r.parse=__webpack_require__("./shell-quote/parse.js"),module.exports=r})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={"./source-map/lib/array-set.js":function(e,t){let ArraySet=class ArraySet{constructor(){this._array=[],this._set=new Map}static fromArray(e,t){let n=new ArraySet;for(let r=0,o=e.length;r<o;r++)n.add(e[r],t);return n}size(){return this._set.size}add(e,t){let n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||this._set.set(e,r)}has(e){return this._set.has(e)}indexOf(e){let t=this._set.get(e);if(t>=0)return t;throw Error('"'+e+'" is not in the set.')}at(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)}toArray(){return this._array.slice()}};t.ArraySet=ArraySet},"./source-map/lib/base64-vlq.js":function(e,t,n){let r=n("./source-map/lib/base64.js");function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}t.encode=function(e){let t,n="",o=toVLQSigned(e);do t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t);while(o>0);return n}},"./source-map/lib/base64.js":function(e,t){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw TypeError("Must be between 0 and 63: "+e)}},"./source-map/lib/binary-search.js":function(e,t){function recursiveSearch(e,n,r,o,s,i){let l=Math.floor((n-e)/2)+e,a=s(r,o[l],!0);return 0===a?l:a>0?n-l>1?recursiveSearch(l,n,r,o,s,i):i===t.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-e>1?recursiveSearch(e,l,r,o,s,i):i==t.LEAST_UPPER_BOUND?l:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,o){if(0===n.length)return -1;let s=recursiveSearch(-1,n.length,e,n,r,o||t.GREATEST_LOWER_BOUND);if(s<0)return -1;for(;s-1>=0&&0===r(n[s],n[s-1],!0);)--s;return s}},"./source-map/lib/mapping-list.js":function(e,t,n){let r=n("./source-map/lib/util.js");function generatedPositionAfter(e,t){let n=e.generatedLine,o=t.generatedLine,s=e.generatedColumn,i=t.generatedColumn;return o>n||o==n&&i>=s||0>=r.compareByGeneratedPositionsInflated(e,t)}let MappingList=class MappingList{constructor(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,t){this._array.forEach(e,t)}add(e){generatedPositionAfter(this._last,e)?this._last=e:this._sorted=!1,this._array.push(e)}toArray(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array}};t.MappingList=MappingList},"./source-map/lib/read-wasm.js":function(e,t,n){"use strict";let r=n("fs"),o=n("path");e.exports=function(){return new Promise((e,t)=>{let n=o.join(__dirname,"mappings.wasm");r.readFile(n,null,(n,r)=>{n?t(n):e(r.buffer)})})},e.exports.initialize=e=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}},"./source-map/lib/source-map-consumer.js":function(e,t,n){let r=n("./source-map/lib/util.js"),o=n("./source-map/lib/binary-search.js"),s=n("./source-map/lib/array-set.js").ArraySet;n("./source-map/lib/base64-vlq.js");let i=n("./source-map/lib/read-wasm.js"),l=n("./source-map/lib/wasm.js"),a=Symbol("smcInternal");let SourceMapConsumer=class SourceMapConsumer{constructor(e,t){if(e==a)return Promise.resolve(this);return _factory(e,t)}static initialize(e){i.initialize(e["lib/mappings.wasm"])}static fromSourceMap(e,t){return _factoryBSM(e,t)}static async with(e,t,n){let r=await new SourceMapConsumer(e,t);try{return await n(r)}finally{r.destroy()}}eachMapping(e,t,n){throw Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(e){throw Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw Error("Subclasses must implement destroy")}};SourceMapConsumer.prototype._version=3,SourceMapConsumer.GENERATED_ORDER=1,SourceMapConsumer.ORIGINAL_ORDER=2,SourceMapConsumer.GREATEST_LOWER_BOUND=1,SourceMapConsumer.LEAST_UPPER_BOUND=2,t.SourceMapConsumer=SourceMapConsumer;let BasicSourceMapConsumer=class BasicSourceMapConsumer extends SourceMapConsumer{constructor(e,t){return super(a).then(n=>{let o=e;"string"==typeof e&&(o=r.parseSourceMapInput(e));let i=r.getArg(o,"version"),a=r.getArg(o,"sources").map(String),u=r.getArg(o,"names",[]),c=r.getArg(o,"sourceRoot",null),p=r.getArg(o,"sourcesContent",null),g=r.getArg(o,"mappings"),m=r.getArg(o,"file",null),h=r.getArg(o,"x_google_ignoreList",null);if(i!=n._version)throw Error("Unsupported version: "+i);return n._sourceLookupCache=new Map,n._names=s.fromArray(u.map(String),!0),n._sources=s.fromArray(a,!0),n._absoluteSources=s.fromArray(n._sources.toArray().map(function(e){return r.computeSourceURL(c,e,t)}),!0),n.sourceRoot=c,n.sourcesContent=p,n._mappings=g,n._sourceMapURL=t,n.file=m,n.x_google_ignoreList=h,n._computedColumnSpans=!1,n._mappingsPtr=0,n._wasm=null,l().then(e=>(n._wasm=e,n))})}_findSourceIndex(e){let t=this._sourceLookupCache.get(e);if("number"==typeof t)return t;let n=r.computeSourceURL(null,e,this._sourceMapURL);if(this._absoluteSources.has(n)){let t=this._absoluteSources.indexOf(n);return this._sourceLookupCache.set(e,t),t}let o=r.computeSourceURL(this.sourceRoot,e,this._sourceMapURL);if(this._absoluteSources.has(o)){let t=this._absoluteSources.indexOf(o);return this._sourceLookupCache.set(e,t),t}return -1}static fromSourceMap(e,t){return new BasicSourceMapConsumer(e.toString())}get sources(){return this._absoluteSources.toArray()}_getMappingsPtr(){return 0===this._mappingsPtr&&this._parseMappings(),this._mappingsPtr}_parseMappings(){let e=this._mappings,t=e.length,n=this._wasm.exports.allocate_mappings(t)>>>0,r=new Uint8Array(this._wasm.exports.memory.buffer,n,t);for(let n=0;n<t;n++)r[n]=e.charCodeAt(n);let o=this._wasm.exports.parse_mappings(n);if(!o){let e=this._wasm.exports.get_last_error(),t=`Error parsing mappings (code ${e}): `;switch(e){case 1:t+="the mappings contained a negative line, column, source index, or name index";break;case 2:t+="the mappings contained a number larger than 2**32";break;case 3:t+="reached EOF while in the middle of parsing a VLQ";break;case 4:t+="invalid base 64 character while parsing a VLQ";break;default:t+="unknown error code"}throw Error(t)}this._mappingsPtr=o}eachMapping(e,t,n){let r=t||null,o=n||SourceMapConsumer.GENERATED_ORDER;this._wasm.withMappingCallback(t=>{null!==t.source&&(t.source=this._absoluteSources.at(t.source),null!==t.name&&(t.name=this._names.at(t.name))),this._computedColumnSpans&&null===t.lastGeneratedColumn&&(t.lastGeneratedColumn=1/0),e.call(r,t)},()=>{switch(o){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw Error("Unknown order of iteration.")}})}allGeneratedPositionsFor(e){let t=r.getArg(e,"source"),n=r.getArg(e,"line"),o=e.column||0;if((t=this._findSourceIndex(t))<0)return[];if(n<1)throw Error("Line numbers must be >= 1");if(o<0)throw Error("Column numbers must be >= 0");let s=[];return this._wasm.withMappingCallback(e=>{let t=e.lastGeneratedColumn;this._computedColumnSpans&&null===t&&(t=1/0),s.push({line:e.generatedLine,column:e.generatedColumn,lastColumn:t})},()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),t,n-1,"column"in e,o)}),s}destroy(){0!==this._mappingsPtr&&(this._wasm.exports.free_mappings(this._mappingsPtr),this._mappingsPtr=0)}computeColumnSpans(){this._computedColumnSpans||(this._wasm.exports.compute_column_spans(this._getMappingsPtr()),this._computedColumnSpans=!0)}originalPositionFor(e){let t,n={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")};if(n.generatedLine<1)throw Error("Line numbers must be >= 1");if(n.generatedColumn<0)throw Error("Column numbers must be >= 0");let o=r.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(null==o&&(o=SourceMapConsumer.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback(e=>t=e,()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),n.generatedLine-1,n.generatedColumn,o)}),t&&t.generatedLine===n.generatedLine){let e=r.getArg(t,"source",null);null!==e&&(e=this._absoluteSources.at(e));let n=r.getArg(t,"name",null);return null!==n&&(n=this._names.at(n)),{source:e,line:r.getArg(t,"originalLine",null),column:r.getArg(t,"originalColumn",null),name:n}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})}sourceContentFor(e,t){if(!this.sourcesContent)return null;let n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')}generatedPositionFor(e){let t,n=r.getArg(e,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};let o={source:n,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};if(o.originalLine<1)throw Error("Line numbers must be >= 1");if(o.originalColumn<0)throw Error("Column numbers must be >= 0");let s=r.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(null==s&&(s=SourceMapConsumer.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback(e=>t=e,()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),o.source,o.originalLine-1,o.originalColumn,s)}),t&&t.source===o.source){let e=t.lastGeneratedColumn;return this._computedColumnSpans&&null===e&&(e=1/0),{line:r.getArg(t,"generatedLine",null),column:r.getArg(t,"generatedColumn",null),lastColumn:e}}return{line:null,column:null,lastColumn:null}}};BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;let IndexedSourceMapConsumer=class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(e,t){return super(a).then(n=>{let o=e;"string"==typeof e&&(o=r.parseSourceMapInput(e));let s=r.getArg(o,"version"),i=r.getArg(o,"sections");if(s!=n._version)throw Error("Unsupported version: "+s);let l={line:-1,column:0};return Promise.all(i.map(e=>{if(e.url)throw Error("Support for url field in sections not implemented.");let n=r.getArg(e,"offset"),o=r.getArg(n,"line"),s=r.getArg(n,"column");if(o<l.line||o===l.line&&s<l.column)throw Error("Section offsets must be ordered and non-overlapping.");return l=n,new SourceMapConsumer(r.getArg(e,"map"),t).then(e=>({generatedOffset:{generatedLine:o+1,generatedColumn:s+1},consumer:e}))})).then(e=>(n._sections=e,n))})}get sources(){let e=[];for(let t=0;t<this._sections.length;t++)for(let n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}originalPositionFor(e){let t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,function(e,t){let n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-(t.generatedOffset.generatedColumn-1)}),s=this._sections[n];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})}sourceContentFor(e,t){for(let t=0;t<this._sections.length;t++){let n=this._sections[t].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')}_findSectionIndex(e){for(let t=0;t<this._sections.length;t++){let{consumer:n}=this._sections[t];if(-1!==n._findSourceIndex(e))return t}return -1}generatedPositionFor(e){let t=this._findSectionIndex(r.getArg(e,"source")),n=t>=0?this._sections[t]:null,o=t>=0&&t+1<this._sections.length?this._sections[t+1]:null,s=n&&n.consumer.generatedPositionFor(e);if(s&&null!==s.line){let e=n.generatedOffset.generatedLine-1,t=n.generatedOffset.generatedColumn-1;return 1===s.line&&(s.column+=t,"number"==typeof s.lastColumn&&(s.lastColumn+=t)),s.lastColumn===1/0&&o&&s.line===o.generatedOffset.generatedLine&&(s.lastColumn=o.generatedOffset.generatedColumn-2),s.line+=e,s}return{line:null,column:null,lastColumn:null}}allGeneratedPositionsFor(e){let t=this._findSectionIndex(r.getArg(e,"source")),n=t>=0?this._sections[t]:null,o=t>=0&&t+1<this._sections.length?this._sections[t+1]:null;return n?n.consumer.allGeneratedPositionsFor(e).map(e=>{let t=n.generatedOffset.generatedLine-1,r=n.generatedOffset.generatedColumn-1;return 1===e.line&&(e.column+=r,"number"==typeof e.lastColumn&&(e.lastColumn+=r)),e.lastColumn===1/0&&o&&e.line===o.generatedOffset.generatedLine&&(e.lastColumn=o.generatedOffset.generatedColumn-2),e.line+=t,e}):[]}eachMapping(e,t,n){this._sections.forEach((r,o)=>{let s=o+1<this._sections.length?this._sections[o+1]:null,{generatedOffset:i}=r,l=i.generatedLine-1,a=i.generatedColumn-1;r.consumer.eachMapping(function(t){1===t.generatedLine&&(t.generatedColumn+=a,"number"==typeof t.lastGeneratedColumn&&(t.lastGeneratedColumn+=a)),t.lastGeneratedColumn===1/0&&s&&t.generatedLine===s.generatedOffset.generatedLine&&(t.lastGeneratedColumn=s.generatedOffset.generatedColumn-2),t.generatedLine+=l,e.call(this,t)},t,n)})}computeColumnSpans(){for(let e=0;e<this._sections.length;e++)this._sections[e].consumer.computeColumnSpans()}destroy(){for(let e=0;e<this._sections.length;e++)this._sections[e].consumer.destroy()}};function _factory(e,t){let n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),Promise.resolve(null!=n.sections?new IndexedSourceMapConsumer(n,t):new BasicSourceMapConsumer(n,t))}function _factoryBSM(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)}},"./source-map/lib/source-map-generator.js":function(e,t,n){let r=n("./source-map/lib/base64-vlq.js"),o=n("./source-map/lib/util.js"),s=n("./source-map/lib/array-set.js").ArraySet,i=n("./source-map/lib/mapping-list.js").MappingList;let SourceMapGenerator=class SourceMapGenerator{constructor(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new i,this._sourcesContents=null}static fromSourceMap(e){let t=e.sourceRoot,n=new SourceMapGenerator({file:e.file,sourceRoot:t});return e.eachMapping(function(e){let r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(r){let s=r;null!=t&&(s=o.relative(t,r)),n._sources.has(s)||n._sources.add(s);let i=e.sourceContentFor(r);null!=i&&n.setSourceContent(r,i)}),n}addMapping(e){let t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),s=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,s),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=s&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n&&n.line,originalColumn:n&&n.column,source:r,name:s})}setSourceContent(e,t){let n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))}applySourceMap(e,t,n){let r=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}let i=this._sourceRoot;null!=i&&(r=o.relative(i,r));let l=this._mappings.toArray().length>0?new s:this._sources,a=new s;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){let r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}let s=t.source;null==s||l.has(s)||l.add(s);let u=t.name;null==u||a.has(u)||a.add(u)},this),this._sources=l,this._names=a,e.sources.forEach(function(t){let r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)}_validateMapping(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r);else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n);else throw Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}_serializeMappings(){let e,t,n,s,i=0,l=1,a=0,u=0,c=0,p=0,g="",m=this._mappings.toArray();for(let h=0,d=m.length;h<d;h++){if(t=m[h],e="",t.generatedLine!==l)for(i=0;t.generatedLine!==l;)e+=";",l++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,m[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=r.encode(s-p),p=s,e+=r.encode(t.originalLine-1-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-a),a=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),g+=e}return g}_generateSourcesContent(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));let n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)}toJSON(){let e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e}toString(){return JSON.stringify(this.toJSON())}};SourceMapGenerator.prototype._version=3,t.SourceMapGenerator=SourceMapGenerator},"./source-map/lib/source-node.js":function(e,t,n){let r=n("./source-map/lib/source-map-generator.js").SourceMapGenerator,o=n("./source-map/lib/util.js"),s=/(\r?\n)/,i="$$$isSourceNode$$$";let SourceNode=class SourceNode{constructor(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[i]=!0,null!=r&&this.add(r)}static fromStringWithSourceMap(e,t,n){let r,i=new SourceNode,l=e.split(s),a=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return a<l.length?l[a++]:void 0}},u=1,c=0,p=null;return t.eachMapping(function(e){if(null!==p)if(u<e.generatedLine)addMappingWithCode(p,shiftNextLine()),u++,c=0;else{let t=(r=l[a]||"").substr(0,e.generatedColumn-c);l[a]=r.substr(e.generatedColumn-c),c=e.generatedColumn,addMappingWithCode(p,t),p=e;return}for(;u<e.generatedLine;)i.add(shiftNextLine()),u++;c<e.generatedColumn&&(r=l[a]||"",i.add(r.substr(0,e.generatedColumn)),l[a]=r.substr(e.generatedColumn),c=e.generatedColumn),p=e},this),a<l.length&&(p&&addMappingWithCode(p,shiftNextLine()),i.add(l.splice(a).join(""))),t.sources.forEach(function(e){let r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),i.setSourceContent(e,r))}),i;function addMappingWithCode(e,t){if(null===e||void 0===e.source)i.add(t);else{let r=n?o.join(n,e.source):e.source;i.add(new SourceNode(e.originalLine,e.originalColumn,r,t,e.name))}}}add(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[i]||"string"==typeof e)e&&this.children.push(e);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this}prepend(e){if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[i]||"string"==typeof e)this.children.unshift(e);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this}walk(e){let t;for(let n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}join(e){let t,n,r=this.children.length;if(r>0){for(n=0,t=[];n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this}replaceRight(e,t){let n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this}setSourceContent(e,t){this.sourceContents[o.toSetString(e)]=t}walkSourceContents(e){for(let t=0,n=this.children.length;t<n;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);let t=Object.keys(this.sourceContents);for(let n=0,r=t.length;n<r;n++)e(o.fromSetString(t[n]),this.sourceContents[t[n]])}toString(){let e="";return this.walk(function(t){e+=t}),e}toStringWithSourceMap(e){let t={code:"",line:1,column:0},n=new r(e),o=!1,s=null,i=null,l=null,a=null;return this.walk(function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?((s!==r.source||i!==r.line||l!==r.column||a!==r.name)&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),s=r.source,i=r.line,l=r.column,a=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),s=null,o=!1);for(let i=0,l=e.length;i<l;i++)10===e.charCodeAt(i)?(t.line++,t.column=0,i+1===l?(s=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}}};t.SourceNode=SourceNode},"./source-map/lib/url.js":function(e,t,n){"use strict";e.exports="function"==typeof URL?URL:n("url").URL},"./source-map/lib/util.js":function(e,t,n){let r=n("./source-map/lib/url.js");t.getArg=function(e,t,n){if(t in e)return e[t];if(3==arguments.length)return n;throw Error('"'+t+'" is a required argument.')};let o=!("__proto__"in Object.create(null));function identity(e){return e}function toSetString(e){return isProtoString(e)?"$"+e:e}function fromSetString(e){return isProtoString(e)?e.slice(1):e}function isProtoString(e){if(!e)return!1;let t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(let n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function strcmp(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=o?identity:toSetString,t.fromSetString=o?identity:fromSetString,t.compareByGeneratedPositionsInflated=function(e,t){let n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=strcmp(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:strcmp(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))};let s="http:",i=`${s}//host`;function createSafeHandler(e){return t=>{let n=getURLType(t),o=buildSafeBase(t),l=new r(t,o);e(l);let a=l.toString();return"absolute"===n?a:"scheme-relative"===n?a.slice(s.length):"path-absolute"===n?a.slice(i.length):computeRelativeURL(o,a)}}function withBase(e,t){return new r(e,t).toString()}function buildUniqueSegment(e,t){let n=0;for(;;){let r=e+n++;if(-1===t.indexOf(r))return r}}function buildSafeBase(e){let t=e.split("..").length-1,n=buildUniqueSegment("p",e),r=`${i}/`;for(let e=0;e<t;e++)r+=`${n}/`;return r}let l=/^[A-Za-z0-9\+\-\.]+:/;function getURLType(e){return"/"===e[0]?"/"===e[1]?"scheme-relative":"path-absolute":l.test(e)?"absolute":"path-relative"}function computeRelativeURL(e,t){"string"==typeof e&&(e=new r(e)),"string"==typeof t&&(t=new r(t));let n=t.pathname.split("/"),o=e.pathname.split("/");for(o.length>0&&!o[o.length-1]&&o.pop();n.length>0&&o.length>0&&n[0]===o[0];)n.shift(),o.shift();return o.map(()=>"..").concat(n).join("/")+t.search+t.hash}let a=createSafeHandler(e=>{e.pathname=e.pathname.replace(/\/?$/,"/")}),u=createSafeHandler(e=>{e.href=new r(".",e.toString()).toString()}),c=createSafeHandler(e=>{});function join(e,t){let n=getURLType(t),r=getURLType(e);if(e=a(e),"absolute"===n)return withBase(t,void 0);if("absolute"===r)return withBase(t,e);if("scheme-relative"===n)return c(t);if("scheme-relative"===r)return withBase(t,withBase(e,i)).slice(s.length);if("path-absolute"===n)return c(t);if("path-absolute"===r)return withBase(t,withBase(e,i)).slice(i.length);let o=buildSafeBase(t+e),l=withBase(t,withBase(e,o));return computeRelativeURL(o,l)}function relativeIfPossible(e,t){if(getURLType(e)!==getURLType(t))return null;let n=buildSafeBase(e+t),o=new r(e,n),s=new r(t,n);try{new r("",s.toString())}catch(e){return null}return s.protocol!==o.protocol||s.user!==o.user||s.password!==o.password||s.hostname!==o.hostname||s.port!==o.port?null:computeRelativeURL(o,s)}t.normalize=c,t.join=join,t.relative=function(e,t){let n=relativeIfPossible(e,t);return"string"==typeof n?n:c(t)},t.computeSourceURL=function(e,t,n){e&&"path-absolute"===getURLType(t)&&(t=t.replace(/^\//,""));let r=c(t||"");return e&&(r=join(e,r)),n&&(r=join(u(n),r)),r}},"./source-map/lib/wasm.js":function(e,t,n){let r=n("./source-map/lib/read-wasm.js");function Mapping(){this.generatedLine=0,this.generatedColumn=0,this.lastGeneratedColumn=null,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let o=null;e.exports=function(){if(o)return o;let e=[];return o=r().then(t=>WebAssembly.instantiate(t,{env:{mapping_callback(t,n,r,o,s,i,l,a,u,c){let p=new Mapping;p.generatedLine=t+1,p.generatedColumn=n,r&&(p.lastGeneratedColumn=o-1),s&&(p.source=i,p.originalLine=l+1,p.originalColumn=a,u&&(p.name=c)),e[e.length-1](p)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}})).then(t=>({exports:t.instance.exports,withMappingCallback:(t,n)=>{e.push(t);try{n()}finally{e.pop()}}})).then(null,e=>{throw o=null,e})}},fs:function(e){"use strict";e.exports=require("fs")},path:function(e){"use strict";e.exports=require("path")},url:function(e){"use strict";e.exports=require("url")}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,__webpack_require__),o.exports}var n={};n.SourceMapGenerator=__webpack_require__("./source-map/lib/source-map-generator.js").SourceMapGenerator,n.SourceMapConsumer=__webpack_require__("./source-map/lib/source-map-consumer.js").SourceMapConsumer,n.SourceNode=__webpack_require__("./source-map/lib/source-node.js").SourceNode,module.exports=n})();
|
|
1
|
+
(()=>{var e={"./source-map/lib/array-set.js"(e,t){let ArraySet=class ArraySet{constructor(){this._array=[],this._set=new Map}static fromArray(e,t){let n=new ArraySet;for(let r=0,o=e.length;r<o;r++)n.add(e[r],t);return n}size(){return this._set.size}add(e,t){let n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||this._set.set(e,r)}has(e){return this._set.has(e)}indexOf(e){let t=this._set.get(e);if(t>=0)return t;throw Error('"'+e+'" is not in the set.')}at(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)}toArray(){return this._array.slice()}};t.ArraySet=ArraySet},"./source-map/lib/base64-vlq.js"(e,t,n){let r=n("./source-map/lib/base64.js");function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}t.encode=function(e){let t,n="",o=toVLQSigned(e);do t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t);while(o>0);return n}},"./source-map/lib/base64.js"(e,t){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw TypeError("Must be between 0 and 63: "+e)}},"./source-map/lib/binary-search.js"(e,t){function recursiveSearch(e,n,r,o,s,i){let l=Math.floor((n-e)/2)+e,a=s(r,o[l],!0);return 0===a?l:a>0?n-l>1?recursiveSearch(l,n,r,o,s,i):i===t.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-e>1?recursiveSearch(e,l,r,o,s,i):i==t.LEAST_UPPER_BOUND?l:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,o){if(0===n.length)return -1;let s=recursiveSearch(-1,n.length,e,n,r,o||t.GREATEST_LOWER_BOUND);if(s<0)return -1;for(;s-1>=0&&0===r(n[s],n[s-1],!0);)--s;return s}},"./source-map/lib/mapping-list.js"(e,t,n){let r=n("./source-map/lib/util.js");function generatedPositionAfter(e,t){let n=e.generatedLine,o=t.generatedLine,s=e.generatedColumn,i=t.generatedColumn;return o>n||o==n&&i>=s||0>=r.compareByGeneratedPositionsInflated(e,t)}let MappingList=class MappingList{constructor(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,t){this._array.forEach(e,t)}add(e){generatedPositionAfter(this._last,e)?this._last=e:this._sorted=!1,this._array.push(e)}toArray(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array}};t.MappingList=MappingList},"./source-map/lib/read-wasm.js"(e,t,n){"use strict";let r=n("fs"),o=n("path");e.exports=function(){return new Promise((e,t)=>{let n=o.join(__dirname,"mappings.wasm");r.readFile(n,null,(n,r)=>{n?t(n):e(r.buffer)})})},e.exports.initialize=e=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}},"./source-map/lib/source-map-consumer.js"(e,t,n){let r=n("./source-map/lib/util.js"),o=n("./source-map/lib/binary-search.js"),s=n("./source-map/lib/array-set.js").ArraySet;n("./source-map/lib/base64-vlq.js");let i=n("./source-map/lib/read-wasm.js"),l=n("./source-map/lib/wasm.js"),a=Symbol("smcInternal");let SourceMapConsumer=class SourceMapConsumer{constructor(e,t){if(e==a)return Promise.resolve(this);return _factory(e,t)}static initialize(e){i.initialize(e["lib/mappings.wasm"])}static fromSourceMap(e,t){return _factoryBSM(e,t)}static async with(e,t,n){let r=await new SourceMapConsumer(e,t);try{return await n(r)}finally{r.destroy()}}eachMapping(e,t,n){throw Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(e){throw Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw Error("Subclasses must implement destroy")}};SourceMapConsumer.prototype._version=3,SourceMapConsumer.GENERATED_ORDER=1,SourceMapConsumer.ORIGINAL_ORDER=2,SourceMapConsumer.GREATEST_LOWER_BOUND=1,SourceMapConsumer.LEAST_UPPER_BOUND=2,t.SourceMapConsumer=SourceMapConsumer;let BasicSourceMapConsumer=class BasicSourceMapConsumer extends SourceMapConsumer{constructor(e,t){return super(a).then(n=>{let o=e;"string"==typeof e&&(o=r.parseSourceMapInput(e));let i=r.getArg(o,"version"),a=r.getArg(o,"sources").map(String),u=r.getArg(o,"names",[]),c=r.getArg(o,"sourceRoot",null),p=r.getArg(o,"sourcesContent",null),g=r.getArg(o,"mappings"),m=r.getArg(o,"file",null),h=r.getArg(o,"x_google_ignoreList",null);if(i!=n._version)throw Error("Unsupported version: "+i);return n._sourceLookupCache=new Map,n._names=s.fromArray(u.map(String),!0),n._sources=s.fromArray(a,!0),n._absoluteSources=s.fromArray(n._sources.toArray().map(function(e){return r.computeSourceURL(c,e,t)}),!0),n.sourceRoot=c,n.sourcesContent=p,n._mappings=g,n._sourceMapURL=t,n.file=m,n.x_google_ignoreList=h,n._computedColumnSpans=!1,n._mappingsPtr=0,n._wasm=null,l().then(e=>(n._wasm=e,n))})}_findSourceIndex(e){let t=this._sourceLookupCache.get(e);if("number"==typeof t)return t;let n=r.computeSourceURL(null,e,this._sourceMapURL);if(this._absoluteSources.has(n)){let t=this._absoluteSources.indexOf(n);return this._sourceLookupCache.set(e,t),t}let o=r.computeSourceURL(this.sourceRoot,e,this._sourceMapURL);if(this._absoluteSources.has(o)){let t=this._absoluteSources.indexOf(o);return this._sourceLookupCache.set(e,t),t}return -1}static fromSourceMap(e,t){return new BasicSourceMapConsumer(e.toString())}get sources(){return this._absoluteSources.toArray()}_getMappingsPtr(){return 0===this._mappingsPtr&&this._parseMappings(),this._mappingsPtr}_parseMappings(){let e=this._mappings,t=e.length,n=this._wasm.exports.allocate_mappings(t)>>>0,r=new Uint8Array(this._wasm.exports.memory.buffer,n,t);for(let n=0;n<t;n++)r[n]=e.charCodeAt(n);let o=this._wasm.exports.parse_mappings(n);if(!o){let e=this._wasm.exports.get_last_error(),t=`Error parsing mappings (code ${e}): `;switch(e){case 1:t+="the mappings contained a negative line, column, source index, or name index";break;case 2:t+="the mappings contained a number larger than 2**32";break;case 3:t+="reached EOF while in the middle of parsing a VLQ";break;case 4:t+="invalid base 64 character while parsing a VLQ";break;default:t+="unknown error code"}throw Error(t)}this._mappingsPtr=o}eachMapping(e,t,n){let r=t||null,o=n||SourceMapConsumer.GENERATED_ORDER;this._wasm.withMappingCallback(t=>{null!==t.source&&(t.source=this._absoluteSources.at(t.source),null!==t.name&&(t.name=this._names.at(t.name))),this._computedColumnSpans&&null===t.lastGeneratedColumn&&(t.lastGeneratedColumn=1/0),e.call(r,t)},()=>{switch(o){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw Error("Unknown order of iteration.")}})}allGeneratedPositionsFor(e){let t=r.getArg(e,"source"),n=r.getArg(e,"line"),o=e.column||0;if((t=this._findSourceIndex(t))<0)return[];if(n<1)throw Error("Line numbers must be >= 1");if(o<0)throw Error("Column numbers must be >= 0");let s=[];return this._wasm.withMappingCallback(e=>{let t=e.lastGeneratedColumn;this._computedColumnSpans&&null===t&&(t=1/0),s.push({line:e.generatedLine,column:e.generatedColumn,lastColumn:t})},()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),t,n-1,"column"in e,o)}),s}destroy(){0!==this._mappingsPtr&&(this._wasm.exports.free_mappings(this._mappingsPtr),this._mappingsPtr=0)}computeColumnSpans(){this._computedColumnSpans||(this._wasm.exports.compute_column_spans(this._getMappingsPtr()),this._computedColumnSpans=!0)}originalPositionFor(e){let t,n={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")};if(n.generatedLine<1)throw Error("Line numbers must be >= 1");if(n.generatedColumn<0)throw Error("Column numbers must be >= 0");let o=r.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(null==o&&(o=SourceMapConsumer.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback(e=>t=e,()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),n.generatedLine-1,n.generatedColumn,o)}),t&&t.generatedLine===n.generatedLine){let e=r.getArg(t,"source",null);null!==e&&(e=this._absoluteSources.at(e));let n=r.getArg(t,"name",null);return null!==n&&(n=this._names.at(n)),{source:e,line:r.getArg(t,"originalLine",null),column:r.getArg(t,"originalColumn",null),name:n}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})}sourceContentFor(e,t){if(!this.sourcesContent)return null;let n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')}generatedPositionFor(e){let t,n=r.getArg(e,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};let o={source:n,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};if(o.originalLine<1)throw Error("Line numbers must be >= 1");if(o.originalColumn<0)throw Error("Column numbers must be >= 0");let s=r.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(null==s&&(s=SourceMapConsumer.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback(e=>t=e,()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),o.source,o.originalLine-1,o.originalColumn,s)}),t&&t.source===o.source){let e=t.lastGeneratedColumn;return this._computedColumnSpans&&null===e&&(e=1/0),{line:r.getArg(t,"generatedLine",null),column:r.getArg(t,"generatedColumn",null),lastColumn:e}}return{line:null,column:null,lastColumn:null}}};BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;let IndexedSourceMapConsumer=class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(e,t){return super(a).then(n=>{let o=e;"string"==typeof e&&(o=r.parseSourceMapInput(e));let s=r.getArg(o,"version"),i=r.getArg(o,"sections");if(s!=n._version)throw Error("Unsupported version: "+s);let l={line:-1,column:0};return Promise.all(i.map(e=>{if(e.url)throw Error("Support for url field in sections not implemented.");let n=r.getArg(e,"offset"),o=r.getArg(n,"line"),s=r.getArg(n,"column");if(o<l.line||o===l.line&&s<l.column)throw Error("Section offsets must be ordered and non-overlapping.");return l=n,new SourceMapConsumer(r.getArg(e,"map"),t).then(e=>({generatedOffset:{generatedLine:o+1,generatedColumn:s+1},consumer:e}))})).then(e=>(n._sections=e,n))})}get sources(){let e=[];for(let t=0;t<this._sections.length;t++)for(let n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}originalPositionFor(e){let t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,function(e,t){let n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-(t.generatedOffset.generatedColumn-1)}),s=this._sections[n];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})}sourceContentFor(e,t){for(let t=0;t<this._sections.length;t++){let n=this._sections[t].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')}_findSectionIndex(e){for(let t=0;t<this._sections.length;t++){let{consumer:n}=this._sections[t];if(-1!==n._findSourceIndex(e))return t}return -1}generatedPositionFor(e){let t=this._findSectionIndex(r.getArg(e,"source")),n=t>=0?this._sections[t]:null,o=t>=0&&t+1<this._sections.length?this._sections[t+1]:null,s=n&&n.consumer.generatedPositionFor(e);if(s&&null!==s.line){let e=n.generatedOffset.generatedLine-1,t=n.generatedOffset.generatedColumn-1;return 1===s.line&&(s.column+=t,"number"==typeof s.lastColumn&&(s.lastColumn+=t)),s.lastColumn===1/0&&o&&s.line===o.generatedOffset.generatedLine&&(s.lastColumn=o.generatedOffset.generatedColumn-2),s.line+=e,s}return{line:null,column:null,lastColumn:null}}allGeneratedPositionsFor(e){let t=this._findSectionIndex(r.getArg(e,"source")),n=t>=0?this._sections[t]:null,o=t>=0&&t+1<this._sections.length?this._sections[t+1]:null;return n?n.consumer.allGeneratedPositionsFor(e).map(e=>{let t=n.generatedOffset.generatedLine-1,r=n.generatedOffset.generatedColumn-1;return 1===e.line&&(e.column+=r,"number"==typeof e.lastColumn&&(e.lastColumn+=r)),e.lastColumn===1/0&&o&&e.line===o.generatedOffset.generatedLine&&(e.lastColumn=o.generatedOffset.generatedColumn-2),e.line+=t,e}):[]}eachMapping(e,t,n){this._sections.forEach((r,o)=>{let s=o+1<this._sections.length?this._sections[o+1]:null,{generatedOffset:i}=r,l=i.generatedLine-1,a=i.generatedColumn-1;r.consumer.eachMapping(function(t){1===t.generatedLine&&(t.generatedColumn+=a,"number"==typeof t.lastGeneratedColumn&&(t.lastGeneratedColumn+=a)),t.lastGeneratedColumn===1/0&&s&&t.generatedLine===s.generatedOffset.generatedLine&&(t.lastGeneratedColumn=s.generatedOffset.generatedColumn-2),t.generatedLine+=l,e.call(this,t)},t,n)})}computeColumnSpans(){for(let e=0;e<this._sections.length;e++)this._sections[e].consumer.computeColumnSpans()}destroy(){for(let e=0;e<this._sections.length;e++)this._sections[e].consumer.destroy()}};function _factory(e,t){let n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),Promise.resolve(null!=n.sections?new IndexedSourceMapConsumer(n,t):new BasicSourceMapConsumer(n,t))}function _factoryBSM(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)}},"./source-map/lib/source-map-generator.js"(e,t,n){let r=n("./source-map/lib/base64-vlq.js"),o=n("./source-map/lib/util.js"),s=n("./source-map/lib/array-set.js").ArraySet,i=n("./source-map/lib/mapping-list.js").MappingList;let SourceMapGenerator=class SourceMapGenerator{constructor(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new i,this._sourcesContents=null}static fromSourceMap(e){let t=e.sourceRoot,n=new SourceMapGenerator({file:e.file,sourceRoot:t});return e.eachMapping(function(e){let r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(r){let s=r;null!=t&&(s=o.relative(t,r)),n._sources.has(s)||n._sources.add(s);let i=e.sourceContentFor(r);null!=i&&n.setSourceContent(r,i)}),n}addMapping(e){let t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),s=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,s),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=s&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n&&n.line,originalColumn:n&&n.column,source:r,name:s})}setSourceContent(e,t){let n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))}applySourceMap(e,t,n){let r=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}let i=this._sourceRoot;null!=i&&(r=o.relative(i,r));let l=this._mappings.toArray().length>0?new s:this._sources,a=new s;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){let r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}let s=t.source;null==s||l.has(s)||l.add(s);let u=t.name;null==u||a.has(u)||a.add(u)},this),this._sources=l,this._names=a,e.sources.forEach(function(t){let r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)}_validateMapping(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r);else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n);else throw Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}_serializeMappings(){let e,t,n,s,i=0,l=1,a=0,u=0,c=0,p=0,g="",m=this._mappings.toArray();for(let h=0,d=m.length;h<d;h++){if(t=m[h],e="",t.generatedLine!==l)for(i=0;t.generatedLine!==l;)e+=";",l++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,m[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=r.encode(s-p),p=s,e+=r.encode(t.originalLine-1-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-a),a=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),g+=e}return g}_generateSourcesContent(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));let n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)}toJSON(){let e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e}toString(){return JSON.stringify(this.toJSON())}};SourceMapGenerator.prototype._version=3,t.SourceMapGenerator=SourceMapGenerator},"./source-map/lib/source-node.js"(e,t,n){let r=n("./source-map/lib/source-map-generator.js").SourceMapGenerator,o=n("./source-map/lib/util.js"),s=/(\r?\n)/,i="$$$isSourceNode$$$";let SourceNode=class SourceNode{constructor(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[i]=!0,null!=r&&this.add(r)}static fromStringWithSourceMap(e,t,n){let r,i=new SourceNode,l=e.split(s),a=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return a<l.length?l[a++]:void 0}},u=1,c=0,p=null;return t.eachMapping(function(e){if(null!==p)if(u<e.generatedLine)addMappingWithCode(p,shiftNextLine()),u++,c=0;else{let t=(r=l[a]||"").substr(0,e.generatedColumn-c);l[a]=r.substr(e.generatedColumn-c),c=e.generatedColumn,addMappingWithCode(p,t),p=e;return}for(;u<e.generatedLine;)i.add(shiftNextLine()),u++;c<e.generatedColumn&&(r=l[a]||"",i.add(r.substr(0,e.generatedColumn)),l[a]=r.substr(e.generatedColumn),c=e.generatedColumn),p=e},this),a<l.length&&(p&&addMappingWithCode(p,shiftNextLine()),i.add(l.splice(a).join(""))),t.sources.forEach(function(e){let r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),i.setSourceContent(e,r))}),i;function addMappingWithCode(e,t){if(null===e||void 0===e.source)i.add(t);else{let r=n?o.join(n,e.source):e.source;i.add(new SourceNode(e.originalLine,e.originalColumn,r,t,e.name))}}}add(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[i]||"string"==typeof e)e&&this.children.push(e);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this}prepend(e){if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[i]||"string"==typeof e)this.children.unshift(e);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this}walk(e){let t;for(let n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}join(e){let t,n,r=this.children.length;if(r>0){for(n=0,t=[];n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this}replaceRight(e,t){let n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this}setSourceContent(e,t){this.sourceContents[o.toSetString(e)]=t}walkSourceContents(e){for(let t=0,n=this.children.length;t<n;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);let t=Object.keys(this.sourceContents);for(let n=0,r=t.length;n<r;n++)e(o.fromSetString(t[n]),this.sourceContents[t[n]])}toString(){let e="";return this.walk(function(t){e+=t}),e}toStringWithSourceMap(e){let t={code:"",line:1,column:0},n=new r(e),o=!1,s=null,i=null,l=null,a=null;return this.walk(function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?((s!==r.source||i!==r.line||l!==r.column||a!==r.name)&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),s=r.source,i=r.line,l=r.column,a=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),s=null,o=!1);for(let i=0,l=e.length;i<l;i++)10===e.charCodeAt(i)?(t.line++,t.column=0,i+1===l?(s=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}}};t.SourceNode=SourceNode},"./source-map/lib/url.js"(e,t,n){"use strict";e.exports="function"==typeof URL?URL:n("url").URL},"./source-map/lib/util.js"(e,t,n){let r=n("./source-map/lib/url.js");t.getArg=function(e,t,n){if(t in e)return e[t];if(3==arguments.length)return n;throw Error('"'+t+'" is a required argument.')};let o=!("__proto__"in Object.create(null));function identity(e){return e}function toSetString(e){return isProtoString(e)?"$"+e:e}function fromSetString(e){return isProtoString(e)?e.slice(1):e}function isProtoString(e){if(!e)return!1;let t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(let n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function strcmp(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=o?identity:toSetString,t.fromSetString=o?identity:fromSetString,t.compareByGeneratedPositionsInflated=function(e,t){let n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=strcmp(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:strcmp(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))};let s="http:",i=`${s}//host`;function createSafeHandler(e){return t=>{let n=getURLType(t),o=buildSafeBase(t),l=new r(t,o);e(l);let a=l.toString();return"absolute"===n?a:"scheme-relative"===n?a.slice(s.length):"path-absolute"===n?a.slice(i.length):computeRelativeURL(o,a)}}function withBase(e,t){return new r(e,t).toString()}function buildUniqueSegment(e,t){let n=0;for(;;){let r=e+n++;if(-1===t.indexOf(r))return r}}function buildSafeBase(e){let t=e.split("..").length-1,n=buildUniqueSegment("p",e),r=`${i}/`;for(let e=0;e<t;e++)r+=`${n}/`;return r}let l=/^[A-Za-z0-9\+\-\.]+:/;function getURLType(e){return"/"===e[0]?"/"===e[1]?"scheme-relative":"path-absolute":l.test(e)?"absolute":"path-relative"}function computeRelativeURL(e,t){"string"==typeof e&&(e=new r(e)),"string"==typeof t&&(t=new r(t));let n=t.pathname.split("/"),o=e.pathname.split("/");for(o.length>0&&!o[o.length-1]&&o.pop();n.length>0&&o.length>0&&n[0]===o[0];)n.shift(),o.shift();return o.map(()=>"..").concat(n).join("/")+t.search+t.hash}let a=createSafeHandler(e=>{e.pathname=e.pathname.replace(/\/?$/,"/")}),u=createSafeHandler(e=>{e.href=new r(".",e.toString()).toString()}),c=createSafeHandler(e=>{});function join(e,t){let n=getURLType(t),r=getURLType(e);if(e=a(e),"absolute"===n)return withBase(t,void 0);if("absolute"===r)return withBase(t,e);if("scheme-relative"===n)return c(t);if("scheme-relative"===r)return withBase(t,withBase(e,i)).slice(s.length);if("path-absolute"===n)return c(t);if("path-absolute"===r)return withBase(t,withBase(e,i)).slice(i.length);let o=buildSafeBase(t+e),l=withBase(t,withBase(e,o));return computeRelativeURL(o,l)}function relativeIfPossible(e,t){if(getURLType(e)!==getURLType(t))return null;let n=buildSafeBase(e+t),o=new r(e,n),s=new r(t,n);try{new r("",s.toString())}catch(e){return null}return s.protocol!==o.protocol||s.user!==o.user||s.password!==o.password||s.hostname!==o.hostname||s.port!==o.port?null:computeRelativeURL(o,s)}t.normalize=c,t.join=join,t.relative=function(e,t){let n=relativeIfPossible(e,t);return"string"==typeof n?n:c(t)},t.computeSourceURL=function(e,t,n){e&&"path-absolute"===getURLType(t)&&(t=t.replace(/^\//,""));let r=c(t||"");return e&&(r=join(e,r)),n&&(r=join(u(n),r)),r}},"./source-map/lib/wasm.js"(e,t,n){let r=n("./source-map/lib/read-wasm.js");function Mapping(){this.generatedLine=0,this.generatedColumn=0,this.lastGeneratedColumn=null,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let o=null;e.exports=function(){if(o)return o;let e=[];return o=r().then(t=>WebAssembly.instantiate(t,{env:{mapping_callback(t,n,r,o,s,i,l,a,u,c){let p=new Mapping;p.generatedLine=t+1,p.generatedColumn=n,r&&(p.lastGeneratedColumn=o-1),s&&(p.source=i,p.originalLine=l+1,p.originalColumn=a,u&&(p.name=c)),e[e.length-1](p)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}})).then(t=>({exports:t.instance.exports,withMappingCallback:(t,n)=>{e.push(t);try{n()}finally{e.pop()}}})).then(null,e=>{throw o=null,e})}},fs(e){"use strict";e.exports=require("fs")},path(e){"use strict";e.exports=require("path")},url(e){"use strict";e.exports=require("url")}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,__webpack_require__),o.exports}var n={};n.SourceMapGenerator=__webpack_require__("./source-map/lib/source-map-generator.js").SourceMapGenerator,n.SourceMapConsumer=__webpack_require__("./source-map/lib/source-map-consumer.js").SourceMapConsumer,n.SourceNode=__webpack_require__("./source-map/lib/source-node.js").SourceNode,module.exports=n})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={"./source-map/lib/url.js"
|
|
1
|
+
(()=>{var e={"./source-map/lib/url.js"(e,t,r){"use strict";e.exports="function"==typeof URL?URL:r("url").URL},url(e){"use strict";e.exports=require("url")}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,__webpack_require__),i.exports}var r={};(()=>{let e=__webpack_require__("./source-map/lib/url.js");r.getArg=function(e,t,r){if(t in e)return e[t];if(3==arguments.length)return r;throw Error('"'+t+'" is a required argument.')};let t=!("__proto__"in Object.create(null));function identity(e){return e}function toSetString(e){return isProtoString(e)?"$"+e:e}function fromSetString(e){return isProtoString(e)?e.slice(1):e}function isProtoString(e){if(!e)return!1;let t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(let r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function strcmp(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}r.toSetString=t?identity:toSetString,r.fromSetString=t?identity:fromSetString,r.compareByGeneratedPositionsInflated=function(e,t){let r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=strcmp(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:strcmp(e.name,t.name)},r.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))};let n="http:",i=`${n}//host`;function createSafeHandler(t){return r=>{let o=getURLType(r),a=buildSafeBase(r),u=new e(r,a);t(u);let l=u.toString();return"absolute"===o?l:"scheme-relative"===o?l.slice(n.length):"path-absolute"===o?l.slice(i.length):computeRelativeURL(a,l)}}function withBase(t,r){return new e(t,r).toString()}function buildUniqueSegment(e,t){let r=0;for(;;){let n=e+r++;if(-1===t.indexOf(n))return n}}function buildSafeBase(e){let t=e.split("..").length-1,r=buildUniqueSegment("p",e),n=`${i}/`;for(let e=0;e<t;e++)n+=`${r}/`;return n}let o=/^[A-Za-z0-9\+\-\.]+:/;function getURLType(e){return"/"===e[0]?"/"===e[1]?"scheme-relative":"path-absolute":o.test(e)?"absolute":"path-relative"}function computeRelativeURL(t,r){"string"==typeof t&&(t=new e(t)),"string"==typeof r&&(r=new e(r));let n=r.pathname.split("/"),i=t.pathname.split("/");for(i.length>0&&!i[i.length-1]&&i.pop();n.length>0&&i.length>0&&n[0]===i[0];)n.shift(),i.shift();return i.map(()=>"..").concat(n).join("/")+r.search+r.hash}let a=createSafeHandler(e=>{e.pathname=e.pathname.replace(/\/?$/,"/")}),u=createSafeHandler(t=>{t.href=new e(".",t.toString()).toString()}),l=createSafeHandler(e=>{});function join(e,t){let r=getURLType(t),o=getURLType(e);if(e=a(e),"absolute"===r)return withBase(t,void 0);if("absolute"===o)return withBase(t,e);if("scheme-relative"===r)return l(t);if("scheme-relative"===o)return withBase(t,withBase(e,i)).slice(n.length);if("path-absolute"===r)return l(t);if("path-absolute"===o)return withBase(t,withBase(e,i)).slice(i.length);let u=buildSafeBase(t+e),s=withBase(t,withBase(e,u));return computeRelativeURL(u,s)}function relativeIfPossible(t,r){if(getURLType(t)!==getURLType(r))return null;let n=buildSafeBase(t+r),i=new e(t,n),o=new e(r,n);try{new e("",o.toString())}catch(e){return null}return o.protocol!==i.protocol||o.user!==i.user||o.password!==i.password||o.hostname!==i.hostname||o.port!==i.port?null:computeRelativeURL(i,o)}r.normalize=l,r.join=join,r.relative=function(e,t){let r=relativeIfPossible(e,t);return"string"==typeof r?r:l(t)},r.computeSourceURL=function(e,t,r){e&&"path-absolute"===getURLType(t)&&(t=t.replace(/^\//,""));let n=l(t||"");return e&&(n=join(e,n)),r&&(n=join(u(r),n)),n}})(),module.exports=r})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={"./tlhunter-sorted-set/lib/intersect.js"
|
|
1
|
+
(()=>{var e={"./tlhunter-sorted-set/lib/intersect.js"(e){function binaryIntersect(e,t){let n=Object.create(null),r=[];for(;e;e=e.next[0].next)n[e.key]=!0;for(;t;t=t.next[0].next)n[t.key]&&r.push(t.key);return r}function ternaryIntersect(e,t,n){let r=Object.create(null),l=[];for(;e;e=e.next[0].next)r[e.key]=0;for(;t;t=t.next[0].next)0===r[t.key]&&(r[t.key]=1);for(;n;n=n.next[0].next)1===r[n.key]&&l.push(n.key);return l}e.exports=function(e){let t,n,r,l,i,s,h;if(!e.length)return[];for(i=e.length-1;i>=0;i--){if(!e[i].length)return[];e[i]=e[i]._head.next[0].next}if(1===e.length)return e[0].toArray({field:"key"});if(2===e.length)return binaryIntersect(e[0],e[1]);if(3===e.length)return ternaryIntersect(e[0],e[1],e[2]);for(r=Object.create(null),n=e.shift();n;n=n.next[0].next)r[n.key]=0;for(i=0,h=e.length-1;i<h;i++){for(l=0,s=i+1,n=e[i];n;n=n.next[0].next)r[n.key]===i&&(r[n.key]=s,l++);if(!l)return[]}for(t=[],n=e[i];n;n=n.next[0].next)r[n.key]===i&&t.push(n.key);return t}},"./tlhunter-sorted-set/lib/set.js"(e,t,n){"use strict";let r=n("./tlhunter-sorted-set/lib/intersect.js"),l=Array.prototype.slice,i=1/Math.E;let SortedSet=class SortedSet{constructor(e={}){this._unique=!!e.unique,this.empty()}static intersect(){return r.call(SortedSet,l.call(arguments))}add(e,t){let n;if(null==t)return this.rem(e);if(void 0!==(n=this._map.get(e))){if(t===n)return n;this._remove(e,n)}if(!this._insert(e,t))throw void 0===n||this._insert(e,n),Error("unique constraint violated");return this._map.set(e,t),void 0===n?null:n}card(){return this.length?this.length:0}count(e,t){let n;if(!this.length)return 0;if(null==e&&(e=-1/0),null==t&&(t=1/0),e<=this._head.next[0].next.value&&t>=this._tail.value)return this.length;if(t<e||e>this._tail.value||t<this._head.next[0].next.value)return 0;let r=this._first(e),l=0;if(!r)return 0;for(n=r.next.length-1;n>=0;n-=1)for(;r.next[n].next&&r.next[n].next.value<=t;)l+=r.next[n].span,r=r.next[n].next;return l&&l+1}del(e){return this.rem(e)}empty(){this.length=0,this._level=1,this._map=new Map,this._head=new Node(32,null,0),this._tail=null;for(let e=0;e<32;e+=1)this._head.next[e]=new Level(null,0)}get(e){return this.score(e)}has(e){return this._map.has(e)}incrBy(e,t){let n=this.score(t);return n?(this.add(t,n+e),n+e):(this.add(t,e),e)}intersect(){let e=l.call(arguments);return e.unshift(this),r.call(this,e)}intersectKeys(){let e=l.call(arguments);return e.unshift(this),intersectKeys.call(this,e)}keys(){let e;if(!this.length)return[];let t=Array(this.length),n=this._head.next[0].next;for(e=0;n;n=n.next[0].next)t[e]=n.key,e+=1;return t}range(e,t,n){let r;if(0===this.length||(null==e?e=0:e<0&&(e=Math.max(this.length+e,0)),null==t?t=this.length-1:t<0&&(t=this.length+t),e>t||e>=this.length))return[];t>=this.length&&(t=this.length-1),"object"!=typeof n&&(n={withScores:!1});let l=0,i=t-e+1;try{r=Array(i)}catch(n){throw console.log("start",e),console.log("stop",t),console.log("Invalid length",i),n}let s=e>0?this._get(e):this._head.next[0].next;if(n.withScores)for(;i--;s=s.next[0].next)r[l]=[s.key,s.value],l+=1;else for(;i--;s=s.next[0].next)r[l]=s.key,l+=1;return r}rangeByScore(e,t,n){if(!this.length)return[];if("object"!=typeof n&&(n={withScores:!1}),null==e&&(e=-1/0),null==t&&(t=1/0),e<=this._head.next[0].next.value&&t>=this._tail.value)return this.toArray({withScores:n.withScores});if(t<e||e>this._tail.value||t<this._head.next[0].next.value)return[];let r=this._first(e),l=[];if(n.withScores)for(;r&&r.value<=t;r=r.next[0].next)l.push([r.key,r.value]);else for(;r&&r.value<=t;r=r.next[0].next)l.push(r.key);return l}rank(e){let t,n=this._map.get(e);if(void 0===n)return null;let r=this._head,l=null,i=-1;for(t=this._level-1;t>=0;t-=1){for(;(l=r.next[t].next)&&(l.value<n||l.value===n&&l.key<=e);)i+=r.next[t].span,r=l;if(r.key&&r.key===e)return i}return null}rem(e){let t=this._map.get(e);return void 0!==t?(this._remove(e,t),this._map.delete(e),t):null}remRangeByRank(e,t){let n,r,l=this.length;if(!l||(null==e?e=0:e<0&&(e=Math.max(l+e,0)),null==t?t=l:t<0&&(t=l+t),e>t||e>=l))return 0;if(t>l&&(t=l),0===e&&t===l)return this.empty(),l;let i=this._head,s=Array(32),h=-1;for(n=this._level-1;n>=0;n-=1){for(;(r=i.next[n].next)&&h+i.next[n].span<e;)h+=i.next[n].span,i=r;s[n]=i}let u=0;for(h+=1,i=i.next[0].next;i&&h<t;)r=i.next[0].next,this._removeNode(i,s),this._map.delete(i.key),u+=1,h+=1,i=r;return this.length-=u,u}remRangeByScore(e,t){let n,r,l=0;if(!this.length)return 0;if(null==e&&(e=-1/0),null==t&&(t=1/0),e<=this._head.next[0].next.value&&t>=this._tail.value)return l=this.length,this.empty(),l;let i=this._head,s=Array(32);for(r=this._level-1;r>=0;r-=1){for(;(n=i.next[r].next)&&n.value<e;)i=n;s[r]=i}for(i=i.next[0].next;i&&i.value<=t;)n=i.next[0].next,this._removeNode(i,s),this._map.delete(i.key),l+=1,i=n;return this.length-=l,l}score(e){let t=this._map.get(e);return void 0===t?null:t}set(e,t){return this.add(e,t)}slice(e,t,n){return"number"==typeof t&&0!==t&&(t-=1),this.range(e,t,n)}toArray(e){let t;if(!this.length)return[];"object"!=typeof e&&(e={withScores:!1});let n=Array(this.length),r=this._head.next[0].next;if(e.withScores)for(t=0;r;r=r.next[0].next)n[t]=[r.key,r.value],t+=1;else for(t=0;r;r=r.next[0].next)n[t]=r.key,t+=1;return n}values(){let e;if(!this.length)return[];let t=Array(this.length),n=this._head.next[0].next;for(e=0;n;n=n.next[0].next)t[e]=n.value,e+=1;return t}_first(e){let t=this._tail;if(!t||t.value<e)return null;t=this._head;for(let n=null,r=this._level-1;r>=0;r-=1)for(;(n=t.next[r].next)&&n.value<e;)t=n;return t.next[0].next}_get(e){let t,n=this._head,r=-1;for(t=this._level-1;t>=0;t-=1){for(;n.next[t].next&&r+n.next[t].span<=e;)r+=n.next[t].span,n=n.next[t].next;if(r===e)return n}return null}_insert(e,t){let n,r=Array(32),l=Array(32),i=this._head,s=null;for(n=this._level-1;n>=0;n-=1){for(l[n]=n===this._level-1?0:l[n+1];(s=i.next[n].next)&&s.value<=t;){if(s.value===t){if(this._unique)return null;if(s.key>=e)break}l[n]+=i.next[n].span,i=s}if(this._unique&&i.value===t)return null;r[n]=i}if(this._unique&&i.value===t)return null;let h=randomLevel();if(h>this._level){for(n=this._level;n<h;n+=1)l[n]=0,r[n]=this._head,r[n].next[n].span=this.length;this._level=h}for(n=0,i=new Node(h,e,t);n<h;n+=1)i.next[n]=new Level(r[n].next[n].next,r[n].next[n].span-(l[0]-l[n])),r[n].next[n].next=i,r[n].next[n].span=l[0]-l[n]+1;for(n=h;n<this._level;n+=1)r[n].next[n].span++;return i.prev=r[0]===this._head?null:r[0],i.next[0].next?i.next[0].next.prev=i:this._tail=i,this.length+=1,i}_next(e,t){let n,r;if(!this._tail||this._tail.value<e)return null;for(n=null;(n=t.next[t.next.length-1].next)&&n.value<e;)t=n;if(t.value===e)return t;for(r=t.next.length-1;r>=0;r-=1){for(;(n=t.next[r].next)&&n.value<e;)t=n;if(t.value===e)return t}return t.next[0].next}_remove(e,t){let n,r,l=Array(32),i=this._head;for(n=this._level-1;n>=0;n-=1){for(;(r=i.next[n].next)&&(r.value<t||r.value===t&&r.key<e);)i=r;l[n]=i}if(!(i=i.next[0].next)||t!==i.value||i.key!==e)return!1;this._removeNode(i,l),this.length-=1}_removeNode(e,t){let n=null,r=0,l=this._level;for(;r<l;r+=1)t[r].next[r].next===e?(t[r].next[r].span+=e.next[r].span-1,t[r].next[r].next=e.next[r].next):t[r].next[r].span-=1;for((n=e.next[0].next)?n.prev=e.prev:this._tail=e.prev;this._level>1&&!this._head.next[this._level-1].next;)this._level-=1}};function randomLevel(){let e=1;for(;Math.random()<i;)e+=1;return e<32?e:32}function Level(e,t){this.next=e,this.span=t}function Node(e,t,n){this.key=t,this.value=n,this.next=Array(e),this.prev=null}e.exports=SortedSet}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var l=t[n]={exports:{}};return e[n](l,l.exports,__webpack_require__),l.exports}var n=__webpack_require__("./tlhunter-sorted-set/lib/set.js");module.exports=n})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var t={"./fast-fifo/fixed-size.js"
|
|
1
|
+
(()=>{var t={"./fast-fifo/fixed-size.js"(t){t.exports=class{constructor(t){if(!(t>0)||(t-1&t)!=0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(t),this.mask=t-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(t){return void 0===this.buffer[this.top]&&(this.buffer[this.top]=t,this.top=this.top+1&this.mask,!0)}shift(){let t=this.buffer[this.btm];if(void 0!==t)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,t}peek(){return this.buffer[this.btm]}isEmpty(){return void 0===this.buffer[this.btm]}}},"./fast-fifo/index.js"(t,i,e){let s=e("./fast-fifo/fixed-size.js");t.exports=class{constructor(t){this.hwm=t||16,this.head=new s(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(t){if(this.length++,!this.head.push(t)){let i=this.head;this.head=i.next=new s(2*this.head.buffer.length),this.head.push(t)}}shift(){0!==this.length&&this.length--;let t=this.tail.shift();if(void 0===t&&this.tail.next){let t=this.tail.next;return this.tail.next=null,this.tail=t,this.tail.shift()}return t}peek(){let t=this.tail.peek();return void 0===t&&this.tail.next?this.tail.next.peek():t}isEmpty(){return 0===this.length}}},"./ttl-set/index.js"(t,i,e){"use strict";let s=e("./fast-fifo/index.js");t.exports=class{constructor(t){this._ttl=t,this._list=new s,this._index=new Set,this._timer=null}add(t){this._index.add(t),this._list.push([Date.now(),t]),null===this._timer&&(this._timer=setTimeout(this._prune.bind(this),this._ttl).unref())}clear(){this._list.clear(),this._index.clear(),clearTimeout(this._timer),this._timer=null}has(t){return this._index.has(t)}get size(){return this._index.size}_prune(){for(;;){let t=this._list.peek();if(void 0===t){this._timer=null;return}if(t[0]>Date.now()-this._ttl)break;let i=this._list.shift();this._index.delete(i[1])}this._timer=setTimeout(this._prune.bind(this),Date.now()-this._list.peek()[0]).unref()}}}},i={};function __webpack_require__(e){var s=i[e];if(void 0!==s)return s.exports;var h=i[e]={exports:{}};return t[e](h,h.exports,__webpack_require__),h.exports}var e=__webpack_require__("./ttl-set/index.js");module.exports=e})();
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
const transforms = require('./transforms')
|
|
4
|
-
|
|
5
|
-
function transform (state, ...args) {
|
|
6
|
-
const operator = state.operator = getOperator(state)
|
|
7
|
-
|
|
8
|
-
transforms[operator](state, ...args)
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function getOperator ({ functionQuery: { kind } }) {
|
|
12
|
-
switch (kind) {
|
|
13
|
-
case 'Async': return 'tracePromise'
|
|
14
|
-
case 'AsyncIterator': return 'traceAsyncIterator'
|
|
15
|
-
case 'Callback': return 'traceCallback'
|
|
16
|
-
case 'Iterator': return 'traceIterator'
|
|
17
|
-
case 'Sync': return 'traceSync'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
module.exports = { transform }
|