xrpl 2.9.1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/xrpl-latest-min.js +1 -1
- package/build/xrpl-latest-min.js.map +1 -1
- package/build/xrpl-latest.js +1953 -454
- package/build/xrpl-latest.js.map +1 -1
- package/dist/npm/models/ledger/AccountRoot.d.ts +3 -1
- package/dist/npm/models/ledger/AccountRoot.d.ts.map +1 -1
- package/dist/npm/models/ledger/AccountRoot.js +1 -0
- package/dist/npm/models/ledger/AccountRoot.js.map +1 -1
- package/dist/npm/models/methods/accountInfo.d.ts +1 -0
- package/dist/npm/models/methods/accountInfo.d.ts.map +1 -1
- package/dist/npm/models/transactions/accountSet.d.ts +2 -1
- package/dist/npm/models/transactions/accountSet.d.ts.map +1 -1
- package/dist/npm/models/transactions/accountSet.js +1 -0
- package/dist/npm/models/transactions/accountSet.js.map +1 -1
- package/dist/npm/models/transactions/clawback.d.ts +9 -0
- package/dist/npm/models/transactions/clawback.d.ts.map +1 -0
- package/dist/npm/models/transactions/clawback.js +19 -0
- package/dist/npm/models/transactions/clawback.js.map +1 -0
- package/dist/npm/models/transactions/index.d.ts +1 -0
- package/dist/npm/models/transactions/index.d.ts.map +1 -1
- package/dist/npm/models/transactions/transaction.d.ts +2 -1
- package/dist/npm/models/transactions/transaction.d.ts.map +1 -1
- package/dist/npm/models/transactions/transaction.js +4 -0
- package/dist/npm/models/transactions/transaction.js.map +1 -1
- package/dist/npm/models/utils/flags.d.ts.map +1 -1
- package/dist/npm/models/utils/flags.js +3 -2
- package/dist/npm/models/utils/flags.js.map +1 -1
- package/dist/npm/models/utils/index.js +1 -1
- package/dist/npm/models/utils/index.js.map +1 -1
- package/dist/npm/snippets/tsconfig.tsbuildinfo +1 -1
- package/dist/npm/src/models/ledger/AccountRoot.d.ts +3 -1
- package/dist/npm/src/models/ledger/AccountRoot.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/AccountRoot.js +1 -0
- package/dist/npm/src/models/ledger/AccountRoot.js.map +1 -1
- package/dist/npm/src/models/methods/accountInfo.d.ts +1 -0
- package/dist/npm/src/models/methods/accountInfo.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/accountSet.d.ts +2 -1
- package/dist/npm/src/models/transactions/accountSet.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/accountSet.js +1 -0
- package/dist/npm/src/models/transactions/accountSet.js.map +1 -1
- package/dist/npm/src/models/transactions/clawback.d.ts +9 -0
- package/dist/npm/src/models/transactions/clawback.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/clawback.js +19 -0
- package/dist/npm/src/models/transactions/clawback.js.map +1 -0
- package/dist/npm/src/models/transactions/index.d.ts +1 -0
- package/dist/npm/src/models/transactions/index.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/transaction.d.ts +2 -1
- package/dist/npm/src/models/transactions/transaction.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/transaction.js +4 -0
- package/dist/npm/src/models/transactions/transaction.js.map +1 -1
- package/dist/npm/src/models/utils/flags.d.ts.map +1 -1
- package/dist/npm/src/models/utils/flags.js +3 -2
- package/dist/npm/src/models/utils/flags.js.map +1 -1
- package/dist/npm/src/models/utils/index.js +1 -1
- package/dist/npm/src/models/utils/index.js.map +1 -1
- package/package.json +3 -3
package/build/xrpl-latest.js
CHANGED
@@ -32920,18 +32920,23 @@ var ThrowTypeError = $gOPD
|
|
32920
32920
|
: throwTypeError;
|
32921
32921
|
|
32922
32922
|
var hasSymbols = __webpack_require__(/*! has-symbols */ "../../node_modules/has-symbols/index.js")();
|
32923
|
+
var hasProto = __webpack_require__(/*! has-proto */ "../../node_modules/has-proto/index.js")();
|
32923
32924
|
|
32924
|
-
var getProto = Object.getPrototypeOf ||
|
32925
|
+
var getProto = Object.getPrototypeOf || (
|
32926
|
+
hasProto
|
32927
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
32928
|
+
: null
|
32929
|
+
);
|
32925
32930
|
|
32926
32931
|
var needsEval = {};
|
32927
32932
|
|
32928
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
32933
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
32929
32934
|
|
32930
32935
|
var INTRINSICS = {
|
32931
32936
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
32932
32937
|
'%Array%': Array,
|
32933
32938
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
32934
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
32939
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
32935
32940
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
32936
32941
|
'%AsyncFunction%': needsEval,
|
32937
32942
|
'%AsyncGenerator%': needsEval,
|
@@ -32961,10 +32966,10 @@ var INTRINSICS = {
|
|
32961
32966
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
32962
32967
|
'%isFinite%': isFinite,
|
32963
32968
|
'%isNaN%': isNaN,
|
32964
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
32969
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
32965
32970
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
32966
32971
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
32967
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
32972
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
32968
32973
|
'%Math%': Math,
|
32969
32974
|
'%Number%': Number,
|
32970
32975
|
'%Object%': Object,
|
@@ -32977,10 +32982,10 @@ var INTRINSICS = {
|
|
32977
32982
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
32978
32983
|
'%RegExp%': RegExp,
|
32979
32984
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
32980
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
32985
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
32981
32986
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
32982
32987
|
'%String%': String,
|
32983
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
32988
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
32984
32989
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
32985
32990
|
'%SyntaxError%': $SyntaxError,
|
32986
32991
|
'%ThrowTypeError%': ThrowTypeError,
|
@@ -32996,12 +33001,14 @@ var INTRINSICS = {
|
|
32996
33001
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
32997
33002
|
};
|
32998
33003
|
|
32999
|
-
|
33000
|
-
|
33001
|
-
|
33002
|
-
|
33003
|
-
|
33004
|
-
|
33004
|
+
if (getProto) {
|
33005
|
+
try {
|
33006
|
+
null.error; // eslint-disable-line no-unused-expressions
|
33007
|
+
} catch (e) {
|
33008
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
33009
|
+
var errorProto = getProto(getProto(e));
|
33010
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
33011
|
+
}
|
33005
33012
|
}
|
33006
33013
|
|
33007
33014
|
var doEval = function doEval(name) {
|
@@ -33019,7 +33026,7 @@ var doEval = function doEval(name) {
|
|
33019
33026
|
}
|
33020
33027
|
} else if (name === '%AsyncIteratorPrototype%') {
|
33021
33028
|
var gen = doEval('%AsyncGenerator%');
|
33022
|
-
if (gen) {
|
33029
|
+
if (gen && getProto) {
|
33023
33030
|
value = getProto(gen.prototype);
|
33024
33031
|
}
|
33025
33032
|
}
|
@@ -33292,6 +33299,28 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
33292
33299
|
module.exports = hasPropertyDescriptors;
|
33293
33300
|
|
33294
33301
|
|
33302
|
+
/***/ }),
|
33303
|
+
|
33304
|
+
/***/ "../../node_modules/has-proto/index.js":
|
33305
|
+
/*!*********************************************!*\
|
33306
|
+
!*** ../../node_modules/has-proto/index.js ***!
|
33307
|
+
\*********************************************/
|
33308
|
+
/***/ ((module) => {
|
33309
|
+
|
33310
|
+
"use strict";
|
33311
|
+
|
33312
|
+
|
33313
|
+
var test = {
|
33314
|
+
foo: {}
|
33315
|
+
};
|
33316
|
+
|
33317
|
+
var $Object = Object;
|
33318
|
+
|
33319
|
+
module.exports = function hasProto() {
|
33320
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
33321
|
+
};
|
33322
|
+
|
33323
|
+
|
33295
33324
|
/***/ }),
|
33296
33325
|
|
33297
33326
|
/***/ "../../node_modules/has-symbols/index.js":
|
@@ -58320,6 +58349,532 @@ utils.encode = function encode(arr, enc) {
|
|
58320
58349
|
};
|
58321
58350
|
|
58322
58351
|
|
58352
|
+
/***/ }),
|
58353
|
+
|
58354
|
+
/***/ "../../node_modules/object-inspect/index.js":
|
58355
|
+
/*!**************************************************!*\
|
58356
|
+
!*** ../../node_modules/object-inspect/index.js ***!
|
58357
|
+
\**************************************************/
|
58358
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
58359
|
+
|
58360
|
+
var hasMap = typeof Map === 'function' && Map.prototype;
|
58361
|
+
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
58362
|
+
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
|
58363
|
+
var mapForEach = hasMap && Map.prototype.forEach;
|
58364
|
+
var hasSet = typeof Set === 'function' && Set.prototype;
|
58365
|
+
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
|
58366
|
+
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
|
58367
|
+
var setForEach = hasSet && Set.prototype.forEach;
|
58368
|
+
var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
|
58369
|
+
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
58370
|
+
var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
|
58371
|
+
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
58372
|
+
var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
|
58373
|
+
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
58374
|
+
var booleanValueOf = Boolean.prototype.valueOf;
|
58375
|
+
var objectToString = Object.prototype.toString;
|
58376
|
+
var functionToString = Function.prototype.toString;
|
58377
|
+
var $match = String.prototype.match;
|
58378
|
+
var $slice = String.prototype.slice;
|
58379
|
+
var $replace = String.prototype.replace;
|
58380
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
58381
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
58382
|
+
var $test = RegExp.prototype.test;
|
58383
|
+
var $concat = Array.prototype.concat;
|
58384
|
+
var $join = Array.prototype.join;
|
58385
|
+
var $arrSlice = Array.prototype.slice;
|
58386
|
+
var $floor = Math.floor;
|
58387
|
+
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
|
58388
|
+
var gOPS = Object.getOwnPropertySymbols;
|
58389
|
+
var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
|
58390
|
+
var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
|
58391
|
+
// ie, `has-tostringtag/shams
|
58392
|
+
var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
|
58393
|
+
? Symbol.toStringTag
|
58394
|
+
: null;
|
58395
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
58396
|
+
|
58397
|
+
var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
|
58398
|
+
[].__proto__ === Array.prototype // eslint-disable-line no-proto
|
58399
|
+
? function (O) {
|
58400
|
+
return O.__proto__; // eslint-disable-line no-proto
|
58401
|
+
}
|
58402
|
+
: null
|
58403
|
+
);
|
58404
|
+
|
58405
|
+
function addNumericSeparator(num, str) {
|
58406
|
+
if (
|
58407
|
+
num === Infinity
|
58408
|
+
|| num === -Infinity
|
58409
|
+
|| num !== num
|
58410
|
+
|| (num && num > -1000 && num < 1000)
|
58411
|
+
|| $test.call(/e/, str)
|
58412
|
+
) {
|
58413
|
+
return str;
|
58414
|
+
}
|
58415
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
58416
|
+
if (typeof num === 'number') {
|
58417
|
+
var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
|
58418
|
+
if (int !== num) {
|
58419
|
+
var intStr = String(int);
|
58420
|
+
var dec = $slice.call(str, intStr.length + 1);
|
58421
|
+
return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
|
58422
|
+
}
|
58423
|
+
}
|
58424
|
+
return $replace.call(str, sepRegex, '$&_');
|
58425
|
+
}
|
58426
|
+
|
58427
|
+
var utilInspect = __webpack_require__(/*! ./util.inspect */ "?c95a");
|
58428
|
+
var inspectCustom = utilInspect.custom;
|
58429
|
+
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
58430
|
+
|
58431
|
+
module.exports = function inspect_(obj, options, depth, seen) {
|
58432
|
+
var opts = options || {};
|
58433
|
+
|
58434
|
+
if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
|
58435
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
58436
|
+
}
|
58437
|
+
if (
|
58438
|
+
has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
|
58439
|
+
? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
|
58440
|
+
: opts.maxStringLength !== null
|
58441
|
+
)
|
58442
|
+
) {
|
58443
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
58444
|
+
}
|
58445
|
+
var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
|
58446
|
+
if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
|
58447
|
+
throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
|
58448
|
+
}
|
58449
|
+
|
58450
|
+
if (
|
58451
|
+
has(opts, 'indent')
|
58452
|
+
&& opts.indent !== null
|
58453
|
+
&& opts.indent !== '\t'
|
58454
|
+
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
|
58455
|
+
) {
|
58456
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
58457
|
+
}
|
58458
|
+
if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
|
58459
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
58460
|
+
}
|
58461
|
+
var numericSeparator = opts.numericSeparator;
|
58462
|
+
|
58463
|
+
if (typeof obj === 'undefined') {
|
58464
|
+
return 'undefined';
|
58465
|
+
}
|
58466
|
+
if (obj === null) {
|
58467
|
+
return 'null';
|
58468
|
+
}
|
58469
|
+
if (typeof obj === 'boolean') {
|
58470
|
+
return obj ? 'true' : 'false';
|
58471
|
+
}
|
58472
|
+
|
58473
|
+
if (typeof obj === 'string') {
|
58474
|
+
return inspectString(obj, opts);
|
58475
|
+
}
|
58476
|
+
if (typeof obj === 'number') {
|
58477
|
+
if (obj === 0) {
|
58478
|
+
return Infinity / obj > 0 ? '0' : '-0';
|
58479
|
+
}
|
58480
|
+
var str = String(obj);
|
58481
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
58482
|
+
}
|
58483
|
+
if (typeof obj === 'bigint') {
|
58484
|
+
var bigIntStr = String(obj) + 'n';
|
58485
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
58486
|
+
}
|
58487
|
+
|
58488
|
+
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
|
58489
|
+
if (typeof depth === 'undefined') { depth = 0; }
|
58490
|
+
if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
|
58491
|
+
return isArray(obj) ? '[Array]' : '[Object]';
|
58492
|
+
}
|
58493
|
+
|
58494
|
+
var indent = getIndent(opts, depth);
|
58495
|
+
|
58496
|
+
if (typeof seen === 'undefined') {
|
58497
|
+
seen = [];
|
58498
|
+
} else if (indexOf(seen, obj) >= 0) {
|
58499
|
+
return '[Circular]';
|
58500
|
+
}
|
58501
|
+
|
58502
|
+
function inspect(value, from, noIndent) {
|
58503
|
+
if (from) {
|
58504
|
+
seen = $arrSlice.call(seen);
|
58505
|
+
seen.push(from);
|
58506
|
+
}
|
58507
|
+
if (noIndent) {
|
58508
|
+
var newOpts = {
|
58509
|
+
depth: opts.depth
|
58510
|
+
};
|
58511
|
+
if (has(opts, 'quoteStyle')) {
|
58512
|
+
newOpts.quoteStyle = opts.quoteStyle;
|
58513
|
+
}
|
58514
|
+
return inspect_(value, newOpts, depth + 1, seen);
|
58515
|
+
}
|
58516
|
+
return inspect_(value, opts, depth + 1, seen);
|
58517
|
+
}
|
58518
|
+
|
58519
|
+
if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable
|
58520
|
+
var name = nameOf(obj);
|
58521
|
+
var keys = arrObjKeys(obj, inspect);
|
58522
|
+
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
|
58523
|
+
}
|
58524
|
+
if (isSymbol(obj)) {
|
58525
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
|
58526
|
+
return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
|
58527
|
+
}
|
58528
|
+
if (isElement(obj)) {
|
58529
|
+
var s = '<' + $toLowerCase.call(String(obj.nodeName));
|
58530
|
+
var attrs = obj.attributes || [];
|
58531
|
+
for (var i = 0; i < attrs.length; i++) {
|
58532
|
+
s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
|
58533
|
+
}
|
58534
|
+
s += '>';
|
58535
|
+
if (obj.childNodes && obj.childNodes.length) { s += '...'; }
|
58536
|
+
s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
|
58537
|
+
return s;
|
58538
|
+
}
|
58539
|
+
if (isArray(obj)) {
|
58540
|
+
if (obj.length === 0) { return '[]'; }
|
58541
|
+
var xs = arrObjKeys(obj, inspect);
|
58542
|
+
if (indent && !singleLineValues(xs)) {
|
58543
|
+
return '[' + indentedJoin(xs, indent) + ']';
|
58544
|
+
}
|
58545
|
+
return '[ ' + $join.call(xs, ', ') + ' ]';
|
58546
|
+
}
|
58547
|
+
if (isError(obj)) {
|
58548
|
+
var parts = arrObjKeys(obj, inspect);
|
58549
|
+
if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {
|
58550
|
+
return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
|
58551
|
+
}
|
58552
|
+
if (parts.length === 0) { return '[' + String(obj) + ']'; }
|
58553
|
+
return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
|
58554
|
+
}
|
58555
|
+
if (typeof obj === 'object' && customInspect) {
|
58556
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {
|
58557
|
+
return utilInspect(obj, { depth: maxDepth - depth });
|
58558
|
+
} else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
|
58559
|
+
return obj.inspect();
|
58560
|
+
}
|
58561
|
+
}
|
58562
|
+
if (isMap(obj)) {
|
58563
|
+
var mapParts = [];
|
58564
|
+
if (mapForEach) {
|
58565
|
+
mapForEach.call(obj, function (value, key) {
|
58566
|
+
mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
|
58567
|
+
});
|
58568
|
+
}
|
58569
|
+
return collectionOf('Map', mapSize.call(obj), mapParts, indent);
|
58570
|
+
}
|
58571
|
+
if (isSet(obj)) {
|
58572
|
+
var setParts = [];
|
58573
|
+
if (setForEach) {
|
58574
|
+
setForEach.call(obj, function (value) {
|
58575
|
+
setParts.push(inspect(value, obj));
|
58576
|
+
});
|
58577
|
+
}
|
58578
|
+
return collectionOf('Set', setSize.call(obj), setParts, indent);
|
58579
|
+
}
|
58580
|
+
if (isWeakMap(obj)) {
|
58581
|
+
return weakCollectionOf('WeakMap');
|
58582
|
+
}
|
58583
|
+
if (isWeakSet(obj)) {
|
58584
|
+
return weakCollectionOf('WeakSet');
|
58585
|
+
}
|
58586
|
+
if (isWeakRef(obj)) {
|
58587
|
+
return weakCollectionOf('WeakRef');
|
58588
|
+
}
|
58589
|
+
if (isNumber(obj)) {
|
58590
|
+
return markBoxed(inspect(Number(obj)));
|
58591
|
+
}
|
58592
|
+
if (isBigInt(obj)) {
|
58593
|
+
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
58594
|
+
}
|
58595
|
+
if (isBoolean(obj)) {
|
58596
|
+
return markBoxed(booleanValueOf.call(obj));
|
58597
|
+
}
|
58598
|
+
if (isString(obj)) {
|
58599
|
+
return markBoxed(inspect(String(obj)));
|
58600
|
+
}
|
58601
|
+
if (!isDate(obj) && !isRegExp(obj)) {
|
58602
|
+
var ys = arrObjKeys(obj, inspect);
|
58603
|
+
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
58604
|
+
var protoTag = obj instanceof Object ? '' : 'null prototype';
|
58605
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
|
58606
|
+
var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
|
58607
|
+
var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
|
58608
|
+
if (ys.length === 0) { return tag + '{}'; }
|
58609
|
+
if (indent) {
|
58610
|
+
return tag + '{' + indentedJoin(ys, indent) + '}';
|
58611
|
+
}
|
58612
|
+
return tag + '{ ' + $join.call(ys, ', ') + ' }';
|
58613
|
+
}
|
58614
|
+
return String(obj);
|
58615
|
+
};
|
58616
|
+
|
58617
|
+
function wrapQuotes(s, defaultStyle, opts) {
|
58618
|
+
var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
|
58619
|
+
return quoteChar + s + quoteChar;
|
58620
|
+
}
|
58621
|
+
|
58622
|
+
function quote(s) {
|
58623
|
+
return $replace.call(String(s), /"/g, '"');
|
58624
|
+
}
|
58625
|
+
|
58626
|
+
function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58627
|
+
function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58628
|
+
function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58629
|
+
function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58630
|
+
function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58631
|
+
function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58632
|
+
function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
58633
|
+
|
58634
|
+
// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
|
58635
|
+
function isSymbol(obj) {
|
58636
|
+
if (hasShammedSymbols) {
|
58637
|
+
return obj && typeof obj === 'object' && obj instanceof Symbol;
|
58638
|
+
}
|
58639
|
+
if (typeof obj === 'symbol') {
|
58640
|
+
return true;
|
58641
|
+
}
|
58642
|
+
if (!obj || typeof obj !== 'object' || !symToString) {
|
58643
|
+
return false;
|
58644
|
+
}
|
58645
|
+
try {
|
58646
|
+
symToString.call(obj);
|
58647
|
+
return true;
|
58648
|
+
} catch (e) {}
|
58649
|
+
return false;
|
58650
|
+
}
|
58651
|
+
|
58652
|
+
function isBigInt(obj) {
|
58653
|
+
if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
|
58654
|
+
return false;
|
58655
|
+
}
|
58656
|
+
try {
|
58657
|
+
bigIntValueOf.call(obj);
|
58658
|
+
return true;
|
58659
|
+
} catch (e) {}
|
58660
|
+
return false;
|
58661
|
+
}
|
58662
|
+
|
58663
|
+
var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
|
58664
|
+
function has(obj, key) {
|
58665
|
+
return hasOwn.call(obj, key);
|
58666
|
+
}
|
58667
|
+
|
58668
|
+
function toStr(obj) {
|
58669
|
+
return objectToString.call(obj);
|
58670
|
+
}
|
58671
|
+
|
58672
|
+
function nameOf(f) {
|
58673
|
+
if (f.name) { return f.name; }
|
58674
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
58675
|
+
if (m) { return m[1]; }
|
58676
|
+
return null;
|
58677
|
+
}
|
58678
|
+
|
58679
|
+
function indexOf(xs, x) {
|
58680
|
+
if (xs.indexOf) { return xs.indexOf(x); }
|
58681
|
+
for (var i = 0, l = xs.length; i < l; i++) {
|
58682
|
+
if (xs[i] === x) { return i; }
|
58683
|
+
}
|
58684
|
+
return -1;
|
58685
|
+
}
|
58686
|
+
|
58687
|
+
function isMap(x) {
|
58688
|
+
if (!mapSize || !x || typeof x !== 'object') {
|
58689
|
+
return false;
|
58690
|
+
}
|
58691
|
+
try {
|
58692
|
+
mapSize.call(x);
|
58693
|
+
try {
|
58694
|
+
setSize.call(x);
|
58695
|
+
} catch (s) {
|
58696
|
+
return true;
|
58697
|
+
}
|
58698
|
+
return x instanceof Map; // core-js workaround, pre-v2.5.0
|
58699
|
+
} catch (e) {}
|
58700
|
+
return false;
|
58701
|
+
}
|
58702
|
+
|
58703
|
+
function isWeakMap(x) {
|
58704
|
+
if (!weakMapHas || !x || typeof x !== 'object') {
|
58705
|
+
return false;
|
58706
|
+
}
|
58707
|
+
try {
|
58708
|
+
weakMapHas.call(x, weakMapHas);
|
58709
|
+
try {
|
58710
|
+
weakSetHas.call(x, weakSetHas);
|
58711
|
+
} catch (s) {
|
58712
|
+
return true;
|
58713
|
+
}
|
58714
|
+
return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
|
58715
|
+
} catch (e) {}
|
58716
|
+
return false;
|
58717
|
+
}
|
58718
|
+
|
58719
|
+
function isWeakRef(x) {
|
58720
|
+
if (!weakRefDeref || !x || typeof x !== 'object') {
|
58721
|
+
return false;
|
58722
|
+
}
|
58723
|
+
try {
|
58724
|
+
weakRefDeref.call(x);
|
58725
|
+
return true;
|
58726
|
+
} catch (e) {}
|
58727
|
+
return false;
|
58728
|
+
}
|
58729
|
+
|
58730
|
+
function isSet(x) {
|
58731
|
+
if (!setSize || !x || typeof x !== 'object') {
|
58732
|
+
return false;
|
58733
|
+
}
|
58734
|
+
try {
|
58735
|
+
setSize.call(x);
|
58736
|
+
try {
|
58737
|
+
mapSize.call(x);
|
58738
|
+
} catch (m) {
|
58739
|
+
return true;
|
58740
|
+
}
|
58741
|
+
return x instanceof Set; // core-js workaround, pre-v2.5.0
|
58742
|
+
} catch (e) {}
|
58743
|
+
return false;
|
58744
|
+
}
|
58745
|
+
|
58746
|
+
function isWeakSet(x) {
|
58747
|
+
if (!weakSetHas || !x || typeof x !== 'object') {
|
58748
|
+
return false;
|
58749
|
+
}
|
58750
|
+
try {
|
58751
|
+
weakSetHas.call(x, weakSetHas);
|
58752
|
+
try {
|
58753
|
+
weakMapHas.call(x, weakMapHas);
|
58754
|
+
} catch (s) {
|
58755
|
+
return true;
|
58756
|
+
}
|
58757
|
+
return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
|
58758
|
+
} catch (e) {}
|
58759
|
+
return false;
|
58760
|
+
}
|
58761
|
+
|
58762
|
+
function isElement(x) {
|
58763
|
+
if (!x || typeof x !== 'object') { return false; }
|
58764
|
+
if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
|
58765
|
+
return true;
|
58766
|
+
}
|
58767
|
+
return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
|
58768
|
+
}
|
58769
|
+
|
58770
|
+
function inspectString(str, opts) {
|
58771
|
+
if (str.length > opts.maxStringLength) {
|
58772
|
+
var remaining = str.length - opts.maxStringLength;
|
58773
|
+
var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
|
58774
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
58775
|
+
}
|
58776
|
+
// eslint-disable-next-line no-control-regex
|
58777
|
+
var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
|
58778
|
+
return wrapQuotes(s, 'single', opts);
|
58779
|
+
}
|
58780
|
+
|
58781
|
+
function lowbyte(c) {
|
58782
|
+
var n = c.charCodeAt(0);
|
58783
|
+
var x = {
|
58784
|
+
8: 'b',
|
58785
|
+
9: 't',
|
58786
|
+
10: 'n',
|
58787
|
+
12: 'f',
|
58788
|
+
13: 'r'
|
58789
|
+
}[n];
|
58790
|
+
if (x) { return '\\' + x; }
|
58791
|
+
return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
|
58792
|
+
}
|
58793
|
+
|
58794
|
+
function markBoxed(str) {
|
58795
|
+
return 'Object(' + str + ')';
|
58796
|
+
}
|
58797
|
+
|
58798
|
+
function weakCollectionOf(type) {
|
58799
|
+
return type + ' { ? }';
|
58800
|
+
}
|
58801
|
+
|
58802
|
+
function collectionOf(type, size, entries, indent) {
|
58803
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
|
58804
|
+
return type + ' (' + size + ') {' + joinedEntries + '}';
|
58805
|
+
}
|
58806
|
+
|
58807
|
+
function singleLineValues(xs) {
|
58808
|
+
for (var i = 0; i < xs.length; i++) {
|
58809
|
+
if (indexOf(xs[i], '\n') >= 0) {
|
58810
|
+
return false;
|
58811
|
+
}
|
58812
|
+
}
|
58813
|
+
return true;
|
58814
|
+
}
|
58815
|
+
|
58816
|
+
function getIndent(opts, depth) {
|
58817
|
+
var baseIndent;
|
58818
|
+
if (opts.indent === '\t') {
|
58819
|
+
baseIndent = '\t';
|
58820
|
+
} else if (typeof opts.indent === 'number' && opts.indent > 0) {
|
58821
|
+
baseIndent = $join.call(Array(opts.indent + 1), ' ');
|
58822
|
+
} else {
|
58823
|
+
return null;
|
58824
|
+
}
|
58825
|
+
return {
|
58826
|
+
base: baseIndent,
|
58827
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
58828
|
+
};
|
58829
|
+
}
|
58830
|
+
|
58831
|
+
function indentedJoin(xs, indent) {
|
58832
|
+
if (xs.length === 0) { return ''; }
|
58833
|
+
var lineJoiner = '\n' + indent.prev + indent.base;
|
58834
|
+
return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
|
58835
|
+
}
|
58836
|
+
|
58837
|
+
function arrObjKeys(obj, inspect) {
|
58838
|
+
var isArr = isArray(obj);
|
58839
|
+
var xs = [];
|
58840
|
+
if (isArr) {
|
58841
|
+
xs.length = obj.length;
|
58842
|
+
for (var i = 0; i < obj.length; i++) {
|
58843
|
+
xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
|
58844
|
+
}
|
58845
|
+
}
|
58846
|
+
var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
|
58847
|
+
var symMap;
|
58848
|
+
if (hasShammedSymbols) {
|
58849
|
+
symMap = {};
|
58850
|
+
for (var k = 0; k < syms.length; k++) {
|
58851
|
+
symMap['$' + syms[k]] = syms[k];
|
58852
|
+
}
|
58853
|
+
}
|
58854
|
+
|
58855
|
+
for (var key in obj) { // eslint-disable-line no-restricted-syntax
|
58856
|
+
if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
58857
|
+
if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
58858
|
+
if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
|
58859
|
+
// this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
|
58860
|
+
continue; // eslint-disable-line no-restricted-syntax, no-continue
|
58861
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
58862
|
+
xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
|
58863
|
+
} else {
|
58864
|
+
xs.push(key + ': ' + inspect(obj[key], obj));
|
58865
|
+
}
|
58866
|
+
}
|
58867
|
+
if (typeof gOPS === 'function') {
|
58868
|
+
for (var j = 0; j < syms.length; j++) {
|
58869
|
+
if (isEnumerable.call(obj, syms[j])) {
|
58870
|
+
xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
|
58871
|
+
}
|
58872
|
+
}
|
58873
|
+
}
|
58874
|
+
return xs;
|
58875
|
+
}
|
58876
|
+
|
58877
|
+
|
58323
58878
|
/***/ }),
|
58324
58879
|
|
58325
58880
|
/***/ "../../node_modules/object-is/implementation.js":
|
@@ -59845,183 +60400,932 @@ module.exports = function xor (a, b) {
|
|
59845
60400
|
|
59846
60401
|
/***/ }),
|
59847
60402
|
|
59848
|
-
/***/ "../../node_modules/
|
59849
|
-
|
59850
|
-
!*** ../../node_modules/
|
59851
|
-
|
60403
|
+
/***/ "../../node_modules/qs/lib/formats.js":
|
60404
|
+
/*!********************************************!*\
|
60405
|
+
!*** ../../node_modules/qs/lib/formats.js ***!
|
60406
|
+
\********************************************/
|
59852
60407
|
/***/ ((module) => {
|
59853
60408
|
|
59854
60409
|
"use strict";
|
59855
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
59856
|
-
//
|
59857
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
59858
|
-
// copy of this software and associated documentation files (the
|
59859
|
-
// "Software"), to deal in the Software without restriction, including
|
59860
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
59861
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
59862
|
-
// persons to whom the Software is furnished to do so, subject to the
|
59863
|
-
// following conditions:
|
59864
|
-
//
|
59865
|
-
// The above copyright notice and this permission notice shall be included
|
59866
|
-
// in all copies or substantial portions of the Software.
|
59867
|
-
//
|
59868
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
59869
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
59870
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
59871
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
59872
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
59873
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
59874
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
59875
60410
|
|
59876
60411
|
|
60412
|
+
var replace = String.prototype.replace;
|
60413
|
+
var percentTwenties = /%20/g;
|
59877
60414
|
|
59878
|
-
|
59879
|
-
|
59880
|
-
|
59881
|
-
|
59882
|
-
|
59883
|
-
|
60415
|
+
var Format = {
|
60416
|
+
RFC1738: 'RFC1738',
|
60417
|
+
RFC3986: 'RFC3986'
|
60418
|
+
};
|
60419
|
+
|
60420
|
+
module.exports = {
|
60421
|
+
'default': Format.RFC3986,
|
60422
|
+
formatters: {
|
60423
|
+
RFC1738: function (value) {
|
60424
|
+
return replace.call(value, percentTwenties, '+');
|
60425
|
+
},
|
60426
|
+
RFC3986: function (value) {
|
60427
|
+
return String(value);
|
60428
|
+
}
|
60429
|
+
},
|
60430
|
+
RFC1738: Format.RFC1738,
|
60431
|
+
RFC3986: Format.RFC3986
|
60432
|
+
};
|
60433
|
+
|
60434
|
+
|
60435
|
+
/***/ }),
|
60436
|
+
|
60437
|
+
/***/ "../../node_modules/qs/lib/index.js":
|
60438
|
+
/*!******************************************!*\
|
60439
|
+
!*** ../../node_modules/qs/lib/index.js ***!
|
60440
|
+
\******************************************/
|
60441
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
60442
|
+
|
60443
|
+
"use strict";
|
60444
|
+
|
60445
|
+
|
60446
|
+
var stringify = __webpack_require__(/*! ./stringify */ "../../node_modules/qs/lib/stringify.js");
|
60447
|
+
var parse = __webpack_require__(/*! ./parse */ "../../node_modules/qs/lib/parse.js");
|
60448
|
+
var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
|
60449
|
+
|
60450
|
+
module.exports = {
|
60451
|
+
formats: formats,
|
60452
|
+
parse: parse,
|
60453
|
+
stringify: stringify
|
60454
|
+
};
|
60455
|
+
|
60456
|
+
|
60457
|
+
/***/ }),
|
60458
|
+
|
60459
|
+
/***/ "../../node_modules/qs/lib/parse.js":
|
60460
|
+
/*!******************************************!*\
|
60461
|
+
!*** ../../node_modules/qs/lib/parse.js ***!
|
60462
|
+
\******************************************/
|
60463
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
60464
|
+
|
60465
|
+
"use strict";
|
60466
|
+
|
60467
|
+
|
60468
|
+
var utils = __webpack_require__(/*! ./utils */ "../../node_modules/qs/lib/utils.js");
|
60469
|
+
|
60470
|
+
var has = Object.prototype.hasOwnProperty;
|
60471
|
+
var isArray = Array.isArray;
|
60472
|
+
|
60473
|
+
var defaults = {
|
60474
|
+
allowDots: false,
|
60475
|
+
allowPrototypes: false,
|
60476
|
+
allowSparse: false,
|
60477
|
+
arrayLimit: 20,
|
60478
|
+
charset: 'utf-8',
|
60479
|
+
charsetSentinel: false,
|
60480
|
+
comma: false,
|
60481
|
+
decoder: utils.decode,
|
60482
|
+
delimiter: '&',
|
60483
|
+
depth: 5,
|
60484
|
+
ignoreQueryPrefix: false,
|
60485
|
+
interpretNumericEntities: false,
|
60486
|
+
parameterLimit: 1000,
|
60487
|
+
parseArrays: true,
|
60488
|
+
plainObjects: false,
|
60489
|
+
strictNullHandling: false
|
60490
|
+
};
|
60491
|
+
|
60492
|
+
var interpretNumericEntities = function (str) {
|
60493
|
+
return str.replace(/&#(\d+);/g, function ($0, numberStr) {
|
60494
|
+
return String.fromCharCode(parseInt(numberStr, 10));
|
60495
|
+
});
|
60496
|
+
};
|
60497
|
+
|
60498
|
+
var parseArrayValue = function (val, options) {
|
60499
|
+
if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
|
60500
|
+
return val.split(',');
|
60501
|
+
}
|
60502
|
+
|
60503
|
+
return val;
|
60504
|
+
};
|
60505
|
+
|
60506
|
+
// This is what browsers will submit when the ✓ character occurs in an
|
60507
|
+
// application/x-www-form-urlencoded body and the encoding of the page containing
|
60508
|
+
// the form is iso-8859-1, or when the submitted form has an accept-charset
|
60509
|
+
// attribute of iso-8859-1. Presumably also with other charsets that do not contain
|
60510
|
+
// the ✓ character, such as us-ascii.
|
60511
|
+
var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')
|
60512
|
+
|
60513
|
+
// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
|
60514
|
+
var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
|
60515
|
+
|
60516
|
+
var parseValues = function parseQueryStringValues(str, options) {
|
60517
|
+
var obj = {};
|
60518
|
+
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
60519
|
+
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
60520
|
+
var parts = cleanStr.split(options.delimiter, limit);
|
60521
|
+
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
60522
|
+
var i;
|
60523
|
+
|
60524
|
+
var charset = options.charset;
|
60525
|
+
if (options.charsetSentinel) {
|
60526
|
+
for (i = 0; i < parts.length; ++i) {
|
60527
|
+
if (parts[i].indexOf('utf8=') === 0) {
|
60528
|
+
if (parts[i] === charsetSentinel) {
|
60529
|
+
charset = 'utf-8';
|
60530
|
+
} else if (parts[i] === isoSentinel) {
|
60531
|
+
charset = 'iso-8859-1';
|
60532
|
+
}
|
60533
|
+
skipIndex = i;
|
60534
|
+
i = parts.length; // The eslint settings do not allow break;
|
60535
|
+
}
|
60536
|
+
}
|
60537
|
+
}
|
59884
60538
|
|
59885
|
-
|
59886
|
-
|
59887
|
-
|
59888
|
-
|
60539
|
+
for (i = 0; i < parts.length; ++i) {
|
60540
|
+
if (i === skipIndex) {
|
60541
|
+
continue;
|
60542
|
+
}
|
60543
|
+
var part = parts[i];
|
60544
|
+
|
60545
|
+
var bracketEqualsPos = part.indexOf(']=');
|
60546
|
+
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
60547
|
+
|
60548
|
+
var key, val;
|
60549
|
+
if (pos === -1) {
|
60550
|
+
key = options.decoder(part, defaults.decoder, charset, 'key');
|
60551
|
+
val = options.strictNullHandling ? null : '';
|
60552
|
+
} else {
|
60553
|
+
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
|
60554
|
+
val = utils.maybeMap(
|
60555
|
+
parseArrayValue(part.slice(pos + 1), options),
|
60556
|
+
function (encodedVal) {
|
60557
|
+
return options.decoder(encodedVal, defaults.decoder, charset, 'value');
|
60558
|
+
}
|
60559
|
+
);
|
60560
|
+
}
|
60561
|
+
|
60562
|
+
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
60563
|
+
val = interpretNumericEntities(val);
|
60564
|
+
}
|
60565
|
+
|
60566
|
+
if (part.indexOf('[]=') > -1) {
|
60567
|
+
val = isArray(val) ? [val] : val;
|
60568
|
+
}
|
60569
|
+
|
60570
|
+
if (has.call(obj, key)) {
|
60571
|
+
obj[key] = utils.combine(obj[key], val);
|
60572
|
+
} else {
|
60573
|
+
obj[key] = val;
|
60574
|
+
}
|
60575
|
+
}
|
59889
60576
|
|
59890
|
-
if (typeof qs !== 'string' || qs.length === 0) {
|
59891
60577
|
return obj;
|
59892
|
-
|
60578
|
+
};
|
59893
60579
|
|
59894
|
-
|
59895
|
-
|
60580
|
+
var parseObject = function (chain, val, options, valuesParsed) {
|
60581
|
+
var leaf = valuesParsed ? val : parseArrayValue(val, options);
|
59896
60582
|
|
59897
|
-
|
59898
|
-
|
59899
|
-
|
59900
|
-
}
|
60583
|
+
for (var i = chain.length - 1; i >= 0; --i) {
|
60584
|
+
var obj;
|
60585
|
+
var root = chain[i];
|
59901
60586
|
|
59902
|
-
|
59903
|
-
|
59904
|
-
|
59905
|
-
|
59906
|
-
|
60587
|
+
if (root === '[]' && options.parseArrays) {
|
60588
|
+
obj = [].concat(leaf);
|
60589
|
+
} else {
|
60590
|
+
obj = options.plainObjects ? Object.create(null) : {};
|
60591
|
+
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
60592
|
+
var index = parseInt(cleanRoot, 10);
|
60593
|
+
if (!options.parseArrays && cleanRoot === '') {
|
60594
|
+
obj = { 0: leaf };
|
60595
|
+
} else if (
|
60596
|
+
!isNaN(index)
|
60597
|
+
&& root !== cleanRoot
|
60598
|
+
&& String(index) === cleanRoot
|
60599
|
+
&& index >= 0
|
60600
|
+
&& (options.parseArrays && index <= options.arrayLimit)
|
60601
|
+
) {
|
60602
|
+
obj = [];
|
60603
|
+
obj[index] = leaf;
|
60604
|
+
} else if (cleanRoot !== '__proto__') {
|
60605
|
+
obj[cleanRoot] = leaf;
|
60606
|
+
}
|
60607
|
+
}
|
59907
60608
|
|
59908
|
-
|
59909
|
-
|
59910
|
-
idx = x.indexOf(eq),
|
59911
|
-
kstr, vstr, k, v;
|
60609
|
+
leaf = obj;
|
60610
|
+
}
|
59912
60611
|
|
59913
|
-
|
59914
|
-
|
59915
|
-
|
59916
|
-
|
59917
|
-
|
59918
|
-
|
60612
|
+
return leaf;
|
60613
|
+
};
|
60614
|
+
|
60615
|
+
var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
|
60616
|
+
if (!givenKey) {
|
60617
|
+
return;
|
59919
60618
|
}
|
59920
60619
|
|
59921
|
-
|
59922
|
-
|
60620
|
+
// Transform dot notation to bracket notation
|
60621
|
+
var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
|
59923
60622
|
|
59924
|
-
|
59925
|
-
|
59926
|
-
|
59927
|
-
|
59928
|
-
|
59929
|
-
|
60623
|
+
// The regex chunks
|
60624
|
+
|
60625
|
+
var brackets = /(\[[^[\]]*])/;
|
60626
|
+
var child = /(\[[^[\]]*])/g;
|
60627
|
+
|
60628
|
+
// Get the parent
|
60629
|
+
|
60630
|
+
var segment = options.depth > 0 && brackets.exec(key);
|
60631
|
+
var parent = segment ? key.slice(0, segment.index) : key;
|
60632
|
+
|
60633
|
+
// Stash the parent if it exists
|
60634
|
+
|
60635
|
+
var keys = [];
|
60636
|
+
if (parent) {
|
60637
|
+
// If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
|
60638
|
+
if (!options.plainObjects && has.call(Object.prototype, parent)) {
|
60639
|
+
if (!options.allowPrototypes) {
|
60640
|
+
return;
|
60641
|
+
}
|
60642
|
+
}
|
60643
|
+
|
60644
|
+
keys.push(parent);
|
60645
|
+
}
|
60646
|
+
|
60647
|
+
// Loop through children appending to the array until we hit depth
|
60648
|
+
|
60649
|
+
var i = 0;
|
60650
|
+
while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
|
60651
|
+
i += 1;
|
60652
|
+
if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
|
60653
|
+
if (!options.allowPrototypes) {
|
60654
|
+
return;
|
60655
|
+
}
|
60656
|
+
}
|
60657
|
+
keys.push(segment[1]);
|
60658
|
+
}
|
60659
|
+
|
60660
|
+
// If there's a remainder, just add whatever is left
|
60661
|
+
|
60662
|
+
if (segment) {
|
60663
|
+
keys.push('[' + key.slice(segment.index) + ']');
|
59930
60664
|
}
|
59931
|
-
}
|
59932
60665
|
|
59933
|
-
|
60666
|
+
return parseObject(keys, val, options, valuesParsed);
|
60667
|
+
};
|
60668
|
+
|
60669
|
+
var normalizeParseOptions = function normalizeParseOptions(opts) {
|
60670
|
+
if (!opts) {
|
60671
|
+
return defaults;
|
60672
|
+
}
|
60673
|
+
|
60674
|
+
if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
|
60675
|
+
throw new TypeError('Decoder has to be a function.');
|
60676
|
+
}
|
60677
|
+
|
60678
|
+
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
60679
|
+
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
60680
|
+
}
|
60681
|
+
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
60682
|
+
|
60683
|
+
return {
|
60684
|
+
allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
|
60685
|
+
allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
|
60686
|
+
allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
|
60687
|
+
arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
|
60688
|
+
charset: charset,
|
60689
|
+
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
60690
|
+
comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
|
60691
|
+
decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
|
60692
|
+
delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
60693
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
60694
|
+
depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
|
60695
|
+
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
60696
|
+
interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
60697
|
+
parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
|
60698
|
+
parseArrays: opts.parseArrays !== false,
|
60699
|
+
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
60700
|
+
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
60701
|
+
};
|
60702
|
+
};
|
60703
|
+
|
60704
|
+
module.exports = function (str, opts) {
|
60705
|
+
var options = normalizeParseOptions(opts);
|
60706
|
+
|
60707
|
+
if (str === '' || str === null || typeof str === 'undefined') {
|
60708
|
+
return options.plainObjects ? Object.create(null) : {};
|
60709
|
+
}
|
60710
|
+
|
60711
|
+
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
60712
|
+
var obj = options.plainObjects ? Object.create(null) : {};
|
60713
|
+
|
60714
|
+
// Iterate over the keys and setup the new object
|
60715
|
+
|
60716
|
+
var keys = Object.keys(tempObj);
|
60717
|
+
for (var i = 0; i < keys.length; ++i) {
|
60718
|
+
var key = keys[i];
|
60719
|
+
var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
|
60720
|
+
obj = utils.merge(obj, newObj, options);
|
60721
|
+
}
|
60722
|
+
|
60723
|
+
if (options.allowSparse === true) {
|
60724
|
+
return obj;
|
60725
|
+
}
|
60726
|
+
|
60727
|
+
return utils.compact(obj);
|
59934
60728
|
};
|
59935
60729
|
|
59936
60730
|
|
59937
60731
|
/***/ }),
|
59938
60732
|
|
59939
|
-
/***/ "../../node_modules/
|
59940
|
-
|
59941
|
-
!*** ../../node_modules/
|
59942
|
-
|
59943
|
-
/***/ ((module) => {
|
60733
|
+
/***/ "../../node_modules/qs/lib/stringify.js":
|
60734
|
+
/*!**********************************************!*\
|
60735
|
+
!*** ../../node_modules/qs/lib/stringify.js ***!
|
60736
|
+
\**********************************************/
|
60737
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
59944
60738
|
|
59945
60739
|
"use strict";
|
59946
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
59947
|
-
//
|
59948
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
59949
|
-
// copy of this software and associated documentation files (the
|
59950
|
-
// "Software"), to deal in the Software without restriction, including
|
59951
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
59952
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
59953
|
-
// persons to whom the Software is furnished to do so, subject to the
|
59954
|
-
// following conditions:
|
59955
|
-
//
|
59956
|
-
// The above copyright notice and this permission notice shall be included
|
59957
|
-
// in all copies or substantial portions of the Software.
|
59958
|
-
//
|
59959
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
59960
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
59961
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
59962
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
59963
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
59964
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
59965
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
59966
60740
|
|
59967
60741
|
|
60742
|
+
var getSideChannel = __webpack_require__(/*! side-channel */ "../../node_modules/side-channel/index.js");
|
60743
|
+
var utils = __webpack_require__(/*! ./utils */ "../../node_modules/qs/lib/utils.js");
|
60744
|
+
var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
|
60745
|
+
var has = Object.prototype.hasOwnProperty;
|
59968
60746
|
|
59969
|
-
var
|
59970
|
-
|
59971
|
-
|
59972
|
-
|
60747
|
+
var arrayPrefixGenerators = {
|
60748
|
+
brackets: function brackets(prefix) {
|
60749
|
+
return prefix + '[]';
|
60750
|
+
},
|
60751
|
+
comma: 'comma',
|
60752
|
+
indices: function indices(prefix, key) {
|
60753
|
+
return prefix + '[' + key + ']';
|
60754
|
+
},
|
60755
|
+
repeat: function repeat(prefix) {
|
60756
|
+
return prefix;
|
60757
|
+
}
|
60758
|
+
};
|
59973
60759
|
|
59974
|
-
|
59975
|
-
|
60760
|
+
var isArray = Array.isArray;
|
60761
|
+
var split = String.prototype.split;
|
60762
|
+
var push = Array.prototype.push;
|
60763
|
+
var pushToArray = function (arr, valueOrArray) {
|
60764
|
+
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
60765
|
+
};
|
59976
60766
|
|
59977
|
-
|
59978
|
-
|
60767
|
+
var toISO = Date.prototype.toISOString;
|
60768
|
+
|
60769
|
+
var defaultFormat = formats['default'];
|
60770
|
+
var defaults = {
|
60771
|
+
addQueryPrefix: false,
|
60772
|
+
allowDots: false,
|
60773
|
+
charset: 'utf-8',
|
60774
|
+
charsetSentinel: false,
|
60775
|
+
delimiter: '&',
|
60776
|
+
encode: true,
|
60777
|
+
encoder: utils.encode,
|
60778
|
+
encodeValuesOnly: false,
|
60779
|
+
format: defaultFormat,
|
60780
|
+
formatter: formats.formatters[defaultFormat],
|
60781
|
+
// deprecated
|
60782
|
+
indices: false,
|
60783
|
+
serializeDate: function serializeDate(date) {
|
60784
|
+
return toISO.call(date);
|
60785
|
+
},
|
60786
|
+
skipNulls: false,
|
60787
|
+
strictNullHandling: false
|
60788
|
+
};
|
59979
60789
|
|
59980
|
-
|
59981
|
-
|
59982
|
-
|
60790
|
+
var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
|
60791
|
+
return typeof v === 'string'
|
60792
|
+
|| typeof v === 'number'
|
60793
|
+
|| typeof v === 'boolean'
|
60794
|
+
|| typeof v === 'symbol'
|
60795
|
+
|| typeof v === 'bigint';
|
59983
60796
|
};
|
59984
60797
|
|
59985
|
-
|
59986
|
-
|
59987
|
-
|
59988
|
-
|
59989
|
-
|
59990
|
-
|
60798
|
+
var sentinel = {};
|
60799
|
+
|
60800
|
+
var stringify = function stringify(
|
60801
|
+
object,
|
60802
|
+
prefix,
|
60803
|
+
generateArrayPrefix,
|
60804
|
+
commaRoundTrip,
|
60805
|
+
strictNullHandling,
|
60806
|
+
skipNulls,
|
60807
|
+
encoder,
|
60808
|
+
filter,
|
60809
|
+
sort,
|
60810
|
+
allowDots,
|
60811
|
+
serializeDate,
|
60812
|
+
format,
|
60813
|
+
formatter,
|
60814
|
+
encodeValuesOnly,
|
60815
|
+
charset,
|
60816
|
+
sideChannel
|
60817
|
+
) {
|
60818
|
+
var obj = object;
|
60819
|
+
|
60820
|
+
var tmpSc = sideChannel;
|
60821
|
+
var step = 0;
|
60822
|
+
var findFlag = false;
|
60823
|
+
while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
|
60824
|
+
// Where object last appeared in the ref tree
|
60825
|
+
var pos = tmpSc.get(object);
|
60826
|
+
step += 1;
|
60827
|
+
if (typeof pos !== 'undefined') {
|
60828
|
+
if (pos === step) {
|
60829
|
+
throw new RangeError('Cyclic object value');
|
60830
|
+
} else {
|
60831
|
+
findFlag = true; // Break while
|
60832
|
+
}
|
60833
|
+
}
|
60834
|
+
if (typeof tmpSc.get(sentinel) === 'undefined') {
|
60835
|
+
step = 0;
|
60836
|
+
}
|
60837
|
+
}
|
59991
60838
|
|
59992
|
-
|
59993
|
-
|
59994
|
-
|
59995
|
-
|
59996
|
-
|
59997
|
-
|
59998
|
-
|
59999
|
-
|
60000
|
-
|
60001
|
-
|
60002
|
-
|
60839
|
+
if (typeof filter === 'function') {
|
60840
|
+
obj = filter(prefix, obj);
|
60841
|
+
} else if (obj instanceof Date) {
|
60842
|
+
obj = serializeDate(obj);
|
60843
|
+
} else if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
60844
|
+
obj = utils.maybeMap(obj, function (value) {
|
60845
|
+
if (value instanceof Date) {
|
60846
|
+
return serializeDate(value);
|
60847
|
+
}
|
60848
|
+
return value;
|
60849
|
+
});
|
60850
|
+
}
|
60003
60851
|
|
60004
|
-
|
60852
|
+
if (obj === null) {
|
60853
|
+
if (strictNullHandling) {
|
60854
|
+
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
|
60855
|
+
}
|
60856
|
+
|
60857
|
+
obj = '';
|
60858
|
+
}
|
60859
|
+
|
60860
|
+
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
60861
|
+
if (encoder) {
|
60862
|
+
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
|
60863
|
+
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
|
60864
|
+
var valuesArray = split.call(String(obj), ',');
|
60865
|
+
var valuesJoined = '';
|
60866
|
+
for (var i = 0; i < valuesArray.length; ++i) {
|
60867
|
+
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
|
60868
|
+
}
|
60869
|
+
return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];
|
60870
|
+
}
|
60871
|
+
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
|
60872
|
+
}
|
60873
|
+
return [formatter(prefix) + '=' + formatter(String(obj))];
|
60874
|
+
}
|
60875
|
+
|
60876
|
+
var values = [];
|
60877
|
+
|
60878
|
+
if (typeof obj === 'undefined') {
|
60879
|
+
return values;
|
60880
|
+
}
|
60881
|
+
|
60882
|
+
var objKeys;
|
60883
|
+
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
60884
|
+
// we need to join elements in
|
60885
|
+
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
|
60886
|
+
} else if (isArray(filter)) {
|
60887
|
+
objKeys = filter;
|
60888
|
+
} else {
|
60889
|
+
var keys = Object.keys(obj);
|
60890
|
+
objKeys = sort ? keys.sort(sort) : keys;
|
60891
|
+
}
|
60892
|
+
|
60893
|
+
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;
|
60894
|
+
|
60895
|
+
for (var j = 0; j < objKeys.length; ++j) {
|
60896
|
+
var key = objKeys[j];
|
60897
|
+
var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
|
60898
|
+
|
60899
|
+
if (skipNulls && value === null) {
|
60900
|
+
continue;
|
60901
|
+
}
|
60902
|
+
|
60903
|
+
var keyPrefix = isArray(obj)
|
60904
|
+
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix
|
60905
|
+
: adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');
|
60906
|
+
|
60907
|
+
sideChannel.set(object, step);
|
60908
|
+
var valueSideChannel = getSideChannel();
|
60909
|
+
valueSideChannel.set(sentinel, sideChannel);
|
60910
|
+
pushToArray(values, stringify(
|
60911
|
+
value,
|
60912
|
+
keyPrefix,
|
60913
|
+
generateArrayPrefix,
|
60914
|
+
commaRoundTrip,
|
60915
|
+
strictNullHandling,
|
60916
|
+
skipNulls,
|
60917
|
+
encoder,
|
60918
|
+
filter,
|
60919
|
+
sort,
|
60920
|
+
allowDots,
|
60921
|
+
serializeDate,
|
60922
|
+
format,
|
60923
|
+
formatter,
|
60924
|
+
encodeValuesOnly,
|
60925
|
+
charset,
|
60926
|
+
valueSideChannel
|
60927
|
+
));
|
60928
|
+
}
|
60929
|
+
|
60930
|
+
return values;
|
60931
|
+
};
|
60932
|
+
|
60933
|
+
var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
60934
|
+
if (!opts) {
|
60935
|
+
return defaults;
|
60936
|
+
}
|
60937
|
+
|
60938
|
+
if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
|
60939
|
+
throw new TypeError('Encoder has to be a function.');
|
60940
|
+
}
|
60005
60941
|
|
60006
|
-
|
60007
|
-
|
60008
|
-
|
60942
|
+
var charset = opts.charset || defaults.charset;
|
60943
|
+
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
60944
|
+
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
60945
|
+
}
|
60946
|
+
|
60947
|
+
var format = formats['default'];
|
60948
|
+
if (typeof opts.format !== 'undefined') {
|
60949
|
+
if (!has.call(formats.formatters, opts.format)) {
|
60950
|
+
throw new TypeError('Unknown format option provided.');
|
60951
|
+
}
|
60952
|
+
format = opts.format;
|
60953
|
+
}
|
60954
|
+
var formatter = formats.formatters[format];
|
60955
|
+
|
60956
|
+
var filter = defaults.filter;
|
60957
|
+
if (typeof opts.filter === 'function' || isArray(opts.filter)) {
|
60958
|
+
filter = opts.filter;
|
60959
|
+
}
|
60960
|
+
|
60961
|
+
return {
|
60962
|
+
addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
60963
|
+
allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
|
60964
|
+
charset: charset,
|
60965
|
+
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
60966
|
+
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
60967
|
+
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
60968
|
+
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
|
60969
|
+
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
60970
|
+
filter: filter,
|
60971
|
+
format: format,
|
60972
|
+
formatter: formatter,
|
60973
|
+
serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
|
60974
|
+
skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
|
60975
|
+
sort: typeof opts.sort === 'function' ? opts.sort : null,
|
60976
|
+
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
60977
|
+
};
|
60978
|
+
};
|
60979
|
+
|
60980
|
+
module.exports = function (object, opts) {
|
60981
|
+
var obj = object;
|
60982
|
+
var options = normalizeStringifyOptions(opts);
|
60983
|
+
|
60984
|
+
var objKeys;
|
60985
|
+
var filter;
|
60986
|
+
|
60987
|
+
if (typeof options.filter === 'function') {
|
60988
|
+
filter = options.filter;
|
60989
|
+
obj = filter('', obj);
|
60990
|
+
} else if (isArray(options.filter)) {
|
60991
|
+
filter = options.filter;
|
60992
|
+
objKeys = filter;
|
60993
|
+
}
|
60994
|
+
|
60995
|
+
var keys = [];
|
60996
|
+
|
60997
|
+
if (typeof obj !== 'object' || obj === null) {
|
60998
|
+
return '';
|
60999
|
+
}
|
61000
|
+
|
61001
|
+
var arrayFormat;
|
61002
|
+
if (opts && opts.arrayFormat in arrayPrefixGenerators) {
|
61003
|
+
arrayFormat = opts.arrayFormat;
|
61004
|
+
} else if (opts && 'indices' in opts) {
|
61005
|
+
arrayFormat = opts.indices ? 'indices' : 'repeat';
|
61006
|
+
} else {
|
61007
|
+
arrayFormat = 'indices';
|
61008
|
+
}
|
61009
|
+
|
61010
|
+
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
61011
|
+
if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
|
61012
|
+
throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
|
61013
|
+
}
|
61014
|
+
var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;
|
61015
|
+
|
61016
|
+
if (!objKeys) {
|
61017
|
+
objKeys = Object.keys(obj);
|
61018
|
+
}
|
61019
|
+
|
61020
|
+
if (options.sort) {
|
61021
|
+
objKeys.sort(options.sort);
|
61022
|
+
}
|
61023
|
+
|
61024
|
+
var sideChannel = getSideChannel();
|
61025
|
+
for (var i = 0; i < objKeys.length; ++i) {
|
61026
|
+
var key = objKeys[i];
|
61027
|
+
|
61028
|
+
if (options.skipNulls && obj[key] === null) {
|
61029
|
+
continue;
|
61030
|
+
}
|
61031
|
+
pushToArray(keys, stringify(
|
61032
|
+
obj[key],
|
61033
|
+
key,
|
61034
|
+
generateArrayPrefix,
|
61035
|
+
commaRoundTrip,
|
61036
|
+
options.strictNullHandling,
|
61037
|
+
options.skipNulls,
|
61038
|
+
options.encode ? options.encoder : null,
|
61039
|
+
options.filter,
|
61040
|
+
options.sort,
|
61041
|
+
options.allowDots,
|
61042
|
+
options.serializeDate,
|
61043
|
+
options.format,
|
61044
|
+
options.formatter,
|
61045
|
+
options.encodeValuesOnly,
|
61046
|
+
options.charset,
|
61047
|
+
sideChannel
|
61048
|
+
));
|
61049
|
+
}
|
61050
|
+
|
61051
|
+
var joined = keys.join(options.delimiter);
|
61052
|
+
var prefix = options.addQueryPrefix === true ? '?' : '';
|
61053
|
+
|
61054
|
+
if (options.charsetSentinel) {
|
61055
|
+
if (options.charset === 'iso-8859-1') {
|
61056
|
+
// encodeURIComponent('✓'), the "numeric entity" representation of a checkmark
|
61057
|
+
prefix += 'utf8=%26%2310003%3B&';
|
61058
|
+
} else {
|
61059
|
+
// encodeURIComponent('✓')
|
61060
|
+
prefix += 'utf8=%E2%9C%93&';
|
61061
|
+
}
|
61062
|
+
}
|
61063
|
+
|
61064
|
+
return joined.length > 0 ? prefix + joined : '';
|
60009
61065
|
};
|
60010
61066
|
|
60011
61067
|
|
60012
61068
|
/***/ }),
|
60013
61069
|
|
60014
|
-
/***/ "../../node_modules/
|
60015
|
-
|
60016
|
-
!*** ../../node_modules/
|
60017
|
-
|
60018
|
-
/***/ ((
|
61070
|
+
/***/ "../../node_modules/qs/lib/utils.js":
|
61071
|
+
/*!******************************************!*\
|
61072
|
+
!*** ../../node_modules/qs/lib/utils.js ***!
|
61073
|
+
\******************************************/
|
61074
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
60019
61075
|
|
60020
61076
|
"use strict";
|
60021
61077
|
|
60022
61078
|
|
60023
|
-
|
60024
|
-
|
61079
|
+
var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
|
61080
|
+
|
61081
|
+
var has = Object.prototype.hasOwnProperty;
|
61082
|
+
var isArray = Array.isArray;
|
61083
|
+
|
61084
|
+
var hexTable = (function () {
|
61085
|
+
var array = [];
|
61086
|
+
for (var i = 0; i < 256; ++i) {
|
61087
|
+
array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
|
61088
|
+
}
|
61089
|
+
|
61090
|
+
return array;
|
61091
|
+
}());
|
61092
|
+
|
61093
|
+
var compactQueue = function compactQueue(queue) {
|
61094
|
+
while (queue.length > 1) {
|
61095
|
+
var item = queue.pop();
|
61096
|
+
var obj = item.obj[item.prop];
|
61097
|
+
|
61098
|
+
if (isArray(obj)) {
|
61099
|
+
var compacted = [];
|
61100
|
+
|
61101
|
+
for (var j = 0; j < obj.length; ++j) {
|
61102
|
+
if (typeof obj[j] !== 'undefined') {
|
61103
|
+
compacted.push(obj[j]);
|
61104
|
+
}
|
61105
|
+
}
|
61106
|
+
|
61107
|
+
item.obj[item.prop] = compacted;
|
61108
|
+
}
|
61109
|
+
}
|
61110
|
+
};
|
61111
|
+
|
61112
|
+
var arrayToObject = function arrayToObject(source, options) {
|
61113
|
+
var obj = options && options.plainObjects ? Object.create(null) : {};
|
61114
|
+
for (var i = 0; i < source.length; ++i) {
|
61115
|
+
if (typeof source[i] !== 'undefined') {
|
61116
|
+
obj[i] = source[i];
|
61117
|
+
}
|
61118
|
+
}
|
61119
|
+
|
61120
|
+
return obj;
|
61121
|
+
};
|
61122
|
+
|
61123
|
+
var merge = function merge(target, source, options) {
|
61124
|
+
/* eslint no-param-reassign: 0 */
|
61125
|
+
if (!source) {
|
61126
|
+
return target;
|
61127
|
+
}
|
61128
|
+
|
61129
|
+
if (typeof source !== 'object') {
|
61130
|
+
if (isArray(target)) {
|
61131
|
+
target.push(source);
|
61132
|
+
} else if (target && typeof target === 'object') {
|
61133
|
+
if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
|
61134
|
+
target[source] = true;
|
61135
|
+
}
|
61136
|
+
} else {
|
61137
|
+
return [target, source];
|
61138
|
+
}
|
61139
|
+
|
61140
|
+
return target;
|
61141
|
+
}
|
61142
|
+
|
61143
|
+
if (!target || typeof target !== 'object') {
|
61144
|
+
return [target].concat(source);
|
61145
|
+
}
|
61146
|
+
|
61147
|
+
var mergeTarget = target;
|
61148
|
+
if (isArray(target) && !isArray(source)) {
|
61149
|
+
mergeTarget = arrayToObject(target, options);
|
61150
|
+
}
|
61151
|
+
|
61152
|
+
if (isArray(target) && isArray(source)) {
|
61153
|
+
source.forEach(function (item, i) {
|
61154
|
+
if (has.call(target, i)) {
|
61155
|
+
var targetItem = target[i];
|
61156
|
+
if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
|
61157
|
+
target[i] = merge(targetItem, item, options);
|
61158
|
+
} else {
|
61159
|
+
target.push(item);
|
61160
|
+
}
|
61161
|
+
} else {
|
61162
|
+
target[i] = item;
|
61163
|
+
}
|
61164
|
+
});
|
61165
|
+
return target;
|
61166
|
+
}
|
61167
|
+
|
61168
|
+
return Object.keys(source).reduce(function (acc, key) {
|
61169
|
+
var value = source[key];
|
61170
|
+
|
61171
|
+
if (has.call(acc, key)) {
|
61172
|
+
acc[key] = merge(acc[key], value, options);
|
61173
|
+
} else {
|
61174
|
+
acc[key] = value;
|
61175
|
+
}
|
61176
|
+
return acc;
|
61177
|
+
}, mergeTarget);
|
61178
|
+
};
|
61179
|
+
|
61180
|
+
var assign = function assignSingleSource(target, source) {
|
61181
|
+
return Object.keys(source).reduce(function (acc, key) {
|
61182
|
+
acc[key] = source[key];
|
61183
|
+
return acc;
|
61184
|
+
}, target);
|
61185
|
+
};
|
61186
|
+
|
61187
|
+
var decode = function (str, decoder, charset) {
|
61188
|
+
var strWithoutPlus = str.replace(/\+/g, ' ');
|
61189
|
+
if (charset === 'iso-8859-1') {
|
61190
|
+
// unescape never throws, no try...catch needed:
|
61191
|
+
return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
|
61192
|
+
}
|
61193
|
+
// utf-8
|
61194
|
+
try {
|
61195
|
+
return decodeURIComponent(strWithoutPlus);
|
61196
|
+
} catch (e) {
|
61197
|
+
return strWithoutPlus;
|
61198
|
+
}
|
61199
|
+
};
|
61200
|
+
|
61201
|
+
var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
61202
|
+
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
61203
|
+
// It has been adapted here for stricter adherence to RFC 3986
|
61204
|
+
if (str.length === 0) {
|
61205
|
+
return str;
|
61206
|
+
}
|
61207
|
+
|
61208
|
+
var string = str;
|
61209
|
+
if (typeof str === 'symbol') {
|
61210
|
+
string = Symbol.prototype.toString.call(str);
|
61211
|
+
} else if (typeof str !== 'string') {
|
61212
|
+
string = String(str);
|
61213
|
+
}
|
61214
|
+
|
61215
|
+
if (charset === 'iso-8859-1') {
|
61216
|
+
return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
|
61217
|
+
return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
|
61218
|
+
});
|
61219
|
+
}
|
61220
|
+
|
61221
|
+
var out = '';
|
61222
|
+
for (var i = 0; i < string.length; ++i) {
|
61223
|
+
var c = string.charCodeAt(i);
|
61224
|
+
|
61225
|
+
if (
|
61226
|
+
c === 0x2D // -
|
61227
|
+
|| c === 0x2E // .
|
61228
|
+
|| c === 0x5F // _
|
61229
|
+
|| c === 0x7E // ~
|
61230
|
+
|| (c >= 0x30 && c <= 0x39) // 0-9
|
61231
|
+
|| (c >= 0x41 && c <= 0x5A) // a-z
|
61232
|
+
|| (c >= 0x61 && c <= 0x7A) // A-Z
|
61233
|
+
|| (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
|
61234
|
+
) {
|
61235
|
+
out += string.charAt(i);
|
61236
|
+
continue;
|
61237
|
+
}
|
61238
|
+
|
61239
|
+
if (c < 0x80) {
|
61240
|
+
out = out + hexTable[c];
|
61241
|
+
continue;
|
61242
|
+
}
|
61243
|
+
|
61244
|
+
if (c < 0x800) {
|
61245
|
+
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
|
61246
|
+
continue;
|
61247
|
+
}
|
61248
|
+
|
61249
|
+
if (c < 0xD800 || c >= 0xE000) {
|
61250
|
+
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
61251
|
+
continue;
|
61252
|
+
}
|
61253
|
+
|
61254
|
+
i += 1;
|
61255
|
+
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
61256
|
+
/* eslint operator-linebreak: [2, "before"] */
|
61257
|
+
out += hexTable[0xF0 | (c >> 18)]
|
61258
|
+
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
61259
|
+
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
61260
|
+
+ hexTable[0x80 | (c & 0x3F)];
|
61261
|
+
}
|
61262
|
+
|
61263
|
+
return out;
|
61264
|
+
};
|
61265
|
+
|
61266
|
+
var compact = function compact(value) {
|
61267
|
+
var queue = [{ obj: { o: value }, prop: 'o' }];
|
61268
|
+
var refs = [];
|
61269
|
+
|
61270
|
+
for (var i = 0; i < queue.length; ++i) {
|
61271
|
+
var item = queue[i];
|
61272
|
+
var obj = item.obj[item.prop];
|
61273
|
+
|
61274
|
+
var keys = Object.keys(obj);
|
61275
|
+
for (var j = 0; j < keys.length; ++j) {
|
61276
|
+
var key = keys[j];
|
61277
|
+
var val = obj[key];
|
61278
|
+
if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
|
61279
|
+
queue.push({ obj: obj, prop: key });
|
61280
|
+
refs.push(val);
|
61281
|
+
}
|
61282
|
+
}
|
61283
|
+
}
|
61284
|
+
|
61285
|
+
compactQueue(queue);
|
61286
|
+
|
61287
|
+
return value;
|
61288
|
+
};
|
61289
|
+
|
61290
|
+
var isRegExp = function isRegExp(obj) {
|
61291
|
+
return Object.prototype.toString.call(obj) === '[object RegExp]';
|
61292
|
+
};
|
61293
|
+
|
61294
|
+
var isBuffer = function isBuffer(obj) {
|
61295
|
+
if (!obj || typeof obj !== 'object') {
|
61296
|
+
return false;
|
61297
|
+
}
|
61298
|
+
|
61299
|
+
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
61300
|
+
};
|
61301
|
+
|
61302
|
+
var combine = function combine(a, b) {
|
61303
|
+
return [].concat(a, b);
|
61304
|
+
};
|
61305
|
+
|
61306
|
+
var maybeMap = function maybeMap(val, fn) {
|
61307
|
+
if (isArray(val)) {
|
61308
|
+
var mapped = [];
|
61309
|
+
for (var i = 0; i < val.length; i += 1) {
|
61310
|
+
mapped.push(fn(val[i]));
|
61311
|
+
}
|
61312
|
+
return mapped;
|
61313
|
+
}
|
61314
|
+
return fn(val);
|
61315
|
+
};
|
61316
|
+
|
61317
|
+
module.exports = {
|
61318
|
+
arrayToObject: arrayToObject,
|
61319
|
+
assign: assign,
|
61320
|
+
combine: combine,
|
61321
|
+
compact: compact,
|
61322
|
+
decode: decode,
|
61323
|
+
encode: encode,
|
61324
|
+
isBuffer: isBuffer,
|
61325
|
+
isRegExp: isRegExp,
|
61326
|
+
maybeMap: maybeMap,
|
61327
|
+
merge: merge
|
61328
|
+
};
|
60025
61329
|
|
60026
61330
|
|
60027
61331
|
/***/ }),
|
@@ -68839,6 +70143,141 @@ Sha512.prototype._hash = function () {
|
|
68839
70143
|
module.exports = Sha512
|
68840
70144
|
|
68841
70145
|
|
70146
|
+
/***/ }),
|
70147
|
+
|
70148
|
+
/***/ "../../node_modules/side-channel/index.js":
|
70149
|
+
/*!************************************************!*\
|
70150
|
+
!*** ../../node_modules/side-channel/index.js ***!
|
70151
|
+
\************************************************/
|
70152
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
70153
|
+
|
70154
|
+
"use strict";
|
70155
|
+
|
70156
|
+
|
70157
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
|
70158
|
+
var callBound = __webpack_require__(/*! call-bind/callBound */ "../../node_modules/call-bind/callBound.js");
|
70159
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
|
70160
|
+
|
70161
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
70162
|
+
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
70163
|
+
var $Map = GetIntrinsic('%Map%', true);
|
70164
|
+
|
70165
|
+
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
70166
|
+
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
70167
|
+
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
70168
|
+
var $mapGet = callBound('Map.prototype.get', true);
|
70169
|
+
var $mapSet = callBound('Map.prototype.set', true);
|
70170
|
+
var $mapHas = callBound('Map.prototype.has', true);
|
70171
|
+
|
70172
|
+
/*
|
70173
|
+
* This function traverses the list returning the node corresponding to the
|
70174
|
+
* given key.
|
70175
|
+
*
|
70176
|
+
* That node is also moved to the head of the list, so that if it's accessed
|
70177
|
+
* again we don't need to traverse the whole list. By doing so, all the recently
|
70178
|
+
* used nodes can be accessed relatively quickly.
|
70179
|
+
*/
|
70180
|
+
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
70181
|
+
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
70182
|
+
if (curr.key === key) {
|
70183
|
+
prev.next = curr.next;
|
70184
|
+
curr.next = list.next;
|
70185
|
+
list.next = curr; // eslint-disable-line no-param-reassign
|
70186
|
+
return curr;
|
70187
|
+
}
|
70188
|
+
}
|
70189
|
+
};
|
70190
|
+
|
70191
|
+
var listGet = function (objects, key) {
|
70192
|
+
var node = listGetNode(objects, key);
|
70193
|
+
return node && node.value;
|
70194
|
+
};
|
70195
|
+
var listSet = function (objects, key, value) {
|
70196
|
+
var node = listGetNode(objects, key);
|
70197
|
+
if (node) {
|
70198
|
+
node.value = value;
|
70199
|
+
} else {
|
70200
|
+
// Prepend the new node to the beginning of the list
|
70201
|
+
objects.next = { // eslint-disable-line no-param-reassign
|
70202
|
+
key: key,
|
70203
|
+
next: objects.next,
|
70204
|
+
value: value
|
70205
|
+
};
|
70206
|
+
}
|
70207
|
+
};
|
70208
|
+
var listHas = function (objects, key) {
|
70209
|
+
return !!listGetNode(objects, key);
|
70210
|
+
};
|
70211
|
+
|
70212
|
+
module.exports = function getSideChannel() {
|
70213
|
+
var $wm;
|
70214
|
+
var $m;
|
70215
|
+
var $o;
|
70216
|
+
var channel = {
|
70217
|
+
assert: function (key) {
|
70218
|
+
if (!channel.has(key)) {
|
70219
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
70220
|
+
}
|
70221
|
+
},
|
70222
|
+
get: function (key) { // eslint-disable-line consistent-return
|
70223
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
70224
|
+
if ($wm) {
|
70225
|
+
return $weakMapGet($wm, key);
|
70226
|
+
}
|
70227
|
+
} else if ($Map) {
|
70228
|
+
if ($m) {
|
70229
|
+
return $mapGet($m, key);
|
70230
|
+
}
|
70231
|
+
} else {
|
70232
|
+
if ($o) { // eslint-disable-line no-lonely-if
|
70233
|
+
return listGet($o, key);
|
70234
|
+
}
|
70235
|
+
}
|
70236
|
+
},
|
70237
|
+
has: function (key) {
|
70238
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
70239
|
+
if ($wm) {
|
70240
|
+
return $weakMapHas($wm, key);
|
70241
|
+
}
|
70242
|
+
} else if ($Map) {
|
70243
|
+
if ($m) {
|
70244
|
+
return $mapHas($m, key);
|
70245
|
+
}
|
70246
|
+
} else {
|
70247
|
+
if ($o) { // eslint-disable-line no-lonely-if
|
70248
|
+
return listHas($o, key);
|
70249
|
+
}
|
70250
|
+
}
|
70251
|
+
return false;
|
70252
|
+
},
|
70253
|
+
set: function (key, value) {
|
70254
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
70255
|
+
if (!$wm) {
|
70256
|
+
$wm = new $WeakMap();
|
70257
|
+
}
|
70258
|
+
$weakMapSet($wm, key, value);
|
70259
|
+
} else if ($Map) {
|
70260
|
+
if (!$m) {
|
70261
|
+
$m = new $Map();
|
70262
|
+
}
|
70263
|
+
$mapSet($m, key, value);
|
70264
|
+
} else {
|
70265
|
+
if (!$o) {
|
70266
|
+
/*
|
70267
|
+
* Initialize the linked list as an empty node, so that we don't have
|
70268
|
+
* to special-case handling of the first node: we can always refer to
|
70269
|
+
* it as (previous node).next, instead of something like (list).head
|
70270
|
+
*/
|
70271
|
+
$o = { key: {}, next: null };
|
70272
|
+
}
|
70273
|
+
listSet($o, key, value);
|
70274
|
+
}
|
70275
|
+
}
|
70276
|
+
};
|
70277
|
+
return channel;
|
70278
|
+
};
|
70279
|
+
|
70280
|
+
|
68842
70281
|
/***/ }),
|
68843
70282
|
|
68844
70283
|
/***/ "../../node_modules/stream-browserify/index.js":
|
@@ -70932,7 +72371,7 @@ module.exports = types
|
|
70932
72371
|
/***/ (function(module, exports, __webpack_require__) {
|
70933
72372
|
|
70934
72373
|
/* module decorator */ module = __webpack_require__.nmd(module);
|
70935
|
-
var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.
|
72374
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */
|
70936
72375
|
;(function(root) {
|
70937
72376
|
|
70938
72377
|
/** Detect free variables */
|
@@ -70998,7 +72437,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
70998
72437
|
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
70999
72438
|
*/
|
71000
72439
|
function error(type) {
|
71001
|
-
throw RangeError(errors[type]);
|
72440
|
+
throw new RangeError(errors[type]);
|
71002
72441
|
}
|
71003
72442
|
|
71004
72443
|
/**
|
@@ -71145,7 +72584,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
71145
72584
|
|
71146
72585
|
/**
|
71147
72586
|
* Bias adaptation function as per section 3.4 of RFC 3492.
|
71148
|
-
*
|
72587
|
+
* https://tools.ietf.org/html/rfc3492#section-3.4
|
71149
72588
|
* @private
|
71150
72589
|
*/
|
71151
72590
|
function adapt(delta, numPoints, firstTime) {
|
@@ -71420,7 +72859,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
71420
72859
|
* @memberOf punycode
|
71421
72860
|
* @type String
|
71422
72861
|
*/
|
71423
|
-
'version': '1.
|
72862
|
+
'version': '1.4.1',
|
71424
72863
|
/**
|
71425
72864
|
* An object of methods to convert from JavaScript's internal character
|
71426
72865
|
* representation (UCS-2) to Unicode code points, and back.
|
@@ -71462,38 +72901,32 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
71462
72901
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
71463
72902
|
|
71464
72903
|
"use strict";
|
71465
|
-
|
71466
|
-
|
71467
|
-
|
71468
|
-
|
71469
|
-
|
71470
|
-
|
71471
|
-
|
71472
|
-
|
71473
|
-
|
71474
|
-
|
71475
|
-
|
71476
|
-
|
71477
|
-
|
71478
|
-
|
71479
|
-
|
71480
|
-
|
71481
|
-
|
71482
|
-
|
71483
|
-
|
71484
|
-
|
72904
|
+
/*
|
72905
|
+
* Copyright Joyent, Inc. and other Node contributors.
|
72906
|
+
*
|
72907
|
+
* Permission is hereby granted, free of charge, to any person obtaining a
|
72908
|
+
* copy of this software and associated documentation files (the
|
72909
|
+
* "Software"), to deal in the Software without restriction, including
|
72910
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
72911
|
+
* distribute, sublicense, and/or sell copies of the Software, and to permit
|
72912
|
+
* persons to whom the Software is furnished to do so, subject to the
|
72913
|
+
* following conditions:
|
72914
|
+
*
|
72915
|
+
* The above copyright notice and this permission notice shall be included
|
72916
|
+
* in all copies or substantial portions of the Software.
|
72917
|
+
*
|
72918
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
72919
|
+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
72920
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
72921
|
+
* NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
72922
|
+
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
72923
|
+
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
72924
|
+
* USE OR OTHER DEALINGS IN THE SOFTWARE.
|
72925
|
+
*/
|
71485
72926
|
|
71486
72927
|
|
71487
72928
|
|
71488
72929
|
var punycode = __webpack_require__(/*! punycode */ "../../node_modules/url/node_modules/punycode/punycode.js");
|
71489
|
-
var util = __webpack_require__(/*! ./util */ "../../node_modules/url/util.js");
|
71490
|
-
|
71491
|
-
exports.parse = urlParse;
|
71492
|
-
exports.resolve = urlResolve;
|
71493
|
-
exports.resolveObject = urlResolveObject;
|
71494
|
-
exports.format = urlFormat;
|
71495
|
-
|
71496
|
-
exports.Url = Url;
|
71497
72930
|
|
71498
72931
|
function Url() {
|
71499
72932
|
this.protocol = null;
|
@@ -71512,85 +72945,102 @@ function Url() {
|
|
71512
72945
|
|
71513
72946
|
// Reference: RFC 3986, RFC 1808, RFC 2396
|
71514
72947
|
|
71515
|
-
|
71516
|
-
|
72948
|
+
/*
|
72949
|
+
* define these here so at least they only have to be
|
72950
|
+
* compiled once on the first module load.
|
72951
|
+
*/
|
71517
72952
|
var protocolPattern = /^([a-z0-9.+-]+:)/i,
|
71518
|
-
|
71519
|
-
|
71520
|
-
|
71521
|
-
|
71522
|
-
|
71523
|
-
|
71524
|
-
|
71525
|
-
|
71526
|
-
|
71527
|
-
|
71528
|
-
|
71529
|
-
|
71530
|
-
|
71531
|
-
|
71532
|
-
|
71533
|
-
|
71534
|
-
|
71535
|
-
|
71536
|
-
|
71537
|
-
|
71538
|
-
|
71539
|
-
|
71540
|
-
|
71541
|
-
|
71542
|
-
|
71543
|
-
|
71544
|
-
|
71545
|
-
|
71546
|
-
|
71547
|
-
|
71548
|
-
|
71549
|
-
|
71550
|
-
|
71551
|
-
|
71552
|
-
|
71553
|
-
|
71554
|
-
|
71555
|
-
|
71556
|
-
|
71557
|
-
|
71558
|
-
|
71559
|
-
|
71560
|
-
|
71561
|
-
|
71562
|
-
|
71563
|
-
|
71564
|
-
|
72953
|
+
portPattern = /:[0-9]*$/,
|
72954
|
+
|
72955
|
+
// Special case for a simple path URL
|
72956
|
+
simplePathPattern = /^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,
|
72957
|
+
|
72958
|
+
/*
|
72959
|
+
* RFC 2396: characters reserved for delimiting URLs.
|
72960
|
+
* We actually just auto-escape these.
|
72961
|
+
*/
|
72962
|
+
delims = [
|
72963
|
+
'<', '>', '"', '`', ' ', '\r', '\n', '\t'
|
72964
|
+
],
|
72965
|
+
|
72966
|
+
// RFC 2396: characters not allowed for various reasons.
|
72967
|
+
unwise = [
|
72968
|
+
'{', '}', '|', '\\', '^', '`'
|
72969
|
+
].concat(delims),
|
72970
|
+
|
72971
|
+
// Allowed by RFCs, but cause of XSS attacks. Always escape these.
|
72972
|
+
autoEscape = ['\''].concat(unwise),
|
72973
|
+
/*
|
72974
|
+
* Characters that are never ever allowed in a hostname.
|
72975
|
+
* Note that any invalid chars are also handled, but these
|
72976
|
+
* are the ones that are *expected* to be seen, so we fast-path
|
72977
|
+
* them.
|
72978
|
+
*/
|
72979
|
+
nonHostChars = [
|
72980
|
+
'%', '/', '?', ';', '#'
|
72981
|
+
].concat(autoEscape),
|
72982
|
+
hostEndingChars = [
|
72983
|
+
'/', '?', '#'
|
72984
|
+
],
|
72985
|
+
hostnameMaxLen = 255,
|
72986
|
+
hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
|
72987
|
+
hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
|
72988
|
+
// protocols that can allow "unsafe" and "unwise" chars.
|
72989
|
+
unsafeProtocol = {
|
72990
|
+
javascript: true,
|
72991
|
+
'javascript:': true
|
72992
|
+
},
|
72993
|
+
// protocols that never have a hostname.
|
72994
|
+
hostlessProtocol = {
|
72995
|
+
javascript: true,
|
72996
|
+
'javascript:': true
|
72997
|
+
},
|
72998
|
+
// protocols that always contain a // bit.
|
72999
|
+
slashedProtocol = {
|
73000
|
+
http: true,
|
73001
|
+
https: true,
|
73002
|
+
ftp: true,
|
73003
|
+
gopher: true,
|
73004
|
+
file: true,
|
73005
|
+
'http:': true,
|
73006
|
+
'https:': true,
|
73007
|
+
'ftp:': true,
|
73008
|
+
'gopher:': true,
|
73009
|
+
'file:': true
|
73010
|
+
},
|
73011
|
+
querystring = __webpack_require__(/*! qs */ "../../node_modules/qs/lib/index.js");
|
71565
73012
|
|
71566
73013
|
function urlParse(url, parseQueryString, slashesDenoteHost) {
|
71567
|
-
if (url &&
|
73014
|
+
if (url && typeof url === 'object' && url instanceof Url) { return url; }
|
71568
73015
|
|
71569
|
-
var u = new Url;
|
73016
|
+
var u = new Url();
|
71570
73017
|
u.parse(url, parseQueryString, slashesDenoteHost);
|
71571
73018
|
return u;
|
71572
73019
|
}
|
71573
73020
|
|
71574
|
-
Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
71575
|
-
if (
|
73021
|
+
Url.prototype.parse = function (url, parseQueryString, slashesDenoteHost) {
|
73022
|
+
if (typeof url !== 'string') {
|
71576
73023
|
throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
|
71577
73024
|
}
|
71578
73025
|
|
71579
|
-
|
71580
|
-
|
71581
|
-
|
73026
|
+
/*
|
73027
|
+
* Copy chrome, IE, opera backslash-handling behavior.
|
73028
|
+
* Back slashes before the query string get converted to forward slashes
|
73029
|
+
* See: https://code.google.com/p/chromium/issues/detail?id=25916
|
73030
|
+
*/
|
71582
73031
|
var queryIndex = url.indexOf('?'),
|
71583
|
-
|
71584
|
-
|
71585
|
-
|
71586
|
-
slashRegex = /\\/g;
|
73032
|
+
splitter = queryIndex !== -1 && queryIndex < url.indexOf('#') ? '?' : '#',
|
73033
|
+
uSplit = url.split(splitter),
|
73034
|
+
slashRegex = /\\/g;
|
71587
73035
|
uSplit[0] = uSplit[0].replace(slashRegex, '/');
|
71588
73036
|
url = uSplit.join(splitter);
|
71589
73037
|
|
71590
73038
|
var rest = url;
|
71591
73039
|
|
71592
|
-
|
71593
|
-
|
73040
|
+
/*
|
73041
|
+
* trim before proceeding.
|
73042
|
+
* This is to support parse stuff like " http://foo.com \n"
|
73043
|
+
*/
|
71594
73044
|
rest = rest.trim();
|
71595
73045
|
|
71596
73046
|
if (!slashesDenoteHost && url.split('#').length === 1) {
|
@@ -71623,11 +73073,13 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71623
73073
|
rest = rest.substr(proto.length);
|
71624
73074
|
}
|
71625
73075
|
|
71626
|
-
|
71627
|
-
|
71628
|
-
|
71629
|
-
|
71630
|
-
|
73076
|
+
/*
|
73077
|
+
* figure out if it's got a host
|
73078
|
+
* user@server is *always* interpreted as a hostname, and url
|
73079
|
+
* resolution will treat //foo/bar as host=foo,path=bar because that's
|
73080
|
+
* how the browser resolves relative URLs.
|
73081
|
+
*/
|
73082
|
+
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@/]+@[^@/]+/)) {
|
71631
73083
|
var slashes = rest.substr(0, 2) === '//';
|
71632
73084
|
if (slashes && !(proto && hostlessProtocol[proto])) {
|
71633
73085
|
rest = rest.substr(2);
|
@@ -71635,46 +73087,54 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71635
73087
|
}
|
71636
73088
|
}
|
71637
73089
|
|
71638
|
-
if (!hostlessProtocol[proto] &&
|
71639
|
-
(slashes || (proto && !slashedProtocol[proto]))) {
|
73090
|
+
if (!hostlessProtocol[proto] && (slashes || (proto && !slashedProtocol[proto]))) {
|
71640
73091
|
|
71641
|
-
|
71642
|
-
|
71643
|
-
|
71644
|
-
|
71645
|
-
|
71646
|
-
|
71647
|
-
|
71648
|
-
|
71649
|
-
|
71650
|
-
|
71651
|
-
|
73092
|
+
/*
|
73093
|
+
* there's a hostname.
|
73094
|
+
* the first instance of /, ?, ;, or # ends the host.
|
73095
|
+
*
|
73096
|
+
* If there is an @ in the hostname, then non-host chars *are* allowed
|
73097
|
+
* to the left of the last @ sign, unless some host-ending character
|
73098
|
+
* comes *before* the @-sign.
|
73099
|
+
* URLs are obnoxious.
|
73100
|
+
*
|
73101
|
+
* ex:
|
73102
|
+
* http://a@b@c/ => user:a@b host:c
|
73103
|
+
* http://a@b?@c => user:a host:c path:/?@c
|
73104
|
+
*/
|
71652
73105
|
|
71653
|
-
|
71654
|
-
|
73106
|
+
/*
|
73107
|
+
* v0.12 TODO(isaacs): This is not quite how Chrome does things.
|
73108
|
+
* Review our test case against browsers more comprehensively.
|
73109
|
+
*/
|
71655
73110
|
|
71656
73111
|
// find the first instance of any hostEndingChars
|
71657
73112
|
var hostEnd = -1;
|
71658
73113
|
for (var i = 0; i < hostEndingChars.length; i++) {
|
71659
73114
|
var hec = rest.indexOf(hostEndingChars[i]);
|
71660
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
71661
|
-
hostEnd = hec;
|
73115
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) { hostEnd = hec; }
|
71662
73116
|
}
|
71663
73117
|
|
71664
|
-
|
71665
|
-
|
73118
|
+
/*
|
73119
|
+
* at this point, either we have an explicit point where the
|
73120
|
+
* auth portion cannot go past, or the last @ char is the decider.
|
73121
|
+
*/
|
71666
73122
|
var auth, atSign;
|
71667
73123
|
if (hostEnd === -1) {
|
71668
73124
|
// atSign can be anywhere.
|
71669
73125
|
atSign = rest.lastIndexOf('@');
|
71670
73126
|
} else {
|
71671
|
-
|
71672
|
-
|
73127
|
+
/*
|
73128
|
+
* atSign must be in auth portion.
|
73129
|
+
* http://a@b/c@d => host:b auth:a path:/c@d
|
73130
|
+
*/
|
71673
73131
|
atSign = rest.lastIndexOf('@', hostEnd);
|
71674
73132
|
}
|
71675
73133
|
|
71676
|
-
|
71677
|
-
|
73134
|
+
/*
|
73135
|
+
* Now we have a portion which is definitely the auth.
|
73136
|
+
* Pull that off.
|
73137
|
+
*/
|
71678
73138
|
if (atSign !== -1) {
|
71679
73139
|
auth = rest.slice(0, atSign);
|
71680
73140
|
rest = rest.slice(atSign + 1);
|
@@ -71685,12 +73145,10 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71685
73145
|
hostEnd = -1;
|
71686
73146
|
for (var i = 0; i < nonHostChars.length; i++) {
|
71687
73147
|
var hec = rest.indexOf(nonHostChars[i]);
|
71688
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
71689
|
-
hostEnd = hec;
|
73148
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) { hostEnd = hec; }
|
71690
73149
|
}
|
71691
73150
|
// if we still have not hit it, then the entire thing is a host.
|
71692
|
-
if (hostEnd === -1)
|
71693
|
-
hostEnd = rest.length;
|
73151
|
+
if (hostEnd === -1) { hostEnd = rest.length; }
|
71694
73152
|
|
71695
73153
|
this.host = rest.slice(0, hostEnd);
|
71696
73154
|
rest = rest.slice(hostEnd);
|
@@ -71698,28 +73156,33 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71698
73156
|
// pull out port.
|
71699
73157
|
this.parseHost();
|
71700
73158
|
|
71701
|
-
|
71702
|
-
|
73159
|
+
/*
|
73160
|
+
* we've indicated that there is a hostname,
|
73161
|
+
* so even if it's empty, it has to be present.
|
73162
|
+
*/
|
71703
73163
|
this.hostname = this.hostname || '';
|
71704
73164
|
|
71705
|
-
|
71706
|
-
|
71707
|
-
|
71708
|
-
|
73165
|
+
/*
|
73166
|
+
* if hostname begins with [ and ends with ]
|
73167
|
+
* assume that it's an IPv6 address.
|
73168
|
+
*/
|
73169
|
+
var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']';
|
71709
73170
|
|
71710
73171
|
// validate a little.
|
71711
73172
|
if (!ipv6Hostname) {
|
71712
73173
|
var hostparts = this.hostname.split(/\./);
|
71713
73174
|
for (var i = 0, l = hostparts.length; i < l; i++) {
|
71714
73175
|
var part = hostparts[i];
|
71715
|
-
if (!part) continue;
|
73176
|
+
if (!part) { continue; }
|
71716
73177
|
if (!part.match(hostnamePartPattern)) {
|
71717
73178
|
var newpart = '';
|
71718
73179
|
for (var j = 0, k = part.length; j < k; j++) {
|
71719
73180
|
if (part.charCodeAt(j) > 127) {
|
71720
|
-
|
71721
|
-
|
71722
|
-
|
73181
|
+
/*
|
73182
|
+
* we replace non-ASCII char with a temporary placeholder
|
73183
|
+
* we need this to make sure size of hostname is not
|
73184
|
+
* broken by replacing non-ASCII by nothing
|
73185
|
+
*/
|
71723
73186
|
newpart += 'x';
|
71724
73187
|
} else {
|
71725
73188
|
newpart += part[j];
|
@@ -71752,10 +73215,12 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71752
73215
|
}
|
71753
73216
|
|
71754
73217
|
if (!ipv6Hostname) {
|
71755
|
-
|
71756
|
-
|
71757
|
-
|
71758
|
-
|
73218
|
+
/*
|
73219
|
+
* IDNA Support: Returns a punycoded representation of "domain".
|
73220
|
+
* It only converts parts of the domain name that
|
73221
|
+
* have non-ASCII characters, i.e. it doesn't matter if
|
73222
|
+
* you call it with a domain that already is ASCII-only.
|
73223
|
+
*/
|
71759
73224
|
this.hostname = punycode.toASCII(this.hostname);
|
71760
73225
|
}
|
71761
73226
|
|
@@ -71764,8 +73229,10 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71764
73229
|
this.host = h + p;
|
71765
73230
|
this.href += this.host;
|
71766
73231
|
|
71767
|
-
|
71768
|
-
|
73232
|
+
/*
|
73233
|
+
* strip [ and ] from the hostname
|
73234
|
+
* the host field still retains them, though
|
73235
|
+
*/
|
71769
73236
|
if (ipv6Hostname) {
|
71770
73237
|
this.hostname = this.hostname.substr(1, this.hostname.length - 2);
|
71771
73238
|
if (rest[0] !== '/') {
|
@@ -71774,17 +73241,20 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71774
73241
|
}
|
71775
73242
|
}
|
71776
73243
|
|
71777
|
-
|
71778
|
-
|
73244
|
+
/*
|
73245
|
+
* now rest is set to the post-host stuff.
|
73246
|
+
* chop off any delim chars.
|
73247
|
+
*/
|
71779
73248
|
if (!unsafeProtocol[lowerProto]) {
|
71780
73249
|
|
71781
|
-
|
71782
|
-
|
71783
|
-
|
73250
|
+
/*
|
73251
|
+
* First, make 100% sure that any "autoEscape" chars get
|
73252
|
+
* escaped, even if encodeURIComponent doesn't think they
|
73253
|
+
* need to be.
|
73254
|
+
*/
|
71784
73255
|
for (var i = 0, l = autoEscape.length; i < l; i++) {
|
71785
73256
|
var ae = autoEscape[i];
|
71786
|
-
if (rest.indexOf(ae) === -1)
|
71787
|
-
continue;
|
73257
|
+
if (rest.indexOf(ae) === -1) { continue; }
|
71788
73258
|
var esc = encodeURIComponent(ae);
|
71789
73259
|
if (esc === ae) {
|
71790
73260
|
esc = escape(ae);
|
@@ -71793,7 +73263,6 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71793
73263
|
}
|
71794
73264
|
}
|
71795
73265
|
|
71796
|
-
|
71797
73266
|
// chop off from the tail first.
|
71798
73267
|
var hash = rest.indexOf('#');
|
71799
73268
|
if (hash !== -1) {
|
@@ -71814,13 +73283,12 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71814
73283
|
this.search = '';
|
71815
73284
|
this.query = {};
|
71816
73285
|
}
|
71817
|
-
if (rest) this.pathname = rest;
|
71818
|
-
if (slashedProtocol[lowerProto] &&
|
71819
|
-
this.hostname && !this.pathname) {
|
73286
|
+
if (rest) { this.pathname = rest; }
|
73287
|
+
if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {
|
71820
73288
|
this.pathname = '/';
|
71821
73289
|
}
|
71822
73290
|
|
71823
|
-
//to support http.request
|
73291
|
+
// to support http.request
|
71824
73292
|
if (this.pathname || this.search) {
|
71825
73293
|
var p = this.pathname || '';
|
71826
73294
|
var s = this.search || '';
|
@@ -71834,16 +73302,18 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
71834
73302
|
|
71835
73303
|
// format a parsed object into a url string
|
71836
73304
|
function urlFormat(obj) {
|
71837
|
-
|
71838
|
-
|
71839
|
-
|
71840
|
-
|
71841
|
-
|
71842
|
-
|
73305
|
+
/*
|
73306
|
+
* ensure it's an object, and not a string url.
|
73307
|
+
* If it's an obj, this is a no-op.
|
73308
|
+
* this way, you can call url_format() on strings
|
73309
|
+
* to clean up potentially wonky urls.
|
73310
|
+
*/
|
73311
|
+
if (typeof obj === 'string') { obj = urlParse(obj); }
|
73312
|
+
if (!(obj instanceof Url)) { return Url.prototype.format.call(obj); }
|
71843
73313
|
return obj.format();
|
71844
73314
|
}
|
71845
73315
|
|
71846
|
-
Url.prototype.format = function() {
|
73316
|
+
Url.prototype.format = function () {
|
71847
73317
|
var auth = this.auth || '';
|
71848
73318
|
if (auth) {
|
71849
73319
|
auth = encodeURIComponent(auth);
|
@@ -71852,46 +73322,43 @@ Url.prototype.format = function() {
|
|
71852
73322
|
}
|
71853
73323
|
|
71854
73324
|
var protocol = this.protocol || '',
|
71855
|
-
|
71856
|
-
|
71857
|
-
|
71858
|
-
|
73325
|
+
pathname = this.pathname || '',
|
73326
|
+
hash = this.hash || '',
|
73327
|
+
host = false,
|
73328
|
+
query = '';
|
71859
73329
|
|
71860
73330
|
if (this.host) {
|
71861
73331
|
host = auth + this.host;
|
71862
73332
|
} else if (this.hostname) {
|
71863
|
-
host = auth + (this.hostname.indexOf(':') === -1 ?
|
71864
|
-
this.hostname :
|
71865
|
-
'[' + this.hostname + ']');
|
73333
|
+
host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']');
|
71866
73334
|
if (this.port) {
|
71867
73335
|
host += ':' + this.port;
|
71868
73336
|
}
|
71869
73337
|
}
|
71870
73338
|
|
71871
|
-
if (this.query &&
|
71872
|
-
util.isObject(this.query) &&
|
71873
|
-
Object.keys(this.query).length) {
|
73339
|
+
if (this.query && typeof this.query === 'object' && Object.keys(this.query).length) {
|
71874
73340
|
query = querystring.stringify(this.query);
|
71875
73341
|
}
|
71876
73342
|
|
71877
73343
|
var search = this.search || (query && ('?' + query)) || '';
|
71878
73344
|
|
71879
|
-
if (protocol && protocol.substr(-1) !== ':') protocol += ':';
|
73345
|
+
if (protocol && protocol.substr(-1) !== ':') { protocol += ':'; }
|
71880
73346
|
|
71881
|
-
|
71882
|
-
|
71883
|
-
|
71884
|
-
|
73347
|
+
/*
|
73348
|
+
* only the slashedProtocols get the //. Not mailto:, xmpp:, etc.
|
73349
|
+
* unless they had them to begin with.
|
73350
|
+
*/
|
73351
|
+
if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) {
|
71885
73352
|
host = '//' + (host || '');
|
71886
|
-
if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
|
73353
|
+
if (pathname && pathname.charAt(0) !== '/') { pathname = '/' + pathname; }
|
71887
73354
|
} else if (!host) {
|
71888
73355
|
host = '';
|
71889
73356
|
}
|
71890
73357
|
|
71891
|
-
if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
|
71892
|
-
if (search && search.charAt(0) !== '?') search = '?' + search;
|
73358
|
+
if (hash && hash.charAt(0) !== '#') { hash = '#' + hash; }
|
73359
|
+
if (search && search.charAt(0) !== '?') { search = '?' + search; }
|
71893
73360
|
|
71894
|
-
pathname = pathname.replace(/[?#]/g, function(match) {
|
73361
|
+
pathname = pathname.replace(/[?#]/g, function (match) {
|
71895
73362
|
return encodeURIComponent(match);
|
71896
73363
|
});
|
71897
73364
|
search = search.replace('#', '%23');
|
@@ -71903,17 +73370,17 @@ function urlResolve(source, relative) {
|
|
71903
73370
|
return urlParse(source, false, true).resolve(relative);
|
71904
73371
|
}
|
71905
73372
|
|
71906
|
-
Url.prototype.resolve = function(relative) {
|
73373
|
+
Url.prototype.resolve = function (relative) {
|
71907
73374
|
return this.resolveObject(urlParse(relative, false, true)).format();
|
71908
73375
|
};
|
71909
73376
|
|
71910
73377
|
function urlResolveObject(source, relative) {
|
71911
|
-
if (!source) return relative;
|
73378
|
+
if (!source) { return relative; }
|
71912
73379
|
return urlParse(source, false, true).resolveObject(relative);
|
71913
73380
|
}
|
71914
73381
|
|
71915
|
-
Url.prototype.resolveObject = function(relative) {
|
71916
|
-
if (
|
73382
|
+
Url.prototype.resolveObject = function (relative) {
|
73383
|
+
if (typeof relative === 'string') {
|
71917
73384
|
var rel = new Url();
|
71918
73385
|
rel.parse(relative, false, true);
|
71919
73386
|
relative = rel;
|
@@ -71926,8 +73393,10 @@ Url.prototype.resolveObject = function(relative) {
|
|
71926
73393
|
result[tkey] = this[tkey];
|
71927
73394
|
}
|
71928
73395
|
|
71929
|
-
|
71930
|
-
|
73396
|
+
/*
|
73397
|
+
* hash is always overridden, no matter what.
|
73398
|
+
* even href="" will remove it.
|
73399
|
+
*/
|
71931
73400
|
result.hash = relative.hash;
|
71932
73401
|
|
71933
73402
|
// if the relative url is empty, then there's nothing left to do here.
|
@@ -71942,14 +73411,13 @@ Url.prototype.resolveObject = function(relative) {
|
|
71942
73411
|
var rkeys = Object.keys(relative);
|
71943
73412
|
for (var rk = 0; rk < rkeys.length; rk++) {
|
71944
73413
|
var rkey = rkeys[rk];
|
71945
|
-
if (rkey !== 'protocol')
|
71946
|
-
result[rkey] = relative[rkey];
|
73414
|
+
if (rkey !== 'protocol') { result[rkey] = relative[rkey]; }
|
71947
73415
|
}
|
71948
73416
|
|
71949
|
-
//urlParse appends trailing / to urls like http://www.example.com
|
71950
|
-
if (slashedProtocol[result.protocol] &&
|
71951
|
-
|
71952
|
-
result.path = result.pathname
|
73417
|
+
// urlParse appends trailing / to urls like http://www.example.com
|
73418
|
+
if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {
|
73419
|
+
result.pathname = '/';
|
73420
|
+
result.path = result.pathname;
|
71953
73421
|
}
|
71954
73422
|
|
71955
73423
|
result.href = result.format();
|
@@ -71957,14 +73425,16 @@ Url.prototype.resolveObject = function(relative) {
|
|
71957
73425
|
}
|
71958
73426
|
|
71959
73427
|
if (relative.protocol && relative.protocol !== result.protocol) {
|
71960
|
-
|
71961
|
-
|
71962
|
-
|
71963
|
-
|
71964
|
-
|
71965
|
-
|
71966
|
-
|
71967
|
-
|
73428
|
+
/*
|
73429
|
+
* if it's a known url protocol, then changing
|
73430
|
+
* the protocol does weird things
|
73431
|
+
* first, if it's not file:, then we MUST have a host,
|
73432
|
+
* and if there was a path
|
73433
|
+
* to begin with, then we MUST have a path.
|
73434
|
+
* if it is file:, then the host is dropped,
|
73435
|
+
* because that's known to be hostless.
|
73436
|
+
* anything else is assumed to be absolute.
|
73437
|
+
*/
|
71968
73438
|
if (!slashedProtocol[relative.protocol]) {
|
71969
73439
|
var keys = Object.keys(relative);
|
71970
73440
|
for (var v = 0; v < keys.length; v++) {
|
@@ -71978,11 +73448,11 @@ Url.prototype.resolveObject = function(relative) {
|
|
71978
73448
|
result.protocol = relative.protocol;
|
71979
73449
|
if (!relative.host && !hostlessProtocol[relative.protocol]) {
|
71980
73450
|
var relPath = (relative.pathname || '').split('/');
|
71981
|
-
while (relPath.length && !(relative.host = relPath.shift()))
|
71982
|
-
if (!relative.host) relative.host = '';
|
71983
|
-
if (!relative.hostname) relative.hostname = '';
|
71984
|
-
if (relPath[0] !== '') relPath.unshift('');
|
71985
|
-
if (relPath.length < 2) relPath.unshift('');
|
73451
|
+
while (relPath.length && !(relative.host = relPath.shift())) { }
|
73452
|
+
if (!relative.host) { relative.host = ''; }
|
73453
|
+
if (!relative.hostname) { relative.hostname = ''; }
|
73454
|
+
if (relPath[0] !== '') { relPath.unshift(''); }
|
73455
|
+
if (relPath.length < 2) { relPath.unshift(''); }
|
71986
73456
|
result.pathname = relPath.join('/');
|
71987
73457
|
} else {
|
71988
73458
|
result.pathname = relative.pathname;
|
@@ -72004,37 +73474,33 @@ Url.prototype.resolveObject = function(relative) {
|
|
72004
73474
|
return result;
|
72005
73475
|
}
|
72006
73476
|
|
72007
|
-
var isSourceAbs =
|
72008
|
-
|
72009
|
-
|
72010
|
-
|
72011
|
-
|
72012
|
-
|
72013
|
-
|
72014
|
-
|
72015
|
-
|
72016
|
-
|
72017
|
-
|
72018
|
-
|
72019
|
-
|
72020
|
-
|
72021
|
-
|
72022
|
-
// result.protocol has already been set by now.
|
72023
|
-
// Later on, put the first path part into the host field.
|
73477
|
+
var isSourceAbs = result.pathname && result.pathname.charAt(0) === '/',
|
73478
|
+
isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === '/',
|
73479
|
+
mustEndAbs = isRelAbs || isSourceAbs || (result.host && relative.pathname),
|
73480
|
+
removeAllDots = mustEndAbs,
|
73481
|
+
srcPath = result.pathname && result.pathname.split('/') || [],
|
73482
|
+
relPath = relative.pathname && relative.pathname.split('/') || [],
|
73483
|
+
psychotic = result.protocol && !slashedProtocol[result.protocol];
|
73484
|
+
|
73485
|
+
/*
|
73486
|
+
* if the url is a non-slashed url, then relative
|
73487
|
+
* links like ../.. should be able
|
73488
|
+
* to crawl up to the hostname, as well. This is strange.
|
73489
|
+
* result.protocol has already been set by now.
|
73490
|
+
* Later on, put the first path part into the host field.
|
73491
|
+
*/
|
72024
73492
|
if (psychotic) {
|
72025
73493
|
result.hostname = '';
|
72026
73494
|
result.port = null;
|
72027
73495
|
if (result.host) {
|
72028
|
-
if (srcPath[0] === '') srcPath[0] = result.host;
|
72029
|
-
else srcPath.unshift(result.host);
|
73496
|
+
if (srcPath[0] === '') { srcPath[0] = result.host; } else { srcPath.unshift(result.host); }
|
72030
73497
|
}
|
72031
73498
|
result.host = '';
|
72032
73499
|
if (relative.protocol) {
|
72033
73500
|
relative.hostname = null;
|
72034
73501
|
relative.port = null;
|
72035
73502
|
if (relative.host) {
|
72036
|
-
if (relPath[0] === '') relPath[0] = relative.host;
|
72037
|
-
else relPath.unshift(relative.host);
|
73503
|
+
if (relPath[0] === '') { relPath[0] = relative.host; } else { relPath.unshift(relative.host); }
|
72038
73504
|
}
|
72039
73505
|
relative.host = null;
|
72040
73506
|
}
|
@@ -72043,54 +73509,60 @@ Url.prototype.resolveObject = function(relative) {
|
|
72043
73509
|
|
72044
73510
|
if (isRelAbs) {
|
72045
73511
|
// it's absolute.
|
72046
|
-
result.host =
|
72047
|
-
|
72048
|
-
result.hostname = (relative.hostname || relative.hostname === '') ?
|
72049
|
-
relative.hostname : result.hostname;
|
73512
|
+
result.host = relative.host || relative.host === '' ? relative.host : result.host;
|
73513
|
+
result.hostname = relative.hostname || relative.hostname === '' ? relative.hostname : result.hostname;
|
72050
73514
|
result.search = relative.search;
|
72051
73515
|
result.query = relative.query;
|
72052
73516
|
srcPath = relPath;
|
72053
73517
|
// fall through to the dot-handling below.
|
72054
73518
|
} else if (relPath.length) {
|
72055
|
-
|
72056
|
-
|
72057
|
-
|
73519
|
+
/*
|
73520
|
+
* it's relative
|
73521
|
+
* throw away the existing file, and take the new path instead.
|
73522
|
+
*/
|
73523
|
+
if (!srcPath) { srcPath = []; }
|
72058
73524
|
srcPath.pop();
|
72059
73525
|
srcPath = srcPath.concat(relPath);
|
72060
73526
|
result.search = relative.search;
|
72061
73527
|
result.query = relative.query;
|
72062
|
-
} else if (
|
72063
|
-
|
72064
|
-
|
72065
|
-
|
73528
|
+
} else if (relative.search != null) {
|
73529
|
+
/*
|
73530
|
+
* just pull out the search.
|
73531
|
+
* like href='?foo'.
|
73532
|
+
* Put this after the other two cases because it simplifies the booleans
|
73533
|
+
*/
|
72066
73534
|
if (psychotic) {
|
72067
|
-
result.
|
72068
|
-
|
72069
|
-
|
72070
|
-
|
72071
|
-
|
72072
|
-
|
73535
|
+
result.host = srcPath.shift();
|
73536
|
+
result.hostname = result.host;
|
73537
|
+
/*
|
73538
|
+
* occationaly the auth can get stuck only in host
|
73539
|
+
* this especially happens in cases like
|
73540
|
+
* url.resolveObject('mailto:local1@domain1', 'local2@domain2')
|
73541
|
+
*/
|
73542
|
+
var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;
|
72073
73543
|
if (authInHost) {
|
72074
73544
|
result.auth = authInHost.shift();
|
72075
|
-
result.
|
73545
|
+
result.hostname = authInHost.shift();
|
73546
|
+
result.host = result.hostname;
|
72076
73547
|
}
|
72077
73548
|
}
|
72078
73549
|
result.search = relative.search;
|
72079
73550
|
result.query = relative.query;
|
72080
|
-
//to support http.request
|
72081
|
-
if (
|
72082
|
-
result.path = (result.pathname ? result.pathname : '') +
|
72083
|
-
(result.search ? result.search : '');
|
73551
|
+
// to support http.request
|
73552
|
+
if (result.pathname !== null || result.search !== null) {
|
73553
|
+
result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');
|
72084
73554
|
}
|
72085
73555
|
result.href = result.format();
|
72086
73556
|
return result;
|
72087
73557
|
}
|
72088
73558
|
|
72089
73559
|
if (!srcPath.length) {
|
72090
|
-
|
72091
|
-
|
73560
|
+
/*
|
73561
|
+
* no path at all. easy.
|
73562
|
+
* we've already handled the other stuff above.
|
73563
|
+
*/
|
72092
73564
|
result.pathname = null;
|
72093
|
-
//to support http.request
|
73565
|
+
// to support http.request
|
72094
73566
|
if (result.search) {
|
72095
73567
|
result.path = '/' + result.search;
|
72096
73568
|
} else {
|
@@ -72100,16 +73572,18 @@ Url.prototype.resolveObject = function(relative) {
|
|
72100
73572
|
return result;
|
72101
73573
|
}
|
72102
73574
|
|
72103
|
-
|
72104
|
-
|
72105
|
-
|
73575
|
+
/*
|
73576
|
+
* if a url ENDs in . or .., then it must get a trailing slash.
|
73577
|
+
* however, if it ends in anything else non-slashy,
|
73578
|
+
* then it must NOT get a trailing slash.
|
73579
|
+
*/
|
72106
73580
|
var last = srcPath.slice(-1)[0];
|
72107
|
-
var hasTrailingSlash = (
|
72108
|
-
(result.host || relative.host || srcPath.length > 1) &&
|
72109
|
-
(last === '.' || last === '..') || last === '');
|
73581
|
+
var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (last === '.' || last === '..') || last === '';
|
72110
73582
|
|
72111
|
-
|
72112
|
-
|
73583
|
+
/*
|
73584
|
+
* strip single dots, resolve double dots to parent dir
|
73585
|
+
* if the path tries to go above the root, `up` ends up > 0
|
73586
|
+
*/
|
72113
73587
|
var up = 0;
|
72114
73588
|
for (var i = srcPath.length; i >= 0; i--) {
|
72115
73589
|
last = srcPath[i];
|
@@ -72131,8 +73605,7 @@ Url.prototype.resolveObject = function(relative) {
|
|
72131
73605
|
}
|
72132
73606
|
}
|
72133
73607
|
|
72134
|
-
if (mustEndAbs && srcPath[0] !== '' &&
|
72135
|
-
(!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
|
73608
|
+
if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
|
72136
73609
|
srcPath.unshift('');
|
72137
73610
|
}
|
72138
73611
|
|
@@ -72140,21 +73613,22 @@ Url.prototype.resolveObject = function(relative) {
|
|
72140
73613
|
srcPath.push('');
|
72141
73614
|
}
|
72142
73615
|
|
72143
|
-
var isAbsolute = srcPath[0] === '' ||
|
72144
|
-
(srcPath[0] && srcPath[0].charAt(0) === '/');
|
73616
|
+
var isAbsolute = srcPath[0] === '' || (srcPath[0] && srcPath[0].charAt(0) === '/');
|
72145
73617
|
|
72146
73618
|
// put the host back
|
72147
73619
|
if (psychotic) {
|
72148
|
-
result.hostname =
|
72149
|
-
|
72150
|
-
|
72151
|
-
|
72152
|
-
|
72153
|
-
|
72154
|
-
|
73620
|
+
result.hostname = isAbsolute ? '' : srcPath.length ? srcPath.shift() : '';
|
73621
|
+
result.host = result.hostname;
|
73622
|
+
/*
|
73623
|
+
* occationaly the auth can get stuck only in host
|
73624
|
+
* this especially happens in cases like
|
73625
|
+
* url.resolveObject('mailto:local1@domain1', 'local2@domain2')
|
73626
|
+
*/
|
73627
|
+
var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;
|
72155
73628
|
if (authInHost) {
|
72156
73629
|
result.auth = authInHost.shift();
|
72157
|
-
result.
|
73630
|
+
result.hostname = authInHost.shift();
|
73631
|
+
result.host = result.hostname;
|
72158
73632
|
}
|
72159
73633
|
}
|
72160
73634
|
|
@@ -72164,17 +73638,16 @@ Url.prototype.resolveObject = function(relative) {
|
|
72164
73638
|
srcPath.unshift('');
|
72165
73639
|
}
|
72166
73640
|
|
72167
|
-
if (
|
73641
|
+
if (srcPath.length > 0) {
|
73642
|
+
result.pathname = srcPath.join('/');
|
73643
|
+
} else {
|
72168
73644
|
result.pathname = null;
|
72169
73645
|
result.path = null;
|
72170
|
-
} else {
|
72171
|
-
result.pathname = srcPath.join('/');
|
72172
73646
|
}
|
72173
73647
|
|
72174
|
-
//to support request.http
|
72175
|
-
if (
|
72176
|
-
result.path = (result.pathname ? result.pathname : '') +
|
72177
|
-
(result.search ? result.search : '');
|
73648
|
+
// to support request.http
|
73649
|
+
if (result.pathname !== null || result.search !== null) {
|
73650
|
+
result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');
|
72178
73651
|
}
|
72179
73652
|
result.auth = relative.auth || result.auth;
|
72180
73653
|
result.slashes = result.slashes || relative.slashes;
|
@@ -72182,7 +73655,7 @@ Url.prototype.resolveObject = function(relative) {
|
|
72182
73655
|
return result;
|
72183
73656
|
};
|
72184
73657
|
|
72185
|
-
Url.prototype.parseHost = function() {
|
73658
|
+
Url.prototype.parseHost = function () {
|
72186
73659
|
var host = this.host;
|
72187
73660
|
var port = portPattern.exec(host);
|
72188
73661
|
if (port) {
|
@@ -72192,35 +73665,15 @@ Url.prototype.parseHost = function() {
|
|
72192
73665
|
}
|
72193
73666
|
host = host.substr(0, host.length - port.length);
|
72194
73667
|
}
|
72195
|
-
if (host) this.hostname = host;
|
73668
|
+
if (host) { this.hostname = host; }
|
72196
73669
|
};
|
72197
73670
|
|
73671
|
+
exports.parse = urlParse;
|
73672
|
+
exports.resolve = urlResolve;
|
73673
|
+
exports.resolveObject = urlResolveObject;
|
73674
|
+
exports.format = urlFormat;
|
72198
73675
|
|
72199
|
-
|
72200
|
-
|
72201
|
-
/***/ "../../node_modules/url/util.js":
|
72202
|
-
/*!**************************************!*\
|
72203
|
-
!*** ../../node_modules/url/util.js ***!
|
72204
|
-
\**************************************/
|
72205
|
-
/***/ ((module) => {
|
72206
|
-
|
72207
|
-
"use strict";
|
72208
|
-
|
72209
|
-
|
72210
|
-
module.exports = {
|
72211
|
-
isString: function(arg) {
|
72212
|
-
return typeof(arg) === 'string';
|
72213
|
-
},
|
72214
|
-
isObject: function(arg) {
|
72215
|
-
return typeof(arg) === 'object' && arg !== null;
|
72216
|
-
},
|
72217
|
-
isNull: function(arg) {
|
72218
|
-
return arg === null;
|
72219
|
-
},
|
72220
|
-
isNullOrUndefined: function(arg) {
|
72221
|
-
return arg == null;
|
72222
|
-
}
|
72223
|
-
};
|
73676
|
+
exports.Url = Url;
|
72224
73677
|
|
72225
73678
|
|
72226
73679
|
/***/ }),
|
@@ -75394,6 +76847,7 @@ var AccountRootFlags;
|
|
75394
76847
|
AccountRootFlags[AccountRootFlags["lsfDisallowIncomingCheck"] = 134217728] = "lsfDisallowIncomingCheck";
|
75395
76848
|
AccountRootFlags[AccountRootFlags["lsfDisallowIncomingPayChan"] = 268435456] = "lsfDisallowIncomingPayChan";
|
75396
76849
|
AccountRootFlags[AccountRootFlags["lsfDisallowIncomingTrustline"] = 536870912] = "lsfDisallowIncomingTrustline";
|
76850
|
+
AccountRootFlags[AccountRootFlags["lsfAllowTrustLineClawback"] = 2147483648] = "lsfAllowTrustLineClawback";
|
75397
76851
|
})(AccountRootFlags = exports.AccountRootFlags || (exports.AccountRootFlags = {}));
|
75398
76852
|
|
75399
76853
|
|
@@ -75790,6 +77244,7 @@ var AccountSetAsfFlags;
|
|
75790
77244
|
AccountSetAsfFlags[AccountSetAsfFlags["asfDisallowIncomingCheck"] = 13] = "asfDisallowIncomingCheck";
|
75791
77245
|
AccountSetAsfFlags[AccountSetAsfFlags["asfDisallowIncomingPayChan"] = 14] = "asfDisallowIncomingPayChan";
|
75792
77246
|
AccountSetAsfFlags[AccountSetAsfFlags["asfDisallowIncomingTrustline"] = 15] = "asfDisallowIncomingTrustline";
|
77247
|
+
AccountSetAsfFlags[AccountSetAsfFlags["asfAllowTrustLineClawback"] = 16] = "asfAllowTrustLineClawback";
|
75793
77248
|
})(AccountSetAsfFlags = exports.AccountSetAsfFlags || (exports.AccountSetAsfFlags = {}));
|
75794
77249
|
var AccountSetTfFlags;
|
75795
77250
|
(function (AccountSetTfFlags) {
|
@@ -75952,6 +77407,35 @@ function validateCheckCreate(tx) {
|
|
75952
77407
|
exports.validateCheckCreate = validateCheckCreate;
|
75953
77408
|
|
75954
77409
|
|
77410
|
+
/***/ }),
|
77411
|
+
|
77412
|
+
/***/ "./dist/npm/models/transactions/clawback.js":
|
77413
|
+
/*!**************************************************!*\
|
77414
|
+
!*** ./dist/npm/models/transactions/clawback.js ***!
|
77415
|
+
\**************************************************/
|
77416
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
77417
|
+
|
77418
|
+
"use strict";
|
77419
|
+
|
77420
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
77421
|
+
exports.validateClawback = void 0;
|
77422
|
+
const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
|
77423
|
+
const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
|
77424
|
+
function validateClawback(tx) {
|
77425
|
+
(0, common_1.validateBaseTransaction)(tx);
|
77426
|
+
if (tx.Amount == null) {
|
77427
|
+
throw new errors_1.ValidationError('Clawback: missing field Amount');
|
77428
|
+
}
|
77429
|
+
if (!(0, common_1.isIssuedCurrency)(tx.Amount)) {
|
77430
|
+
throw new errors_1.ValidationError('Clawback: invalid Amount');
|
77431
|
+
}
|
77432
|
+
if ((0, common_1.isIssuedCurrency)(tx.Amount) && tx.Account === tx.Amount.issuer) {
|
77433
|
+
throw new errors_1.ValidationError('Clawback: invalid holder Account');
|
77434
|
+
}
|
77435
|
+
}
|
77436
|
+
exports.validateClawback = validateClawback;
|
77437
|
+
|
77438
|
+
|
75955
77439
|
/***/ }),
|
75956
77440
|
|
75957
77441
|
/***/ "./dist/npm/models/transactions/common.js":
|
@@ -76780,6 +78264,7 @@ const accountSet_1 = __webpack_require__(/*! ./accountSet */ "./dist/npm/models/
|
|
76780
78264
|
const checkCancel_1 = __webpack_require__(/*! ./checkCancel */ "./dist/npm/models/transactions/checkCancel.js");
|
76781
78265
|
const checkCash_1 = __webpack_require__(/*! ./checkCash */ "./dist/npm/models/transactions/checkCash.js");
|
76782
78266
|
const checkCreate_1 = __webpack_require__(/*! ./checkCreate */ "./dist/npm/models/transactions/checkCreate.js");
|
78267
|
+
const clawback_1 = __webpack_require__(/*! ./clawback */ "./dist/npm/models/transactions/clawback.js");
|
76783
78268
|
const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
|
76784
78269
|
const depositPreauth_1 = __webpack_require__(/*! ./depositPreauth */ "./dist/npm/models/transactions/depositPreauth.js");
|
76785
78270
|
const escrowCancel_1 = __webpack_require__(/*! ./escrowCancel */ "./dist/npm/models/transactions/escrowCancel.js");
|
@@ -76861,6 +78346,9 @@ function validate(transaction) {
|
|
76861
78346
|
case 'CheckCreate':
|
76862
78347
|
(0, checkCreate_1.validateCheckCreate)(tx);
|
76863
78348
|
break;
|
78349
|
+
case 'Clawback':
|
78350
|
+
(0, clawback_1.validateClawback)(tx);
|
78351
|
+
break;
|
76864
78352
|
case 'DepositPreauth':
|
76865
78353
|
(0, depositPreauth_1.validateDepositPreauth)(tx);
|
76866
78354
|
break;
|
@@ -76988,8 +78476,9 @@ const trustSet_1 = __webpack_require__(/*! ../transactions/trustSet */ "./dist/n
|
|
76988
78476
|
const _1 = __webpack_require__(/*! . */ "./dist/npm/models/utils/index.js");
|
76989
78477
|
function parseAccountRootFlags(flags) {
|
76990
78478
|
const flagsInterface = {};
|
76991
|
-
Object.
|
76992
|
-
if (
|
78479
|
+
Object.values(AccountRoot_1.AccountRootFlags).forEach((flag) => {
|
78480
|
+
if (typeof flag === 'string' &&
|
78481
|
+
(0, _1.isFlagEnabled)(flags, AccountRoot_1.AccountRootFlags[flag])) {
|
76993
78482
|
flagsInterface[flag] = true;
|
76994
78483
|
}
|
76995
78484
|
});
|
@@ -77068,7 +78557,7 @@ function onlyHasFields(obj, fields) {
|
|
77068
78557
|
}
|
77069
78558
|
exports.onlyHasFields = onlyHasFields;
|
77070
78559
|
function isFlagEnabled(Flags, checkFlag) {
|
77071
|
-
return (checkFlag & Flags) === checkFlag;
|
78560
|
+
return (BigInt(checkFlag) & BigInt(Flags)) === BigInt(checkFlag);
|
77072
78561
|
}
|
77073
78562
|
exports.isFlagEnabled = isFlagEnabled;
|
77074
78563
|
function isHex(str) {
|
@@ -79034,6 +80523,16 @@ exports.xrpToDrops = xrpToDrops;
|
|
79034
80523
|
|
79035
80524
|
/***/ }),
|
79036
80525
|
|
80526
|
+
/***/ "?c95a":
|
80527
|
+
/*!********************************!*\
|
80528
|
+
!*** ./util.inspect (ignored) ***!
|
80529
|
+
\********************************/
|
80530
|
+
/***/ (() => {
|
80531
|
+
|
80532
|
+
/* (ignored) */
|
80533
|
+
|
80534
|
+
/***/ }),
|
80535
|
+
|
79037
80536
|
/***/ "?1dff":
|
79038
80537
|
/*!**********************!*\
|
79039
80538
|
!*** util (ignored) ***!
|
@@ -79186,7 +80685,7 @@ module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1
|
|
79186
80685
|
/***/ ((module) => {
|
79187
80686
|
|
79188
80687
|
"use strict";
|
79189
|
-
module.exports = JSON.parse('{"TYPES":{"Done":-1,"Unknown":-2,"NotPresent":0,"UInt16":1,"UInt32":2,"UInt64":3,"Hash128":4,"Hash256":5,"Amount":6,"Blob":7,"AccountID":8,"STObject":14,"STArray":15,"UInt8":16,"Hash160":17,"PathSet":18,"Vector256":19,"UInt96":20,"UInt192":21,"UInt384":22,"UInt512":23,"Transaction":10001,"LedgerEntry":10002,"Validation":10003,"Metadata":10004},"LEDGER_ENTRY_TYPES":{"Invalid":-1,"AccountRoot":97,"DirectoryNode":100,"RippleState":114,"Ticket":84,"SignerList":83,"Offer":111,"LedgerHashes":104,"Amendments":102,"FeeSettings":115,"Escrow":117,"PayChannel":120,"Check":67,"DepositPreauth":112,"NegativeUNL":78,"NFTokenPage":80,"NFTokenOffer":55,"Any":-3,"Child":-2,"Nickname":110,"Contract":99,"GeneratorMap":103},"FIELDS":[["Generic",{"nth":0,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["Invalid",{"nth":-1,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["ObjectEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ArrayEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["hash",{"nth":257,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["index",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["taker_gets_funded",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["taker_pays_funded",{"nth":259,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["LedgerEntry",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"LedgerEntry"}],["Transaction",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Transaction"}],["Validation",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Validation"}],["Metadata",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Metadata"}],["CloseResolution",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["Method",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TransactionResult",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TickSize",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["UNLModifyDisabling",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["HookResult",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["LedgerEntryType",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransactionType",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["SignerWeight",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransferFee",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["Version",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookStateChangeCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookEmitCount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookExecutionIndex",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookApiVersion",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["NetworkID",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Flags",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SourceTag",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Sequence",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["PreviousTxnLgrSeq",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LedgerSequence",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CloseTime",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ParentCloseTime",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SigningTime",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Expiration",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransferRate",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["WalletSize",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OwnerCount",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["DestinationTag",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityIn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityOut",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityIn",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityOut",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityIn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityOut",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["StampEscrow",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BondAmount",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LoadFee",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OfferSequence",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FirstLedgerSequence",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LastLedgerSequence",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransactionIndex",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OperationLimit",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReferenceFeeUnits",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveBase",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveIncrement",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SetFlag",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ClearFlag",{"nth":34,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerQuorum",{"nth":35,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CancelAfter",{"nth":36,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FinishAfter",{"nth":37,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerListID",{"nth":38,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SettleDelay",{"nth":39,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketCount",{"nth":40,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketSequence",{"nth":41,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["NFTokenTaxon",{"nth":42,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["MintedNFTokens",{"nth":43,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BurnedNFTokens",{"nth":44,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HookStateCount",{"nth":45,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["EmitGeneration",{"nth":46,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["IndexNext",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["IndexPrevious",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BookNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["OwnerNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BaseFee",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ExchangeRate",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["LowNode",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HighNode",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["DestinationNode",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["Cookie",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ServerVersion",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["NFTokenOfferNode",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmitBurden",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookOn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookInstructionCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookReturnCode",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ReferenceCount",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmailHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash128"}],["TakerPaysCurrency",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerPaysIssuer",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsCurrency",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsIssuer",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["LedgerHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ParentHash",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["TransactionHash",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountHash",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousTxnID",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["LedgerIndex",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["WalletLocator",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["RootIndex",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountTxnID",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenID",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitParentTxnID",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitNonce",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitHookHash",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["BookDirectory",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["InvoiceID",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Nickname",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amendment",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Digest",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Channel",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ConsensusHash",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["CheckID",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ValidatedHash",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousPageMin",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NextPageMin",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenBuyOffer",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenSellOffer",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookStateKey",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookHash",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookNamespace",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookSetTxnID",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amount",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Balance",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LimitAmount",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerPays",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerGets",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LowLimit",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["HighLimit",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Fee",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["SendMax",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliverMin",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["MinimumOffer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["RippleEscrow",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliveredAmount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["NFTokenBrokerFee",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["PublicKey",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MessageKey",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["SigningPubKey",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["TxnSignature",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["URI",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Signature",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["Domain",{"nth":7,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["FundCode",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["RemoveCode",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ExpireCode",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["CreateCode",{"nth":11,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoType",{"nth":12,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoData",{"nth":13,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoFormat",{"nth":14,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Fulfillment",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Condition",{"nth":17,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MasterSignature",{"nth":18,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["UNLModifyValidator",{"nth":19,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToDisable",{"nth":20,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToReEnable",{"nth":21,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookStateData",{"nth":22,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookReturnString",{"nth":23,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterName",{"nth":24,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterValue",{"nth":25,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Account",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Owner",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Destination",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Issuer",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Authorize",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Unauthorize",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["RegularKey",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["NFTokenMinter",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["EmitCallback",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["HookAccount",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Indexes",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Hashes",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Amendments",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["NFTokenOffers",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Paths",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"PathSet"}],["TransactionMetaData",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["CreatedNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DeletedNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ModifiedNode",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["PreviousFields",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["FinalFields",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NewFields",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["TemplateEntry",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Memo",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["SignerEntry",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NFToken",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmitDetails",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Hook",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Majority",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DisabledValidator",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmittedTxn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookExecution",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookDefinition",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookParameter",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookGrant",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signers",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":false,"type":"STArray"}],["SignerEntries",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Template",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Necessary",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Sufficient",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["AffectedNodes",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Memos",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["NFTokens",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Hooks",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Majorities",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["DisabledValidators",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookExecutions",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookParameters",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookGrants",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}]],"TRANSACTION_RESULTS":{"telLOCAL_ERROR":-399,"telBAD_DOMAIN":-398,"telBAD_PATH_COUNT":-397,"telBAD_PUBLIC_KEY":-396,"telFAILED_PROCESSING":-395,"telINSUF_FEE_P":-394,"telNO_DST_PARTIAL":-393,"telCAN_NOT_QUEUE":-392,"telCAN_NOT_QUEUE_BALANCE":-391,"telCAN_NOT_QUEUE_BLOCKS":-390,"telCAN_NOT_QUEUE_BLOCKED":-389,"telCAN_NOT_QUEUE_FEE":-388,"telCAN_NOT_QUEUE_FULL":-387,"telWRONG_NETWORK":-386,"telREQUIRES_NETWORK_ID":-385,"telNETWORK_ID_MAKES_TX_NON_CANONICAL":-384,"temMALFORMED":-299,"temBAD_AMOUNT":-298,"temBAD_CURRENCY":-297,"temBAD_EXPIRATION":-296,"temBAD_FEE":-295,"temBAD_ISSUER":-294,"temBAD_LIMIT":-293,"temBAD_OFFER":-292,"temBAD_PATH":-291,"temBAD_PATH_LOOP":-290,"temBAD_REGKEY":-289,"temBAD_SEND_XRP_LIMIT":-288,"temBAD_SEND_XRP_MAX":-287,"temBAD_SEND_XRP_NO_DIRECT":-286,"temBAD_SEND_XRP_PARTIAL":-285,"temBAD_SEND_XRP_PATHS":-284,"temBAD_SEQUENCE":-283,"temBAD_SIGNATURE":-282,"temBAD_SRC_ACCOUNT":-281,"temBAD_TRANSFER_RATE":-280,"temDST_IS_SRC":-279,"temDST_NEEDED":-278,"temINVALID":-277,"temINVALID_FLAG":-276,"temREDUNDANT":-275,"temRIPPLE_EMPTY":-274,"temDISABLED":-273,"temBAD_SIGNER":-272,"temBAD_QUORUM":-271,"temBAD_WEIGHT":-270,"temBAD_TICK_SIZE":-269,"temINVALID_ACCOUNT_ID":-268,"temCANNOT_PREAUTH_SELF":-267,"temINVALID_COUNT":-266,"temUNCERTAIN":-265,"temUNKNOWN":-264,"temSEQ_AND_TICKET":-263,"temBAD_NFTOKEN_TRANSFER_FEE":-262,"tefFAILURE":-199,"tefALREADY":-198,"tefBAD_ADD_AUTH":-197,"tefBAD_AUTH":-196,"tefBAD_LEDGER":-195,"tefCREATED":-194,"tefEXCEPTION":-193,"tefINTERNAL":-192,"tefNO_AUTH_REQUIRED":-191,"tefPAST_SEQ":-190,"tefWRONG_PRIOR":-189,"tefMASTER_DISABLED":-188,"tefMAX_LEDGER":-187,"tefBAD_SIGNATURE":-186,"tefBAD_QUORUM":-185,"tefNOT_MULTI_SIGNING":-184,"tefBAD_AUTH_MASTER":-183,"tefINVARIANT_FAILED":-182,"tefTOO_BIG":-181,"tefNO_TICKET":-180,"tefNFTOKEN_IS_NOT_TRANSFERABLE":-179,"terRETRY":-99,"terFUNDS_SPENT":-98,"terINSUF_FEE_B":-97,"terNO_ACCOUNT":-96,"terNO_AUTH":-95,"terNO_LINE":-94,"terOWNERS":-93,"terPRE_SEQ":-92,"terLAST":-91,"terNO_RIPPLE":-90,"terQUEUED":-89,"terPRE_TICKET":-88,"tesSUCCESS":0,"tecCLAIM":100,"tecPATH_PARTIAL":101,"tecUNFUNDED_ADD":102,"tecUNFUNDED_OFFER":103,"tecUNFUNDED_PAYMENT":104,"tecFAILED_PROCESSING":105,"tecDIR_FULL":121,"tecINSUF_RESERVE_LINE":122,"tecINSUF_RESERVE_OFFER":123,"tecNO_DST":124,"tecNO_DST_INSUF_XRP":125,"tecNO_LINE_INSUF_RESERVE":126,"tecNO_LINE_REDUNDANT":127,"tecPATH_DRY":128,"tecUNFUNDED":129,"tecNO_ALTERNATIVE_KEY":130,"tecNO_REGULAR_KEY":131,"tecOWNERS":132,"tecNO_ISSUER":133,"tecNO_AUTH":134,"tecNO_LINE":135,"tecINSUFF_FEE":136,"tecFROZEN":137,"tecNO_TARGET":138,"tecNO_PERMISSION":139,"tecNO_ENTRY":140,"tecINSUFFICIENT_RESERVE":141,"tecNEED_MASTER_KEY":142,"tecDST_TAG_NEEDED":143,"tecINTERNAL":144,"tecOVERSIZE":145,"tecCRYPTOCONDITION_ERROR":146,"tecINVARIANT_FAILED":147,"tecEXPIRED":148,"tecDUPLICATE":149,"tecKILLED":150,"tecHAS_OBLIGATIONS":151,"tecTOO_SOON":152,"tecMAX_SEQUENCE_REACHED":154,"tecNO_SUITABLE_NFTOKEN_PAGE":155,"tecNFTOKEN_BUY_SELL_MISMATCH":156,"tecNFTOKEN_OFFER_TYPE_MISMATCH":157,"tecCANT_ACCEPT_OWN_NFTOKEN_OFFER":158,"tecINSUFFICIENT_FUNDS":159,"tecOBJECT_NOT_FOUND":160,"tecINSUFFICIENT_PAYMENT":161},"TRANSACTION_TYPES":{"Invalid":-1,"Payment":0,"EscrowCreate":1,"EscrowFinish":2,"AccountSet":3,"EscrowCancel":4,"SetRegularKey":5,"NickNameSet":6,"OfferCreate":7,"OfferCancel":8,"Contract":9,"TicketCreate":10,"TicketCancel":11,"SignerListSet":12,"PaymentChannelCreate":13,"PaymentChannelFund":14,"PaymentChannelClaim":15,"CheckCreate":16,"CheckCash":17,"CheckCancel":18,"DepositPreauth":19,"TrustSet":20,"AccountDelete":21,"SetHook":22,"NFTokenMint":25,"NFTokenBurn":26,"NFTokenCreateOffer":27,"NFTokenCancelOffer":28,"NFTokenAcceptOffer":29,"EnableAmendment":100,"SetFee":101,"UNLModify":102}}');
|
80688
|
+
module.exports = JSON.parse('{"TYPES":{"Done":-1,"Unknown":-2,"NotPresent":0,"UInt16":1,"UInt32":2,"UInt64":3,"Hash128":4,"Hash256":5,"Amount":6,"Blob":7,"AccountID":8,"STObject":14,"STArray":15,"UInt8":16,"Hash160":17,"PathSet":18,"Vector256":19,"UInt96":20,"UInt192":21,"UInt384":22,"UInt512":23,"Transaction":10001,"LedgerEntry":10002,"Validation":10003,"Metadata":10004},"LEDGER_ENTRY_TYPES":{"Invalid":-1,"AccountRoot":97,"DirectoryNode":100,"RippleState":114,"Ticket":84,"SignerList":83,"Offer":111,"LedgerHashes":104,"Amendments":102,"FeeSettings":115,"Escrow":117,"PayChannel":120,"Check":67,"DepositPreauth":112,"NegativeUNL":78,"NFTokenPage":80,"NFTokenOffer":55,"Any":-3,"Child":-2,"Nickname":110,"Contract":99,"GeneratorMap":103},"FIELDS":[["Generic",{"nth":0,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["Invalid",{"nth":-1,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["ObjectEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ArrayEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["hash",{"nth":257,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["index",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["taker_gets_funded",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["taker_pays_funded",{"nth":259,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["LedgerEntry",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"LedgerEntry"}],["Transaction",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Transaction"}],["Validation",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Validation"}],["Metadata",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Metadata"}],["CloseResolution",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["Method",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TransactionResult",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TickSize",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["UNLModifyDisabling",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["HookResult",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["LedgerEntryType",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransactionType",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["SignerWeight",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransferFee",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["Version",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookStateChangeCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookEmitCount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookExecutionIndex",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookApiVersion",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["NetworkID",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Flags",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SourceTag",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Sequence",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["PreviousTxnLgrSeq",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LedgerSequence",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CloseTime",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ParentCloseTime",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SigningTime",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Expiration",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransferRate",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["WalletSize",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OwnerCount",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["DestinationTag",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityIn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityOut",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityIn",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityOut",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityIn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityOut",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["StampEscrow",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BondAmount",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LoadFee",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OfferSequence",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FirstLedgerSequence",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LastLedgerSequence",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransactionIndex",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OperationLimit",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReferenceFeeUnits",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveBase",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveIncrement",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SetFlag",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ClearFlag",{"nth":34,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerQuorum",{"nth":35,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CancelAfter",{"nth":36,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FinishAfter",{"nth":37,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerListID",{"nth":38,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SettleDelay",{"nth":39,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketCount",{"nth":40,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketSequence",{"nth":41,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["NFTokenTaxon",{"nth":42,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["MintedNFTokens",{"nth":43,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BurnedNFTokens",{"nth":44,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HookStateCount",{"nth":45,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["EmitGeneration",{"nth":46,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["IndexNext",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["IndexPrevious",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BookNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["OwnerNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BaseFee",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ExchangeRate",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["LowNode",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HighNode",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["DestinationNode",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["Cookie",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ServerVersion",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["NFTokenOfferNode",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmitBurden",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookOn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookInstructionCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookReturnCode",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ReferenceCount",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmailHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash128"}],["TakerPaysCurrency",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerPaysIssuer",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsCurrency",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsIssuer",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["LedgerHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ParentHash",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["TransactionHash",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountHash",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousTxnID",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["LedgerIndex",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["WalletLocator",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["RootIndex",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountTxnID",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenID",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitParentTxnID",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitNonce",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitHookHash",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["BookDirectory",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["InvoiceID",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Nickname",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amendment",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Digest",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Channel",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ConsensusHash",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["CheckID",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ValidatedHash",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousPageMin",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NextPageMin",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenBuyOffer",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenSellOffer",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookStateKey",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookHash",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookNamespace",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookSetTxnID",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amount",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Balance",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LimitAmount",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerPays",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerGets",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LowLimit",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["HighLimit",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Fee",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["SendMax",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliverMin",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["MinimumOffer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["RippleEscrow",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliveredAmount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["NFTokenBrokerFee",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["PublicKey",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MessageKey",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["SigningPubKey",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["TxnSignature",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["URI",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Signature",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["Domain",{"nth":7,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["FundCode",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["RemoveCode",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ExpireCode",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["CreateCode",{"nth":11,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoType",{"nth":12,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoData",{"nth":13,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoFormat",{"nth":14,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Fulfillment",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Condition",{"nth":17,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MasterSignature",{"nth":18,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["UNLModifyValidator",{"nth":19,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToDisable",{"nth":20,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToReEnable",{"nth":21,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookStateData",{"nth":22,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookReturnString",{"nth":23,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterName",{"nth":24,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterValue",{"nth":25,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Account",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Owner",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Destination",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Issuer",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Authorize",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Unauthorize",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["RegularKey",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["NFTokenMinter",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["EmitCallback",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["HookAccount",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Indexes",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Hashes",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Amendments",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["NFTokenOffers",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Paths",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"PathSet"}],["TransactionMetaData",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["CreatedNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DeletedNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ModifiedNode",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["PreviousFields",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["FinalFields",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NewFields",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["TemplateEntry",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Memo",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["SignerEntry",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NFToken",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmitDetails",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Hook",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Majority",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DisabledValidator",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmittedTxn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookExecution",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookDefinition",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookParameter",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookGrant",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signers",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":false,"type":"STArray"}],["SignerEntries",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Template",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Necessary",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Sufficient",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["AffectedNodes",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Memos",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["NFTokens",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Hooks",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Majorities",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["DisabledValidators",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookExecutions",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookParameters",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookGrants",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}]],"TRANSACTION_RESULTS":{"telLOCAL_ERROR":-399,"telBAD_DOMAIN":-398,"telBAD_PATH_COUNT":-397,"telBAD_PUBLIC_KEY":-396,"telFAILED_PROCESSING":-395,"telINSUF_FEE_P":-394,"telNO_DST_PARTIAL":-393,"telCAN_NOT_QUEUE":-392,"telCAN_NOT_QUEUE_BALANCE":-391,"telCAN_NOT_QUEUE_BLOCKS":-390,"telCAN_NOT_QUEUE_BLOCKED":-389,"telCAN_NOT_QUEUE_FEE":-388,"telCAN_NOT_QUEUE_FULL":-387,"telWRONG_NETWORK":-386,"telREQUIRES_NETWORK_ID":-385,"telNETWORK_ID_MAKES_TX_NON_CANONICAL":-384,"temMALFORMED":-299,"temBAD_AMOUNT":-298,"temBAD_CURRENCY":-297,"temBAD_EXPIRATION":-296,"temBAD_FEE":-295,"temBAD_ISSUER":-294,"temBAD_LIMIT":-293,"temBAD_OFFER":-292,"temBAD_PATH":-291,"temBAD_PATH_LOOP":-290,"temBAD_REGKEY":-289,"temBAD_SEND_XRP_LIMIT":-288,"temBAD_SEND_XRP_MAX":-287,"temBAD_SEND_XRP_NO_DIRECT":-286,"temBAD_SEND_XRP_PARTIAL":-285,"temBAD_SEND_XRP_PATHS":-284,"temBAD_SEQUENCE":-283,"temBAD_SIGNATURE":-282,"temBAD_SRC_ACCOUNT":-281,"temBAD_TRANSFER_RATE":-280,"temDST_IS_SRC":-279,"temDST_NEEDED":-278,"temINVALID":-277,"temINVALID_FLAG":-276,"temREDUNDANT":-275,"temRIPPLE_EMPTY":-274,"temDISABLED":-273,"temBAD_SIGNER":-272,"temBAD_QUORUM":-271,"temBAD_WEIGHT":-270,"temBAD_TICK_SIZE":-269,"temINVALID_ACCOUNT_ID":-268,"temCANNOT_PREAUTH_SELF":-267,"temINVALID_COUNT":-266,"temUNCERTAIN":-265,"temUNKNOWN":-264,"temSEQ_AND_TICKET":-263,"temBAD_NFTOKEN_TRANSFER_FEE":-262,"tefFAILURE":-199,"tefALREADY":-198,"tefBAD_ADD_AUTH":-197,"tefBAD_AUTH":-196,"tefBAD_LEDGER":-195,"tefCREATED":-194,"tefEXCEPTION":-193,"tefINTERNAL":-192,"tefNO_AUTH_REQUIRED":-191,"tefPAST_SEQ":-190,"tefWRONG_PRIOR":-189,"tefMASTER_DISABLED":-188,"tefMAX_LEDGER":-187,"tefBAD_SIGNATURE":-186,"tefBAD_QUORUM":-185,"tefNOT_MULTI_SIGNING":-184,"tefBAD_AUTH_MASTER":-183,"tefINVARIANT_FAILED":-182,"tefTOO_BIG":-181,"tefNO_TICKET":-180,"tefNFTOKEN_IS_NOT_TRANSFERABLE":-179,"terRETRY":-99,"terFUNDS_SPENT":-98,"terINSUF_FEE_B":-97,"terNO_ACCOUNT":-96,"terNO_AUTH":-95,"terNO_LINE":-94,"terOWNERS":-93,"terPRE_SEQ":-92,"terLAST":-91,"terNO_RIPPLE":-90,"terQUEUED":-89,"terPRE_TICKET":-88,"tesSUCCESS":0,"tecCLAIM":100,"tecPATH_PARTIAL":101,"tecUNFUNDED_ADD":102,"tecUNFUNDED_OFFER":103,"tecUNFUNDED_PAYMENT":104,"tecFAILED_PROCESSING":105,"tecDIR_FULL":121,"tecINSUF_RESERVE_LINE":122,"tecINSUF_RESERVE_OFFER":123,"tecNO_DST":124,"tecNO_DST_INSUF_XRP":125,"tecNO_LINE_INSUF_RESERVE":126,"tecNO_LINE_REDUNDANT":127,"tecPATH_DRY":128,"tecUNFUNDED":129,"tecNO_ALTERNATIVE_KEY":130,"tecNO_REGULAR_KEY":131,"tecOWNERS":132,"tecNO_ISSUER":133,"tecNO_AUTH":134,"tecNO_LINE":135,"tecINSUFF_FEE":136,"tecFROZEN":137,"tecNO_TARGET":138,"tecNO_PERMISSION":139,"tecNO_ENTRY":140,"tecINSUFFICIENT_RESERVE":141,"tecNEED_MASTER_KEY":142,"tecDST_TAG_NEEDED":143,"tecINTERNAL":144,"tecOVERSIZE":145,"tecCRYPTOCONDITION_ERROR":146,"tecINVARIANT_FAILED":147,"tecEXPIRED":148,"tecDUPLICATE":149,"tecKILLED":150,"tecHAS_OBLIGATIONS":151,"tecTOO_SOON":152,"tecMAX_SEQUENCE_REACHED":154,"tecNO_SUITABLE_NFTOKEN_PAGE":155,"tecNFTOKEN_BUY_SELL_MISMATCH":156,"tecNFTOKEN_OFFER_TYPE_MISMATCH":157,"tecCANT_ACCEPT_OWN_NFTOKEN_OFFER":158,"tecINSUFFICIENT_FUNDS":159,"tecOBJECT_NOT_FOUND":160,"tecINSUFFICIENT_PAYMENT":161},"TRANSACTION_TYPES":{"Invalid":-1,"Payment":0,"EscrowCreate":1,"EscrowFinish":2,"AccountSet":3,"EscrowCancel":4,"SetRegularKey":5,"NickNameSet":6,"OfferCreate":7,"OfferCancel":8,"Contract":9,"TicketCreate":10,"TicketCancel":11,"SignerListSet":12,"PaymentChannelCreate":13,"PaymentChannelFund":14,"PaymentChannelClaim":15,"CheckCreate":16,"CheckCash":17,"CheckCancel":18,"DepositPreauth":19,"TrustSet":20,"AccountDelete":21,"SetHook":22,"NFTokenMint":25,"NFTokenBurn":26,"NFTokenCreateOffer":27,"NFTokenCancelOffer":28,"NFTokenAcceptOffer":29,"Clawback":30,"EnableAmendment":100,"SetFee":101,"UNLModify":102}}');
|
79190
80689
|
|
79191
80690
|
/***/ }),
|
79192
80691
|
|