parse 7.1.3-alpha.1 → 8.0.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/dist/parse.js +241 -273
- package/dist/parse.min.js +1 -1
- package/dist/parse.weapp.js +241 -273
- package/dist/parse.weapp.min.js +1 -1
- package/lib/browser/CoreManager.js +1 -1
- package/lib/node/CoreManager.js +1 -1
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/weapp/CoreManager.js +1 -1
- package/package.json +8 -8
package/dist/parse.js
CHANGED
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
SERVER_URL: "https://api.parse.com/1",
|
|
192
192
|
LIVEQUERY_SERVER_URL: null,
|
|
193
193
|
ENCRYPTED_KEY: null,
|
|
194
|
-
VERSION: "
|
|
194
|
+
VERSION: "js8.0.0",
|
|
195
195
|
APPLICATION_ID: null,
|
|
196
196
|
JAVASCRIPT_KEY: null,
|
|
197
197
|
MAINTENANCE_KEY: null,
|
|
@@ -973,7 +973,6 @@
|
|
|
973
973
|
return CoreManager.getRESTController().request("POST", path, data, options);
|
|
974
974
|
},
|
|
975
975
|
download: async function(uri2, options) {
|
|
976
|
-
var _a, _b;
|
|
977
976
|
const controller = new AbortController();
|
|
978
977
|
options.requestTask(controller);
|
|
979
978
|
const { signal } = controller;
|
|
@@ -983,7 +982,7 @@
|
|
|
983
982
|
const length = +response.headers.get("Content-Length") || 0;
|
|
984
983
|
const contentType = response.headers.get("Content-Type");
|
|
985
984
|
if (length === 0) {
|
|
986
|
-
|
|
985
|
+
options.progress?.(null, null, null);
|
|
987
986
|
return {
|
|
988
987
|
base64: "",
|
|
989
988
|
contentType
|
|
@@ -997,8 +996,8 @@
|
|
|
997
996
|
break;
|
|
998
997
|
}
|
|
999
998
|
chunks.push(value);
|
|
1000
|
-
recieved +=
|
|
1001
|
-
|
|
999
|
+
recieved += value?.length || 0;
|
|
1000
|
+
options.progress?.(recieved / length, recieved, length);
|
|
1002
1001
|
}
|
|
1003
1002
|
const body = new Uint8Array(recieved);
|
|
1004
1003
|
let offset = 0;
|
|
@@ -2317,8 +2316,8 @@
|
|
|
2317
2316
|
function requireDist() {
|
|
2318
2317
|
if (hasRequiredDist) return dist;
|
|
2319
2318
|
hasRequiredDist = 1;
|
|
2320
|
-
(function(
|
|
2321
|
-
Object.defineProperties(
|
|
2319
|
+
(function(exports$12) {
|
|
2320
|
+
Object.defineProperties(exports$12, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
2322
2321
|
var buffer2 = {};
|
|
2323
2322
|
var base64Js2 = {};
|
|
2324
2323
|
base64Js2.byteLength = byteLength2;
|
|
@@ -2414,7 +2413,6 @@
|
|
|
2414
2413
|
return parts.join("");
|
|
2415
2414
|
}
|
|
2416
2415
|
var ieee7542 = {};
|
|
2417
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2418
2416
|
ieee7542.read = function(buffer3, offset, isLE, mLen, nBytes) {
|
|
2419
2417
|
var e, m;
|
|
2420
2418
|
var eLen = nBytes * 8 - mLen - 1;
|
|
@@ -2492,21 +2490,15 @@
|
|
|
2492
2490
|
}
|
|
2493
2491
|
buffer3[offset + i3 - d] |= s * 128;
|
|
2494
2492
|
};
|
|
2495
|
-
|
|
2496
|
-
* The buffer module from node.js, for the browser.
|
|
2497
|
-
*
|
|
2498
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
2499
|
-
* @license MIT
|
|
2500
|
-
*/
|
|
2501
|
-
(function(exports3) {
|
|
2493
|
+
(function(exports$13) {
|
|
2502
2494
|
const base64 = base64Js2;
|
|
2503
2495
|
const ieee754$1 = ieee7542;
|
|
2504
2496
|
const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2497
|
+
exports$13.Buffer = Buffer3;
|
|
2498
|
+
exports$13.SlowBuffer = SlowBuffer;
|
|
2499
|
+
exports$13.INSPECT_MAX_BYTES = 50;
|
|
2508
2500
|
const K_MAX_LENGTH = 2147483647;
|
|
2509
|
-
|
|
2501
|
+
exports$13.kMaxLength = K_MAX_LENGTH;
|
|
2510
2502
|
const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
|
|
2511
2503
|
Buffer3.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
2512
2504
|
if (!Buffer3.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
|
|
@@ -2937,7 +2929,7 @@
|
|
|
2937
2929
|
};
|
|
2938
2930
|
Buffer3.prototype.inspect = function inspect() {
|
|
2939
2931
|
let str = "";
|
|
2940
|
-
const max2 =
|
|
2932
|
+
const max2 = exports$13.INSPECT_MAX_BYTES;
|
|
2941
2933
|
str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
|
|
2942
2934
|
if (this.length > max2) str += " ... ";
|
|
2943
2935
|
return "<Buffer " + str + ">";
|
|
@@ -4085,24 +4077,24 @@
|
|
|
4085
4077
|
}
|
|
4086
4078
|
})(buffer2);
|
|
4087
4079
|
const Buffer2 = buffer2.Buffer;
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4080
|
+
exports$12.Blob = buffer2.Blob;
|
|
4081
|
+
exports$12.BlobOptions = buffer2.BlobOptions;
|
|
4082
|
+
exports$12.Buffer = buffer2.Buffer;
|
|
4083
|
+
exports$12.File = buffer2.File;
|
|
4084
|
+
exports$12.FileOptions = buffer2.FileOptions;
|
|
4085
|
+
exports$12.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
|
|
4086
|
+
exports$12.SlowBuffer = buffer2.SlowBuffer;
|
|
4087
|
+
exports$12.TranscodeEncoding = buffer2.TranscodeEncoding;
|
|
4088
|
+
exports$12.atob = buffer2.atob;
|
|
4089
|
+
exports$12.btoa = buffer2.btoa;
|
|
4090
|
+
exports$12.constants = buffer2.constants;
|
|
4091
|
+
exports$12.default = Buffer2;
|
|
4092
|
+
exports$12.isAscii = buffer2.isAscii;
|
|
4093
|
+
exports$12.isUtf8 = buffer2.isUtf8;
|
|
4094
|
+
exports$12.kMaxLength = buffer2.kMaxLength;
|
|
4095
|
+
exports$12.kStringMaxLength = buffer2.kStringMaxLength;
|
|
4096
|
+
exports$12.resolveObjectURL = buffer2.resolveObjectURL;
|
|
4097
|
+
exports$12.transcode = buffer2.transcode;
|
|
4106
4098
|
})(dist);
|
|
4107
4099
|
return dist;
|
|
4108
4100
|
}
|
|
@@ -4110,7 +4102,7 @@
|
|
|
4110
4102
|
function requireSafeBuffer$a() {
|
|
4111
4103
|
if (hasRequiredSafeBuffer$a) return safeBuffer$a.exports;
|
|
4112
4104
|
hasRequiredSafeBuffer$a = 1;
|
|
4113
|
-
(function(module,
|
|
4105
|
+
(function(module, exports$12) {
|
|
4114
4106
|
var buffer2 = requireDist();
|
|
4115
4107
|
var Buffer2 = buffer2.Buffer;
|
|
4116
4108
|
function copyProps(src, dst) {
|
|
@@ -4121,8 +4113,8 @@
|
|
|
4121
4113
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
4122
4114
|
module.exports = buffer2;
|
|
4123
4115
|
} else {
|
|
4124
|
-
copyProps(buffer2,
|
|
4125
|
-
|
|
4116
|
+
copyProps(buffer2, exports$12);
|
|
4117
|
+
exports$12.Buffer = SafeBuffer;
|
|
4126
4118
|
}
|
|
4127
4119
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
4128
4120
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -4236,12 +4228,11 @@
|
|
|
4236
4228
|
return inherits_browser.exports;
|
|
4237
4229
|
}
|
|
4238
4230
|
var safeBuffer$9 = { exports: {} };
|
|
4239
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
4240
4231
|
var hasRequiredSafeBuffer$9;
|
|
4241
4232
|
function requireSafeBuffer$9() {
|
|
4242
4233
|
if (hasRequiredSafeBuffer$9) return safeBuffer$9.exports;
|
|
4243
4234
|
hasRequiredSafeBuffer$9 = 1;
|
|
4244
|
-
(function(module,
|
|
4235
|
+
(function(module, exports$12) {
|
|
4245
4236
|
var buffer2 = requireDist();
|
|
4246
4237
|
var Buffer2 = buffer2.Buffer;
|
|
4247
4238
|
function copyProps(src, dst) {
|
|
@@ -4252,8 +4243,8 @@
|
|
|
4252
4243
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
4253
4244
|
module.exports = buffer2;
|
|
4254
4245
|
} else {
|
|
4255
|
-
copyProps(buffer2,
|
|
4256
|
-
|
|
4246
|
+
copyProps(buffer2, exports$12);
|
|
4247
|
+
exports$12.Buffer = SafeBuffer;
|
|
4257
4248
|
}
|
|
4258
4249
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
4259
4250
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -5465,7 +5456,7 @@
|
|
|
5465
5456
|
if (!allowMissing) {
|
|
5466
5457
|
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
5467
5458
|
}
|
|
5468
|
-
return void
|
|
5459
|
+
return void undefined$1;
|
|
5469
5460
|
}
|
|
5470
5461
|
if ($gOPD && i2 + 1 >= parts.length) {
|
|
5471
5462
|
var desc = $gOPD(value, part);
|
|
@@ -6173,7 +6164,7 @@
|
|
|
6173
6164
|
function requireTypes() {
|
|
6174
6165
|
if (hasRequiredTypes) return types;
|
|
6175
6166
|
hasRequiredTypes = 1;
|
|
6176
|
-
(function(
|
|
6167
|
+
(function(exports$12) {
|
|
6177
6168
|
var isArgumentsObject = /* @__PURE__ */ requireIsArguments();
|
|
6178
6169
|
var isGeneratorFunction2 = requireIsGeneratorFunction();
|
|
6179
6170
|
var whichTypedArray2 = /* @__PURE__ */ requireWhichTypedArray();
|
|
@@ -6204,64 +6195,64 @@
|
|
|
6204
6195
|
return false;
|
|
6205
6196
|
}
|
|
6206
6197
|
}
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6198
|
+
exports$12.isArgumentsObject = isArgumentsObject;
|
|
6199
|
+
exports$12.isGeneratorFunction = isGeneratorFunction2;
|
|
6200
|
+
exports$12.isTypedArray = isTypedArray2;
|
|
6210
6201
|
function isPromise(input) {
|
|
6211
6202
|
return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
|
|
6212
6203
|
}
|
|
6213
|
-
|
|
6204
|
+
exports$12.isPromise = isPromise;
|
|
6214
6205
|
function isArrayBufferView(value) {
|
|
6215
6206
|
if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
|
|
6216
6207
|
return ArrayBuffer.isView(value);
|
|
6217
6208
|
}
|
|
6218
6209
|
return isTypedArray2(value) || isDataView(value);
|
|
6219
6210
|
}
|
|
6220
|
-
|
|
6211
|
+
exports$12.isArrayBufferView = isArrayBufferView;
|
|
6221
6212
|
function isUint8Array(value) {
|
|
6222
6213
|
return whichTypedArray2(value) === "Uint8Array";
|
|
6223
6214
|
}
|
|
6224
|
-
|
|
6215
|
+
exports$12.isUint8Array = isUint8Array;
|
|
6225
6216
|
function isUint8ClampedArray(value) {
|
|
6226
6217
|
return whichTypedArray2(value) === "Uint8ClampedArray";
|
|
6227
6218
|
}
|
|
6228
|
-
|
|
6219
|
+
exports$12.isUint8ClampedArray = isUint8ClampedArray;
|
|
6229
6220
|
function isUint16Array(value) {
|
|
6230
6221
|
return whichTypedArray2(value) === "Uint16Array";
|
|
6231
6222
|
}
|
|
6232
|
-
|
|
6223
|
+
exports$12.isUint16Array = isUint16Array;
|
|
6233
6224
|
function isUint32Array(value) {
|
|
6234
6225
|
return whichTypedArray2(value) === "Uint32Array";
|
|
6235
6226
|
}
|
|
6236
|
-
|
|
6227
|
+
exports$12.isUint32Array = isUint32Array;
|
|
6237
6228
|
function isInt8Array(value) {
|
|
6238
6229
|
return whichTypedArray2(value) === "Int8Array";
|
|
6239
6230
|
}
|
|
6240
|
-
|
|
6231
|
+
exports$12.isInt8Array = isInt8Array;
|
|
6241
6232
|
function isInt16Array(value) {
|
|
6242
6233
|
return whichTypedArray2(value) === "Int16Array";
|
|
6243
6234
|
}
|
|
6244
|
-
|
|
6235
|
+
exports$12.isInt16Array = isInt16Array;
|
|
6245
6236
|
function isInt32Array(value) {
|
|
6246
6237
|
return whichTypedArray2(value) === "Int32Array";
|
|
6247
6238
|
}
|
|
6248
|
-
|
|
6239
|
+
exports$12.isInt32Array = isInt32Array;
|
|
6249
6240
|
function isFloat32Array(value) {
|
|
6250
6241
|
return whichTypedArray2(value) === "Float32Array";
|
|
6251
6242
|
}
|
|
6252
|
-
|
|
6243
|
+
exports$12.isFloat32Array = isFloat32Array;
|
|
6253
6244
|
function isFloat64Array(value) {
|
|
6254
6245
|
return whichTypedArray2(value) === "Float64Array";
|
|
6255
6246
|
}
|
|
6256
|
-
|
|
6247
|
+
exports$12.isFloat64Array = isFloat64Array;
|
|
6257
6248
|
function isBigInt64Array(value) {
|
|
6258
6249
|
return whichTypedArray2(value) === "BigInt64Array";
|
|
6259
6250
|
}
|
|
6260
|
-
|
|
6251
|
+
exports$12.isBigInt64Array = isBigInt64Array;
|
|
6261
6252
|
function isBigUint64Array(value) {
|
|
6262
6253
|
return whichTypedArray2(value) === "BigUint64Array";
|
|
6263
6254
|
}
|
|
6264
|
-
|
|
6255
|
+
exports$12.isBigUint64Array = isBigUint64Array;
|
|
6265
6256
|
function isMapToString(value) {
|
|
6266
6257
|
return ObjectToString(value) === "[object Map]";
|
|
6267
6258
|
}
|
|
@@ -6272,7 +6263,7 @@
|
|
|
6272
6263
|
}
|
|
6273
6264
|
return isMapToString.working ? isMapToString(value) : value instanceof Map;
|
|
6274
6265
|
}
|
|
6275
|
-
|
|
6266
|
+
exports$12.isMap = isMap;
|
|
6276
6267
|
function isSetToString(value) {
|
|
6277
6268
|
return ObjectToString(value) === "[object Set]";
|
|
6278
6269
|
}
|
|
@@ -6283,7 +6274,7 @@
|
|
|
6283
6274
|
}
|
|
6284
6275
|
return isSetToString.working ? isSetToString(value) : value instanceof Set;
|
|
6285
6276
|
}
|
|
6286
|
-
|
|
6277
|
+
exports$12.isSet = isSet;
|
|
6287
6278
|
function isWeakMapToString(value) {
|
|
6288
6279
|
return ObjectToString(value) === "[object WeakMap]";
|
|
6289
6280
|
}
|
|
@@ -6294,7 +6285,7 @@
|
|
|
6294
6285
|
}
|
|
6295
6286
|
return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
|
|
6296
6287
|
}
|
|
6297
|
-
|
|
6288
|
+
exports$12.isWeakMap = isWeakMap;
|
|
6298
6289
|
function isWeakSetToString(value) {
|
|
6299
6290
|
return ObjectToString(value) === "[object WeakSet]";
|
|
6300
6291
|
}
|
|
@@ -6302,7 +6293,7 @@
|
|
|
6302
6293
|
function isWeakSet(value) {
|
|
6303
6294
|
return isWeakSetToString(value);
|
|
6304
6295
|
}
|
|
6305
|
-
|
|
6296
|
+
exports$12.isWeakSet = isWeakSet;
|
|
6306
6297
|
function isArrayBufferToString(value) {
|
|
6307
6298
|
return ObjectToString(value) === "[object ArrayBuffer]";
|
|
6308
6299
|
}
|
|
@@ -6313,7 +6304,7 @@
|
|
|
6313
6304
|
}
|
|
6314
6305
|
return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
|
|
6315
6306
|
}
|
|
6316
|
-
|
|
6307
|
+
exports$12.isArrayBuffer = isArrayBuffer;
|
|
6317
6308
|
function isDataViewToString(value) {
|
|
6318
6309
|
return ObjectToString(value) === "[object DataView]";
|
|
6319
6310
|
}
|
|
@@ -6324,7 +6315,7 @@
|
|
|
6324
6315
|
}
|
|
6325
6316
|
return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
|
|
6326
6317
|
}
|
|
6327
|
-
|
|
6318
|
+
exports$12.isDataView = isDataView;
|
|
6328
6319
|
var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
|
|
6329
6320
|
function isSharedArrayBufferToString(value) {
|
|
6330
6321
|
return ObjectToString(value) === "[object SharedArrayBuffer]";
|
|
@@ -6338,57 +6329,57 @@
|
|
|
6338
6329
|
}
|
|
6339
6330
|
return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
|
|
6340
6331
|
}
|
|
6341
|
-
|
|
6332
|
+
exports$12.isSharedArrayBuffer = isSharedArrayBuffer;
|
|
6342
6333
|
function isAsyncFunction(value) {
|
|
6343
6334
|
return ObjectToString(value) === "[object AsyncFunction]";
|
|
6344
6335
|
}
|
|
6345
|
-
|
|
6336
|
+
exports$12.isAsyncFunction = isAsyncFunction;
|
|
6346
6337
|
function isMapIterator(value) {
|
|
6347
6338
|
return ObjectToString(value) === "[object Map Iterator]";
|
|
6348
6339
|
}
|
|
6349
|
-
|
|
6340
|
+
exports$12.isMapIterator = isMapIterator;
|
|
6350
6341
|
function isSetIterator(value) {
|
|
6351
6342
|
return ObjectToString(value) === "[object Set Iterator]";
|
|
6352
6343
|
}
|
|
6353
|
-
|
|
6344
|
+
exports$12.isSetIterator = isSetIterator;
|
|
6354
6345
|
function isGeneratorObject(value) {
|
|
6355
6346
|
return ObjectToString(value) === "[object Generator]";
|
|
6356
6347
|
}
|
|
6357
|
-
|
|
6348
|
+
exports$12.isGeneratorObject = isGeneratorObject;
|
|
6358
6349
|
function isWebAssemblyCompiledModule(value) {
|
|
6359
6350
|
return ObjectToString(value) === "[object WebAssembly.Module]";
|
|
6360
6351
|
}
|
|
6361
|
-
|
|
6352
|
+
exports$12.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
|
|
6362
6353
|
function isNumberObject(value) {
|
|
6363
6354
|
return checkBoxedPrimitive(value, numberValue);
|
|
6364
6355
|
}
|
|
6365
|
-
|
|
6356
|
+
exports$12.isNumberObject = isNumberObject;
|
|
6366
6357
|
function isStringObject(value) {
|
|
6367
6358
|
return checkBoxedPrimitive(value, stringValue);
|
|
6368
6359
|
}
|
|
6369
|
-
|
|
6360
|
+
exports$12.isStringObject = isStringObject;
|
|
6370
6361
|
function isBooleanObject(value) {
|
|
6371
6362
|
return checkBoxedPrimitive(value, booleanValue);
|
|
6372
6363
|
}
|
|
6373
|
-
|
|
6364
|
+
exports$12.isBooleanObject = isBooleanObject;
|
|
6374
6365
|
function isBigIntObject(value) {
|
|
6375
6366
|
return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
|
|
6376
6367
|
}
|
|
6377
|
-
|
|
6368
|
+
exports$12.isBigIntObject = isBigIntObject;
|
|
6378
6369
|
function isSymbolObject(value) {
|
|
6379
6370
|
return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
|
|
6380
6371
|
}
|
|
6381
|
-
|
|
6372
|
+
exports$12.isSymbolObject = isSymbolObject;
|
|
6382
6373
|
function isBoxedPrimitive(value) {
|
|
6383
6374
|
return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
|
|
6384
6375
|
}
|
|
6385
|
-
|
|
6376
|
+
exports$12.isBoxedPrimitive = isBoxedPrimitive;
|
|
6386
6377
|
function isAnyArrayBuffer(value) {
|
|
6387
6378
|
return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
|
|
6388
6379
|
}
|
|
6389
|
-
|
|
6380
|
+
exports$12.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
6390
6381
|
["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
|
|
6391
|
-
Object.defineProperty(
|
|
6382
|
+
Object.defineProperty(exports$12, method, {
|
|
6392
6383
|
enumerable: false,
|
|
6393
6384
|
value: function() {
|
|
6394
6385
|
throw new Error(method + " is not supported in userland");
|
|
@@ -6412,7 +6403,7 @@
|
|
|
6412
6403
|
function requireUtil$1() {
|
|
6413
6404
|
if (hasRequiredUtil$1) return util$1;
|
|
6414
6405
|
hasRequiredUtil$1 = 1;
|
|
6415
|
-
(function(
|
|
6406
|
+
(function(exports$12) {
|
|
6416
6407
|
var define_process_env_default2 = {};
|
|
6417
6408
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
6418
6409
|
var keys2 = Object.keys(obj);
|
|
@@ -6423,7 +6414,7 @@
|
|
|
6423
6414
|
return descriptors;
|
|
6424
6415
|
};
|
|
6425
6416
|
var formatRegExp = /%[sdj%]/g;
|
|
6426
|
-
|
|
6417
|
+
exports$12.format = function(f) {
|
|
6427
6418
|
if (!isString(f)) {
|
|
6428
6419
|
var objects = [];
|
|
6429
6420
|
for (var i2 = 0; i2 < arguments.length; i2++) {
|
|
@@ -6461,13 +6452,13 @@
|
|
|
6461
6452
|
}
|
|
6462
6453
|
return str;
|
|
6463
6454
|
};
|
|
6464
|
-
|
|
6455
|
+
exports$12.deprecate = function(fn, msg) {
|
|
6465
6456
|
if (typeof process$1 !== "undefined" && process$1.noDeprecation === true) {
|
|
6466
6457
|
return fn;
|
|
6467
6458
|
}
|
|
6468
6459
|
if (typeof process$1 === "undefined") {
|
|
6469
6460
|
return function() {
|
|
6470
|
-
return
|
|
6461
|
+
return exports$12.deprecate(fn, msg).apply(this, arguments);
|
|
6471
6462
|
};
|
|
6472
6463
|
}
|
|
6473
6464
|
var warned = false;
|
|
@@ -6493,13 +6484,13 @@
|
|
|
6493
6484
|
debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
|
|
6494
6485
|
debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
|
|
6495
6486
|
}
|
|
6496
|
-
|
|
6487
|
+
exports$12.debuglog = function(set2) {
|
|
6497
6488
|
set2 = set2.toUpperCase();
|
|
6498
6489
|
if (!debugs[set2]) {
|
|
6499
6490
|
if (debugEnvRegex.test(set2)) {
|
|
6500
6491
|
var pid = process$1.pid;
|
|
6501
6492
|
debugs[set2] = function() {
|
|
6502
|
-
var msg =
|
|
6493
|
+
var msg = exports$12.format.apply(exports$12, arguments);
|
|
6503
6494
|
console.error("%s %d: %s", set2, pid, msg);
|
|
6504
6495
|
};
|
|
6505
6496
|
} else {
|
|
@@ -6519,7 +6510,7 @@
|
|
|
6519
6510
|
if (isBoolean(opts)) {
|
|
6520
6511
|
ctx.showHidden = opts;
|
|
6521
6512
|
} else if (opts) {
|
|
6522
|
-
|
|
6513
|
+
exports$12._extend(ctx, opts);
|
|
6523
6514
|
}
|
|
6524
6515
|
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
|
6525
6516
|
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
|
@@ -6528,7 +6519,7 @@
|
|
|
6528
6519
|
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
|
6529
6520
|
return formatValue(ctx, obj, ctx.depth);
|
|
6530
6521
|
}
|
|
6531
|
-
|
|
6522
|
+
exports$12.inspect = inspect;
|
|
6532
6523
|
inspect.colors = {
|
|
6533
6524
|
"bold": [1, 22],
|
|
6534
6525
|
"italic": [3, 23],
|
|
@@ -6575,7 +6566,7 @@
|
|
|
6575
6566
|
}
|
|
6576
6567
|
function formatValue(ctx, value, recurseTimes) {
|
|
6577
6568
|
if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special
|
|
6578
|
-
value.inspect !==
|
|
6569
|
+
value.inspect !== exports$12.inspect && // Also filter out any prototype objects using the circular check.
|
|
6579
6570
|
!(value.constructor && value.constructor.prototype === value)) {
|
|
6580
6571
|
var ret = value.inspect(recurseTimes, ctx);
|
|
6581
6572
|
if (!isString(ret)) {
|
|
@@ -6761,68 +6752,68 @@
|
|
|
6761
6752
|
}
|
|
6762
6753
|
return braces[0] + base2 + " " + output.join(", ") + " " + braces[1];
|
|
6763
6754
|
}
|
|
6764
|
-
|
|
6755
|
+
exports$12.types = requireTypes();
|
|
6765
6756
|
function isArray(ar) {
|
|
6766
6757
|
return Array.isArray(ar);
|
|
6767
6758
|
}
|
|
6768
|
-
|
|
6759
|
+
exports$12.isArray = isArray;
|
|
6769
6760
|
function isBoolean(arg) {
|
|
6770
6761
|
return typeof arg === "boolean";
|
|
6771
6762
|
}
|
|
6772
|
-
|
|
6763
|
+
exports$12.isBoolean = isBoolean;
|
|
6773
6764
|
function isNull(arg) {
|
|
6774
6765
|
return arg === null;
|
|
6775
6766
|
}
|
|
6776
|
-
|
|
6767
|
+
exports$12.isNull = isNull;
|
|
6777
6768
|
function isNullOrUndefined(arg) {
|
|
6778
6769
|
return arg == null;
|
|
6779
6770
|
}
|
|
6780
|
-
|
|
6771
|
+
exports$12.isNullOrUndefined = isNullOrUndefined;
|
|
6781
6772
|
function isNumber(arg) {
|
|
6782
6773
|
return typeof arg === "number";
|
|
6783
6774
|
}
|
|
6784
|
-
|
|
6775
|
+
exports$12.isNumber = isNumber;
|
|
6785
6776
|
function isString(arg) {
|
|
6786
6777
|
return typeof arg === "string";
|
|
6787
6778
|
}
|
|
6788
|
-
|
|
6779
|
+
exports$12.isString = isString;
|
|
6789
6780
|
function isSymbol(arg) {
|
|
6790
6781
|
return typeof arg === "symbol";
|
|
6791
6782
|
}
|
|
6792
|
-
|
|
6783
|
+
exports$12.isSymbol = isSymbol;
|
|
6793
6784
|
function isUndefined(arg) {
|
|
6794
6785
|
return arg === void 0;
|
|
6795
6786
|
}
|
|
6796
|
-
|
|
6787
|
+
exports$12.isUndefined = isUndefined;
|
|
6797
6788
|
function isRegExp(re) {
|
|
6798
6789
|
return isObject(re) && objectToString(re) === "[object RegExp]";
|
|
6799
6790
|
}
|
|
6800
|
-
|
|
6801
|
-
|
|
6791
|
+
exports$12.isRegExp = isRegExp;
|
|
6792
|
+
exports$12.types.isRegExp = isRegExp;
|
|
6802
6793
|
function isObject(arg) {
|
|
6803
6794
|
return typeof arg === "object" && arg !== null;
|
|
6804
6795
|
}
|
|
6805
|
-
|
|
6796
|
+
exports$12.isObject = isObject;
|
|
6806
6797
|
function isDate(d) {
|
|
6807
6798
|
return isObject(d) && objectToString(d) === "[object Date]";
|
|
6808
6799
|
}
|
|
6809
|
-
|
|
6810
|
-
|
|
6800
|
+
exports$12.isDate = isDate;
|
|
6801
|
+
exports$12.types.isDate = isDate;
|
|
6811
6802
|
function isError(e) {
|
|
6812
6803
|
return isObject(e) && (objectToString(e) === "[object Error]" || e instanceof Error);
|
|
6813
6804
|
}
|
|
6814
|
-
|
|
6815
|
-
|
|
6805
|
+
exports$12.isError = isError;
|
|
6806
|
+
exports$12.types.isNativeError = isError;
|
|
6816
6807
|
function isFunction(arg) {
|
|
6817
6808
|
return typeof arg === "function";
|
|
6818
6809
|
}
|
|
6819
|
-
|
|
6810
|
+
exports$12.isFunction = isFunction;
|
|
6820
6811
|
function isPrimitive(arg) {
|
|
6821
6812
|
return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
|
|
6822
6813
|
typeof arg === "undefined";
|
|
6823
6814
|
}
|
|
6824
|
-
|
|
6825
|
-
|
|
6815
|
+
exports$12.isPrimitive = isPrimitive;
|
|
6816
|
+
exports$12.isBuffer = requireIsBufferBrowser();
|
|
6826
6817
|
function objectToString(o) {
|
|
6827
6818
|
return Object.prototype.toString.call(o);
|
|
6828
6819
|
}
|
|
@@ -6852,11 +6843,11 @@
|
|
|
6852
6843
|
].join(":");
|
|
6853
6844
|
return [d.getDate(), months[d.getMonth()], time].join(" ");
|
|
6854
6845
|
}
|
|
6855
|
-
|
|
6856
|
-
console.log("%s - %s", timestamp(),
|
|
6846
|
+
exports$12.log = function() {
|
|
6847
|
+
console.log("%s - %s", timestamp(), exports$12.format.apply(exports$12, arguments));
|
|
6857
6848
|
};
|
|
6858
|
-
|
|
6859
|
-
|
|
6849
|
+
exports$12.inherits = requireInherits_browser();
|
|
6850
|
+
exports$12._extend = function(origin, add) {
|
|
6860
6851
|
if (!add || !isObject(add)) return origin;
|
|
6861
6852
|
var keys2 = Object.keys(add);
|
|
6862
6853
|
var i2 = keys2.length;
|
|
@@ -6869,7 +6860,7 @@
|
|
|
6869
6860
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
6870
6861
|
}
|
|
6871
6862
|
var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
|
|
6872
|
-
|
|
6863
|
+
exports$12.promisify = function promisify(original) {
|
|
6873
6864
|
if (typeof original !== "function")
|
|
6874
6865
|
throw new TypeError('The "original" argument must be of type Function');
|
|
6875
6866
|
if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
|
|
@@ -6921,7 +6912,7 @@
|
|
|
6921
6912
|
getOwnPropertyDescriptors(original)
|
|
6922
6913
|
);
|
|
6923
6914
|
};
|
|
6924
|
-
|
|
6915
|
+
exports$12.promisify.custom = kCustomPromisifiedSymbol;
|
|
6925
6916
|
function callbackifyOnRejected(reason, cb) {
|
|
6926
6917
|
if (!reason) {
|
|
6927
6918
|
var newReason = new Error("Promise was rejected with a falsy value");
|
|
@@ -6963,7 +6954,7 @@
|
|
|
6963
6954
|
);
|
|
6964
6955
|
return callbackified;
|
|
6965
6956
|
}
|
|
6966
|
-
|
|
6957
|
+
exports$12.callbackify = callbackify;
|
|
6967
6958
|
})(util$1);
|
|
6968
6959
|
return util$1;
|
|
6969
6960
|
}
|
|
@@ -8021,12 +8012,11 @@
|
|
|
8021
8012
|
}
|
|
8022
8013
|
var string_decoder = {};
|
|
8023
8014
|
var safeBuffer$8 = { exports: {} };
|
|
8024
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
8025
8015
|
var hasRequiredSafeBuffer$8;
|
|
8026
8016
|
function requireSafeBuffer$8() {
|
|
8027
8017
|
if (hasRequiredSafeBuffer$8) return safeBuffer$8.exports;
|
|
8028
8018
|
hasRequiredSafeBuffer$8 = 1;
|
|
8029
|
-
(function(module,
|
|
8019
|
+
(function(module, exports$12) {
|
|
8030
8020
|
var buffer2 = requireDist();
|
|
8031
8021
|
var Buffer2 = buffer2.Buffer;
|
|
8032
8022
|
function copyProps(src, dst) {
|
|
@@ -8037,8 +8027,8 @@
|
|
|
8037
8027
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
8038
8028
|
module.exports = buffer2;
|
|
8039
8029
|
} else {
|
|
8040
|
-
copyProps(buffer2,
|
|
8041
|
-
|
|
8030
|
+
copyProps(buffer2, exports$12);
|
|
8031
|
+
exports$12.Buffer = SafeBuffer;
|
|
8042
8032
|
}
|
|
8043
8033
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
8044
8034
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -10261,12 +10251,11 @@
|
|
|
10261
10251
|
}
|
|
10262
10252
|
var sha_js = { exports: {} };
|
|
10263
10253
|
var safeBuffer$7 = { exports: {} };
|
|
10264
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
10265
10254
|
var hasRequiredSafeBuffer$7;
|
|
10266
10255
|
function requireSafeBuffer$7() {
|
|
10267
10256
|
if (hasRequiredSafeBuffer$7) return safeBuffer$7.exports;
|
|
10268
10257
|
hasRequiredSafeBuffer$7 = 1;
|
|
10269
|
-
(function(module,
|
|
10258
|
+
(function(module, exports$12) {
|
|
10270
10259
|
var buffer2 = requireDist();
|
|
10271
10260
|
var Buffer2 = buffer2.Buffer;
|
|
10272
10261
|
function copyProps(src, dst) {
|
|
@@ -10277,8 +10266,8 @@
|
|
|
10277
10266
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
10278
10267
|
module.exports = buffer2;
|
|
10279
10268
|
} else {
|
|
10280
|
-
copyProps(buffer2,
|
|
10281
|
-
|
|
10269
|
+
copyProps(buffer2, exports$12);
|
|
10270
|
+
exports$12.Buffer = SafeBuffer;
|
|
10282
10271
|
}
|
|
10283
10272
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
10284
10273
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -10323,12 +10312,11 @@
|
|
|
10323
10312
|
return safeBuffer$7.exports;
|
|
10324
10313
|
}
|
|
10325
10314
|
var safeBuffer$6 = { exports: {} };
|
|
10326
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
10327
10315
|
var hasRequiredSafeBuffer$6;
|
|
10328
10316
|
function requireSafeBuffer$6() {
|
|
10329
10317
|
if (hasRequiredSafeBuffer$6) return safeBuffer$6.exports;
|
|
10330
10318
|
hasRequiredSafeBuffer$6 = 1;
|
|
10331
|
-
(function(module,
|
|
10319
|
+
(function(module, exports$12) {
|
|
10332
10320
|
var buffer2 = requireDist();
|
|
10333
10321
|
var Buffer2 = buffer2.Buffer;
|
|
10334
10322
|
function copyProps(src, dst) {
|
|
@@ -10339,8 +10327,8 @@
|
|
|
10339
10327
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
10340
10328
|
module.exports = buffer2;
|
|
10341
10329
|
} else {
|
|
10342
|
-
copyProps(buffer2,
|
|
10343
|
-
|
|
10330
|
+
copyProps(buffer2, exports$12);
|
|
10331
|
+
exports$12.Buffer = SafeBuffer;
|
|
10344
10332
|
}
|
|
10345
10333
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
10346
10334
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -11326,12 +11314,11 @@
|
|
|
11326
11314
|
return sha_js.exports;
|
|
11327
11315
|
}
|
|
11328
11316
|
var safeBuffer$5 = { exports: {} };
|
|
11329
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
11330
11317
|
var hasRequiredSafeBuffer$5;
|
|
11331
11318
|
function requireSafeBuffer$5() {
|
|
11332
11319
|
if (hasRequiredSafeBuffer$5) return safeBuffer$5.exports;
|
|
11333
11320
|
hasRequiredSafeBuffer$5 = 1;
|
|
11334
|
-
(function(module,
|
|
11321
|
+
(function(module, exports$12) {
|
|
11335
11322
|
var buffer2 = requireDist();
|
|
11336
11323
|
var Buffer2 = buffer2.Buffer;
|
|
11337
11324
|
function copyProps(src, dst) {
|
|
@@ -11342,8 +11329,8 @@
|
|
|
11342
11329
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
11343
11330
|
module.exports = buffer2;
|
|
11344
11331
|
} else {
|
|
11345
|
-
copyProps(buffer2,
|
|
11346
|
-
|
|
11332
|
+
copyProps(buffer2, exports$12);
|
|
11333
|
+
exports$12.Buffer = SafeBuffer;
|
|
11347
11334
|
}
|
|
11348
11335
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
11349
11336
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -11698,12 +11685,11 @@
|
|
|
11698
11685
|
}
|
|
11699
11686
|
var browser$8 = {};
|
|
11700
11687
|
var safeBuffer$4 = { exports: {} };
|
|
11701
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
11702
11688
|
var hasRequiredSafeBuffer$4;
|
|
11703
11689
|
function requireSafeBuffer$4() {
|
|
11704
11690
|
if (hasRequiredSafeBuffer$4) return safeBuffer$4.exports;
|
|
11705
11691
|
hasRequiredSafeBuffer$4 = 1;
|
|
11706
|
-
(function(module,
|
|
11692
|
+
(function(module, exports$12) {
|
|
11707
11693
|
var buffer2 = requireDist();
|
|
11708
11694
|
var Buffer2 = buffer2.Buffer;
|
|
11709
11695
|
function copyProps(src, dst) {
|
|
@@ -11714,8 +11700,8 @@
|
|
|
11714
11700
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
11715
11701
|
module.exports = buffer2;
|
|
11716
11702
|
} else {
|
|
11717
|
-
copyProps(buffer2,
|
|
11718
|
-
|
|
11703
|
+
copyProps(buffer2, exports$12);
|
|
11704
|
+
exports$12.Buffer = SafeBuffer;
|
|
11719
11705
|
}
|
|
11720
11706
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
11721
11707
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -11893,7 +11879,6 @@
|
|
|
11893
11879
|
return parts.join("");
|
|
11894
11880
|
}
|
|
11895
11881
|
var ieee754 = {};
|
|
11896
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
11897
11882
|
ieee754.read = function(buffer2, offset, isLE, mLen, nBytes) {
|
|
11898
11883
|
var e, m;
|
|
11899
11884
|
var eLen = nBytes * 8 - mLen - 1;
|
|
@@ -11971,21 +11956,15 @@
|
|
|
11971
11956
|
}
|
|
11972
11957
|
buffer2[offset + i2 - d] |= s * 128;
|
|
11973
11958
|
};
|
|
11974
|
-
|
|
11975
|
-
* The buffer module from node.js, for the browser.
|
|
11976
|
-
*
|
|
11977
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
11978
|
-
* @license MIT
|
|
11979
|
-
*/
|
|
11980
|
-
(function(exports2) {
|
|
11959
|
+
(function(exports$12) {
|
|
11981
11960
|
const base64 = base64Js;
|
|
11982
11961
|
const ieee754$1 = ieee754;
|
|
11983
11962
|
const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11963
|
+
exports$12.Buffer = Buffer2;
|
|
11964
|
+
exports$12.SlowBuffer = SlowBuffer;
|
|
11965
|
+
exports$12.INSPECT_MAX_BYTES = 50;
|
|
11987
11966
|
const K_MAX_LENGTH = 2147483647;
|
|
11988
|
-
|
|
11967
|
+
exports$12.kMaxLength = K_MAX_LENGTH;
|
|
11989
11968
|
const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
|
|
11990
11969
|
Buffer2.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
11991
11970
|
if (!Buffer2.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
|
|
@@ -12416,7 +12395,7 @@
|
|
|
12416
12395
|
};
|
|
12417
12396
|
Buffer2.prototype.inspect = function inspect() {
|
|
12418
12397
|
let str = "";
|
|
12419
|
-
const max2 =
|
|
12398
|
+
const max2 = exports$12.INSPECT_MAX_BYTES;
|
|
12420
12399
|
str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
|
|
12421
12400
|
if (this.length > max2) str += " ... ";
|
|
12422
12401
|
return "<Buffer " + str + ">";
|
|
@@ -16567,28 +16546,28 @@
|
|
|
16567
16546
|
function requireModes() {
|
|
16568
16547
|
if (hasRequiredModes) return modes;
|
|
16569
16548
|
hasRequiredModes = 1;
|
|
16570
|
-
(function(
|
|
16571
|
-
|
|
16549
|
+
(function(exports$12) {
|
|
16550
|
+
exports$12["des-ecb"] = {
|
|
16572
16551
|
key: 8,
|
|
16573
16552
|
iv: 0
|
|
16574
16553
|
};
|
|
16575
|
-
|
|
16554
|
+
exports$12["des-cbc"] = exports$12.des = {
|
|
16576
16555
|
key: 8,
|
|
16577
16556
|
iv: 8
|
|
16578
16557
|
};
|
|
16579
|
-
|
|
16558
|
+
exports$12["des-ede3-cbc"] = exports$12.des3 = {
|
|
16580
16559
|
key: 24,
|
|
16581
16560
|
iv: 8
|
|
16582
16561
|
};
|
|
16583
|
-
|
|
16562
|
+
exports$12["des-ede3"] = {
|
|
16584
16563
|
key: 24,
|
|
16585
16564
|
iv: 0
|
|
16586
16565
|
};
|
|
16587
|
-
|
|
16566
|
+
exports$12["des-ede-cbc"] = {
|
|
16588
16567
|
key: 16,
|
|
16589
16568
|
iv: 8
|
|
16590
16569
|
};
|
|
16591
|
-
|
|
16570
|
+
exports$12["des-ede"] = {
|
|
16592
16571
|
key: 16,
|
|
16593
16572
|
iv: 0
|
|
16594
16573
|
};
|
|
@@ -16664,7 +16643,7 @@
|
|
|
16664
16643
|
if (hasRequiredBn$6) return bn$d.exports;
|
|
16665
16644
|
hasRequiredBn$6 = 1;
|
|
16666
16645
|
(function(module) {
|
|
16667
|
-
(function(module2,
|
|
16646
|
+
(function(module2, exports$12) {
|
|
16668
16647
|
function assert(val, msg) {
|
|
16669
16648
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
16670
16649
|
}
|
|
@@ -16695,7 +16674,7 @@
|
|
|
16695
16674
|
if (typeof module2 === "object") {
|
|
16696
16675
|
module2.exports = BN;
|
|
16697
16676
|
} else {
|
|
16698
|
-
|
|
16677
|
+
exports$12.BN = BN;
|
|
16699
16678
|
}
|
|
16700
16679
|
BN.BN = BN;
|
|
16701
16680
|
BN.wordSize = 26;
|
|
@@ -19473,7 +19452,7 @@
|
|
|
19473
19452
|
if (hasRequiredBn$5) return bn$b.exports;
|
|
19474
19453
|
hasRequiredBn$5 = 1;
|
|
19475
19454
|
(function(module) {
|
|
19476
|
-
(function(module2,
|
|
19455
|
+
(function(module2, exports$12) {
|
|
19477
19456
|
function assert(val, msg) {
|
|
19478
19457
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
19479
19458
|
}
|
|
@@ -19504,7 +19483,7 @@
|
|
|
19504
19483
|
if (typeof module2 === "object") {
|
|
19505
19484
|
module2.exports = BN;
|
|
19506
19485
|
} else {
|
|
19507
|
-
|
|
19486
|
+
exports$12.BN = BN;
|
|
19508
19487
|
}
|
|
19509
19488
|
BN.BN = BN;
|
|
19510
19489
|
BN.wordSize = 26;
|
|
@@ -22726,12 +22705,11 @@
|
|
|
22726
22705
|
return browser$5;
|
|
22727
22706
|
}
|
|
22728
22707
|
var safeBuffer$3 = { exports: {} };
|
|
22729
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
22730
22708
|
var hasRequiredSafeBuffer$3;
|
|
22731
22709
|
function requireSafeBuffer$3() {
|
|
22732
22710
|
if (hasRequiredSafeBuffer$3) return safeBuffer$3.exports;
|
|
22733
22711
|
hasRequiredSafeBuffer$3 = 1;
|
|
22734
|
-
(function(module,
|
|
22712
|
+
(function(module, exports$12) {
|
|
22735
22713
|
var buffer2 = requireDist();
|
|
22736
22714
|
var Buffer2 = buffer2.Buffer;
|
|
22737
22715
|
function copyProps(src, dst) {
|
|
@@ -22742,8 +22720,8 @@
|
|
|
22742
22720
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
22743
22721
|
module.exports = buffer2;
|
|
22744
22722
|
} else {
|
|
22745
|
-
copyProps(buffer2,
|
|
22746
|
-
|
|
22723
|
+
copyProps(buffer2, exports$12);
|
|
22724
|
+
exports$12.Buffer = SafeBuffer;
|
|
22747
22725
|
}
|
|
22748
22726
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
22749
22727
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -22857,7 +22835,7 @@
|
|
|
22857
22835
|
function requireSafeBuffer$2() {
|
|
22858
22836
|
if (hasRequiredSafeBuffer$2) return safeBuffer$2.exports;
|
|
22859
22837
|
hasRequiredSafeBuffer$2 = 1;
|
|
22860
|
-
(function(module,
|
|
22838
|
+
(function(module, exports$12) {
|
|
22861
22839
|
var buffer2 = requireDist();
|
|
22862
22840
|
var Buffer2 = buffer2.Buffer;
|
|
22863
22841
|
function copyProps(src, dst) {
|
|
@@ -22868,8 +22846,8 @@
|
|
|
22868
22846
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
22869
22847
|
module.exports = buffer2;
|
|
22870
22848
|
} else {
|
|
22871
|
-
copyProps(buffer2,
|
|
22872
|
-
|
|
22849
|
+
copyProps(buffer2, exports$12);
|
|
22850
|
+
exports$12.Buffer = SafeBuffer;
|
|
22873
22851
|
}
|
|
22874
22852
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
22875
22853
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -24455,14 +24433,14 @@
|
|
|
24455
24433
|
function requireReadableBrowser() {
|
|
24456
24434
|
if (hasRequiredReadableBrowser) return readableBrowser.exports;
|
|
24457
24435
|
hasRequiredReadableBrowser = 1;
|
|
24458
|
-
(function(module,
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24436
|
+
(function(module, exports$12) {
|
|
24437
|
+
exports$12 = module.exports = require_stream_readable();
|
|
24438
|
+
exports$12.Stream = exports$12;
|
|
24439
|
+
exports$12.Readable = exports$12;
|
|
24440
|
+
exports$12.Writable = require_stream_writable();
|
|
24441
|
+
exports$12.Duplex = require_stream_duplex();
|
|
24442
|
+
exports$12.Transform = require_stream_transform();
|
|
24443
|
+
exports$12.PassThrough = require_stream_passthrough();
|
|
24466
24444
|
})(readableBrowser, readableBrowser.exports);
|
|
24467
24445
|
return readableBrowser.exports;
|
|
24468
24446
|
}
|
|
@@ -24474,7 +24452,7 @@
|
|
|
24474
24452
|
if (hasRequiredBn$4) return bn$9.exports;
|
|
24475
24453
|
hasRequiredBn$4 = 1;
|
|
24476
24454
|
(function(module) {
|
|
24477
|
-
(function(module2,
|
|
24455
|
+
(function(module2, exports$12) {
|
|
24478
24456
|
function assert(val, msg) {
|
|
24479
24457
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
24480
24458
|
}
|
|
@@ -24505,7 +24483,7 @@
|
|
|
24505
24483
|
if (typeof module2 === "object") {
|
|
24506
24484
|
module2.exports = BN;
|
|
24507
24485
|
} else {
|
|
24508
|
-
|
|
24486
|
+
exports$12.BN = BN;
|
|
24509
24487
|
}
|
|
24510
24488
|
BN.BN = BN;
|
|
24511
24489
|
BN.wordSize = 26;
|
|
@@ -27216,12 +27194,11 @@
|
|
|
27216
27194
|
return bn$9.exports;
|
|
27217
27195
|
}
|
|
27218
27196
|
var safeBuffer$1 = { exports: {} };
|
|
27219
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
27220
27197
|
var hasRequiredSafeBuffer$1;
|
|
27221
27198
|
function requireSafeBuffer$1() {
|
|
27222
27199
|
if (hasRequiredSafeBuffer$1) return safeBuffer$1.exports;
|
|
27223
27200
|
hasRequiredSafeBuffer$1 = 1;
|
|
27224
|
-
(function(module,
|
|
27201
|
+
(function(module, exports$12) {
|
|
27225
27202
|
var buffer2 = requireDist();
|
|
27226
27203
|
var Buffer2 = buffer2.Buffer;
|
|
27227
27204
|
function copyProps(src, dst) {
|
|
@@ -27232,8 +27209,8 @@
|
|
|
27232
27209
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
27233
27210
|
module.exports = buffer2;
|
|
27234
27211
|
} else {
|
|
27235
|
-
copyProps(buffer2,
|
|
27236
|
-
|
|
27212
|
+
copyProps(buffer2, exports$12);
|
|
27213
|
+
exports$12.Buffer = SafeBuffer;
|
|
27237
27214
|
}
|
|
27238
27215
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
27239
27216
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -27329,7 +27306,7 @@
|
|
|
27329
27306
|
if (hasRequiredBn$3) return bn$7.exports;
|
|
27330
27307
|
hasRequiredBn$3 = 1;
|
|
27331
27308
|
(function(module) {
|
|
27332
|
-
(function(module2,
|
|
27309
|
+
(function(module2, exports$12) {
|
|
27333
27310
|
function assert(val, msg) {
|
|
27334
27311
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
27335
27312
|
}
|
|
@@ -27360,7 +27337,7 @@
|
|
|
27360
27337
|
if (typeof module2 === "object") {
|
|
27361
27338
|
module2.exports = BN;
|
|
27362
27339
|
} else {
|
|
27363
|
-
|
|
27340
|
+
exports$12.BN = BN;
|
|
27364
27341
|
}
|
|
27365
27342
|
BN.BN = BN;
|
|
27366
27343
|
BN.wordSize = 26;
|
|
@@ -30136,8 +30113,8 @@
|
|
|
30136
30113
|
function requireUtils$2() {
|
|
30137
30114
|
if (hasRequiredUtils$2) return utils$1;
|
|
30138
30115
|
hasRequiredUtils$2 = 1;
|
|
30139
|
-
(function(
|
|
30140
|
-
var utils2 =
|
|
30116
|
+
(function(exports$12) {
|
|
30117
|
+
var utils2 = exports$12;
|
|
30141
30118
|
function toArray(msg, enc) {
|
|
30142
30119
|
if (Array.isArray(msg))
|
|
30143
30120
|
return msg.slice();
|
|
@@ -30196,8 +30173,8 @@
|
|
|
30196
30173
|
function requireUtils$1() {
|
|
30197
30174
|
if (hasRequiredUtils$1) return utils$2;
|
|
30198
30175
|
hasRequiredUtils$1 = 1;
|
|
30199
|
-
(function(
|
|
30200
|
-
var utils2 =
|
|
30176
|
+
(function(exports$12) {
|
|
30177
|
+
var utils2 = exports$12;
|
|
30201
30178
|
var BN = requireBn$3();
|
|
30202
30179
|
var minAssert = requireMinimalisticAssert();
|
|
30203
30180
|
var minUtils = requireUtils$2();
|
|
@@ -31752,8 +31729,8 @@
|
|
|
31752
31729
|
function requireCurve() {
|
|
31753
31730
|
if (hasRequiredCurve) return curve;
|
|
31754
31731
|
hasRequiredCurve = 1;
|
|
31755
|
-
(function(
|
|
31756
|
-
var curve2 =
|
|
31732
|
+
(function(exports$12) {
|
|
31733
|
+
var curve2 = exports$12;
|
|
31757
31734
|
curve2.base = requireBase$1();
|
|
31758
31735
|
curve2.short = requireShort();
|
|
31759
31736
|
curve2.mont = requireMont();
|
|
@@ -33374,8 +33351,8 @@
|
|
|
33374
33351
|
function requireHash() {
|
|
33375
33352
|
if (hasRequiredHash) return hash;
|
|
33376
33353
|
hasRequiredHash = 1;
|
|
33377
|
-
(function(
|
|
33378
|
-
var hash2 =
|
|
33354
|
+
(function(exports$12) {
|
|
33355
|
+
var hash2 = exports$12;
|
|
33379
33356
|
hash2.utils = requireUtils();
|
|
33380
33357
|
hash2.common = requireCommon$1();
|
|
33381
33358
|
hash2.sha = requireSha();
|
|
@@ -34181,8 +34158,8 @@
|
|
|
34181
34158
|
function requireCurves() {
|
|
34182
34159
|
if (hasRequiredCurves) return curves;
|
|
34183
34160
|
hasRequiredCurves = 1;
|
|
34184
|
-
(function(
|
|
34185
|
-
var curves2 =
|
|
34161
|
+
(function(exports$12) {
|
|
34162
|
+
var curves2 = exports$12;
|
|
34186
34163
|
var hash2 = requireHash();
|
|
34187
34164
|
var curve2 = requireCurve();
|
|
34188
34165
|
var utils2 = requireUtils$1();
|
|
@@ -35120,8 +35097,8 @@
|
|
|
35120
35097
|
function requireElliptic() {
|
|
35121
35098
|
if (hasRequiredElliptic) return elliptic;
|
|
35122
35099
|
hasRequiredElliptic = 1;
|
|
35123
|
-
(function(
|
|
35124
|
-
var elliptic2 =
|
|
35100
|
+
(function(exports$12) {
|
|
35101
|
+
var elliptic2 = exports$12;
|
|
35125
35102
|
elliptic2.version = require$$0.version;
|
|
35126
35103
|
elliptic2.utils = requireUtils$1();
|
|
35127
35104
|
elliptic2.rand = requireBrorand();
|
|
@@ -35141,7 +35118,7 @@
|
|
|
35141
35118
|
if (hasRequiredBn$2) return bn$5.exports;
|
|
35142
35119
|
hasRequiredBn$2 = 1;
|
|
35143
35120
|
(function(module) {
|
|
35144
|
-
(function(module2,
|
|
35121
|
+
(function(module2, exports$12) {
|
|
35145
35122
|
function assert(val, msg) {
|
|
35146
35123
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
35147
35124
|
}
|
|
@@ -35172,7 +35149,7 @@
|
|
|
35172
35149
|
if (typeof module2 === "object") {
|
|
35173
35150
|
module2.exports = BN;
|
|
35174
35151
|
} else {
|
|
35175
|
-
|
|
35152
|
+
exports$12.BN = BN;
|
|
35176
35153
|
}
|
|
35177
35154
|
BN.BN = BN;
|
|
35178
35155
|
BN.wordSize = 26;
|
|
@@ -37949,7 +37926,7 @@
|
|
|
37949
37926
|
function requireVmBrowserify() {
|
|
37950
37927
|
if (hasRequiredVmBrowserify) return vmBrowserify;
|
|
37951
37928
|
hasRequiredVmBrowserify = 1;
|
|
37952
|
-
(function(exports) {
|
|
37929
|
+
(function(exports$1) {
|
|
37953
37930
|
var indexOf = function(xs, item) {
|
|
37954
37931
|
if (xs.indexOf) return xs.indexOf(item);
|
|
37955
37932
|
else for (var i2 = 0; i2 < xs.length; i2++) {
|
|
@@ -38024,7 +38001,7 @@
|
|
|
38024
38001
|
function Context() {
|
|
38025
38002
|
}
|
|
38026
38003
|
Context.prototype = {};
|
|
38027
|
-
var Script = exports.Script = function NodeScript(code2) {
|
|
38004
|
+
var Script = exports$1.Script = function NodeScript(code2) {
|
|
38028
38005
|
if (!(this instanceof Script)) return new Script(code2);
|
|
38029
38006
|
this.code = code2;
|
|
38030
38007
|
};
|
|
@@ -38079,18 +38056,18 @@
|
|
|
38079
38056
|
return res;
|
|
38080
38057
|
};
|
|
38081
38058
|
forEach(Object_keys(Script.prototype), function(name) {
|
|
38082
|
-
exports[name] = Script[name] = function(code2) {
|
|
38059
|
+
exports$1[name] = Script[name] = function(code2) {
|
|
38083
38060
|
var s = Script(code2);
|
|
38084
38061
|
return s[name].apply(s, [].slice.call(arguments, 1));
|
|
38085
38062
|
};
|
|
38086
38063
|
});
|
|
38087
|
-
exports.isContext = function(context) {
|
|
38064
|
+
exports$1.isContext = function(context) {
|
|
38088
38065
|
return context instanceof Context;
|
|
38089
38066
|
};
|
|
38090
|
-
exports.createScript = function(code2) {
|
|
38091
|
-
return exports.Script(code2);
|
|
38067
|
+
exports$1.createScript = function(code2) {
|
|
38068
|
+
return exports$1.Script(code2);
|
|
38092
38069
|
};
|
|
38093
|
-
exports.createContext = Script.createContext = function(context) {
|
|
38070
|
+
exports$1.createContext = Script.createContext = function(context) {
|
|
38094
38071
|
var copy = new Context();
|
|
38095
38072
|
if (typeof context === "object") {
|
|
38096
38073
|
forEach(Object_keys(context), function(key2) {
|
|
@@ -38106,10 +38083,10 @@
|
|
|
38106
38083
|
function requireApi() {
|
|
38107
38084
|
if (hasRequiredApi) return api;
|
|
38108
38085
|
hasRequiredApi = 1;
|
|
38109
|
-
(function(
|
|
38086
|
+
(function(exports$12) {
|
|
38110
38087
|
var asn12 = requireAsn1$1();
|
|
38111
38088
|
var inherits = requireInherits_browser();
|
|
38112
|
-
var api2 =
|
|
38089
|
+
var api2 = exports$12;
|
|
38113
38090
|
api2.define = function define2(name, body) {
|
|
38114
38091
|
return new Entity(name, body);
|
|
38115
38092
|
};
|
|
@@ -38900,8 +38877,8 @@
|
|
|
38900
38877
|
function requireBase() {
|
|
38901
38878
|
if (hasRequiredBase) return base;
|
|
38902
38879
|
hasRequiredBase = 1;
|
|
38903
|
-
(function(
|
|
38904
|
-
var base2 =
|
|
38880
|
+
(function(exports$12) {
|
|
38881
|
+
var base2 = exports$12;
|
|
38905
38882
|
base2.Reporter = requireReporter().Reporter;
|
|
38906
38883
|
base2.DecoderBuffer = requireBuffer().DecoderBuffer;
|
|
38907
38884
|
base2.EncoderBuffer = requireBuffer().EncoderBuffer;
|
|
@@ -38915,16 +38892,16 @@
|
|
|
38915
38892
|
function requireDer$2() {
|
|
38916
38893
|
if (hasRequiredDer$2) return der;
|
|
38917
38894
|
hasRequiredDer$2 = 1;
|
|
38918
|
-
(function(
|
|
38895
|
+
(function(exports$12) {
|
|
38919
38896
|
var constants2 = requireConstants();
|
|
38920
|
-
|
|
38897
|
+
exports$12.tagClass = {
|
|
38921
38898
|
0: "universal",
|
|
38922
38899
|
1: "application",
|
|
38923
38900
|
2: "context",
|
|
38924
38901
|
3: "private"
|
|
38925
38902
|
};
|
|
38926
|
-
|
|
38927
|
-
|
|
38903
|
+
exports$12.tagClassByName = constants2._reverse(exports$12.tagClass);
|
|
38904
|
+
exports$12.tag = {
|
|
38928
38905
|
0: "end",
|
|
38929
38906
|
1: "bool",
|
|
38930
38907
|
2: "int",
|
|
@@ -38955,7 +38932,7 @@
|
|
|
38955
38932
|
29: "charstr",
|
|
38956
38933
|
30: "bmpstr"
|
|
38957
38934
|
};
|
|
38958
|
-
|
|
38935
|
+
exports$12.tagByName = constants2._reverse(exports$12.tag);
|
|
38959
38936
|
})(der);
|
|
38960
38937
|
return der;
|
|
38961
38938
|
}
|
|
@@ -38963,8 +38940,8 @@
|
|
|
38963
38940
|
function requireConstants() {
|
|
38964
38941
|
if (hasRequiredConstants) return constants;
|
|
38965
38942
|
hasRequiredConstants = 1;
|
|
38966
|
-
(function(
|
|
38967
|
-
var constants2 =
|
|
38943
|
+
(function(exports$12) {
|
|
38944
|
+
var constants2 = exports$12;
|
|
38968
38945
|
constants2._reverse = function reverse(map) {
|
|
38969
38946
|
var res = {};
|
|
38970
38947
|
Object.keys(map).forEach(function(key2) {
|
|
@@ -39294,8 +39271,8 @@
|
|
|
39294
39271
|
function requireDecoders() {
|
|
39295
39272
|
if (hasRequiredDecoders) return decoders;
|
|
39296
39273
|
hasRequiredDecoders = 1;
|
|
39297
|
-
(function(
|
|
39298
|
-
var decoders2 =
|
|
39274
|
+
(function(exports$12) {
|
|
39275
|
+
var decoders2 = exports$12;
|
|
39299
39276
|
decoders2.der = requireDer$1();
|
|
39300
39277
|
decoders2.pem = requirePem$1();
|
|
39301
39278
|
})(decoders);
|
|
@@ -39562,8 +39539,8 @@
|
|
|
39562
39539
|
function requireEncoders() {
|
|
39563
39540
|
if (hasRequiredEncoders) return encoders;
|
|
39564
39541
|
hasRequiredEncoders = 1;
|
|
39565
|
-
(function(
|
|
39566
|
-
var encoders2 =
|
|
39542
|
+
(function(exports$12) {
|
|
39543
|
+
var encoders2 = exports$12;
|
|
39567
39544
|
encoders2.der = requireDer();
|
|
39568
39545
|
encoders2.pem = requirePem();
|
|
39569
39546
|
})(encoders);
|
|
@@ -39573,8 +39550,8 @@
|
|
|
39573
39550
|
function requireAsn1$1() {
|
|
39574
39551
|
if (hasRequiredAsn1$1) return asn1;
|
|
39575
39552
|
hasRequiredAsn1$1 = 1;
|
|
39576
|
-
(function(
|
|
39577
|
-
var asn12 =
|
|
39553
|
+
(function(exports$12) {
|
|
39554
|
+
var asn12 = exports$12;
|
|
39578
39555
|
asn12.bignum = requireBn$2();
|
|
39579
39556
|
asn12.define = requireApi().define;
|
|
39580
39557
|
asn12.base = requireBase();
|
|
@@ -39790,12 +39767,11 @@
|
|
|
39790
39767
|
"2.16.840.1.101.3.4.1.44": "aes-256-cfb"
|
|
39791
39768
|
};
|
|
39792
39769
|
var safeBuffer = { exports: {} };
|
|
39793
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
39794
39770
|
var hasRequiredSafeBuffer;
|
|
39795
39771
|
function requireSafeBuffer() {
|
|
39796
39772
|
if (hasRequiredSafeBuffer) return safeBuffer.exports;
|
|
39797
39773
|
hasRequiredSafeBuffer = 1;
|
|
39798
|
-
(function(module,
|
|
39774
|
+
(function(module, exports$12) {
|
|
39799
39775
|
var buffer2 = requireDist();
|
|
39800
39776
|
var Buffer2 = buffer2.Buffer;
|
|
39801
39777
|
function copyProps(src, dst) {
|
|
@@ -39806,8 +39782,8 @@
|
|
|
39806
39782
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
39807
39783
|
module.exports = buffer2;
|
|
39808
39784
|
} else {
|
|
39809
|
-
copyProps(buffer2,
|
|
39810
|
-
|
|
39785
|
+
copyProps(buffer2, exports$12);
|
|
39786
|
+
exports$12.Buffer = SafeBuffer;
|
|
39811
39787
|
}
|
|
39812
39788
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
39813
39789
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -40341,7 +40317,7 @@
|
|
|
40341
40317
|
if (hasRequiredBn$1) return bn$3.exports;
|
|
40342
40318
|
hasRequiredBn$1 = 1;
|
|
40343
40319
|
(function(module) {
|
|
40344
|
-
(function(module2,
|
|
40320
|
+
(function(module2, exports$12) {
|
|
40345
40321
|
function assert(val, msg) {
|
|
40346
40322
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
40347
40323
|
}
|
|
@@ -40372,7 +40348,7 @@
|
|
|
40372
40348
|
if (typeof module2 === "object") {
|
|
40373
40349
|
module2.exports = BN;
|
|
40374
40350
|
} else {
|
|
40375
|
-
|
|
40351
|
+
exports$12.BN = BN;
|
|
40376
40352
|
}
|
|
40377
40353
|
BN.BN = BN;
|
|
40378
40354
|
BN.wordSize = 26;
|
|
@@ -43309,7 +43285,7 @@
|
|
|
43309
43285
|
if (hasRequiredBn) return bn$1.exports;
|
|
43310
43286
|
hasRequiredBn = 1;
|
|
43311
43287
|
(function(module) {
|
|
43312
|
-
(function(module2,
|
|
43288
|
+
(function(module2, exports$12) {
|
|
43313
43289
|
function assert(val, msg) {
|
|
43314
43290
|
if (!val) throw new Error(msg || "Assertion failed");
|
|
43315
43291
|
}
|
|
@@ -43340,7 +43316,7 @@
|
|
|
43340
43316
|
if (typeof module2 === "object") {
|
|
43341
43317
|
module2.exports = BN;
|
|
43342
43318
|
} else {
|
|
43343
|
-
|
|
43319
|
+
exports$12.BN = BN;
|
|
43344
43320
|
}
|
|
43345
43321
|
BN.BN = BN;
|
|
43346
43322
|
BN.wordSize = 26;
|
|
@@ -46328,14 +46304,14 @@
|
|
|
46328
46304
|
function requireBrowser$2() {
|
|
46329
46305
|
if (hasRequiredBrowser$2) return browser$2;
|
|
46330
46306
|
hasRequiredBrowser$2 = 1;
|
|
46331
|
-
(function(
|
|
46332
|
-
|
|
46333
|
-
|
|
46334
|
-
|
|
46335
|
-
return
|
|
46307
|
+
(function(exports$12) {
|
|
46308
|
+
exports$12.publicEncrypt = requirePublicEncrypt();
|
|
46309
|
+
exports$12.privateDecrypt = requirePrivateDecrypt();
|
|
46310
|
+
exports$12.privateEncrypt = function privateEncrypt(key2, buf) {
|
|
46311
|
+
return exports$12.publicEncrypt(key2, buf, true);
|
|
46336
46312
|
};
|
|
46337
|
-
|
|
46338
|
-
return
|
|
46313
|
+
exports$12.publicDecrypt = function publicDecrypt(key2, buf) {
|
|
46314
|
+
return exports$12.privateDecrypt(key2, buf, true);
|
|
46339
46315
|
};
|
|
46340
46316
|
})(browser$2);
|
|
46341
46317
|
return browser$2;
|
|
@@ -46524,7 +46500,7 @@
|
|
|
46524
46500
|
function requireCore() {
|
|
46525
46501
|
if (hasRequiredCore) return core$1.exports;
|
|
46526
46502
|
hasRequiredCore = 1;
|
|
46527
|
-
(function(module,
|
|
46503
|
+
(function(module, exports$12) {
|
|
46528
46504
|
(function(root, factory) {
|
|
46529
46505
|
{
|
|
46530
46506
|
module.exports = factory();
|
|
@@ -47132,7 +47108,7 @@
|
|
|
47132
47108
|
function requireEncBase64() {
|
|
47133
47109
|
if (hasRequiredEncBase64) return encBase64$1.exports;
|
|
47134
47110
|
hasRequiredEncBase64 = 1;
|
|
47135
|
-
(function(module,
|
|
47111
|
+
(function(module, exports$12) {
|
|
47136
47112
|
(function(root, factory) {
|
|
47137
47113
|
{
|
|
47138
47114
|
module.exports = factory(requireCore());
|
|
@@ -47240,7 +47216,7 @@
|
|
|
47240
47216
|
function requireMd5() {
|
|
47241
47217
|
if (hasRequiredMd5) return md5$1.exports;
|
|
47242
47218
|
hasRequiredMd5 = 1;
|
|
47243
|
-
(function(module,
|
|
47219
|
+
(function(module, exports$12) {
|
|
47244
47220
|
(function(root, factory) {
|
|
47245
47221
|
{
|
|
47246
47222
|
module.exports = factory(requireCore());
|
|
@@ -47420,7 +47396,7 @@
|
|
|
47420
47396
|
function requireSha1() {
|
|
47421
47397
|
if (hasRequiredSha1) return sha1$1.exports;
|
|
47422
47398
|
hasRequiredSha1 = 1;
|
|
47423
|
-
(function(module,
|
|
47399
|
+
(function(module, exports$12) {
|
|
47424
47400
|
(function(root, factory) {
|
|
47425
47401
|
{
|
|
47426
47402
|
module.exports = factory(requireCore());
|
|
@@ -47511,7 +47487,7 @@
|
|
|
47511
47487
|
function requireHmac() {
|
|
47512
47488
|
if (hasRequiredHmac) return hmac$1.exports;
|
|
47513
47489
|
hasRequiredHmac = 1;
|
|
47514
|
-
(function(module,
|
|
47490
|
+
(function(module, exports$12) {
|
|
47515
47491
|
(function(root, factory) {
|
|
47516
47492
|
{
|
|
47517
47493
|
module.exports = factory(requireCore());
|
|
@@ -47617,7 +47593,7 @@
|
|
|
47617
47593
|
function requireEvpkdf() {
|
|
47618
47594
|
if (hasRequiredEvpkdf) return evpkdf$1.exports;
|
|
47619
47595
|
hasRequiredEvpkdf = 1;
|
|
47620
|
-
(function(module,
|
|
47596
|
+
(function(module, exports$12) {
|
|
47621
47597
|
(function(root, factory, undef) {
|
|
47622
47598
|
{
|
|
47623
47599
|
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
|
@@ -47708,7 +47684,7 @@
|
|
|
47708
47684
|
function requireCipherCore() {
|
|
47709
47685
|
if (hasRequiredCipherCore) return cipherCore$1.exports;
|
|
47710
47686
|
hasRequiredCipherCore = 1;
|
|
47711
|
-
(function(module,
|
|
47687
|
+
(function(module, exports$12) {
|
|
47712
47688
|
(function(root, factory, undef) {
|
|
47713
47689
|
{
|
|
47714
47690
|
module.exports = factory(requireCore(), requireEvpkdf());
|
|
@@ -48351,7 +48327,7 @@
|
|
|
48351
48327
|
function requireAes() {
|
|
48352
48328
|
if (hasRequiredAes) return aes$3.exports;
|
|
48353
48329
|
hasRequiredAes = 1;
|
|
48354
|
-
(function(module,
|
|
48330
|
+
(function(module, exports$12) {
|
|
48355
48331
|
(function(root, factory, undef) {
|
|
48356
48332
|
{
|
|
48357
48333
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
@@ -48511,7 +48487,7 @@
|
|
|
48511
48487
|
function requireEncUtf8() {
|
|
48512
48488
|
if (hasRequiredEncUtf8) return encUtf8$2.exports;
|
|
48513
48489
|
hasRequiredEncUtf8 = 1;
|
|
48514
|
-
(function(module,
|
|
48490
|
+
(function(module, exports$12) {
|
|
48515
48491
|
(function(root, factory) {
|
|
48516
48492
|
{
|
|
48517
48493
|
module.exports = factory(requireCore());
|
|
@@ -52136,10 +52112,10 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
52136
52112
|
}
|
|
52137
52113
|
for (const condition in constraints) {
|
|
52138
52114
|
compareTo = constraints[condition];
|
|
52139
|
-
if (compareTo
|
|
52115
|
+
if (compareTo?.__type) {
|
|
52140
52116
|
compareTo = decode(compareTo);
|
|
52141
52117
|
}
|
|
52142
|
-
if (compareTo
|
|
52118
|
+
if (compareTo?.["$relativeTime"]) {
|
|
52143
52119
|
const parserResult = relativeTimeToDate(compareTo["$relativeTime"]);
|
|
52144
52120
|
if (parserResult.status !== "success") {
|
|
52145
52121
|
throw new ParseError(
|
|
@@ -52839,11 +52815,10 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
52839
52815
|
return this._handleOfflineQuery(this.toJSON());
|
|
52840
52816
|
}
|
|
52841
52817
|
return controller.find(this.className, this.toJSON(), findOptions).then((response) => {
|
|
52842
|
-
var _a;
|
|
52843
52818
|
if (this._explain) {
|
|
52844
52819
|
return response.results;
|
|
52845
52820
|
}
|
|
52846
|
-
const results =
|
|
52821
|
+
const results = response.results?.map((data) => {
|
|
52847
52822
|
const override = response.className || this.className;
|
|
52848
52823
|
if (!data.className) {
|
|
52849
52824
|
data.className = override;
|
|
@@ -54950,7 +54925,6 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
54950
54925
|
const requestId = isIdempotent ? uuidv4() : "";
|
|
54951
54926
|
let attempts = 0;
|
|
54952
54927
|
const dispatch = async function() {
|
|
54953
|
-
var _a;
|
|
54954
54928
|
const controller = new AbortController();
|
|
54955
54929
|
const { signal } = controller;
|
|
54956
54930
|
headers = headers || {};
|
|
@@ -55006,7 +54980,7 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
55006
54980
|
break;
|
|
55007
54981
|
}
|
|
55008
54982
|
chunks.push(value);
|
|
55009
|
-
recieved +=
|
|
54983
|
+
recieved += value?.length || 0;
|
|
55010
54984
|
options.progress(recieved / length, recieved, length);
|
|
55011
54985
|
}
|
|
55012
54986
|
const body = new Uint8Array(recieved);
|
|
@@ -55049,7 +55023,7 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
55049
55023
|
} catch (error) {
|
|
55050
55024
|
if (error.name === "AbortError") {
|
|
55051
55025
|
promise.resolve({ response: { results: [] }, status: 0 });
|
|
55052
|
-
} else if (
|
|
55026
|
+
} else if (error.cause?.code === "ECONNREFUSED") {
|
|
55053
55027
|
promise.reject("Unable to connect to the Parse API");
|
|
55054
55028
|
} else {
|
|
55055
55029
|
promise.reject(error);
|
|
@@ -56255,7 +56229,7 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
56255
56229
|
},
|
|
56256
56230
|
logOut(options) {
|
|
56257
56231
|
const RESTController2 = CoreManager.getRESTController();
|
|
56258
|
-
if (options
|
|
56232
|
+
if (options?.sessionToken) {
|
|
56259
56233
|
return RESTController2.request("POST", "logout", {}, options);
|
|
56260
56234
|
}
|
|
56261
56235
|
return DefaultController$6.currentUserAsync().then((currentUser) => {
|
|
@@ -56290,7 +56264,7 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
56290
56264
|
options.sessionToken = token;
|
|
56291
56265
|
const RESTController2 = CoreManager.getRESTController();
|
|
56292
56266
|
const result = await RESTController2.request("POST", "upgradeToRevocableSession", {}, options);
|
|
56293
|
-
user._finishFetch({ sessionToken:
|
|
56267
|
+
user._finishFetch({ sessionToken: result?.sessionToken || "" });
|
|
56294
56268
|
const current = await user.isCurrentAsync();
|
|
56295
56269
|
if (current) {
|
|
56296
56270
|
return DefaultController$6.setCurrentUser(user);
|
|
@@ -56442,12 +56416,11 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
56442
56416
|
return RESTController2.request("GET", "cloud_code/jobs/data", null, options);
|
|
56443
56417
|
},
|
|
56444
56418
|
async startJob(name, data, options) {
|
|
56445
|
-
var _a;
|
|
56446
56419
|
const RESTController2 = CoreManager.getRESTController();
|
|
56447
56420
|
const payload = encode$1(data, true);
|
|
56448
56421
|
options.returnStatus = true;
|
|
56449
56422
|
const response = await RESTController2.request("POST", "jobs/" + name, payload, options);
|
|
56450
|
-
return
|
|
56423
|
+
return response._headers?.["X-Parse-Job-Status-Id"];
|
|
56451
56424
|
}
|
|
56452
56425
|
};
|
|
56453
56426
|
CoreManager.setCloudController(DefaultController$5);
|
|
@@ -57880,10 +57853,9 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
57880
57853
|
}
|
|
57881
57854
|
const DefaultController$2 = {
|
|
57882
57855
|
async send(data, options) {
|
|
57883
|
-
var _a;
|
|
57884
57856
|
options.returnStatus = true;
|
|
57885
57857
|
const response = await CoreManager.getRESTController().request("POST", "push", data, options);
|
|
57886
|
-
return
|
|
57858
|
+
return response._headers?.["X-Parse-Push-Status-Id"];
|
|
57887
57859
|
}
|
|
57888
57860
|
};
|
|
57889
57861
|
CoreManager.setPushController(DefaultController$2);
|
|
@@ -58228,10 +58200,10 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
58228
58200
|
throw new Error("You need to set the targetClass of the Pointer.");
|
|
58229
58201
|
}
|
|
58230
58202
|
const fieldOptions = { type: "Pointer", targetClass };
|
|
58231
|
-
if (typeof
|
|
58203
|
+
if (typeof options?.required === "boolean") {
|
|
58232
58204
|
fieldOptions.required = options.required;
|
|
58233
58205
|
}
|
|
58234
|
-
if (
|
|
58206
|
+
if (options?.defaultValue !== void 0) {
|
|
58235
58207
|
fieldOptions.defaultValue = options.defaultValue;
|
|
58236
58208
|
if (options.defaultValue instanceof ParseObject) {
|
|
58237
58209
|
fieldOptions.defaultValue = options.defaultValue.toPointer();
|
|
@@ -58512,15 +58484,14 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
58512
58484
|
* @returns {LiveQuerySubscription | undefined}
|
|
58513
58485
|
*/
|
|
58514
58486
|
subscribe(query, sessionToken) {
|
|
58515
|
-
var _a, _b;
|
|
58516
58487
|
if (!query) {
|
|
58517
58488
|
return;
|
|
58518
58489
|
}
|
|
58519
58490
|
const className = query.className;
|
|
58520
58491
|
const queryJSON = query.toJSON();
|
|
58521
58492
|
const where = queryJSON.where;
|
|
58522
|
-
const keys2 =
|
|
58523
|
-
const watch =
|
|
58493
|
+
const keys2 = queryJSON.keys?.split(",");
|
|
58494
|
+
const watch = queryJSON.watch?.split(",");
|
|
58524
58495
|
const subscribeRequest = {
|
|
58525
58496
|
op: OP_TYPES.SUBSCRIBE,
|
|
58526
58497
|
requestId: this.requestId,
|
|
@@ -58588,8 +58559,7 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
58588
58559
|
this._handleWebSocketMessage(event);
|
|
58589
58560
|
};
|
|
58590
58561
|
this.socket.onclose = (event) => {
|
|
58591
|
-
|
|
58592
|
-
(_a = this.socket.closingPromise) == null ? void 0 : _a.resolve(event);
|
|
58562
|
+
this.socket.closingPromise?.resolve(event);
|
|
58593
58563
|
this._handleWebSocketClose();
|
|
58594
58564
|
};
|
|
58595
58565
|
this.socket.onerror = (error) => {
|
|
@@ -58598,12 +58568,11 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
58598
58568
|
}
|
|
58599
58569
|
resubscribe() {
|
|
58600
58570
|
this.subscriptions.forEach((subscription, requestId) => {
|
|
58601
|
-
var _a, _b;
|
|
58602
58571
|
const query = subscription.query;
|
|
58603
58572
|
const queryJSON = query.toJSON();
|
|
58604
58573
|
const where = queryJSON.where;
|
|
58605
|
-
const keys2 =
|
|
58606
|
-
const watch =
|
|
58574
|
+
const keys2 = queryJSON.keys?.split(",");
|
|
58575
|
+
const watch = queryJSON.watch?.split(",");
|
|
58607
58576
|
const className = query.className;
|
|
58608
58577
|
const sessionToken = subscription.sessionToken;
|
|
58609
58578
|
const subscribeRequest = {
|
|
@@ -58632,19 +58601,18 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
58632
58601
|
* @returns {Promise | undefined} CloseEvent {@link https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close_event}
|
|
58633
58602
|
*/
|
|
58634
58603
|
async close() {
|
|
58635
|
-
var _a, _b;
|
|
58636
58604
|
if (this.state === CLIENT_STATE.INITIALIZED || this.state === CLIENT_STATE.DISCONNECTED) {
|
|
58637
58605
|
return;
|
|
58638
58606
|
}
|
|
58639
58607
|
this.state = CLIENT_STATE.DISCONNECTED;
|
|
58640
|
-
|
|
58608
|
+
this.socket?.close();
|
|
58641
58609
|
for (const subscription of this.subscriptions.values()) {
|
|
58642
58610
|
subscription.subscribed = false;
|
|
58643
58611
|
subscription.emit(SUBSCRIPTION_EMMITER_TYPES.CLOSE);
|
|
58644
58612
|
}
|
|
58645
58613
|
this._handleReset();
|
|
58646
58614
|
this.emit(CLIENT_EMMITER_TYPES.CLOSE);
|
|
58647
|
-
return
|
|
58615
|
+
return this.socket?.closingPromise;
|
|
58648
58616
|
}
|
|
58649
58617
|
// ensure we start with valid state if connect is called again after close
|
|
58650
58618
|
_handleReset() {
|