@ardrive/turbo-sdk 1.14.0-alpha.test.5 → 1.14.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.
@@ -155728,9 +155728,9 @@ var require_tx_tracer = __commonJS({
155728
155728
  }
155729
155729
  });
155730
155730
 
155731
- // node_modules/@keplr-wallet/proto-types/node_modules/long/src/long.js
155731
+ // node_modules/long/src/long.js
155732
155732
  var require_long = __commonJS({
155733
- "node_modules/@keplr-wallet/proto-types/node_modules/long/src/long.js"(exports15, module3) {
155733
+ "node_modules/long/src/long.js"(exports15, module3) {
155734
155734
  "use strict";
155735
155735
  init_dirname();
155736
155736
  init_buffer2();
@@ -157116,9 +157116,9 @@ var require_pool = __commonJS({
157116
157116
  }
157117
157117
  });
157118
157118
 
157119
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/util/longbits.js
157119
+ // node_modules/protobufjs/src/util/longbits.js
157120
157120
  var require_longbits = __commonJS({
157121
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/util/longbits.js"(exports15, module3) {
157121
+ "node_modules/protobufjs/src/util/longbits.js"(exports15, module3) {
157122
157122
  "use strict";
157123
157123
  init_dirname();
157124
157124
  init_buffer2();
@@ -157221,9 +157221,9 @@ var require_longbits = __commonJS({
157221
157221
  }
157222
157222
  });
157223
157223
 
157224
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/util/minimal.js
157224
+ // node_modules/protobufjs/src/util/minimal.js
157225
157225
  var require_minimal = __commonJS({
157226
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/util/minimal.js"(exports15) {
157226
+ "node_modules/protobufjs/src/util/minimal.js"(exports15) {
157227
157227
  "use strict";
157228
157228
  init_dirname();
157229
157229
  init_buffer2();
@@ -157378,9 +157378,9 @@ var require_minimal = __commonJS({
157378
157378
  }
157379
157379
  });
157380
157380
 
157381
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/writer.js
157381
+ // node_modules/protobufjs/src/writer.js
157382
157382
  var require_writer = __commonJS({
157383
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/writer.js"(exports15, module3) {
157383
+ "node_modules/protobufjs/src/writer.js"(exports15, module3) {
157384
157384
  "use strict";
157385
157385
  init_dirname();
157386
157386
  init_buffer2();
@@ -157572,9 +157572,9 @@ var require_writer = __commonJS({
157572
157572
  }
157573
157573
  });
157574
157574
 
157575
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/writer_buffer.js
157575
+ // node_modules/protobufjs/src/writer_buffer.js
157576
157576
  var require_writer_buffer = __commonJS({
157577
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/writer_buffer.js"(exports15, module3) {
157577
+ "node_modules/protobufjs/src/writer_buffer.js"(exports15, module3) {
157578
157578
  "use strict";
157579
157579
  init_dirname();
157580
157580
  init_buffer2();
@@ -157626,9 +157626,9 @@ var require_writer_buffer = __commonJS({
157626
157626
  }
157627
157627
  });
157628
157628
 
157629
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/reader.js
157629
+ // node_modules/protobufjs/src/reader.js
157630
157630
  var require_reader = __commonJS({
157631
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/reader.js"(exports15, module3) {
157631
+ "node_modules/protobufjs/src/reader.js"(exports15, module3) {
157632
157632
  "use strict";
157633
157633
  init_dirname();
157634
157634
  init_buffer2();
@@ -157853,9 +157853,9 @@ var require_reader = __commonJS({
157853
157853
  }
157854
157854
  });
157855
157855
 
157856
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/reader_buffer.js
157856
+ // node_modules/protobufjs/src/reader_buffer.js
157857
157857
  var require_reader_buffer = __commonJS({
157858
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/reader_buffer.js"(exports15, module3) {
157858
+ "node_modules/protobufjs/src/reader_buffer.js"(exports15, module3) {
157859
157859
  "use strict";
157860
157860
  init_dirname();
157861
157861
  init_buffer2();
@@ -157879,9 +157879,9 @@ var require_reader_buffer = __commonJS({
157879
157879
  }
157880
157880
  });
157881
157881
 
157882
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/rpc/service.js
157882
+ // node_modules/protobufjs/src/rpc/service.js
157883
157883
  var require_service = __commonJS({
157884
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/rpc/service.js"(exports15, module3) {
157884
+ "node_modules/protobufjs/src/rpc/service.js"(exports15, module3) {
157885
157885
  "use strict";
157886
157886
  init_dirname();
157887
157887
  init_buffer2();
@@ -157957,9 +157957,9 @@ var require_service = __commonJS({
157957
157957
  }
157958
157958
  });
157959
157959
 
157960
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/rpc.js
157960
+ // node_modules/protobufjs/src/rpc.js
157961
157961
  var require_rpc = __commonJS({
157962
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/rpc.js"(exports15) {
157962
+ "node_modules/protobufjs/src/rpc.js"(exports15) {
157963
157963
  "use strict";
157964
157964
  init_dirname();
157965
157965
  init_buffer2();
@@ -157969,9 +157969,9 @@ var require_rpc = __commonJS({
157969
157969
  }
157970
157970
  });
157971
157971
 
157972
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/roots.js
157972
+ // node_modules/protobufjs/src/roots.js
157973
157973
  var require_roots = __commonJS({
157974
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/roots.js"(exports15, module3) {
157974
+ "node_modules/protobufjs/src/roots.js"(exports15, module3) {
157975
157975
  "use strict";
157976
157976
  init_dirname();
157977
157977
  init_buffer2();
@@ -157980,9 +157980,9 @@ var require_roots = __commonJS({
157980
157980
  }
157981
157981
  });
157982
157982
 
157983
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/index-minimal.js
157983
+ // node_modules/protobufjs/src/index-minimal.js
157984
157984
  var require_index_minimal = __commonJS({
157985
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/src/index-minimal.js"(exports15) {
157985
+ "node_modules/protobufjs/src/index-minimal.js"(exports15) {
157986
157986
  "use strict";
157987
157987
  init_dirname();
157988
157988
  init_buffer2();
@@ -158006,9 +158006,9 @@ var require_index_minimal = __commonJS({
158006
158006
  }
158007
158007
  });
158008
158008
 
158009
- // node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/minimal.js
158009
+ // node_modules/protobufjs/minimal.js
158010
158010
  var require_minimal2 = __commonJS({
158011
- "node_modules/@keplr-wallet/proto-types/node_modules/protobufjs/minimal.js"(exports15, module3) {
158011
+ "node_modules/protobufjs/minimal.js"(exports15, module3) {
158012
158012
  "use strict";
158013
158013
  init_dirname();
158014
158014
  init_buffer2();
@@ -227082,907 +227082,6 @@ var require_query = __commonJS({
227082
227082
  }
227083
227083
  });
227084
227084
 
227085
- // node_modules/@confio/ics23/node_modules/protobufjs/src/util/longbits.js
227086
- var require_longbits2 = __commonJS({
227087
- "node_modules/@confio/ics23/node_modules/protobufjs/src/util/longbits.js"(exports15, module3) {
227088
- "use strict";
227089
- init_dirname();
227090
- init_buffer2();
227091
- init_process2();
227092
- module3.exports = LongBits;
227093
- var util = require_minimal3();
227094
- function LongBits(lo, hi) {
227095
- this.lo = lo >>> 0;
227096
- this.hi = hi >>> 0;
227097
- }
227098
- var zero = LongBits.zero = new LongBits(0, 0);
227099
- zero.toNumber = function() {
227100
- return 0;
227101
- };
227102
- zero.zzEncode = zero.zzDecode = function() {
227103
- return this;
227104
- };
227105
- zero.length = function() {
227106
- return 1;
227107
- };
227108
- var zeroHash = LongBits.zeroHash = "\0\0\0\0\0\0\0\0";
227109
- LongBits.fromNumber = function fromNumber(value) {
227110
- if (value === 0)
227111
- return zero;
227112
- var sign6 = value < 0;
227113
- if (sign6)
227114
- value = -value;
227115
- var lo = value >>> 0, hi = (value - lo) / 4294967296 >>> 0;
227116
- if (sign6) {
227117
- hi = ~hi >>> 0;
227118
- lo = ~lo >>> 0;
227119
- if (++lo > 4294967295) {
227120
- lo = 0;
227121
- if (++hi > 4294967295)
227122
- hi = 0;
227123
- }
227124
- }
227125
- return new LongBits(lo, hi);
227126
- };
227127
- LongBits.from = function from(value) {
227128
- if (typeof value === "number")
227129
- return LongBits.fromNumber(value);
227130
- if (util.isString(value)) {
227131
- if (util.Long)
227132
- value = util.Long.fromString(value);
227133
- else
227134
- return LongBits.fromNumber(parseInt(value, 10));
227135
- }
227136
- return value.low || value.high ? new LongBits(value.low >>> 0, value.high >>> 0) : zero;
227137
- };
227138
- LongBits.prototype.toNumber = function toNumber2(unsigned) {
227139
- if (!unsigned && this.hi >>> 31) {
227140
- var lo = ~this.lo + 1 >>> 0, hi = ~this.hi >>> 0;
227141
- if (!lo)
227142
- hi = hi + 1 >>> 0;
227143
- return -(lo + hi * 4294967296);
227144
- }
227145
- return this.lo + this.hi * 4294967296;
227146
- };
227147
- LongBits.prototype.toLong = function toLong(unsigned) {
227148
- return util.Long ? new util.Long(this.lo | 0, this.hi | 0, Boolean(unsigned)) : { low: this.lo | 0, high: this.hi | 0, unsigned: Boolean(unsigned) };
227149
- };
227150
- var charCodeAt = String.prototype.charCodeAt;
227151
- LongBits.fromHash = function fromHash(hash6) {
227152
- if (hash6 === zeroHash)
227153
- return zero;
227154
- return new LongBits(
227155
- (charCodeAt.call(hash6, 0) | charCodeAt.call(hash6, 1) << 8 | charCodeAt.call(hash6, 2) << 16 | charCodeAt.call(hash6, 3) << 24) >>> 0,
227156
- (charCodeAt.call(hash6, 4) | charCodeAt.call(hash6, 5) << 8 | charCodeAt.call(hash6, 6) << 16 | charCodeAt.call(hash6, 7) << 24) >>> 0
227157
- );
227158
- };
227159
- LongBits.prototype.toHash = function toHash() {
227160
- return String.fromCharCode(
227161
- this.lo & 255,
227162
- this.lo >>> 8 & 255,
227163
- this.lo >>> 16 & 255,
227164
- this.lo >>> 24,
227165
- this.hi & 255,
227166
- this.hi >>> 8 & 255,
227167
- this.hi >>> 16 & 255,
227168
- this.hi >>> 24
227169
- );
227170
- };
227171
- LongBits.prototype.zzEncode = function zzEncode() {
227172
- var mask3 = this.hi >> 31;
227173
- this.hi = ((this.hi << 1 | this.lo >>> 31) ^ mask3) >>> 0;
227174
- this.lo = (this.lo << 1 ^ mask3) >>> 0;
227175
- return this;
227176
- };
227177
- LongBits.prototype.zzDecode = function zzDecode() {
227178
- var mask3 = -(this.lo & 1);
227179
- this.lo = ((this.lo >>> 1 | this.hi << 31) ^ mask3) >>> 0;
227180
- this.hi = (this.hi >>> 1 ^ mask3) >>> 0;
227181
- return this;
227182
- };
227183
- LongBits.prototype.length = function length() {
227184
- var part0 = this.lo, part1 = (this.lo >>> 28 | this.hi << 4) >>> 0, part2 = this.hi >>> 24;
227185
- return part2 === 0 ? part1 === 0 ? part0 < 16384 ? part0 < 128 ? 1 : 2 : part0 < 2097152 ? 3 : 4 : part1 < 16384 ? part1 < 128 ? 5 : 6 : part1 < 2097152 ? 7 : 8 : part2 < 128 ? 9 : 10;
227186
- };
227187
- }
227188
- });
227189
-
227190
- // node_modules/@confio/ics23/node_modules/protobufjs/src/util/minimal.js
227191
- var require_minimal3 = __commonJS({
227192
- "node_modules/@confio/ics23/node_modules/protobufjs/src/util/minimal.js"(exports15) {
227193
- "use strict";
227194
- init_dirname();
227195
- init_buffer2();
227196
- init_process2();
227197
- var util = exports15;
227198
- util.asPromise = require_aspromise();
227199
- util.base64 = require_base642();
227200
- util.EventEmitter = require_eventemitter();
227201
- util.float = require_float();
227202
- util.inquire = require_inquire();
227203
- util.utf8 = require_utf83();
227204
- util.pool = require_pool();
227205
- util.LongBits = require_longbits2();
227206
- util.isNode = Boolean(typeof global !== "undefined" && global && global.process && global.process.versions && global.process.versions.node);
227207
- util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self || exports15;
227208
- util.emptyArray = Object.freeze ? Object.freeze([]) : (
227209
- /* istanbul ignore next */
227210
- []
227211
- );
227212
- util.emptyObject = Object.freeze ? Object.freeze({}) : (
227213
- /* istanbul ignore next */
227214
- {}
227215
- );
227216
- util.isInteger = Number.isInteger || /* istanbul ignore next */
227217
- function isInteger(value) {
227218
- return typeof value === "number" && isFinite(value) && Math.floor(value) === value;
227219
- };
227220
- util.isString = function isString4(value) {
227221
- return typeof value === "string" || value instanceof String;
227222
- };
227223
- util.isObject = function isObject5(value) {
227224
- return value && typeof value === "object";
227225
- };
227226
- util.isset = /**
227227
- * Checks if a property on a message is considered to be present.
227228
- * @param {Object} obj Plain object or message instance
227229
- * @param {string} prop Property name
227230
- * @returns {boolean} `true` if considered to be present, otherwise `false`
227231
- */
227232
- util.isSet = function isSet(obj, prop) {
227233
- var value = obj[prop];
227234
- if (value != null && obj.hasOwnProperty(prop))
227235
- return typeof value !== "object" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;
227236
- return false;
227237
- };
227238
- util.Buffer = function() {
227239
- try {
227240
- var Buffer2 = util.inquire("buffer").Buffer;
227241
- return Buffer2.prototype.utf8Write ? Buffer2 : (
227242
- /* istanbul ignore next */
227243
- null
227244
- );
227245
- } catch (e12) {
227246
- return null;
227247
- }
227248
- }();
227249
- util._Buffer_from = null;
227250
- util._Buffer_allocUnsafe = null;
227251
- util.newBuffer = function newBuffer(sizeOrArray) {
227252
- return typeof sizeOrArray === "number" ? util.Buffer ? util._Buffer_allocUnsafe(sizeOrArray) : new util.Array(sizeOrArray) : util.Buffer ? util._Buffer_from(sizeOrArray) : typeof Uint8Array === "undefined" ? sizeOrArray : new Uint8Array(sizeOrArray);
227253
- };
227254
- util.Array = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
227255
- util.Long = /* istanbul ignore next */
227256
- util.global.dcodeIO && /* istanbul ignore next */
227257
- util.global.dcodeIO.Long || /* istanbul ignore next */
227258
- util.global.Long || util.inquire("long");
227259
- util.key2Re = /^true|false|0|1$/;
227260
- util.key32Re = /^-?(?:0|[1-9][0-9]*)$/;
227261
- util.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;
227262
- util.longToHash = function longToHash(value) {
227263
- return value ? util.LongBits.from(value).toHash() : util.LongBits.zeroHash;
227264
- };
227265
- util.longFromHash = function longFromHash(hash6, unsigned) {
227266
- var bits = util.LongBits.fromHash(hash6);
227267
- if (util.Long)
227268
- return util.Long.fromBits(bits.lo, bits.hi, unsigned);
227269
- return bits.toNumber(Boolean(unsigned));
227270
- };
227271
- function merge2(dst, src, ifNotSet) {
227272
- for (var keys = Object.keys(src), i8 = 0; i8 < keys.length; ++i8)
227273
- if (dst[keys[i8]] === void 0 || !ifNotSet)
227274
- dst[keys[i8]] = src[keys[i8]];
227275
- return dst;
227276
- }
227277
- util.merge = merge2;
227278
- util.lcFirst = function lcFirst(str) {
227279
- return str.charAt(0).toLowerCase() + str.substring(1);
227280
- };
227281
- function newError(name2) {
227282
- function CustomError(message, properties) {
227283
- if (!(this instanceof CustomError))
227284
- return new CustomError(message, properties);
227285
- Object.defineProperty(this, "message", { get: function() {
227286
- return message;
227287
- } });
227288
- if (Error.captureStackTrace)
227289
- Error.captureStackTrace(this, CustomError);
227290
- else
227291
- Object.defineProperty(this, "stack", { value: new Error().stack || "" });
227292
- if (properties)
227293
- merge2(this, properties);
227294
- }
227295
- (CustomError.prototype = Object.create(Error.prototype)).constructor = CustomError;
227296
- Object.defineProperty(CustomError.prototype, "name", { get: function() {
227297
- return name2;
227298
- } });
227299
- CustomError.prototype.toString = function toString4() {
227300
- return this.name + ": " + this.message;
227301
- };
227302
- return CustomError;
227303
- }
227304
- util.newError = newError;
227305
- util.ProtocolError = newError("ProtocolError");
227306
- util.oneOfGetter = function getOneOf(fieldNames) {
227307
- var fieldMap = {};
227308
- for (var i8 = 0; i8 < fieldNames.length; ++i8)
227309
- fieldMap[fieldNames[i8]] = 1;
227310
- return function() {
227311
- for (var keys = Object.keys(this), i9 = keys.length - 1; i9 > -1; --i9)
227312
- if (fieldMap[keys[i9]] === 1 && this[keys[i9]] !== void 0 && this[keys[i9]] !== null)
227313
- return keys[i9];
227314
- };
227315
- };
227316
- util.oneOfSetter = function setOneOf(fieldNames) {
227317
- return function(name2) {
227318
- for (var i8 = 0; i8 < fieldNames.length; ++i8)
227319
- if (fieldNames[i8] !== name2)
227320
- delete this[fieldNames[i8]];
227321
- };
227322
- };
227323
- util.toJSONOptions = {
227324
- longs: String,
227325
- enums: String,
227326
- bytes: String,
227327
- json: true
227328
- };
227329
- util._configure = function() {
227330
- var Buffer2 = util.Buffer;
227331
- if (!Buffer2) {
227332
- util._Buffer_from = util._Buffer_allocUnsafe = null;
227333
- return;
227334
- }
227335
- util._Buffer_from = Buffer2.from !== Uint8Array.from && Buffer2.from || /* istanbul ignore next */
227336
- function Buffer_from(value, encoding) {
227337
- return new Buffer2(value, encoding);
227338
- };
227339
- util._Buffer_allocUnsafe = Buffer2.allocUnsafe || /* istanbul ignore next */
227340
- function Buffer_allocUnsafe(size) {
227341
- return new Buffer2(size);
227342
- };
227343
- };
227344
- }
227345
- });
227346
-
227347
- // node_modules/@confio/ics23/node_modules/protobufjs/src/writer.js
227348
- var require_writer2 = __commonJS({
227349
- "node_modules/@confio/ics23/node_modules/protobufjs/src/writer.js"(exports15, module3) {
227350
- "use strict";
227351
- init_dirname();
227352
- init_buffer2();
227353
- init_process2();
227354
- module3.exports = Writer2;
227355
- var util = require_minimal3();
227356
- var BufferWriter;
227357
- var LongBits = util.LongBits;
227358
- var base64 = util.base64;
227359
- var utf8 = util.utf8;
227360
- function Op(fn, len, val) {
227361
- this.fn = fn;
227362
- this.len = len;
227363
- this.next = void 0;
227364
- this.val = val;
227365
- }
227366
- function noop3() {
227367
- }
227368
- function State(writer) {
227369
- this.head = writer.head;
227370
- this.tail = writer.tail;
227371
- this.len = writer.len;
227372
- this.next = writer.states;
227373
- }
227374
- function Writer2() {
227375
- this.len = 0;
227376
- this.head = new Op(noop3, 0, 0);
227377
- this.tail = this.head;
227378
- this.states = null;
227379
- }
227380
- var create2 = function create3() {
227381
- return util.Buffer ? function create_buffer_setup() {
227382
- return (Writer2.create = function create_buffer() {
227383
- return new BufferWriter();
227384
- })();
227385
- } : function create_array() {
227386
- return new Writer2();
227387
- };
227388
- };
227389
- Writer2.create = create2();
227390
- Writer2.alloc = function alloc(size) {
227391
- return new util.Array(size);
227392
- };
227393
- if (util.Array !== Array)
227394
- Writer2.alloc = util.pool(Writer2.alloc, util.Array.prototype.subarray);
227395
- Writer2.prototype._push = function push(fn, len, val) {
227396
- this.tail = this.tail.next = new Op(fn, len, val);
227397
- this.len += len;
227398
- return this;
227399
- };
227400
- function writeByte(val, buf, pos) {
227401
- buf[pos] = val & 255;
227402
- }
227403
- function writeVarint32(val, buf, pos) {
227404
- while (val > 127) {
227405
- buf[pos++] = val & 127 | 128;
227406
- val >>>= 7;
227407
- }
227408
- buf[pos] = val;
227409
- }
227410
- function VarintOp(len, val) {
227411
- this.len = len;
227412
- this.next = void 0;
227413
- this.val = val;
227414
- }
227415
- VarintOp.prototype = Object.create(Op.prototype);
227416
- VarintOp.prototype.fn = writeVarint32;
227417
- Writer2.prototype.uint32 = function write_uint32(value) {
227418
- this.len += (this.tail = this.tail.next = new VarintOp(
227419
- (value = value >>> 0) < 128 ? 1 : value < 16384 ? 2 : value < 2097152 ? 3 : value < 268435456 ? 4 : 5,
227420
- value
227421
- )).len;
227422
- return this;
227423
- };
227424
- Writer2.prototype.int32 = function write_int32(value) {
227425
- return value < 0 ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) : this.uint32(value);
227426
- };
227427
- Writer2.prototype.sint32 = function write_sint32(value) {
227428
- return this.uint32((value << 1 ^ value >> 31) >>> 0);
227429
- };
227430
- function writeVarint64(val, buf, pos) {
227431
- while (val.hi) {
227432
- buf[pos++] = val.lo & 127 | 128;
227433
- val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0;
227434
- val.hi >>>= 7;
227435
- }
227436
- while (val.lo > 127) {
227437
- buf[pos++] = val.lo & 127 | 128;
227438
- val.lo = val.lo >>> 7;
227439
- }
227440
- buf[pos++] = val.lo;
227441
- }
227442
- Writer2.prototype.uint64 = function write_uint64(value) {
227443
- var bits = LongBits.from(value);
227444
- return this._push(writeVarint64, bits.length(), bits);
227445
- };
227446
- Writer2.prototype.int64 = Writer2.prototype.uint64;
227447
- Writer2.prototype.sint64 = function write_sint64(value) {
227448
- var bits = LongBits.from(value).zzEncode();
227449
- return this._push(writeVarint64, bits.length(), bits);
227450
- };
227451
- Writer2.prototype.bool = function write_bool(value) {
227452
- return this._push(writeByte, 1, value ? 1 : 0);
227453
- };
227454
- function writeFixed32(val, buf, pos) {
227455
- buf[pos] = val & 255;
227456
- buf[pos + 1] = val >>> 8 & 255;
227457
- buf[pos + 2] = val >>> 16 & 255;
227458
- buf[pos + 3] = val >>> 24;
227459
- }
227460
- Writer2.prototype.fixed32 = function write_fixed32(value) {
227461
- return this._push(writeFixed32, 4, value >>> 0);
227462
- };
227463
- Writer2.prototype.sfixed32 = Writer2.prototype.fixed32;
227464
- Writer2.prototype.fixed64 = function write_fixed64(value) {
227465
- var bits = LongBits.from(value);
227466
- return this._push(writeFixed32, 4, bits.lo)._push(writeFixed32, 4, bits.hi);
227467
- };
227468
- Writer2.prototype.sfixed64 = Writer2.prototype.fixed64;
227469
- Writer2.prototype.float = function write_float(value) {
227470
- return this._push(util.float.writeFloatLE, 4, value);
227471
- };
227472
- Writer2.prototype.double = function write_double(value) {
227473
- return this._push(util.float.writeDoubleLE, 8, value);
227474
- };
227475
- var writeBytes = util.Array.prototype.set ? function writeBytes_set(val, buf, pos) {
227476
- buf.set(val, pos);
227477
- } : function writeBytes_for(val, buf, pos) {
227478
- for (var i8 = 0; i8 < val.length; ++i8)
227479
- buf[pos + i8] = val[i8];
227480
- };
227481
- Writer2.prototype.bytes = function write_bytes(value) {
227482
- var len = value.length >>> 0;
227483
- if (!len)
227484
- return this._push(writeByte, 1, 0);
227485
- if (util.isString(value)) {
227486
- var buf = Writer2.alloc(len = base64.length(value));
227487
- base64.decode(value, buf, 0);
227488
- value = buf;
227489
- }
227490
- return this.uint32(len)._push(writeBytes, len, value);
227491
- };
227492
- Writer2.prototype.string = function write_string(value) {
227493
- var len = utf8.length(value);
227494
- return len ? this.uint32(len)._push(utf8.write, len, value) : this._push(writeByte, 1, 0);
227495
- };
227496
- Writer2.prototype.fork = function fork() {
227497
- this.states = new State(this);
227498
- this.head = this.tail = new Op(noop3, 0, 0);
227499
- this.len = 0;
227500
- return this;
227501
- };
227502
- Writer2.prototype.reset = function reset() {
227503
- if (this.states) {
227504
- this.head = this.states.head;
227505
- this.tail = this.states.tail;
227506
- this.len = this.states.len;
227507
- this.states = this.states.next;
227508
- } else {
227509
- this.head = this.tail = new Op(noop3, 0, 0);
227510
- this.len = 0;
227511
- }
227512
- return this;
227513
- };
227514
- Writer2.prototype.ldelim = function ldelim() {
227515
- var head = this.head, tail = this.tail, len = this.len;
227516
- this.reset().uint32(len);
227517
- if (len) {
227518
- this.tail.next = head.next;
227519
- this.tail = tail;
227520
- this.len += len;
227521
- }
227522
- return this;
227523
- };
227524
- Writer2.prototype.finish = function finish() {
227525
- var head = this.head.next, buf = this.constructor.alloc(this.len), pos = 0;
227526
- while (head) {
227527
- head.fn(head.val, buf, pos);
227528
- pos += head.len;
227529
- head = head.next;
227530
- }
227531
- return buf;
227532
- };
227533
- Writer2._configure = function(BufferWriter_) {
227534
- BufferWriter = BufferWriter_;
227535
- Writer2.create = create2();
227536
- BufferWriter._configure();
227537
- };
227538
- }
227539
- });
227540
-
227541
- // node_modules/@confio/ics23/node_modules/protobufjs/src/writer_buffer.js
227542
- var require_writer_buffer2 = __commonJS({
227543
- "node_modules/@confio/ics23/node_modules/protobufjs/src/writer_buffer.js"(exports15, module3) {
227544
- "use strict";
227545
- init_dirname();
227546
- init_buffer2();
227547
- init_process2();
227548
- module3.exports = BufferWriter;
227549
- var Writer2 = require_writer2();
227550
- (BufferWriter.prototype = Object.create(Writer2.prototype)).constructor = BufferWriter;
227551
- var util = require_minimal3();
227552
- function BufferWriter() {
227553
- Writer2.call(this);
227554
- }
227555
- BufferWriter._configure = function() {
227556
- BufferWriter.alloc = util._Buffer_allocUnsafe;
227557
- BufferWriter.writeBytesBuffer = util.Buffer && util.Buffer.prototype instanceof Uint8Array && util.Buffer.prototype.set.name === "set" ? function writeBytesBuffer_set(val, buf, pos) {
227558
- buf.set(val, pos);
227559
- } : function writeBytesBuffer_copy(val, buf, pos) {
227560
- if (val.copy)
227561
- val.copy(buf, pos, 0, val.length);
227562
- else
227563
- for (var i8 = 0; i8 < val.length; )
227564
- buf[pos++] = val[i8++];
227565
- };
227566
- };
227567
- BufferWriter.prototype.bytes = function write_bytes_buffer(value) {
227568
- if (util.isString(value))
227569
- value = util._Buffer_from(value, "base64");
227570
- var len = value.length >>> 0;
227571
- this.uint32(len);
227572
- if (len)
227573
- this._push(BufferWriter.writeBytesBuffer, len, value);
227574
- return this;
227575
- };
227576
- function writeStringBuffer(val, buf, pos) {
227577
- if (val.length < 40)
227578
- util.utf8.write(val, buf, pos);
227579
- else if (buf.utf8Write)
227580
- buf.utf8Write(val, pos);
227581
- else
227582
- buf.write(val, pos);
227583
- }
227584
- BufferWriter.prototype.string = function write_string_buffer(value) {
227585
- var len = util.Buffer.byteLength(value);
227586
- this.uint32(len);
227587
- if (len)
227588
- this._push(writeStringBuffer, len, value);
227589
- return this;
227590
- };
227591
- BufferWriter._configure();
227592
- }
227593
- });
227594
-
227595
- // node_modules/@confio/ics23/node_modules/protobufjs/src/reader.js
227596
- var require_reader2 = __commonJS({
227597
- "node_modules/@confio/ics23/node_modules/protobufjs/src/reader.js"(exports15, module3) {
227598
- "use strict";
227599
- init_dirname();
227600
- init_buffer2();
227601
- init_process2();
227602
- module3.exports = Reader2;
227603
- var util = require_minimal3();
227604
- var BufferReader;
227605
- var LongBits = util.LongBits;
227606
- var utf8 = util.utf8;
227607
- function indexOutOfRange(reader, writeLength) {
227608
- return RangeError("index out of range: " + reader.pos + " + " + (writeLength || 1) + " > " + reader.len);
227609
- }
227610
- function Reader2(buffer2) {
227611
- this.buf = buffer2;
227612
- this.pos = 0;
227613
- this.len = buffer2.length;
227614
- }
227615
- var create_array = typeof Uint8Array !== "undefined" ? function create_typed_array(buffer2) {
227616
- if (buffer2 instanceof Uint8Array || Array.isArray(buffer2))
227617
- return new Reader2(buffer2);
227618
- throw Error("illegal buffer");
227619
- } : function create_array2(buffer2) {
227620
- if (Array.isArray(buffer2))
227621
- return new Reader2(buffer2);
227622
- throw Error("illegal buffer");
227623
- };
227624
- var create2 = function create3() {
227625
- return util.Buffer ? function create_buffer_setup(buffer2) {
227626
- return (Reader2.create = function create_buffer(buffer3) {
227627
- return util.Buffer.isBuffer(buffer3) ? new BufferReader(buffer3) : create_array(buffer3);
227628
- })(buffer2);
227629
- } : create_array;
227630
- };
227631
- Reader2.create = create2();
227632
- Reader2.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */
227633
- util.Array.prototype.slice;
227634
- Reader2.prototype.uint32 = function read_uint32_setup() {
227635
- var value = 4294967295;
227636
- return function read_uint32() {
227637
- value = (this.buf[this.pos] & 127) >>> 0;
227638
- if (this.buf[this.pos++] < 128)
227639
- return value;
227640
- value = (value | (this.buf[this.pos] & 127) << 7) >>> 0;
227641
- if (this.buf[this.pos++] < 128)
227642
- return value;
227643
- value = (value | (this.buf[this.pos] & 127) << 14) >>> 0;
227644
- if (this.buf[this.pos++] < 128)
227645
- return value;
227646
- value = (value | (this.buf[this.pos] & 127) << 21) >>> 0;
227647
- if (this.buf[this.pos++] < 128)
227648
- return value;
227649
- value = (value | (this.buf[this.pos] & 15) << 28) >>> 0;
227650
- if (this.buf[this.pos++] < 128)
227651
- return value;
227652
- if ((this.pos += 5) > this.len) {
227653
- this.pos = this.len;
227654
- throw indexOutOfRange(this, 10);
227655
- }
227656
- return value;
227657
- };
227658
- }();
227659
- Reader2.prototype.int32 = function read_int32() {
227660
- return this.uint32() | 0;
227661
- };
227662
- Reader2.prototype.sint32 = function read_sint32() {
227663
- var value = this.uint32();
227664
- return value >>> 1 ^ -(value & 1) | 0;
227665
- };
227666
- function readLongVarint() {
227667
- var bits = new LongBits(0, 0);
227668
- var i8 = 0;
227669
- if (this.len - this.pos > 4) {
227670
- for (; i8 < 4; ++i8) {
227671
- bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i8 * 7) >>> 0;
227672
- if (this.buf[this.pos++] < 128)
227673
- return bits;
227674
- }
227675
- bits.lo = (bits.lo | (this.buf[this.pos] & 127) << 28) >>> 0;
227676
- bits.hi = (bits.hi | (this.buf[this.pos] & 127) >> 4) >>> 0;
227677
- if (this.buf[this.pos++] < 128)
227678
- return bits;
227679
- i8 = 0;
227680
- } else {
227681
- for (; i8 < 3; ++i8) {
227682
- if (this.pos >= this.len)
227683
- throw indexOutOfRange(this);
227684
- bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i8 * 7) >>> 0;
227685
- if (this.buf[this.pos++] < 128)
227686
- return bits;
227687
- }
227688
- bits.lo = (bits.lo | (this.buf[this.pos++] & 127) << i8 * 7) >>> 0;
227689
- return bits;
227690
- }
227691
- if (this.len - this.pos > 4) {
227692
- for (; i8 < 5; ++i8) {
227693
- bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i8 * 7 + 3) >>> 0;
227694
- if (this.buf[this.pos++] < 128)
227695
- return bits;
227696
- }
227697
- } else {
227698
- for (; i8 < 5; ++i8) {
227699
- if (this.pos >= this.len)
227700
- throw indexOutOfRange(this);
227701
- bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i8 * 7 + 3) >>> 0;
227702
- if (this.buf[this.pos++] < 128)
227703
- return bits;
227704
- }
227705
- }
227706
- throw Error("invalid varint encoding");
227707
- }
227708
- Reader2.prototype.bool = function read_bool() {
227709
- return this.uint32() !== 0;
227710
- };
227711
- function readFixed32_end(buf, end) {
227712
- return (buf[end - 4] | buf[end - 3] << 8 | buf[end - 2] << 16 | buf[end - 1] << 24) >>> 0;
227713
- }
227714
- Reader2.prototype.fixed32 = function read_fixed32() {
227715
- if (this.pos + 4 > this.len)
227716
- throw indexOutOfRange(this, 4);
227717
- return readFixed32_end(this.buf, this.pos += 4);
227718
- };
227719
- Reader2.prototype.sfixed32 = function read_sfixed32() {
227720
- if (this.pos + 4 > this.len)
227721
- throw indexOutOfRange(this, 4);
227722
- return readFixed32_end(this.buf, this.pos += 4) | 0;
227723
- };
227724
- function readFixed64() {
227725
- if (this.pos + 8 > this.len)
227726
- throw indexOutOfRange(this, 8);
227727
- return new LongBits(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));
227728
- }
227729
- Reader2.prototype.float = function read_float() {
227730
- if (this.pos + 4 > this.len)
227731
- throw indexOutOfRange(this, 4);
227732
- var value = util.float.readFloatLE(this.buf, this.pos);
227733
- this.pos += 4;
227734
- return value;
227735
- };
227736
- Reader2.prototype.double = function read_double() {
227737
- if (this.pos + 8 > this.len)
227738
- throw indexOutOfRange(this, 4);
227739
- var value = util.float.readDoubleLE(this.buf, this.pos);
227740
- this.pos += 8;
227741
- return value;
227742
- };
227743
- Reader2.prototype.bytes = function read_bytes() {
227744
- var length = this.uint32(), start = this.pos, end = this.pos + length;
227745
- if (end > this.len)
227746
- throw indexOutOfRange(this, length);
227747
- this.pos += length;
227748
- if (Array.isArray(this.buf))
227749
- return this.buf.slice(start, end);
227750
- return start === end ? new this.buf.constructor(0) : this._slice.call(this.buf, start, end);
227751
- };
227752
- Reader2.prototype.string = function read_string() {
227753
- var bytes4 = this.bytes();
227754
- return utf8.read(bytes4, 0, bytes4.length);
227755
- };
227756
- Reader2.prototype.skip = function skip(length) {
227757
- if (typeof length === "number") {
227758
- if (this.pos + length > this.len)
227759
- throw indexOutOfRange(this, length);
227760
- this.pos += length;
227761
- } else {
227762
- do {
227763
- if (this.pos >= this.len)
227764
- throw indexOutOfRange(this);
227765
- } while (this.buf[this.pos++] & 128);
227766
- }
227767
- return this;
227768
- };
227769
- Reader2.prototype.skipType = function(wireType) {
227770
- switch (wireType) {
227771
- case 0:
227772
- this.skip();
227773
- break;
227774
- case 1:
227775
- this.skip(8);
227776
- break;
227777
- case 2:
227778
- this.skip(this.uint32());
227779
- break;
227780
- case 3:
227781
- while ((wireType = this.uint32() & 7) !== 4) {
227782
- this.skipType(wireType);
227783
- }
227784
- break;
227785
- case 5:
227786
- this.skip(4);
227787
- break;
227788
- default:
227789
- throw Error("invalid wire type " + wireType + " at offset " + this.pos);
227790
- }
227791
- return this;
227792
- };
227793
- Reader2._configure = function(BufferReader_) {
227794
- BufferReader = BufferReader_;
227795
- Reader2.create = create2();
227796
- BufferReader._configure();
227797
- var fn = util.Long ? "toLong" : (
227798
- /* istanbul ignore next */
227799
- "toNumber"
227800
- );
227801
- util.merge(Reader2.prototype, {
227802
- int64: function read_int64() {
227803
- return readLongVarint.call(this)[fn](false);
227804
- },
227805
- uint64: function read_uint64() {
227806
- return readLongVarint.call(this)[fn](true);
227807
- },
227808
- sint64: function read_sint64() {
227809
- return readLongVarint.call(this).zzDecode()[fn](false);
227810
- },
227811
- fixed64: function read_fixed64() {
227812
- return readFixed64.call(this)[fn](true);
227813
- },
227814
- sfixed64: function read_sfixed64() {
227815
- return readFixed64.call(this)[fn](false);
227816
- }
227817
- });
227818
- };
227819
- }
227820
- });
227821
-
227822
- // node_modules/@confio/ics23/node_modules/protobufjs/src/reader_buffer.js
227823
- var require_reader_buffer2 = __commonJS({
227824
- "node_modules/@confio/ics23/node_modules/protobufjs/src/reader_buffer.js"(exports15, module3) {
227825
- "use strict";
227826
- init_dirname();
227827
- init_buffer2();
227828
- init_process2();
227829
- module3.exports = BufferReader;
227830
- var Reader2 = require_reader2();
227831
- (BufferReader.prototype = Object.create(Reader2.prototype)).constructor = BufferReader;
227832
- var util = require_minimal3();
227833
- function BufferReader(buffer2) {
227834
- Reader2.call(this, buffer2);
227835
- }
227836
- BufferReader._configure = function() {
227837
- if (util.Buffer)
227838
- BufferReader.prototype._slice = util.Buffer.prototype.slice;
227839
- };
227840
- BufferReader.prototype.string = function read_string_buffer() {
227841
- var len = this.uint32();
227842
- return this.buf.utf8Slice ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + len, this.len)) : this.buf.toString("utf-8", this.pos, this.pos = Math.min(this.pos + len, this.len));
227843
- };
227844
- BufferReader._configure();
227845
- }
227846
- });
227847
-
227848
- // node_modules/@confio/ics23/node_modules/protobufjs/src/rpc/service.js
227849
- var require_service2 = __commonJS({
227850
- "node_modules/@confio/ics23/node_modules/protobufjs/src/rpc/service.js"(exports15, module3) {
227851
- "use strict";
227852
- init_dirname();
227853
- init_buffer2();
227854
- init_process2();
227855
- module3.exports = Service;
227856
- var util = require_minimal3();
227857
- (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
227858
- function Service(rpcImpl, requestDelimited, responseDelimited) {
227859
- if (typeof rpcImpl !== "function")
227860
- throw TypeError("rpcImpl must be a function");
227861
- util.EventEmitter.call(this);
227862
- this.rpcImpl = rpcImpl;
227863
- this.requestDelimited = Boolean(requestDelimited);
227864
- this.responseDelimited = Boolean(responseDelimited);
227865
- }
227866
- Service.prototype.rpcCall = function rpcCall(method, requestCtor, responseCtor, request3, callback) {
227867
- if (!request3)
227868
- throw TypeError("request must be specified");
227869
- var self2 = this;
227870
- if (!callback)
227871
- return util.asPromise(rpcCall, self2, method, requestCtor, responseCtor, request3);
227872
- if (!self2.rpcImpl) {
227873
- setTimeout(function() {
227874
- callback(Error("already ended"));
227875
- }, 0);
227876
- return void 0;
227877
- }
227878
- try {
227879
- return self2.rpcImpl(
227880
- method,
227881
- requestCtor[self2.requestDelimited ? "encodeDelimited" : "encode"](request3).finish(),
227882
- function rpcCallback(err, response) {
227883
- if (err) {
227884
- self2.emit("error", err, method);
227885
- return callback(err);
227886
- }
227887
- if (response === null) {
227888
- self2.end(
227889
- /* endedByRPC */
227890
- true
227891
- );
227892
- return void 0;
227893
- }
227894
- if (!(response instanceof responseCtor)) {
227895
- try {
227896
- response = responseCtor[self2.responseDelimited ? "decodeDelimited" : "decode"](response);
227897
- } catch (err2) {
227898
- self2.emit("error", err2, method);
227899
- return callback(err2);
227900
- }
227901
- }
227902
- self2.emit("data", response, method);
227903
- return callback(null, response);
227904
- }
227905
- );
227906
- } catch (err) {
227907
- self2.emit("error", err, method);
227908
- setTimeout(function() {
227909
- callback(err);
227910
- }, 0);
227911
- return void 0;
227912
- }
227913
- };
227914
- Service.prototype.end = function end(endedByRPC) {
227915
- if (this.rpcImpl) {
227916
- if (!endedByRPC)
227917
- this.rpcImpl(null, null, null);
227918
- this.rpcImpl = null;
227919
- this.emit("end").off();
227920
- }
227921
- return this;
227922
- };
227923
- }
227924
- });
227925
-
227926
- // node_modules/@confio/ics23/node_modules/protobufjs/src/rpc.js
227927
- var require_rpc2 = __commonJS({
227928
- "node_modules/@confio/ics23/node_modules/protobufjs/src/rpc.js"(exports15) {
227929
- "use strict";
227930
- init_dirname();
227931
- init_buffer2();
227932
- init_process2();
227933
- var rpc = exports15;
227934
- rpc.Service = require_service2();
227935
- }
227936
- });
227937
-
227938
- // node_modules/@confio/ics23/node_modules/protobufjs/src/roots.js
227939
- var require_roots2 = __commonJS({
227940
- "node_modules/@confio/ics23/node_modules/protobufjs/src/roots.js"(exports15, module3) {
227941
- "use strict";
227942
- init_dirname();
227943
- init_buffer2();
227944
- init_process2();
227945
- module3.exports = {};
227946
- }
227947
- });
227948
-
227949
- // node_modules/@confio/ics23/node_modules/protobufjs/src/index-minimal.js
227950
- var require_index_minimal2 = __commonJS({
227951
- "node_modules/@confio/ics23/node_modules/protobufjs/src/index-minimal.js"(exports15) {
227952
- "use strict";
227953
- init_dirname();
227954
- init_buffer2();
227955
- init_process2();
227956
- var protobuf = exports15;
227957
- protobuf.build = "minimal";
227958
- protobuf.Writer = require_writer2();
227959
- protobuf.BufferWriter = require_writer_buffer2();
227960
- protobuf.Reader = require_reader2();
227961
- protobuf.BufferReader = require_reader_buffer2();
227962
- protobuf.util = require_minimal3();
227963
- protobuf.rpc = require_rpc2();
227964
- protobuf.roots = require_roots2();
227965
- protobuf.configure = configure;
227966
- function configure() {
227967
- protobuf.util._configure();
227968
- protobuf.Writer._configure(protobuf.BufferWriter);
227969
- protobuf.Reader._configure(protobuf.BufferReader);
227970
- }
227971
- configure();
227972
- }
227973
- });
227974
-
227975
- // node_modules/@confio/ics23/node_modules/protobufjs/minimal.js
227976
- var require_minimal4 = __commonJS({
227977
- "node_modules/@confio/ics23/node_modules/protobufjs/minimal.js"(exports15, module3) {
227978
- "use strict";
227979
- init_dirname();
227980
- init_buffer2();
227981
- init_process2();
227982
- module3.exports = require_index_minimal2();
227983
- }
227984
- });
227985
-
227986
227085
  // node_modules/@confio/ics23/build/generated/codecimpl.js
227987
227086
  var require_codecimpl = __commonJS({
227988
227087
  "node_modules/@confio/ics23/build/generated/codecimpl.js"(exports15, module3) {
@@ -227990,7 +227089,7 @@ var require_codecimpl = __commonJS({
227990
227089
  init_dirname();
227991
227090
  init_buffer2();
227992
227091
  init_process2();
227993
- var $protobuf = require_minimal4();
227092
+ var $protobuf = require_minimal2();
227994
227093
  var $Reader = $protobuf.Reader;
227995
227094
  var $Writer = $protobuf.Writer;
227996
227095
  var $util = $protobuf.util;
@@ -273699,7 +272798,7 @@ var require_block = __commonJS({
273699
272798
  });
273700
272799
 
273701
272800
  // node_modules/cosmjs-types/cosmos/tx/v1beta1/service.js
273702
- var require_service3 = __commonJS({
272801
+ var require_service2 = __commonJS({
273703
272802
  "node_modules/cosmjs-types/cosmos/tx/v1beta1/service.js"(exports15) {
273704
272803
  "use strict";
273705
272804
  init_dirname();
@@ -274936,7 +274035,7 @@ var require_queries11 = __commonJS({
274936
274035
  exports15.setupTxExtension = void 0;
274937
274036
  var proto_signing_1 = require_build6();
274938
274037
  var signing_1 = require_signing();
274939
- var service_1 = require_service3();
274038
+ var service_1 = require_service2();
274940
274039
  var tx_1 = require_tx();
274941
274040
  var queryclient_1 = require_queryclient2();
274942
274041
  function setupTxExtension(base2) {
@@ -284787,1529 +283886,6 @@ var require_amino2 = __commonJS({
284787
283886
  }
284788
283887
  });
284789
283888
 
284790
- // node_modules/long/umd/index.js
284791
- var require_umd = __commonJS({
284792
- "node_modules/long/umd/index.js"(exports15, module3) {
284793
- "use strict";
284794
- init_dirname();
284795
- init_buffer2();
284796
- init_process2();
284797
- var Long = function(exports16) {
284798
- "use strict";
284799
- Object.defineProperty(exports16, "__esModule", {
284800
- value: true
284801
- });
284802
- exports16.default = void 0;
284803
- var wasm = null;
284804
- try {
284805
- wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11])), {}).exports;
284806
- } catch (e12) {
284807
- }
284808
- function Long2(low, high, unsigned) {
284809
- this.low = low | 0;
284810
- this.high = high | 0;
284811
- this.unsigned = !!unsigned;
284812
- }
284813
- Long2.prototype.__isLong__;
284814
- Object.defineProperty(Long2.prototype, "__isLong__", {
284815
- value: true
284816
- });
284817
- function isLong(obj) {
284818
- return (obj && obj["__isLong__"]) === true;
284819
- }
284820
- function ctz32(value) {
284821
- var c8 = Math.clz32(value & -value);
284822
- return value ? 31 - c8 : c8;
284823
- }
284824
- Long2.isLong = isLong;
284825
- var INT_CACHE = {};
284826
- var UINT_CACHE = {};
284827
- function fromInt(value, unsigned) {
284828
- var obj, cachedObj, cache;
284829
- if (unsigned) {
284830
- value >>>= 0;
284831
- if (cache = 0 <= value && value < 256) {
284832
- cachedObj = UINT_CACHE[value];
284833
- if (cachedObj)
284834
- return cachedObj;
284835
- }
284836
- obj = fromBits(value, 0, true);
284837
- if (cache)
284838
- UINT_CACHE[value] = obj;
284839
- return obj;
284840
- } else {
284841
- value |= 0;
284842
- if (cache = -128 <= value && value < 128) {
284843
- cachedObj = INT_CACHE[value];
284844
- if (cachedObj)
284845
- return cachedObj;
284846
- }
284847
- obj = fromBits(value, value < 0 ? -1 : 0, false);
284848
- if (cache)
284849
- INT_CACHE[value] = obj;
284850
- return obj;
284851
- }
284852
- }
284853
- Long2.fromInt = fromInt;
284854
- function fromNumber(value, unsigned) {
284855
- if (isNaN(value))
284856
- return unsigned ? UZERO : ZERO;
284857
- if (unsigned) {
284858
- if (value < 0)
284859
- return UZERO;
284860
- if (value >= TWO_PWR_64_DBL)
284861
- return MAX_UNSIGNED_VALUE;
284862
- } else {
284863
- if (value <= -TWO_PWR_63_DBL)
284864
- return MIN_VALUE;
284865
- if (value + 1 >= TWO_PWR_63_DBL)
284866
- return MAX_VALUE;
284867
- }
284868
- if (value < 0)
284869
- return fromNumber(-value, unsigned).neg();
284870
- return fromBits(value % TWO_PWR_32_DBL | 0, value / TWO_PWR_32_DBL | 0, unsigned);
284871
- }
284872
- Long2.fromNumber = fromNumber;
284873
- function fromBits(lowBits, highBits, unsigned) {
284874
- return new Long2(lowBits, highBits, unsigned);
284875
- }
284876
- Long2.fromBits = fromBits;
284877
- var pow_dbl = Math.pow;
284878
- function fromString(str, unsigned, radix) {
284879
- if (str.length === 0)
284880
- throw Error("empty string");
284881
- if (typeof unsigned === "number") {
284882
- radix = unsigned;
284883
- unsigned = false;
284884
- } else {
284885
- unsigned = !!unsigned;
284886
- }
284887
- if (str === "NaN" || str === "Infinity" || str === "+Infinity" || str === "-Infinity")
284888
- return unsigned ? UZERO : ZERO;
284889
- radix = radix || 10;
284890
- if (radix < 2 || 36 < radix)
284891
- throw RangeError("radix");
284892
- var p8;
284893
- if ((p8 = str.indexOf("-")) > 0)
284894
- throw Error("interior hyphen");
284895
- else if (p8 === 0) {
284896
- return fromString(str.substring(1), unsigned, radix).neg();
284897
- }
284898
- var radixToPower = fromNumber(pow_dbl(radix, 8));
284899
- var result = ZERO;
284900
- for (var i8 = 0; i8 < str.length; i8 += 8) {
284901
- var size = Math.min(8, str.length - i8), value = parseInt(str.substring(i8, i8 + size), radix);
284902
- if (size < 8) {
284903
- var power = fromNumber(pow_dbl(radix, size));
284904
- result = result.mul(power).add(fromNumber(value));
284905
- } else {
284906
- result = result.mul(radixToPower);
284907
- result = result.add(fromNumber(value));
284908
- }
284909
- }
284910
- result.unsigned = unsigned;
284911
- return result;
284912
- }
284913
- Long2.fromString = fromString;
284914
- function fromValue(val, unsigned) {
284915
- if (typeof val === "number")
284916
- return fromNumber(val, unsigned);
284917
- if (typeof val === "string")
284918
- return fromString(val, unsigned);
284919
- return fromBits(val.low, val.high, typeof unsigned === "boolean" ? unsigned : val.unsigned);
284920
- }
284921
- Long2.fromValue = fromValue;
284922
- var TWO_PWR_16_DBL = 1 << 16;
284923
- var TWO_PWR_24_DBL = 1 << 24;
284924
- var TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL;
284925
- var TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL;
284926
- var TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2;
284927
- var TWO_PWR_24 = fromInt(TWO_PWR_24_DBL);
284928
- var ZERO = fromInt(0);
284929
- Long2.ZERO = ZERO;
284930
- var UZERO = fromInt(0, true);
284931
- Long2.UZERO = UZERO;
284932
- var ONE = fromInt(1);
284933
- Long2.ONE = ONE;
284934
- var UONE = fromInt(1, true);
284935
- Long2.UONE = UONE;
284936
- var NEG_ONE = fromInt(-1);
284937
- Long2.NEG_ONE = NEG_ONE;
284938
- var MAX_VALUE = fromBits(4294967295 | 0, 2147483647 | 0, false);
284939
- Long2.MAX_VALUE = MAX_VALUE;
284940
- var MAX_UNSIGNED_VALUE = fromBits(4294967295 | 0, 4294967295 | 0, true);
284941
- Long2.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE;
284942
- var MIN_VALUE = fromBits(0, 2147483648 | 0, false);
284943
- Long2.MIN_VALUE = MIN_VALUE;
284944
- var LongPrototype = Long2.prototype;
284945
- LongPrototype.toInt = function toInt() {
284946
- return this.unsigned ? this.low >>> 0 : this.low;
284947
- };
284948
- LongPrototype.toNumber = function toNumber2() {
284949
- if (this.unsigned)
284950
- return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0);
284951
- return this.high * TWO_PWR_32_DBL + (this.low >>> 0);
284952
- };
284953
- LongPrototype.toString = function toString4(radix) {
284954
- radix = radix || 10;
284955
- if (radix < 2 || 36 < radix)
284956
- throw RangeError("radix");
284957
- if (this.isZero())
284958
- return "0";
284959
- if (this.isNegative()) {
284960
- if (this.eq(MIN_VALUE)) {
284961
- var radixLong = fromNumber(radix), div = this.div(radixLong), rem1 = div.mul(radixLong).sub(this);
284962
- return div.toString(radix) + rem1.toInt().toString(radix);
284963
- } else
284964
- return "-" + this.neg().toString(radix);
284965
- }
284966
- var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned), rem = this;
284967
- var result = "";
284968
- while (true) {
284969
- var remDiv = rem.div(radixToPower), intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0, digits = intval.toString(radix);
284970
- rem = remDiv;
284971
- if (rem.isZero())
284972
- return digits + result;
284973
- else {
284974
- while (digits.length < 6)
284975
- digits = "0" + digits;
284976
- result = "" + digits + result;
284977
- }
284978
- }
284979
- };
284980
- LongPrototype.getHighBits = function getHighBits() {
284981
- return this.high;
284982
- };
284983
- LongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() {
284984
- return this.high >>> 0;
284985
- };
284986
- LongPrototype.getLowBits = function getLowBits() {
284987
- return this.low;
284988
- };
284989
- LongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() {
284990
- return this.low >>> 0;
284991
- };
284992
- LongPrototype.getNumBitsAbs = function getNumBitsAbs() {
284993
- if (this.isNegative())
284994
- return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs();
284995
- var val = this.high != 0 ? this.high : this.low;
284996
- for (var bit = 31; bit > 0; bit--)
284997
- if ((val & 1 << bit) != 0)
284998
- break;
284999
- return this.high != 0 ? bit + 33 : bit + 1;
285000
- };
285001
- LongPrototype.isZero = function isZero() {
285002
- return this.high === 0 && this.low === 0;
285003
- };
285004
- LongPrototype.eqz = LongPrototype.isZero;
285005
- LongPrototype.isNegative = function isNegative() {
285006
- return !this.unsigned && this.high < 0;
285007
- };
285008
- LongPrototype.isPositive = function isPositive() {
285009
- return this.unsigned || this.high >= 0;
285010
- };
285011
- LongPrototype.isOdd = function isOdd2() {
285012
- return (this.low & 1) === 1;
285013
- };
285014
- LongPrototype.isEven = function isEven() {
285015
- return (this.low & 1) === 0;
285016
- };
285017
- LongPrototype.equals = function equals(other) {
285018
- if (!isLong(other))
285019
- other = fromValue(other);
285020
- if (this.unsigned !== other.unsigned && this.high >>> 31 === 1 && other.high >>> 31 === 1)
285021
- return false;
285022
- return this.high === other.high && this.low === other.low;
285023
- };
285024
- LongPrototype.eq = LongPrototype.equals;
285025
- LongPrototype.notEquals = function notEquals(other) {
285026
- return !this.eq(
285027
- /* validates */
285028
- other
285029
- );
285030
- };
285031
- LongPrototype.neq = LongPrototype.notEquals;
285032
- LongPrototype.ne = LongPrototype.notEquals;
285033
- LongPrototype.lessThan = function lessThan(other) {
285034
- return this.comp(
285035
- /* validates */
285036
- other
285037
- ) < 0;
285038
- };
285039
- LongPrototype.lt = LongPrototype.lessThan;
285040
- LongPrototype.lessThanOrEqual = function lessThanOrEqual(other) {
285041
- return this.comp(
285042
- /* validates */
285043
- other
285044
- ) <= 0;
285045
- };
285046
- LongPrototype.lte = LongPrototype.lessThanOrEqual;
285047
- LongPrototype.le = LongPrototype.lessThanOrEqual;
285048
- LongPrototype.greaterThan = function greaterThan(other) {
285049
- return this.comp(
285050
- /* validates */
285051
- other
285052
- ) > 0;
285053
- };
285054
- LongPrototype.gt = LongPrototype.greaterThan;
285055
- LongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) {
285056
- return this.comp(
285057
- /* validates */
285058
- other
285059
- ) >= 0;
285060
- };
285061
- LongPrototype.gte = LongPrototype.greaterThanOrEqual;
285062
- LongPrototype.ge = LongPrototype.greaterThanOrEqual;
285063
- LongPrototype.compare = function compare2(other) {
285064
- if (!isLong(other))
285065
- other = fromValue(other);
285066
- if (this.eq(other))
285067
- return 0;
285068
- var thisNeg = this.isNegative(), otherNeg = other.isNegative();
285069
- if (thisNeg && !otherNeg)
285070
- return -1;
285071
- if (!thisNeg && otherNeg)
285072
- return 1;
285073
- if (!this.unsigned)
285074
- return this.sub(other).isNegative() ? -1 : 1;
285075
- return other.high >>> 0 > this.high >>> 0 || other.high === this.high && other.low >>> 0 > this.low >>> 0 ? -1 : 1;
285076
- };
285077
- LongPrototype.comp = LongPrototype.compare;
285078
- LongPrototype.negate = function negate() {
285079
- if (!this.unsigned && this.eq(MIN_VALUE))
285080
- return MIN_VALUE;
285081
- return this.not().add(ONE);
285082
- };
285083
- LongPrototype.neg = LongPrototype.negate;
285084
- LongPrototype.add = function add5(addend) {
285085
- if (!isLong(addend))
285086
- addend = fromValue(addend);
285087
- var a48 = this.high >>> 16;
285088
- var a32 = this.high & 65535;
285089
- var a16 = this.low >>> 16;
285090
- var a00 = this.low & 65535;
285091
- var b48 = addend.high >>> 16;
285092
- var b32 = addend.high & 65535;
285093
- var b16 = addend.low >>> 16;
285094
- var b00 = addend.low & 65535;
285095
- var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
285096
- c00 += a00 + b00;
285097
- c16 += c00 >>> 16;
285098
- c00 &= 65535;
285099
- c16 += a16 + b16;
285100
- c32 += c16 >>> 16;
285101
- c16 &= 65535;
285102
- c32 += a32 + b32;
285103
- c48 += c32 >>> 16;
285104
- c32 &= 65535;
285105
- c48 += a48 + b48;
285106
- c48 &= 65535;
285107
- return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
285108
- };
285109
- LongPrototype.subtract = function subtract(subtrahend) {
285110
- if (!isLong(subtrahend))
285111
- subtrahend = fromValue(subtrahend);
285112
- return this.add(subtrahend.neg());
285113
- };
285114
- LongPrototype.sub = LongPrototype.subtract;
285115
- LongPrototype.multiply = function multiply(multiplier) {
285116
- if (this.isZero())
285117
- return this;
285118
- if (!isLong(multiplier))
285119
- multiplier = fromValue(multiplier);
285120
- if (wasm) {
285121
- var low = wasm["mul"](this.low, this.high, multiplier.low, multiplier.high);
285122
- return fromBits(low, wasm["get_high"](), this.unsigned);
285123
- }
285124
- if (multiplier.isZero())
285125
- return this.unsigned ? UZERO : ZERO;
285126
- if (this.eq(MIN_VALUE))
285127
- return multiplier.isOdd() ? MIN_VALUE : ZERO;
285128
- if (multiplier.eq(MIN_VALUE))
285129
- return this.isOdd() ? MIN_VALUE : ZERO;
285130
- if (this.isNegative()) {
285131
- if (multiplier.isNegative())
285132
- return this.neg().mul(multiplier.neg());
285133
- else
285134
- return this.neg().mul(multiplier).neg();
285135
- } else if (multiplier.isNegative())
285136
- return this.mul(multiplier.neg()).neg();
285137
- if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24))
285138
- return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned);
285139
- var a48 = this.high >>> 16;
285140
- var a32 = this.high & 65535;
285141
- var a16 = this.low >>> 16;
285142
- var a00 = this.low & 65535;
285143
- var b48 = multiplier.high >>> 16;
285144
- var b32 = multiplier.high & 65535;
285145
- var b16 = multiplier.low >>> 16;
285146
- var b00 = multiplier.low & 65535;
285147
- var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
285148
- c00 += a00 * b00;
285149
- c16 += c00 >>> 16;
285150
- c00 &= 65535;
285151
- c16 += a16 * b00;
285152
- c32 += c16 >>> 16;
285153
- c16 &= 65535;
285154
- c16 += a00 * b16;
285155
- c32 += c16 >>> 16;
285156
- c16 &= 65535;
285157
- c32 += a32 * b00;
285158
- c48 += c32 >>> 16;
285159
- c32 &= 65535;
285160
- c32 += a16 * b16;
285161
- c48 += c32 >>> 16;
285162
- c32 &= 65535;
285163
- c32 += a00 * b32;
285164
- c48 += c32 >>> 16;
285165
- c32 &= 65535;
285166
- c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;
285167
- c48 &= 65535;
285168
- return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
285169
- };
285170
- LongPrototype.mul = LongPrototype.multiply;
285171
- LongPrototype.divide = function divide(divisor) {
285172
- if (!isLong(divisor))
285173
- divisor = fromValue(divisor);
285174
- if (divisor.isZero())
285175
- throw Error("division by zero");
285176
- if (wasm) {
285177
- if (!this.unsigned && this.high === -2147483648 && divisor.low === -1 && divisor.high === -1) {
285178
- return this;
285179
- }
285180
- var low = (this.unsigned ? wasm["div_u"] : wasm["div_s"])(this.low, this.high, divisor.low, divisor.high);
285181
- return fromBits(low, wasm["get_high"](), this.unsigned);
285182
- }
285183
- if (this.isZero())
285184
- return this.unsigned ? UZERO : ZERO;
285185
- var approx, rem, res;
285186
- if (!this.unsigned) {
285187
- if (this.eq(MIN_VALUE)) {
285188
- if (divisor.eq(ONE) || divisor.eq(NEG_ONE))
285189
- return MIN_VALUE;
285190
- else if (divisor.eq(MIN_VALUE))
285191
- return ONE;
285192
- else {
285193
- var halfThis = this.shr(1);
285194
- approx = halfThis.div(divisor).shl(1);
285195
- if (approx.eq(ZERO)) {
285196
- return divisor.isNegative() ? ONE : NEG_ONE;
285197
- } else {
285198
- rem = this.sub(divisor.mul(approx));
285199
- res = approx.add(rem.div(divisor));
285200
- return res;
285201
- }
285202
- }
285203
- } else if (divisor.eq(MIN_VALUE))
285204
- return this.unsigned ? UZERO : ZERO;
285205
- if (this.isNegative()) {
285206
- if (divisor.isNegative())
285207
- return this.neg().div(divisor.neg());
285208
- return this.neg().div(divisor).neg();
285209
- } else if (divisor.isNegative())
285210
- return this.div(divisor.neg()).neg();
285211
- res = ZERO;
285212
- } else {
285213
- if (!divisor.unsigned)
285214
- divisor = divisor.toUnsigned();
285215
- if (divisor.gt(this))
285216
- return UZERO;
285217
- if (divisor.gt(this.shru(1)))
285218
- return UONE;
285219
- res = UZERO;
285220
- }
285221
- rem = this;
285222
- while (rem.gte(divisor)) {
285223
- approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber()));
285224
- var log22 = Math.ceil(Math.log(approx) / Math.LN2), delta = log22 <= 48 ? 1 : pow_dbl(2, log22 - 48), approxRes = fromNumber(approx), approxRem = approxRes.mul(divisor);
285225
- while (approxRem.isNegative() || approxRem.gt(rem)) {
285226
- approx -= delta;
285227
- approxRes = fromNumber(approx, this.unsigned);
285228
- approxRem = approxRes.mul(divisor);
285229
- }
285230
- if (approxRes.isZero())
285231
- approxRes = ONE;
285232
- res = res.add(approxRes);
285233
- rem = rem.sub(approxRem);
285234
- }
285235
- return res;
285236
- };
285237
- LongPrototype.div = LongPrototype.divide;
285238
- LongPrototype.modulo = function modulo(divisor) {
285239
- if (!isLong(divisor))
285240
- divisor = fromValue(divisor);
285241
- if (wasm) {
285242
- var low = (this.unsigned ? wasm["rem_u"] : wasm["rem_s"])(this.low, this.high, divisor.low, divisor.high);
285243
- return fromBits(low, wasm["get_high"](), this.unsigned);
285244
- }
285245
- return this.sub(this.div(divisor).mul(divisor));
285246
- };
285247
- LongPrototype.mod = LongPrototype.modulo;
285248
- LongPrototype.rem = LongPrototype.modulo;
285249
- LongPrototype.not = function not() {
285250
- return fromBits(~this.low, ~this.high, this.unsigned);
285251
- };
285252
- LongPrototype.countLeadingZeros = function countLeadingZeros() {
285253
- return this.high ? Math.clz32(this.high) : Math.clz32(this.low) + 32;
285254
- };
285255
- LongPrototype.clz = LongPrototype.countLeadingZeros;
285256
- LongPrototype.countTrailingZeros = function countTrailingZeros() {
285257
- return this.low ? ctz32(this.low) : ctz32(this.high) + 32;
285258
- };
285259
- LongPrototype.ctz = LongPrototype.countTrailingZeros;
285260
- LongPrototype.and = function and(other) {
285261
- if (!isLong(other))
285262
- other = fromValue(other);
285263
- return fromBits(this.low & other.low, this.high & other.high, this.unsigned);
285264
- };
285265
- LongPrototype.or = function or(other) {
285266
- if (!isLong(other))
285267
- other = fromValue(other);
285268
- return fromBits(this.low | other.low, this.high | other.high, this.unsigned);
285269
- };
285270
- LongPrototype.xor = function xor(other) {
285271
- if (!isLong(other))
285272
- other = fromValue(other);
285273
- return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned);
285274
- };
285275
- LongPrototype.shiftLeft = function shiftLeft(numBits) {
285276
- if (isLong(numBits))
285277
- numBits = numBits.toInt();
285278
- if ((numBits &= 63) === 0)
285279
- return this;
285280
- else if (numBits < 32)
285281
- return fromBits(this.low << numBits, this.high << numBits | this.low >>> 32 - numBits, this.unsigned);
285282
- else
285283
- return fromBits(0, this.low << numBits - 32, this.unsigned);
285284
- };
285285
- LongPrototype.shl = LongPrototype.shiftLeft;
285286
- LongPrototype.shiftRight = function shiftRight(numBits) {
285287
- if (isLong(numBits))
285288
- numBits = numBits.toInt();
285289
- if ((numBits &= 63) === 0)
285290
- return this;
285291
- else if (numBits < 32)
285292
- return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >> numBits, this.unsigned);
285293
- else
285294
- return fromBits(this.high >> numBits - 32, this.high >= 0 ? 0 : -1, this.unsigned);
285295
- };
285296
- LongPrototype.shr = LongPrototype.shiftRight;
285297
- LongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) {
285298
- if (isLong(numBits))
285299
- numBits = numBits.toInt();
285300
- if ((numBits &= 63) === 0)
285301
- return this;
285302
- if (numBits < 32)
285303
- return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >>> numBits, this.unsigned);
285304
- if (numBits === 32)
285305
- return fromBits(this.high, 0, this.unsigned);
285306
- return fromBits(this.high >>> numBits - 32, 0, this.unsigned);
285307
- };
285308
- LongPrototype.shru = LongPrototype.shiftRightUnsigned;
285309
- LongPrototype.shr_u = LongPrototype.shiftRightUnsigned;
285310
- LongPrototype.rotateLeft = function rotateLeft(numBits) {
285311
- var b7;
285312
- if (isLong(numBits))
285313
- numBits = numBits.toInt();
285314
- if ((numBits &= 63) === 0)
285315
- return this;
285316
- if (numBits === 32)
285317
- return fromBits(this.high, this.low, this.unsigned);
285318
- if (numBits < 32) {
285319
- b7 = 32 - numBits;
285320
- return fromBits(this.low << numBits | this.high >>> b7, this.high << numBits | this.low >>> b7, this.unsigned);
285321
- }
285322
- numBits -= 32;
285323
- b7 = 32 - numBits;
285324
- return fromBits(this.high << numBits | this.low >>> b7, this.low << numBits | this.high >>> b7, this.unsigned);
285325
- };
285326
- LongPrototype.rotl = LongPrototype.rotateLeft;
285327
- LongPrototype.rotateRight = function rotateRight(numBits) {
285328
- var b7;
285329
- if (isLong(numBits))
285330
- numBits = numBits.toInt();
285331
- if ((numBits &= 63) === 0)
285332
- return this;
285333
- if (numBits === 32)
285334
- return fromBits(this.high, this.low, this.unsigned);
285335
- if (numBits < 32) {
285336
- b7 = 32 - numBits;
285337
- return fromBits(this.high << b7 | this.low >>> numBits, this.low << b7 | this.high >>> numBits, this.unsigned);
285338
- }
285339
- numBits -= 32;
285340
- b7 = 32 - numBits;
285341
- return fromBits(this.low << b7 | this.high >>> numBits, this.high << b7 | this.low >>> numBits, this.unsigned);
285342
- };
285343
- LongPrototype.rotr = LongPrototype.rotateRight;
285344
- LongPrototype.toSigned = function toSigned() {
285345
- if (!this.unsigned)
285346
- return this;
285347
- return fromBits(this.low, this.high, false);
285348
- };
285349
- LongPrototype.toUnsigned = function toUnsigned() {
285350
- if (this.unsigned)
285351
- return this;
285352
- return fromBits(this.low, this.high, true);
285353
- };
285354
- LongPrototype.toBytes = function toBytes4(le3) {
285355
- return le3 ? this.toBytesLE() : this.toBytesBE();
285356
- };
285357
- LongPrototype.toBytesLE = function toBytesLE() {
285358
- var hi = this.high, lo = this.low;
285359
- return [lo & 255, lo >>> 8 & 255, lo >>> 16 & 255, lo >>> 24, hi & 255, hi >>> 8 & 255, hi >>> 16 & 255, hi >>> 24];
285360
- };
285361
- LongPrototype.toBytesBE = function toBytesBE() {
285362
- var hi = this.high, lo = this.low;
285363
- return [hi >>> 24, hi >>> 16 & 255, hi >>> 8 & 255, hi & 255, lo >>> 24, lo >>> 16 & 255, lo >>> 8 & 255, lo & 255];
285364
- };
285365
- Long2.fromBytes = function fromBytes(bytes4, unsigned, le3) {
285366
- return le3 ? Long2.fromBytesLE(bytes4, unsigned) : Long2.fromBytesBE(bytes4, unsigned);
285367
- };
285368
- Long2.fromBytesLE = function fromBytesLE(bytes4, unsigned) {
285369
- return new Long2(bytes4[0] | bytes4[1] << 8 | bytes4[2] << 16 | bytes4[3] << 24, bytes4[4] | bytes4[5] << 8 | bytes4[6] << 16 | bytes4[7] << 24, unsigned);
285370
- };
285371
- Long2.fromBytesBE = function fromBytesBE(bytes4, unsigned) {
285372
- return new Long2(bytes4[4] << 24 | bytes4[5] << 16 | bytes4[6] << 8 | bytes4[7], bytes4[0] << 24 | bytes4[1] << 16 | bytes4[2] << 8 | bytes4[3], unsigned);
285373
- };
285374
- var _default = Long2;
285375
- exports16.default = _default;
285376
- return "default" in exports16 ? exports16.default : exports16;
285377
- }({});
285378
- if (typeof define === "function" && define.amd)
285379
- define([], function() {
285380
- return Long;
285381
- });
285382
- else if (typeof module3 === "object" && typeof exports15 === "object")
285383
- module3.exports = Long;
285384
- }
285385
- });
285386
-
285387
- // node_modules/protobufjs/src/util/longbits.js
285388
- var require_longbits3 = __commonJS({
285389
- "node_modules/protobufjs/src/util/longbits.js"(exports15, module3) {
285390
- "use strict";
285391
- init_dirname();
285392
- init_buffer2();
285393
- init_process2();
285394
- module3.exports = LongBits;
285395
- var util = require_minimal5();
285396
- function LongBits(lo, hi) {
285397
- this.lo = lo >>> 0;
285398
- this.hi = hi >>> 0;
285399
- }
285400
- var zero = LongBits.zero = new LongBits(0, 0);
285401
- zero.toNumber = function() {
285402
- return 0;
285403
- };
285404
- zero.zzEncode = zero.zzDecode = function() {
285405
- return this;
285406
- };
285407
- zero.length = function() {
285408
- return 1;
285409
- };
285410
- var zeroHash = LongBits.zeroHash = "\0\0\0\0\0\0\0\0";
285411
- LongBits.fromNumber = function fromNumber(value) {
285412
- if (value === 0)
285413
- return zero;
285414
- var sign6 = value < 0;
285415
- if (sign6)
285416
- value = -value;
285417
- var lo = value >>> 0, hi = (value - lo) / 4294967296 >>> 0;
285418
- if (sign6) {
285419
- hi = ~hi >>> 0;
285420
- lo = ~lo >>> 0;
285421
- if (++lo > 4294967295) {
285422
- lo = 0;
285423
- if (++hi > 4294967295)
285424
- hi = 0;
285425
- }
285426
- }
285427
- return new LongBits(lo, hi);
285428
- };
285429
- LongBits.from = function from(value) {
285430
- if (typeof value === "number")
285431
- return LongBits.fromNumber(value);
285432
- if (util.isString(value)) {
285433
- if (util.Long)
285434
- value = util.Long.fromString(value);
285435
- else
285436
- return LongBits.fromNumber(parseInt(value, 10));
285437
- }
285438
- return value.low || value.high ? new LongBits(value.low >>> 0, value.high >>> 0) : zero;
285439
- };
285440
- LongBits.prototype.toNumber = function toNumber2(unsigned) {
285441
- if (!unsigned && this.hi >>> 31) {
285442
- var lo = ~this.lo + 1 >>> 0, hi = ~this.hi >>> 0;
285443
- if (!lo)
285444
- hi = hi + 1 >>> 0;
285445
- return -(lo + hi * 4294967296);
285446
- }
285447
- return this.lo + this.hi * 4294967296;
285448
- };
285449
- LongBits.prototype.toLong = function toLong(unsigned) {
285450
- return util.Long ? new util.Long(this.lo | 0, this.hi | 0, Boolean(unsigned)) : { low: this.lo | 0, high: this.hi | 0, unsigned: Boolean(unsigned) };
285451
- };
285452
- var charCodeAt = String.prototype.charCodeAt;
285453
- LongBits.fromHash = function fromHash(hash6) {
285454
- if (hash6 === zeroHash)
285455
- return zero;
285456
- return new LongBits(
285457
- (charCodeAt.call(hash6, 0) | charCodeAt.call(hash6, 1) << 8 | charCodeAt.call(hash6, 2) << 16 | charCodeAt.call(hash6, 3) << 24) >>> 0,
285458
- (charCodeAt.call(hash6, 4) | charCodeAt.call(hash6, 5) << 8 | charCodeAt.call(hash6, 6) << 16 | charCodeAt.call(hash6, 7) << 24) >>> 0
285459
- );
285460
- };
285461
- LongBits.prototype.toHash = function toHash() {
285462
- return String.fromCharCode(
285463
- this.lo & 255,
285464
- this.lo >>> 8 & 255,
285465
- this.lo >>> 16 & 255,
285466
- this.lo >>> 24,
285467
- this.hi & 255,
285468
- this.hi >>> 8 & 255,
285469
- this.hi >>> 16 & 255,
285470
- this.hi >>> 24
285471
- );
285472
- };
285473
- LongBits.prototype.zzEncode = function zzEncode() {
285474
- var mask3 = this.hi >> 31;
285475
- this.hi = ((this.hi << 1 | this.lo >>> 31) ^ mask3) >>> 0;
285476
- this.lo = (this.lo << 1 ^ mask3) >>> 0;
285477
- return this;
285478
- };
285479
- LongBits.prototype.zzDecode = function zzDecode() {
285480
- var mask3 = -(this.lo & 1);
285481
- this.lo = ((this.lo >>> 1 | this.hi << 31) ^ mask3) >>> 0;
285482
- this.hi = (this.hi >>> 1 ^ mask3) >>> 0;
285483
- return this;
285484
- };
285485
- LongBits.prototype.length = function length() {
285486
- var part0 = this.lo, part1 = (this.lo >>> 28 | this.hi << 4) >>> 0, part2 = this.hi >>> 24;
285487
- return part2 === 0 ? part1 === 0 ? part0 < 16384 ? part0 < 128 ? 1 : 2 : part0 < 2097152 ? 3 : 4 : part1 < 16384 ? part1 < 128 ? 5 : 6 : part1 < 2097152 ? 7 : 8 : part2 < 128 ? 9 : 10;
285488
- };
285489
- }
285490
- });
285491
-
285492
- // node_modules/protobufjs/src/util/minimal.js
285493
- var require_minimal5 = __commonJS({
285494
- "node_modules/protobufjs/src/util/minimal.js"(exports15) {
285495
- "use strict";
285496
- init_dirname();
285497
- init_buffer2();
285498
- init_process2();
285499
- var util = exports15;
285500
- util.asPromise = require_aspromise();
285501
- util.base64 = require_base642();
285502
- util.EventEmitter = require_eventemitter();
285503
- util.float = require_float();
285504
- util.inquire = require_inquire();
285505
- util.utf8 = require_utf83();
285506
- util.pool = require_pool();
285507
- util.LongBits = require_longbits3();
285508
- util.isNode = Boolean(typeof global !== "undefined" && global && global.process && global.process.versions && global.process.versions.node);
285509
- util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self || exports15;
285510
- util.emptyArray = Object.freeze ? Object.freeze([]) : (
285511
- /* istanbul ignore next */
285512
- []
285513
- );
285514
- util.emptyObject = Object.freeze ? Object.freeze({}) : (
285515
- /* istanbul ignore next */
285516
- {}
285517
- );
285518
- util.isInteger = Number.isInteger || /* istanbul ignore next */
285519
- function isInteger(value) {
285520
- return typeof value === "number" && isFinite(value) && Math.floor(value) === value;
285521
- };
285522
- util.isString = function isString4(value) {
285523
- return typeof value === "string" || value instanceof String;
285524
- };
285525
- util.isObject = function isObject5(value) {
285526
- return value && typeof value === "object";
285527
- };
285528
- util.isset = /**
285529
- * Checks if a property on a message is considered to be present.
285530
- * @param {Object} obj Plain object or message instance
285531
- * @param {string} prop Property name
285532
- * @returns {boolean} `true` if considered to be present, otherwise `false`
285533
- */
285534
- util.isSet = function isSet(obj, prop) {
285535
- var value = obj[prop];
285536
- if (value != null && obj.hasOwnProperty(prop))
285537
- return typeof value !== "object" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;
285538
- return false;
285539
- };
285540
- util.Buffer = function() {
285541
- try {
285542
- var Buffer2 = util.inquire("buffer").Buffer;
285543
- return Buffer2.prototype.utf8Write ? Buffer2 : (
285544
- /* istanbul ignore next */
285545
- null
285546
- );
285547
- } catch (e12) {
285548
- return null;
285549
- }
285550
- }();
285551
- util._Buffer_from = null;
285552
- util._Buffer_allocUnsafe = null;
285553
- util.newBuffer = function newBuffer(sizeOrArray) {
285554
- return typeof sizeOrArray === "number" ? util.Buffer ? util._Buffer_allocUnsafe(sizeOrArray) : new util.Array(sizeOrArray) : util.Buffer ? util._Buffer_from(sizeOrArray) : typeof Uint8Array === "undefined" ? sizeOrArray : new Uint8Array(sizeOrArray);
285555
- };
285556
- util.Array = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
285557
- util.Long = /* istanbul ignore next */
285558
- util.global.dcodeIO && /* istanbul ignore next */
285559
- util.global.dcodeIO.Long || /* istanbul ignore next */
285560
- util.global.Long || util.inquire("long");
285561
- util.key2Re = /^true|false|0|1$/;
285562
- util.key32Re = /^-?(?:0|[1-9][0-9]*)$/;
285563
- util.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;
285564
- util.longToHash = function longToHash(value) {
285565
- return value ? util.LongBits.from(value).toHash() : util.LongBits.zeroHash;
285566
- };
285567
- util.longFromHash = function longFromHash(hash6, unsigned) {
285568
- var bits = util.LongBits.fromHash(hash6);
285569
- if (util.Long)
285570
- return util.Long.fromBits(bits.lo, bits.hi, unsigned);
285571
- return bits.toNumber(Boolean(unsigned));
285572
- };
285573
- function merge2(dst, src, ifNotSet) {
285574
- for (var keys = Object.keys(src), i8 = 0; i8 < keys.length; ++i8)
285575
- if (dst[keys[i8]] === void 0 || !ifNotSet)
285576
- dst[keys[i8]] = src[keys[i8]];
285577
- return dst;
285578
- }
285579
- util.merge = merge2;
285580
- util.lcFirst = function lcFirst(str) {
285581
- return str.charAt(0).toLowerCase() + str.substring(1);
285582
- };
285583
- function newError(name2) {
285584
- function CustomError(message, properties) {
285585
- if (!(this instanceof CustomError))
285586
- return new CustomError(message, properties);
285587
- Object.defineProperty(this, "message", { get: function() {
285588
- return message;
285589
- } });
285590
- if (Error.captureStackTrace)
285591
- Error.captureStackTrace(this, CustomError);
285592
- else
285593
- Object.defineProperty(this, "stack", { value: new Error().stack || "" });
285594
- if (properties)
285595
- merge2(this, properties);
285596
- }
285597
- CustomError.prototype = Object.create(Error.prototype, {
285598
- constructor: {
285599
- value: CustomError,
285600
- writable: true,
285601
- enumerable: false,
285602
- configurable: true
285603
- },
285604
- name: {
285605
- get: function get3() {
285606
- return name2;
285607
- },
285608
- set: void 0,
285609
- enumerable: false,
285610
- // configurable: false would accurately preserve the behavior of
285611
- // the original, but I'm guessing that was not intentional.
285612
- // For an actual error subclass, this property would
285613
- // be configurable.
285614
- configurable: true
285615
- },
285616
- toString: {
285617
- value: function value() {
285618
- return this.name + ": " + this.message;
285619
- },
285620
- writable: true,
285621
- enumerable: false,
285622
- configurable: true
285623
- }
285624
- });
285625
- return CustomError;
285626
- }
285627
- util.newError = newError;
285628
- util.ProtocolError = newError("ProtocolError");
285629
- util.oneOfGetter = function getOneOf(fieldNames) {
285630
- var fieldMap = {};
285631
- for (var i8 = 0; i8 < fieldNames.length; ++i8)
285632
- fieldMap[fieldNames[i8]] = 1;
285633
- return function() {
285634
- for (var keys = Object.keys(this), i9 = keys.length - 1; i9 > -1; --i9)
285635
- if (fieldMap[keys[i9]] === 1 && this[keys[i9]] !== void 0 && this[keys[i9]] !== null)
285636
- return keys[i9];
285637
- };
285638
- };
285639
- util.oneOfSetter = function setOneOf(fieldNames) {
285640
- return function(name2) {
285641
- for (var i8 = 0; i8 < fieldNames.length; ++i8)
285642
- if (fieldNames[i8] !== name2)
285643
- delete this[fieldNames[i8]];
285644
- };
285645
- };
285646
- util.toJSONOptions = {
285647
- longs: String,
285648
- enums: String,
285649
- bytes: String,
285650
- json: true
285651
- };
285652
- util._configure = function() {
285653
- var Buffer2 = util.Buffer;
285654
- if (!Buffer2) {
285655
- util._Buffer_from = util._Buffer_allocUnsafe = null;
285656
- return;
285657
- }
285658
- util._Buffer_from = Buffer2.from !== Uint8Array.from && Buffer2.from || /* istanbul ignore next */
285659
- function Buffer_from(value, encoding) {
285660
- return new Buffer2(value, encoding);
285661
- };
285662
- util._Buffer_allocUnsafe = Buffer2.allocUnsafe || /* istanbul ignore next */
285663
- function Buffer_allocUnsafe(size) {
285664
- return new Buffer2(size);
285665
- };
285666
- };
285667
- }
285668
- });
285669
-
285670
- // node_modules/protobufjs/src/writer.js
285671
- var require_writer3 = __commonJS({
285672
- "node_modules/protobufjs/src/writer.js"(exports15, module3) {
285673
- "use strict";
285674
- init_dirname();
285675
- init_buffer2();
285676
- init_process2();
285677
- module3.exports = Writer2;
285678
- var util = require_minimal5();
285679
- var BufferWriter;
285680
- var LongBits = util.LongBits;
285681
- var base64 = util.base64;
285682
- var utf8 = util.utf8;
285683
- function Op(fn, len, val) {
285684
- this.fn = fn;
285685
- this.len = len;
285686
- this.next = void 0;
285687
- this.val = val;
285688
- }
285689
- function noop3() {
285690
- }
285691
- function State(writer) {
285692
- this.head = writer.head;
285693
- this.tail = writer.tail;
285694
- this.len = writer.len;
285695
- this.next = writer.states;
285696
- }
285697
- function Writer2() {
285698
- this.len = 0;
285699
- this.head = new Op(noop3, 0, 0);
285700
- this.tail = this.head;
285701
- this.states = null;
285702
- }
285703
- var create2 = function create3() {
285704
- return util.Buffer ? function create_buffer_setup() {
285705
- return (Writer2.create = function create_buffer() {
285706
- return new BufferWriter();
285707
- })();
285708
- } : function create_array() {
285709
- return new Writer2();
285710
- };
285711
- };
285712
- Writer2.create = create2();
285713
- Writer2.alloc = function alloc(size) {
285714
- return new util.Array(size);
285715
- };
285716
- if (util.Array !== Array)
285717
- Writer2.alloc = util.pool(Writer2.alloc, util.Array.prototype.subarray);
285718
- Writer2.prototype._push = function push(fn, len, val) {
285719
- this.tail = this.tail.next = new Op(fn, len, val);
285720
- this.len += len;
285721
- return this;
285722
- };
285723
- function writeByte(val, buf, pos) {
285724
- buf[pos] = val & 255;
285725
- }
285726
- function writeVarint32(val, buf, pos) {
285727
- while (val > 127) {
285728
- buf[pos++] = val & 127 | 128;
285729
- val >>>= 7;
285730
- }
285731
- buf[pos] = val;
285732
- }
285733
- function VarintOp(len, val) {
285734
- this.len = len;
285735
- this.next = void 0;
285736
- this.val = val;
285737
- }
285738
- VarintOp.prototype = Object.create(Op.prototype);
285739
- VarintOp.prototype.fn = writeVarint32;
285740
- Writer2.prototype.uint32 = function write_uint32(value) {
285741
- this.len += (this.tail = this.tail.next = new VarintOp(
285742
- (value = value >>> 0) < 128 ? 1 : value < 16384 ? 2 : value < 2097152 ? 3 : value < 268435456 ? 4 : 5,
285743
- value
285744
- )).len;
285745
- return this;
285746
- };
285747
- Writer2.prototype.int32 = function write_int32(value) {
285748
- return value < 0 ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) : this.uint32(value);
285749
- };
285750
- Writer2.prototype.sint32 = function write_sint32(value) {
285751
- return this.uint32((value << 1 ^ value >> 31) >>> 0);
285752
- };
285753
- function writeVarint64(val, buf, pos) {
285754
- while (val.hi) {
285755
- buf[pos++] = val.lo & 127 | 128;
285756
- val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0;
285757
- val.hi >>>= 7;
285758
- }
285759
- while (val.lo > 127) {
285760
- buf[pos++] = val.lo & 127 | 128;
285761
- val.lo = val.lo >>> 7;
285762
- }
285763
- buf[pos++] = val.lo;
285764
- }
285765
- Writer2.prototype.uint64 = function write_uint64(value) {
285766
- var bits = LongBits.from(value);
285767
- return this._push(writeVarint64, bits.length(), bits);
285768
- };
285769
- Writer2.prototype.int64 = Writer2.prototype.uint64;
285770
- Writer2.prototype.sint64 = function write_sint64(value) {
285771
- var bits = LongBits.from(value).zzEncode();
285772
- return this._push(writeVarint64, bits.length(), bits);
285773
- };
285774
- Writer2.prototype.bool = function write_bool(value) {
285775
- return this._push(writeByte, 1, value ? 1 : 0);
285776
- };
285777
- function writeFixed32(val, buf, pos) {
285778
- buf[pos] = val & 255;
285779
- buf[pos + 1] = val >>> 8 & 255;
285780
- buf[pos + 2] = val >>> 16 & 255;
285781
- buf[pos + 3] = val >>> 24;
285782
- }
285783
- Writer2.prototype.fixed32 = function write_fixed32(value) {
285784
- return this._push(writeFixed32, 4, value >>> 0);
285785
- };
285786
- Writer2.prototype.sfixed32 = Writer2.prototype.fixed32;
285787
- Writer2.prototype.fixed64 = function write_fixed64(value) {
285788
- var bits = LongBits.from(value);
285789
- return this._push(writeFixed32, 4, bits.lo)._push(writeFixed32, 4, bits.hi);
285790
- };
285791
- Writer2.prototype.sfixed64 = Writer2.prototype.fixed64;
285792
- Writer2.prototype.float = function write_float(value) {
285793
- return this._push(util.float.writeFloatLE, 4, value);
285794
- };
285795
- Writer2.prototype.double = function write_double(value) {
285796
- return this._push(util.float.writeDoubleLE, 8, value);
285797
- };
285798
- var writeBytes = util.Array.prototype.set ? function writeBytes_set(val, buf, pos) {
285799
- buf.set(val, pos);
285800
- } : function writeBytes_for(val, buf, pos) {
285801
- for (var i8 = 0; i8 < val.length; ++i8)
285802
- buf[pos + i8] = val[i8];
285803
- };
285804
- Writer2.prototype.bytes = function write_bytes(value) {
285805
- var len = value.length >>> 0;
285806
- if (!len)
285807
- return this._push(writeByte, 1, 0);
285808
- if (util.isString(value)) {
285809
- var buf = Writer2.alloc(len = base64.length(value));
285810
- base64.decode(value, buf, 0);
285811
- value = buf;
285812
- }
285813
- return this.uint32(len)._push(writeBytes, len, value);
285814
- };
285815
- Writer2.prototype.string = function write_string(value) {
285816
- var len = utf8.length(value);
285817
- return len ? this.uint32(len)._push(utf8.write, len, value) : this._push(writeByte, 1, 0);
285818
- };
285819
- Writer2.prototype.fork = function fork() {
285820
- this.states = new State(this);
285821
- this.head = this.tail = new Op(noop3, 0, 0);
285822
- this.len = 0;
285823
- return this;
285824
- };
285825
- Writer2.prototype.reset = function reset() {
285826
- if (this.states) {
285827
- this.head = this.states.head;
285828
- this.tail = this.states.tail;
285829
- this.len = this.states.len;
285830
- this.states = this.states.next;
285831
- } else {
285832
- this.head = this.tail = new Op(noop3, 0, 0);
285833
- this.len = 0;
285834
- }
285835
- return this;
285836
- };
285837
- Writer2.prototype.ldelim = function ldelim() {
285838
- var head = this.head, tail = this.tail, len = this.len;
285839
- this.reset().uint32(len);
285840
- if (len) {
285841
- this.tail.next = head.next;
285842
- this.tail = tail;
285843
- this.len += len;
285844
- }
285845
- return this;
285846
- };
285847
- Writer2.prototype.finish = function finish() {
285848
- var head = this.head.next, buf = this.constructor.alloc(this.len), pos = 0;
285849
- while (head) {
285850
- head.fn(head.val, buf, pos);
285851
- pos += head.len;
285852
- head = head.next;
285853
- }
285854
- return buf;
285855
- };
285856
- Writer2._configure = function(BufferWriter_) {
285857
- BufferWriter = BufferWriter_;
285858
- Writer2.create = create2();
285859
- BufferWriter._configure();
285860
- };
285861
- }
285862
- });
285863
-
285864
- // node_modules/protobufjs/src/writer_buffer.js
285865
- var require_writer_buffer3 = __commonJS({
285866
- "node_modules/protobufjs/src/writer_buffer.js"(exports15, module3) {
285867
- "use strict";
285868
- init_dirname();
285869
- init_buffer2();
285870
- init_process2();
285871
- module3.exports = BufferWriter;
285872
- var Writer2 = require_writer3();
285873
- (BufferWriter.prototype = Object.create(Writer2.prototype)).constructor = BufferWriter;
285874
- var util = require_minimal5();
285875
- function BufferWriter() {
285876
- Writer2.call(this);
285877
- }
285878
- BufferWriter._configure = function() {
285879
- BufferWriter.alloc = util._Buffer_allocUnsafe;
285880
- BufferWriter.writeBytesBuffer = util.Buffer && util.Buffer.prototype instanceof Uint8Array && util.Buffer.prototype.set.name === "set" ? function writeBytesBuffer_set(val, buf, pos) {
285881
- buf.set(val, pos);
285882
- } : function writeBytesBuffer_copy(val, buf, pos) {
285883
- if (val.copy)
285884
- val.copy(buf, pos, 0, val.length);
285885
- else
285886
- for (var i8 = 0; i8 < val.length; )
285887
- buf[pos++] = val[i8++];
285888
- };
285889
- };
285890
- BufferWriter.prototype.bytes = function write_bytes_buffer(value) {
285891
- if (util.isString(value))
285892
- value = util._Buffer_from(value, "base64");
285893
- var len = value.length >>> 0;
285894
- this.uint32(len);
285895
- if (len)
285896
- this._push(BufferWriter.writeBytesBuffer, len, value);
285897
- return this;
285898
- };
285899
- function writeStringBuffer(val, buf, pos) {
285900
- if (val.length < 40)
285901
- util.utf8.write(val, buf, pos);
285902
- else if (buf.utf8Write)
285903
- buf.utf8Write(val, pos);
285904
- else
285905
- buf.write(val, pos);
285906
- }
285907
- BufferWriter.prototype.string = function write_string_buffer(value) {
285908
- var len = util.Buffer.byteLength(value);
285909
- this.uint32(len);
285910
- if (len)
285911
- this._push(writeStringBuffer, len, value);
285912
- return this;
285913
- };
285914
- BufferWriter._configure();
285915
- }
285916
- });
285917
-
285918
- // node_modules/protobufjs/src/reader.js
285919
- var require_reader3 = __commonJS({
285920
- "node_modules/protobufjs/src/reader.js"(exports15, module3) {
285921
- "use strict";
285922
- init_dirname();
285923
- init_buffer2();
285924
- init_process2();
285925
- module3.exports = Reader2;
285926
- var util = require_minimal5();
285927
- var BufferReader;
285928
- var LongBits = util.LongBits;
285929
- var utf8 = util.utf8;
285930
- function indexOutOfRange(reader, writeLength) {
285931
- return RangeError("index out of range: " + reader.pos + " + " + (writeLength || 1) + " > " + reader.len);
285932
- }
285933
- function Reader2(buffer2) {
285934
- this.buf = buffer2;
285935
- this.pos = 0;
285936
- this.len = buffer2.length;
285937
- }
285938
- var create_array = typeof Uint8Array !== "undefined" ? function create_typed_array(buffer2) {
285939
- if (buffer2 instanceof Uint8Array || Array.isArray(buffer2))
285940
- return new Reader2(buffer2);
285941
- throw Error("illegal buffer");
285942
- } : function create_array2(buffer2) {
285943
- if (Array.isArray(buffer2))
285944
- return new Reader2(buffer2);
285945
- throw Error("illegal buffer");
285946
- };
285947
- var create2 = function create3() {
285948
- return util.Buffer ? function create_buffer_setup(buffer2) {
285949
- return (Reader2.create = function create_buffer(buffer3) {
285950
- return util.Buffer.isBuffer(buffer3) ? new BufferReader(buffer3) : create_array(buffer3);
285951
- })(buffer2);
285952
- } : create_array;
285953
- };
285954
- Reader2.create = create2();
285955
- Reader2.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */
285956
- util.Array.prototype.slice;
285957
- Reader2.prototype.uint32 = function read_uint32_setup() {
285958
- var value = 4294967295;
285959
- return function read_uint32() {
285960
- value = (this.buf[this.pos] & 127) >>> 0;
285961
- if (this.buf[this.pos++] < 128)
285962
- return value;
285963
- value = (value | (this.buf[this.pos] & 127) << 7) >>> 0;
285964
- if (this.buf[this.pos++] < 128)
285965
- return value;
285966
- value = (value | (this.buf[this.pos] & 127) << 14) >>> 0;
285967
- if (this.buf[this.pos++] < 128)
285968
- return value;
285969
- value = (value | (this.buf[this.pos] & 127) << 21) >>> 0;
285970
- if (this.buf[this.pos++] < 128)
285971
- return value;
285972
- value = (value | (this.buf[this.pos] & 15) << 28) >>> 0;
285973
- if (this.buf[this.pos++] < 128)
285974
- return value;
285975
- if ((this.pos += 5) > this.len) {
285976
- this.pos = this.len;
285977
- throw indexOutOfRange(this, 10);
285978
- }
285979
- return value;
285980
- };
285981
- }();
285982
- Reader2.prototype.int32 = function read_int32() {
285983
- return this.uint32() | 0;
285984
- };
285985
- Reader2.prototype.sint32 = function read_sint32() {
285986
- var value = this.uint32();
285987
- return value >>> 1 ^ -(value & 1) | 0;
285988
- };
285989
- function readLongVarint() {
285990
- var bits = new LongBits(0, 0);
285991
- var i8 = 0;
285992
- if (this.len - this.pos > 4) {
285993
- for (; i8 < 4; ++i8) {
285994
- bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i8 * 7) >>> 0;
285995
- if (this.buf[this.pos++] < 128)
285996
- return bits;
285997
- }
285998
- bits.lo = (bits.lo | (this.buf[this.pos] & 127) << 28) >>> 0;
285999
- bits.hi = (bits.hi | (this.buf[this.pos] & 127) >> 4) >>> 0;
286000
- if (this.buf[this.pos++] < 128)
286001
- return bits;
286002
- i8 = 0;
286003
- } else {
286004
- for (; i8 < 3; ++i8) {
286005
- if (this.pos >= this.len)
286006
- throw indexOutOfRange(this);
286007
- bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i8 * 7) >>> 0;
286008
- if (this.buf[this.pos++] < 128)
286009
- return bits;
286010
- }
286011
- bits.lo = (bits.lo | (this.buf[this.pos++] & 127) << i8 * 7) >>> 0;
286012
- return bits;
286013
- }
286014
- if (this.len - this.pos > 4) {
286015
- for (; i8 < 5; ++i8) {
286016
- bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i8 * 7 + 3) >>> 0;
286017
- if (this.buf[this.pos++] < 128)
286018
- return bits;
286019
- }
286020
- } else {
286021
- for (; i8 < 5; ++i8) {
286022
- if (this.pos >= this.len)
286023
- throw indexOutOfRange(this);
286024
- bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i8 * 7 + 3) >>> 0;
286025
- if (this.buf[this.pos++] < 128)
286026
- return bits;
286027
- }
286028
- }
286029
- throw Error("invalid varint encoding");
286030
- }
286031
- Reader2.prototype.bool = function read_bool() {
286032
- return this.uint32() !== 0;
286033
- };
286034
- function readFixed32_end(buf, end) {
286035
- return (buf[end - 4] | buf[end - 3] << 8 | buf[end - 2] << 16 | buf[end - 1] << 24) >>> 0;
286036
- }
286037
- Reader2.prototype.fixed32 = function read_fixed32() {
286038
- if (this.pos + 4 > this.len)
286039
- throw indexOutOfRange(this, 4);
286040
- return readFixed32_end(this.buf, this.pos += 4);
286041
- };
286042
- Reader2.prototype.sfixed32 = function read_sfixed32() {
286043
- if (this.pos + 4 > this.len)
286044
- throw indexOutOfRange(this, 4);
286045
- return readFixed32_end(this.buf, this.pos += 4) | 0;
286046
- };
286047
- function readFixed64() {
286048
- if (this.pos + 8 > this.len)
286049
- throw indexOutOfRange(this, 8);
286050
- return new LongBits(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));
286051
- }
286052
- Reader2.prototype.float = function read_float() {
286053
- if (this.pos + 4 > this.len)
286054
- throw indexOutOfRange(this, 4);
286055
- var value = util.float.readFloatLE(this.buf, this.pos);
286056
- this.pos += 4;
286057
- return value;
286058
- };
286059
- Reader2.prototype.double = function read_double() {
286060
- if (this.pos + 8 > this.len)
286061
- throw indexOutOfRange(this, 4);
286062
- var value = util.float.readDoubleLE(this.buf, this.pos);
286063
- this.pos += 8;
286064
- return value;
286065
- };
286066
- Reader2.prototype.bytes = function read_bytes() {
286067
- var length = this.uint32(), start = this.pos, end = this.pos + length;
286068
- if (end > this.len)
286069
- throw indexOutOfRange(this, length);
286070
- this.pos += length;
286071
- if (Array.isArray(this.buf))
286072
- return this.buf.slice(start, end);
286073
- if (start === end) {
286074
- var nativeBuffer = util.Buffer;
286075
- return nativeBuffer ? nativeBuffer.alloc(0) : new this.buf.constructor(0);
286076
- }
286077
- return this._slice.call(this.buf, start, end);
286078
- };
286079
- Reader2.prototype.string = function read_string() {
286080
- var bytes4 = this.bytes();
286081
- return utf8.read(bytes4, 0, bytes4.length);
286082
- };
286083
- Reader2.prototype.skip = function skip(length) {
286084
- if (typeof length === "number") {
286085
- if (this.pos + length > this.len)
286086
- throw indexOutOfRange(this, length);
286087
- this.pos += length;
286088
- } else {
286089
- do {
286090
- if (this.pos >= this.len)
286091
- throw indexOutOfRange(this);
286092
- } while (this.buf[this.pos++] & 128);
286093
- }
286094
- return this;
286095
- };
286096
- Reader2.prototype.skipType = function(wireType) {
286097
- switch (wireType) {
286098
- case 0:
286099
- this.skip();
286100
- break;
286101
- case 1:
286102
- this.skip(8);
286103
- break;
286104
- case 2:
286105
- this.skip(this.uint32());
286106
- break;
286107
- case 3:
286108
- while ((wireType = this.uint32() & 7) !== 4) {
286109
- this.skipType(wireType);
286110
- }
286111
- break;
286112
- case 5:
286113
- this.skip(4);
286114
- break;
286115
- default:
286116
- throw Error("invalid wire type " + wireType + " at offset " + this.pos);
286117
- }
286118
- return this;
286119
- };
286120
- Reader2._configure = function(BufferReader_) {
286121
- BufferReader = BufferReader_;
286122
- Reader2.create = create2();
286123
- BufferReader._configure();
286124
- var fn = util.Long ? "toLong" : (
286125
- /* istanbul ignore next */
286126
- "toNumber"
286127
- );
286128
- util.merge(Reader2.prototype, {
286129
- int64: function read_int64() {
286130
- return readLongVarint.call(this)[fn](false);
286131
- },
286132
- uint64: function read_uint64() {
286133
- return readLongVarint.call(this)[fn](true);
286134
- },
286135
- sint64: function read_sint64() {
286136
- return readLongVarint.call(this).zzDecode()[fn](false);
286137
- },
286138
- fixed64: function read_fixed64() {
286139
- return readFixed64.call(this)[fn](true);
286140
- },
286141
- sfixed64: function read_sfixed64() {
286142
- return readFixed64.call(this)[fn](false);
286143
- }
286144
- });
286145
- };
286146
- }
286147
- });
286148
-
286149
- // node_modules/protobufjs/src/reader_buffer.js
286150
- var require_reader_buffer3 = __commonJS({
286151
- "node_modules/protobufjs/src/reader_buffer.js"(exports15, module3) {
286152
- "use strict";
286153
- init_dirname();
286154
- init_buffer2();
286155
- init_process2();
286156
- module3.exports = BufferReader;
286157
- var Reader2 = require_reader3();
286158
- (BufferReader.prototype = Object.create(Reader2.prototype)).constructor = BufferReader;
286159
- var util = require_minimal5();
286160
- function BufferReader(buffer2) {
286161
- Reader2.call(this, buffer2);
286162
- }
286163
- BufferReader._configure = function() {
286164
- if (util.Buffer)
286165
- BufferReader.prototype._slice = util.Buffer.prototype.slice;
286166
- };
286167
- BufferReader.prototype.string = function read_string_buffer() {
286168
- var len = this.uint32();
286169
- return this.buf.utf8Slice ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + len, this.len)) : this.buf.toString("utf-8", this.pos, this.pos = Math.min(this.pos + len, this.len));
286170
- };
286171
- BufferReader._configure();
286172
- }
286173
- });
286174
-
286175
- // node_modules/protobufjs/src/rpc/service.js
286176
- var require_service4 = __commonJS({
286177
- "node_modules/protobufjs/src/rpc/service.js"(exports15, module3) {
286178
- "use strict";
286179
- init_dirname();
286180
- init_buffer2();
286181
- init_process2();
286182
- module3.exports = Service;
286183
- var util = require_minimal5();
286184
- (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
286185
- function Service(rpcImpl, requestDelimited, responseDelimited) {
286186
- if (typeof rpcImpl !== "function")
286187
- throw TypeError("rpcImpl must be a function");
286188
- util.EventEmitter.call(this);
286189
- this.rpcImpl = rpcImpl;
286190
- this.requestDelimited = Boolean(requestDelimited);
286191
- this.responseDelimited = Boolean(responseDelimited);
286192
- }
286193
- Service.prototype.rpcCall = function rpcCall(method, requestCtor, responseCtor, request3, callback) {
286194
- if (!request3)
286195
- throw TypeError("request must be specified");
286196
- var self2 = this;
286197
- if (!callback)
286198
- return util.asPromise(rpcCall, self2, method, requestCtor, responseCtor, request3);
286199
- if (!self2.rpcImpl) {
286200
- setTimeout(function() {
286201
- callback(Error("already ended"));
286202
- }, 0);
286203
- return void 0;
286204
- }
286205
- try {
286206
- return self2.rpcImpl(
286207
- method,
286208
- requestCtor[self2.requestDelimited ? "encodeDelimited" : "encode"](request3).finish(),
286209
- function rpcCallback(err, response) {
286210
- if (err) {
286211
- self2.emit("error", err, method);
286212
- return callback(err);
286213
- }
286214
- if (response === null) {
286215
- self2.end(
286216
- /* endedByRPC */
286217
- true
286218
- );
286219
- return void 0;
286220
- }
286221
- if (!(response instanceof responseCtor)) {
286222
- try {
286223
- response = responseCtor[self2.responseDelimited ? "decodeDelimited" : "decode"](response);
286224
- } catch (err2) {
286225
- self2.emit("error", err2, method);
286226
- return callback(err2);
286227
- }
286228
- }
286229
- self2.emit("data", response, method);
286230
- return callback(null, response);
286231
- }
286232
- );
286233
- } catch (err) {
286234
- self2.emit("error", err, method);
286235
- setTimeout(function() {
286236
- callback(err);
286237
- }, 0);
286238
- return void 0;
286239
- }
286240
- };
286241
- Service.prototype.end = function end(endedByRPC) {
286242
- if (this.rpcImpl) {
286243
- if (!endedByRPC)
286244
- this.rpcImpl(null, null, null);
286245
- this.rpcImpl = null;
286246
- this.emit("end").off();
286247
- }
286248
- return this;
286249
- };
286250
- }
286251
- });
286252
-
286253
- // node_modules/protobufjs/src/rpc.js
286254
- var require_rpc3 = __commonJS({
286255
- "node_modules/protobufjs/src/rpc.js"(exports15) {
286256
- "use strict";
286257
- init_dirname();
286258
- init_buffer2();
286259
- init_process2();
286260
- var rpc = exports15;
286261
- rpc.Service = require_service4();
286262
- }
286263
- });
286264
-
286265
- // node_modules/protobufjs/src/roots.js
286266
- var require_roots3 = __commonJS({
286267
- "node_modules/protobufjs/src/roots.js"(exports15, module3) {
286268
- "use strict";
286269
- init_dirname();
286270
- init_buffer2();
286271
- init_process2();
286272
- module3.exports = {};
286273
- }
286274
- });
286275
-
286276
- // node_modules/protobufjs/src/index-minimal.js
286277
- var require_index_minimal3 = __commonJS({
286278
- "node_modules/protobufjs/src/index-minimal.js"(exports15) {
286279
- "use strict";
286280
- init_dirname();
286281
- init_buffer2();
286282
- init_process2();
286283
- var protobuf = exports15;
286284
- protobuf.build = "minimal";
286285
- protobuf.Writer = require_writer3();
286286
- protobuf.BufferWriter = require_writer_buffer3();
286287
- protobuf.Reader = require_reader3();
286288
- protobuf.BufferReader = require_reader_buffer3();
286289
- protobuf.util = require_minimal5();
286290
- protobuf.rpc = require_rpc3();
286291
- protobuf.roots = require_roots3();
286292
- protobuf.configure = configure;
286293
- function configure() {
286294
- protobuf.util._configure();
286295
- protobuf.Writer._configure(protobuf.BufferWriter);
286296
- protobuf.Reader._configure(protobuf.BufferReader);
286297
- }
286298
- configure();
286299
- }
286300
- });
286301
-
286302
- // node_modules/protobufjs/minimal.js
286303
- var require_minimal6 = __commonJS({
286304
- "node_modules/protobufjs/minimal.js"(exports15, module3) {
286305
- "use strict";
286306
- init_dirname();
286307
- init_buffer2();
286308
- init_process2();
286309
- module3.exports = require_index_minimal3();
286310
- }
286311
- });
286312
-
286313
283889
  // node_modules/@kyvejs/types/client/google/protobuf/any.js
286314
283890
  var require_any3 = __commonJS({
286315
283891
  "node_modules/@kyvejs/types/client/google/protobuf/any.js"(exports15) {
@@ -286322,7 +283898,7 @@ var require_any3 = __commonJS({
286322
283898
  };
286323
283899
  Object.defineProperty(exports15, "__esModule", { value: true });
286324
283900
  exports15.Any = exports15.protobufPackage = void 0;
286325
- var minimal_1 = __importDefault(require_minimal6());
283901
+ var minimal_1 = __importDefault(require_minimal2());
286326
283902
  exports15.protobufPackage = "google.protobuf";
286327
283903
  function createBaseAny() {
286328
283904
  return { type_url: "", value: new Uint8Array(0) };
@@ -286435,8 +284011,8 @@ var require_timestamp4 = __commonJS({
286435
284011
  };
286436
284012
  Object.defineProperty(exports15, "__esModule", { value: true });
286437
284013
  exports15.Timestamp = exports15.protobufPackage = void 0;
286438
- var long_1 = __importDefault(require_umd());
286439
- var minimal_1 = __importDefault(require_minimal6());
284014
+ var long_1 = __importDefault(require_long());
284015
+ var minimal_1 = __importDefault(require_minimal2());
286440
284016
  exports15.protobufPackage = "google.protobuf";
286441
284017
  function createBaseTimestamp() {
286442
284018
  return { seconds: "0", nanos: 0 };
@@ -286533,7 +284109,7 @@ var require_coin5 = __commonJS({
286533
284109
  };
286534
284110
  Object.defineProperty(exports15, "__esModule", { value: true });
286535
284111
  exports15.DecProto = exports15.IntProto = exports15.DecCoin = exports15.Coin = exports15.protobufPackage = void 0;
286536
- var minimal_1 = __importDefault(require_minimal6());
284112
+ var minimal_1 = __importDefault(require_minimal2());
286537
284113
  exports15.protobufPackage = "cosmos.base.v1beta1";
286538
284114
  function createBaseCoin() {
286539
284115
  return { denom: "", amount: "" };
@@ -286801,8 +284377,8 @@ var require_duration3 = __commonJS({
286801
284377
  };
286802
284378
  Object.defineProperty(exports15, "__esModule", { value: true });
286803
284379
  exports15.Duration = exports15.protobufPackage = void 0;
286804
- var long_1 = __importDefault(require_umd());
286805
- var minimal_1 = __importDefault(require_minimal6());
284380
+ var long_1 = __importDefault(require_long());
284381
+ var minimal_1 = __importDefault(require_minimal2());
286806
284382
  exports15.protobufPackage = "google.protobuf";
286807
284383
  function createBaseDuration() {
286808
284384
  return { seconds: "0", nanos: 0 };
@@ -286899,8 +284475,8 @@ var require_gov4 = __commonJS({
286899
284475
  };
286900
284476
  Object.defineProperty(exports15, "__esModule", { value: true });
286901
284477
  exports15.Params = exports15.TallyParams = exports15.VotingParams = exports15.DepositParams = exports15.Vote = exports15.TallyResult = exports15.Proposal = exports15.Deposit = exports15.WeightedVoteOption = exports15.proposalStatusToJSON = exports15.proposalStatusFromJSON = exports15.ProposalStatus = exports15.voteOptionToJSON = exports15.voteOptionFromJSON = exports15.VoteOption = exports15.protobufPackage = void 0;
286902
- var long_1 = __importDefault(require_umd());
286903
- var minimal_1 = __importDefault(require_minimal6());
284478
+ var long_1 = __importDefault(require_long());
284479
+ var minimal_1 = __importDefault(require_minimal2());
286904
284480
  var any_1 = require_any3();
286905
284481
  var duration_1 = require_duration3();
286906
284482
  var timestamp_1 = require_timestamp4();
@@ -288220,8 +285796,8 @@ var require_tx27 = __commonJS({
288220
285796
  };
288221
285797
  Object.defineProperty(exports15, "__esModule", { value: true });
288222
285798
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgCancelProposalResponse = exports15.MsgCancelProposal = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgDepositResponse = exports15.MsgDeposit = exports15.MsgVoteWeightedResponse = exports15.MsgVoteWeighted = exports15.MsgVoteResponse = exports15.MsgVote = exports15.MsgExecLegacyContentResponse = exports15.MsgExecLegacyContent = exports15.MsgSubmitProposalResponse = exports15.MsgSubmitProposal = exports15.protobufPackage = void 0;
288223
- var long_1 = __importDefault(require_umd());
288224
- var minimal_1 = __importDefault(require_minimal6());
285799
+ var long_1 = __importDefault(require_long());
285800
+ var minimal_1 = __importDefault(require_minimal2());
288225
285801
  var any_1 = require_any3();
288226
285802
  var timestamp_1 = require_timestamp4();
288227
285803
  var coin_1 = require_coin5();
@@ -289338,8 +286914,8 @@ var require_tx28 = __commonJS({
289338
286914
  };
289339
286915
  Object.defineProperty(exports15, "__esModule", { value: true });
289340
286916
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgSkipUploaderRoleResponse = exports15.MsgSkipUploaderRole = exports15.MsgClaimUploaderRoleResponse = exports15.MsgClaimUploaderRole = exports15.MsgVoteBundleProposalResponse = exports15.MsgVoteBundleProposal = exports15.MsgSubmitBundleProposalResponse = exports15.MsgSubmitBundleProposal = exports15.voteTypeToJSON = exports15.voteTypeFromJSON = exports15.VoteType = exports15.protobufPackage = void 0;
289341
- var long_1 = __importDefault(require_umd());
289342
- var minimal_1 = __importDefault(require_minimal6());
286917
+ var long_1 = __importDefault(require_long());
286918
+ var minimal_1 = __importDefault(require_minimal2());
289343
286919
  exports15.protobufPackage = "kyve.bundles.v1beta1";
289344
286920
  var VoteType;
289345
286921
  (function(VoteType2) {
@@ -290235,8 +287811,8 @@ var require_tx29 = __commonJS({
290235
287811
  };
290236
287812
  Object.defineProperty(exports15, "__esModule", { value: true });
290237
287813
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgRedelegateResponse = exports15.MsgRedelegate = exports15.MsgUndelegateResponse = exports15.MsgUndelegate = exports15.MsgWithdrawRewardsResponse = exports15.MsgWithdrawRewards = exports15.MsgDelegateResponse = exports15.MsgDelegate = exports15.protobufPackage = void 0;
290238
- var long_1 = __importDefault(require_umd());
290239
- var minimal_1 = __importDefault(require_minimal6());
287814
+ var long_1 = __importDefault(require_long());
287815
+ var minimal_1 = __importDefault(require_minimal2());
290240
287816
  exports15.protobufPackage = "kyve.delegation.v1beta1";
290241
287817
  function createBaseMsgDelegate() {
290242
287818
  return { creator: "", staker: "", amount: "0" };
@@ -290921,8 +288497,8 @@ var require_tx30 = __commonJS({
290921
288497
  };
290922
288498
  Object.defineProperty(exports15, "__esModule", { value: true });
290923
288499
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgDefundPoolResponse = exports15.MsgDefundPool = exports15.MsgFundPoolResponse = exports15.MsgFundPool = exports15.MsgUpdateFunderResponse = exports15.MsgUpdateFunder = exports15.MsgCreateFunderResponse = exports15.MsgCreateFunder = exports15.protobufPackage = void 0;
290924
- var long_1 = __importDefault(require_umd());
290925
- var minimal_1 = __importDefault(require_minimal6());
288500
+ var long_1 = __importDefault(require_long());
288501
+ var minimal_1 = __importDefault(require_minimal2());
290926
288502
  var coin_1 = require_coin5();
290927
288503
  exports15.protobufPackage = "kyve.funders.v1beta1";
290928
288504
  function createBaseMsgCreateFunder() {
@@ -291729,7 +289305,7 @@ var require_tx31 = __commonJS({
291729
289305
  };
291730
289306
  Object.defineProperty(exports15, "__esModule", { value: true });
291731
289307
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.protobufPackage = void 0;
291732
- var minimal_1 = __importDefault(require_minimal6());
289308
+ var minimal_1 = __importDefault(require_minimal2());
291733
289309
  exports15.protobufPackage = "kyve.global.v1beta1";
291734
289310
  function createBaseMsgUpdateParams() {
291735
289311
  return { authority: "", payload: "" };
@@ -291879,8 +289455,8 @@ var require_tx32 = __commonJS({
291879
289455
  };
291880
289456
  Object.defineProperty(exports15, "__esModule", { value: true });
291881
289457
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgCancelRuntimeUpgradeResponse = exports15.MsgCancelRuntimeUpgrade = exports15.MsgScheduleRuntimeUpgradeResponse = exports15.MsgScheduleRuntimeUpgrade = exports15.MsgEnablePoolResponse = exports15.MsgEnablePool = exports15.MsgDisablePoolResponse = exports15.MsgDisablePool = exports15.MsgUpdatePoolResponse = exports15.MsgUpdatePool = exports15.MsgCreatePoolResponse = exports15.MsgCreatePool = exports15.protobufPackage = void 0;
291882
- var long_1 = __importDefault(require_umd());
291883
- var minimal_1 = __importDefault(require_minimal6());
289458
+ var long_1 = __importDefault(require_long());
289459
+ var minimal_1 = __importDefault(require_minimal2());
291884
289460
  exports15.protobufPackage = "kyve.pool.v1beta1";
291885
289461
  function createBaseMsgCreatePool() {
291886
289462
  return {
@@ -293013,8 +290589,8 @@ var require_tx33 = __commonJS({
293013
290589
  };
293014
290590
  Object.defineProperty(exports15, "__esModule", { value: true });
293015
290591
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgLeavePoolResponse = exports15.MsgLeavePool = exports15.MsgJoinPoolResponse = exports15.MsgJoinPool = exports15.MsgClaimCommissionRewardsResponse = exports15.MsgClaimCommissionRewards = exports15.MsgUpdateCommissionResponse = exports15.MsgUpdateCommission = exports15.MsgUpdateMetadataResponse = exports15.MsgUpdateMetadata = exports15.MsgCreateStakerResponse = exports15.MsgCreateStaker = exports15.protobufPackage = void 0;
293016
- var long_1 = __importDefault(require_umd());
293017
- var minimal_1 = __importDefault(require_minimal6());
290592
+ var long_1 = __importDefault(require_long());
290593
+ var minimal_1 = __importDefault(require_minimal2());
293018
290594
  var coin_1 = require_coin5();
293019
290595
  exports15.protobufPackage = "kyve.stakers.v1beta1";
293020
290596
  function createBaseMsgCreateStaker() {
@@ -293986,7 +291562,7 @@ var require_coin6 = __commonJS({
293986
291562
  };
293987
291563
  Object.defineProperty(exports15, "__esModule", { value: true });
293988
291564
  exports15.DecProto = exports15.IntProto = exports15.DecCoin = exports15.Coin = exports15.protobufPackage = void 0;
293989
- var minimal_1 = __importDefault(require_minimal6());
291565
+ var minimal_1 = __importDefault(require_minimal2());
293990
291566
  exports15.protobufPackage = "cosmos.base.v1beta1";
293991
291567
  function createBaseCoin() {
293992
291568
  return { denom: "", amount: "" };
@@ -294254,8 +291830,8 @@ var require_tx34 = __commonJS({
294254
291830
  };
294255
291831
  Object.defineProperty(exports15, "__esModule", { value: true });
294256
291832
  exports15.MsgClientImpl = exports15.MsgServiceName = exports15.MsgUpdateParamsResponse = exports15.MsgUpdateParams = exports15.MsgDefundPoolResponse = exports15.MsgDefundPool = exports15.MsgFundPoolResponse = exports15.MsgFundPool = exports15.MsgUpdateFunderResponse = exports15.MsgUpdateFunder = exports15.MsgCreateFunderResponse = exports15.MsgCreateFunder = exports15.protobufPackage = void 0;
294257
- var long_1 = __importDefault(require_umd());
294258
- var minimal_1 = __importDefault(require_minimal6());
291833
+ var long_1 = __importDefault(require_long());
291834
+ var minimal_1 = __importDefault(require_minimal2());
294259
291835
  var coin_1 = require_coin6();
294260
291836
  exports15.protobufPackage = "kyve.funders.v1beta1";
294261
291837
  function createBaseMsgCreateFunder() {
@@ -312928,7 +310504,7 @@ var import_winston = __toESM(require_winston(), 1);
312928
310504
  init_dirname();
312929
310505
  init_buffer2();
312930
310506
  init_process2();
312931
- var version16 = "1.14.0-alpha.2";
310507
+ var version16 = "1.14.0-alpha.3";
312932
310508
 
312933
310509
  // src/common/logger.ts
312934
310510
  var TurboWinstonLogger = class _TurboWinstonLogger {
@@ -341730,17 +339306,17 @@ init_dirname();
341730
339306
  init_buffer2();
341731
339307
  init_process2();
341732
339308
 
341733
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/sha512.js
339309
+ // node_modules/@noble/hashes/esm/sha512.js
341734
339310
  init_dirname();
341735
339311
  init_buffer2();
341736
339312
  init_process2();
341737
339313
 
341738
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/_md.js
339314
+ // node_modules/@noble/hashes/esm/_md.js
341739
339315
  init_dirname();
341740
339316
  init_buffer2();
341741
339317
  init_process2();
341742
339318
 
341743
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/_assert.js
339319
+ // node_modules/@noble/hashes/esm/_assert.js
341744
339320
  init_dirname();
341745
339321
  init_buffer2();
341746
339322
  init_process2();
@@ -341777,18 +339353,18 @@ function output3(out, instance2) {
341777
339353
  }
341778
339354
  }
341779
339355
 
341780
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/utils.js
339356
+ // node_modules/@noble/hashes/esm/utils.js
341781
339357
  init_dirname();
341782
339358
  init_buffer2();
341783
339359
  init_process2();
341784
339360
 
341785
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/crypto.js
339361
+ // node_modules/@noble/hashes/esm/crypto.js
341786
339362
  init_dirname();
341787
339363
  init_buffer2();
341788
339364
  init_process2();
341789
339365
  var crypto7 = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
341790
339366
 
341791
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/utils.js
339367
+ // node_modules/@noble/hashes/esm/utils.js
341792
339368
  var u322 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
341793
339369
  var createView3 = (arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength);
341794
339370
  var rotr3 = (word, shift) => word << 32 - shift | word >>> shift;
@@ -341855,7 +339431,7 @@ function randomBytes6(bytesLength = 32) {
341855
339431
  throw new Error("crypto.getRandomValues must be defined");
341856
339432
  }
341857
339433
 
341858
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/_md.js
339434
+ // node_modules/@noble/hashes/esm/_md.js
341859
339435
  function setBigUint643(view, byteOffset, value, isLE4) {
341860
339436
  if (typeof view.setBigUint64 === "function")
341861
339437
  return view.setBigUint64(byteOffset, value, isLE4);
@@ -341957,7 +339533,7 @@ var HashMD = class extends Hash4 {
341957
339533
  }
341958
339534
  };
341959
339535
 
341960
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/_u64.js
339536
+ // node_modules/@noble/hashes/esm/_u64.js
341961
339537
  init_dirname();
341962
339538
  init_buffer2();
341963
339539
  init_process2();
@@ -342026,7 +339602,7 @@ var u642 = {
342026
339602
  };
342027
339603
  var u64_default2 = u642;
342028
339604
 
342029
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/sha512.js
339605
+ // node_modules/@noble/hashes/esm/sha512.js
342030
339606
  var [SHA512_Kh2, SHA512_Kl2] = /* @__PURE__ */ (() => u64_default2.split([
342031
339607
  "0x428a2f98d728ae22",
342032
339608
  "0x7137449123ef65cd",
@@ -343364,7 +340940,7 @@ var MAX_255B2 = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffff
343364
340940
  var import_bn2 = __toESM(require_bn2());
343365
340941
  var import_bs582 = __toESM(require_bs582());
343366
340942
 
343367
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/sha256.js
340943
+ // node_modules/@noble/hashes/esm/sha256.js
343368
340944
  init_dirname();
343369
340945
  init_buffer2();
343370
340946
  init_process2();
@@ -343955,7 +341531,7 @@ var import_browser = __toESM(require_browser5());
343955
341531
  var import_client = __toESM(require_client());
343956
341532
  var import_websocket = __toESM(require_websocket_browser());
343957
341533
 
343958
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/sha3.js
341534
+ // node_modules/@noble/hashes/esm/sha3.js
343959
341535
  init_dirname();
343960
341536
  init_buffer2();
343961
341537
  init_process2();
@@ -344954,7 +342530,7 @@ init_dirname();
344954
342530
  init_buffer2();
344955
342531
  init_process2();
344956
342532
 
344957
- // node_modules/@solana/web3.js/node_modules/@noble/hashes/esm/hmac.js
342533
+ // node_modules/@noble/hashes/esm/hmac.js
344958
342534
  init_dirname();
344959
342535
  init_buffer2();
344960
342536
  init_process2();
@@ -352931,27 +350507,6 @@ crypto-js/mode-ctr-gladman.js:
352931
350507
  * Jan Hruby jhruby.web@gmail.com
352932
350508
  *)
352933
350509
 
352934
- long/umd/index.js:
352935
- (**
352936
- * @license
352937
- * Copyright 2009 The Closure Library Authors
352938
- * Copyright 2020 Daniel Wirtz / The long.js Authors.
352939
- *
352940
- * Licensed under the Apache License, Version 2.0 (the "License");
352941
- * you may not use this file except in compliance with the License.
352942
- * You may obtain a copy of the License at
352943
- *
352944
- * http://www.apache.org/licenses/LICENSE-2.0
352945
- *
352946
- * Unless required by applicable law or agreed to in writing, software
352947
- * distributed under the License is distributed on an "AS IS" BASIS,
352948
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
352949
- * See the License for the specific language governing permissions and
352950
- * limitations under the License.
352951
- *
352952
- * SPDX-License-Identifier: Apache-2.0
352953
- *)
352954
-
352955
350510
  @noble/ed25519/lib/esm/index.js:
352956
350511
  (*! noble-ed25519 - MIT License (c) 2019 Paul Miller (paulmillr.com) *)
352957
350512