@push.rocks/smartstate 2.0.6 → 2.0.9
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_bundle/bundle.js +2790 -912
- package/dist_bundle/bundle.js.map +4 -4
- package/dist_ts/00_commitinfo_data.js +3 -3
- package/dist_ts/smartstate.classes.smartstate.js +2 -2
- package/dist_ts/smartstate.classes.stateaction.js +3 -3
- package/dist_ts/smartstate.classes.statepart.d.ts +1 -1
- package/dist_ts/smartstate.classes.statepart.js +1 -1
- package/dist_ts/smartstate.plugins.d.ts +4 -4
- package/dist_ts/smartstate.plugins.js +5 -5
- package/npmextra.json +2 -2
- package/package.json +13 -13
- package/readme.md +12 -12
- package/ts/00_commitinfo_data.ts +2 -2
- package/ts/smartstate.classes.statepart.ts +1 -1
- package/ts/smartstate.plugins.ts +4 -4
package/dist_bundle/bundle.js
CHANGED
|
@@ -20,6 +20,10 @@ var __copyProps = (to, from2, except, desc) => {
|
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23
27
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
28
|
mod
|
|
25
29
|
));
|
|
@@ -110,9 +114,9 @@ var require_dist_ts = __commonJS({
|
|
|
110
114
|
}
|
|
111
115
|
});
|
|
112
116
|
|
|
113
|
-
// node_modules/.pnpm/@
|
|
117
|
+
// node_modules/.pnpm/@push.rocks+isounique@1.0.5/node_modules/@push.rocks/isounique/dist_ts/index.js
|
|
114
118
|
var require_dist_ts2 = __commonJS({
|
|
115
|
-
"node_modules/.pnpm/@
|
|
119
|
+
"node_modules/.pnpm/@push.rocks+isounique@1.0.5/node_modules/@push.rocks/isounique/dist_ts/index.js"(exports) {
|
|
116
120
|
"use strict";
|
|
117
121
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
118
122
|
exports.uni = void 0;
|
|
@@ -1363,7 +1367,8 @@ var require_buffer = __commonJS({
|
|
|
1363
1367
|
if (first === void 0 || last2 === void 0) {
|
|
1364
1368
|
boundsError(offset, this.length - 8);
|
|
1365
1369
|
}
|
|
1366
|
-
const val = (first << 24) +
|
|
1370
|
+
const val = (first << 24) + // Overflow
|
|
1371
|
+
this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset];
|
|
1367
1372
|
return (BigInt(val) << BigInt(32)) + BigInt(this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last2);
|
|
1368
1373
|
});
|
|
1369
1374
|
Buffer3.prototype.readFloatLE = function readFloatLE(offset, noAssert) {
|
|
@@ -2006,9 +2011,9 @@ var require_buffer = __commonJS({
|
|
|
2006
2011
|
}
|
|
2007
2012
|
});
|
|
2008
2013
|
|
|
2009
|
-
// node_modules/.pnpm/punycode@1.
|
|
2014
|
+
// node_modules/.pnpm/punycode@1.4.1/node_modules/punycode/punycode.js
|
|
2010
2015
|
var require_punycode = __commonJS({
|
|
2011
|
-
"node_modules/.pnpm/punycode@1.
|
|
2016
|
+
"node_modules/.pnpm/punycode@1.4.1/node_modules/punycode/punycode.js"(exports, module) {
|
|
2012
2017
|
(function(root) {
|
|
2013
2018
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
2014
2019
|
var freeModule = typeof module == "object" && module && !module.nodeType && module;
|
|
@@ -2022,7 +2027,7 @@ var require_punycode = __commonJS({
|
|
|
2022
2027
|
"invalid-input": "Invalid input"
|
|
2023
2028
|
}, baseMinusTMin = base - tMin, floor = Math.floor, stringFromCharCode = String.fromCharCode, key;
|
|
2024
2029
|
function error(type) {
|
|
2025
|
-
throw RangeError(errors[type]);
|
|
2030
|
+
throw new RangeError(errors[type]);
|
|
2026
2031
|
}
|
|
2027
2032
|
function map3(array, fn) {
|
|
2028
2033
|
var length = array.length;
|
|
@@ -2211,7 +2216,19 @@ var require_punycode = __commonJS({
|
|
|
2211
2216
|
});
|
|
2212
2217
|
}
|
|
2213
2218
|
punycode = {
|
|
2214
|
-
|
|
2219
|
+
/**
|
|
2220
|
+
* A string representing the current Punycode.js version number.
|
|
2221
|
+
* @memberOf punycode
|
|
2222
|
+
* @type String
|
|
2223
|
+
*/
|
|
2224
|
+
"version": "1.4.1",
|
|
2225
|
+
/**
|
|
2226
|
+
* An object of methods to convert from JavaScript's internal character
|
|
2227
|
+
* representation (UCS-2) to Unicode code points, and back.
|
|
2228
|
+
* @see <https://mathiasbynens.be/notes/javascript-encoding>
|
|
2229
|
+
* @memberOf punycode
|
|
2230
|
+
* @type Object
|
|
2231
|
+
*/
|
|
2215
2232
|
"ucs2": {
|
|
2216
2233
|
"decode": ucs2decode,
|
|
2217
2234
|
"encode": ucs2encode
|
|
@@ -2240,136 +2257,1862 @@ var require_punycode = __commonJS({
|
|
|
2240
2257
|
}
|
|
2241
2258
|
});
|
|
2242
2259
|
|
|
2243
|
-
// node_modules/.pnpm/
|
|
2260
|
+
// node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js
|
|
2261
|
+
var require_shams = __commonJS({
|
|
2262
|
+
"node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js"(exports, module) {
|
|
2263
|
+
"use strict";
|
|
2264
|
+
module.exports = function hasSymbols() {
|
|
2265
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
2266
|
+
return false;
|
|
2267
|
+
}
|
|
2268
|
+
if (typeof Symbol.iterator === "symbol") {
|
|
2269
|
+
return true;
|
|
2270
|
+
}
|
|
2271
|
+
var obj = {};
|
|
2272
|
+
var sym = Symbol("test");
|
|
2273
|
+
var symObj = Object(sym);
|
|
2274
|
+
if (typeof sym === "string") {
|
|
2275
|
+
return false;
|
|
2276
|
+
}
|
|
2277
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
2278
|
+
return false;
|
|
2279
|
+
}
|
|
2280
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
2281
|
+
return false;
|
|
2282
|
+
}
|
|
2283
|
+
var symVal = 42;
|
|
2284
|
+
obj[sym] = symVal;
|
|
2285
|
+
for (sym in obj) {
|
|
2286
|
+
return false;
|
|
2287
|
+
}
|
|
2288
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
2289
|
+
return false;
|
|
2290
|
+
}
|
|
2291
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
2292
|
+
return false;
|
|
2293
|
+
}
|
|
2294
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
2295
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
2296
|
+
return false;
|
|
2297
|
+
}
|
|
2298
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
2299
|
+
return false;
|
|
2300
|
+
}
|
|
2301
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
2302
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
2303
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
2304
|
+
return false;
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
return true;
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
});
|
|
2311
|
+
|
|
2312
|
+
// node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js
|
|
2313
|
+
var require_has_symbols = __commonJS({
|
|
2314
|
+
"node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js"(exports, module) {
|
|
2315
|
+
"use strict";
|
|
2316
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
2317
|
+
var hasSymbolSham = require_shams();
|
|
2318
|
+
module.exports = function hasNativeSymbols() {
|
|
2319
|
+
if (typeof origSymbol !== "function") {
|
|
2320
|
+
return false;
|
|
2321
|
+
}
|
|
2322
|
+
if (typeof Symbol !== "function") {
|
|
2323
|
+
return false;
|
|
2324
|
+
}
|
|
2325
|
+
if (typeof origSymbol("foo") !== "symbol") {
|
|
2326
|
+
return false;
|
|
2327
|
+
}
|
|
2328
|
+
if (typeof Symbol("bar") !== "symbol") {
|
|
2329
|
+
return false;
|
|
2330
|
+
}
|
|
2331
|
+
return hasSymbolSham();
|
|
2332
|
+
};
|
|
2333
|
+
}
|
|
2334
|
+
});
|
|
2335
|
+
|
|
2336
|
+
// node_modules/.pnpm/has-proto@1.0.1/node_modules/has-proto/index.js
|
|
2337
|
+
var require_has_proto = __commonJS({
|
|
2338
|
+
"node_modules/.pnpm/has-proto@1.0.1/node_modules/has-proto/index.js"(exports, module) {
|
|
2339
|
+
"use strict";
|
|
2340
|
+
var test = {
|
|
2341
|
+
foo: {}
|
|
2342
|
+
};
|
|
2343
|
+
var $Object = Object;
|
|
2344
|
+
module.exports = function hasProto() {
|
|
2345
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
2346
|
+
};
|
|
2347
|
+
}
|
|
2348
|
+
});
|
|
2349
|
+
|
|
2350
|
+
// node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/implementation.js
|
|
2351
|
+
var require_implementation = __commonJS({
|
|
2352
|
+
"node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/implementation.js"(exports, module) {
|
|
2353
|
+
"use strict";
|
|
2354
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
2355
|
+
var slice = Array.prototype.slice;
|
|
2356
|
+
var toStr = Object.prototype.toString;
|
|
2357
|
+
var funcType = "[object Function]";
|
|
2358
|
+
module.exports = function bind2(that) {
|
|
2359
|
+
var target = this;
|
|
2360
|
+
if (typeof target !== "function" || toStr.call(target) !== funcType) {
|
|
2361
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
2362
|
+
}
|
|
2363
|
+
var args = slice.call(arguments, 1);
|
|
2364
|
+
var bound;
|
|
2365
|
+
var binder = function() {
|
|
2366
|
+
if (this instanceof bound) {
|
|
2367
|
+
var result = target.apply(
|
|
2368
|
+
this,
|
|
2369
|
+
args.concat(slice.call(arguments))
|
|
2370
|
+
);
|
|
2371
|
+
if (Object(result) === result) {
|
|
2372
|
+
return result;
|
|
2373
|
+
}
|
|
2374
|
+
return this;
|
|
2375
|
+
} else {
|
|
2376
|
+
return target.apply(
|
|
2377
|
+
that,
|
|
2378
|
+
args.concat(slice.call(arguments))
|
|
2379
|
+
);
|
|
2380
|
+
}
|
|
2381
|
+
};
|
|
2382
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
2383
|
+
var boundArgs = [];
|
|
2384
|
+
for (var i = 0; i < boundLength; i++) {
|
|
2385
|
+
boundArgs.push("$" + i);
|
|
2386
|
+
}
|
|
2387
|
+
bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
2388
|
+
if (target.prototype) {
|
|
2389
|
+
var Empty = function Empty2() {
|
|
2390
|
+
};
|
|
2391
|
+
Empty.prototype = target.prototype;
|
|
2392
|
+
bound.prototype = new Empty();
|
|
2393
|
+
Empty.prototype = null;
|
|
2394
|
+
}
|
|
2395
|
+
return bound;
|
|
2396
|
+
};
|
|
2397
|
+
}
|
|
2398
|
+
});
|
|
2399
|
+
|
|
2400
|
+
// node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/index.js
|
|
2401
|
+
var require_function_bind = __commonJS({
|
|
2402
|
+
"node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/index.js"(exports, module) {
|
|
2403
|
+
"use strict";
|
|
2404
|
+
var implementation = require_implementation();
|
|
2405
|
+
module.exports = Function.prototype.bind || implementation;
|
|
2406
|
+
}
|
|
2407
|
+
});
|
|
2408
|
+
|
|
2409
|
+
// node_modules/.pnpm/has@1.0.3/node_modules/has/src/index.js
|
|
2410
|
+
var require_src = __commonJS({
|
|
2411
|
+
"node_modules/.pnpm/has@1.0.3/node_modules/has/src/index.js"(exports, module) {
|
|
2412
|
+
"use strict";
|
|
2413
|
+
var bind2 = require_function_bind();
|
|
2414
|
+
module.exports = bind2.call(Function.call, Object.prototype.hasOwnProperty);
|
|
2415
|
+
}
|
|
2416
|
+
});
|
|
2417
|
+
|
|
2418
|
+
// node_modules/.pnpm/get-intrinsic@1.2.1/node_modules/get-intrinsic/index.js
|
|
2419
|
+
var require_get_intrinsic = __commonJS({
|
|
2420
|
+
"node_modules/.pnpm/get-intrinsic@1.2.1/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
2421
|
+
"use strict";
|
|
2422
|
+
var undefined2;
|
|
2423
|
+
var $SyntaxError = SyntaxError;
|
|
2424
|
+
var $Function = Function;
|
|
2425
|
+
var $TypeError = TypeError;
|
|
2426
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
2427
|
+
try {
|
|
2428
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
2429
|
+
} catch (e) {
|
|
2430
|
+
}
|
|
2431
|
+
};
|
|
2432
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
2433
|
+
if ($gOPD) {
|
|
2434
|
+
try {
|
|
2435
|
+
$gOPD({}, "");
|
|
2436
|
+
} catch (e) {
|
|
2437
|
+
$gOPD = null;
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
var throwTypeError = function() {
|
|
2441
|
+
throw new $TypeError();
|
|
2442
|
+
};
|
|
2443
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
2444
|
+
try {
|
|
2445
|
+
arguments.callee;
|
|
2446
|
+
return throwTypeError;
|
|
2447
|
+
} catch (calleeThrows) {
|
|
2448
|
+
try {
|
|
2449
|
+
return $gOPD(arguments, "callee").get;
|
|
2450
|
+
} catch (gOPDthrows) {
|
|
2451
|
+
return throwTypeError;
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}() : throwTypeError;
|
|
2455
|
+
var hasSymbols = require_has_symbols()();
|
|
2456
|
+
var hasProto = require_has_proto()();
|
|
2457
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
2458
|
+
return x.__proto__;
|
|
2459
|
+
} : null);
|
|
2460
|
+
var needsEval = {};
|
|
2461
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
2462
|
+
var INTRINSICS = {
|
|
2463
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
2464
|
+
"%Array%": Array,
|
|
2465
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
2466
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
2467
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
2468
|
+
"%AsyncFunction%": needsEval,
|
|
2469
|
+
"%AsyncGenerator%": needsEval,
|
|
2470
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
2471
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
2472
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
2473
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
2474
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
2475
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
2476
|
+
"%Boolean%": Boolean,
|
|
2477
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
2478
|
+
"%Date%": Date,
|
|
2479
|
+
"%decodeURI%": decodeURI,
|
|
2480
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
2481
|
+
"%encodeURI%": encodeURI,
|
|
2482
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
2483
|
+
"%Error%": Error,
|
|
2484
|
+
"%eval%": eval,
|
|
2485
|
+
// eslint-disable-line no-eval
|
|
2486
|
+
"%EvalError%": EvalError,
|
|
2487
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
2488
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
2489
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
2490
|
+
"%Function%": $Function,
|
|
2491
|
+
"%GeneratorFunction%": needsEval,
|
|
2492
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
2493
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
2494
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
2495
|
+
"%isFinite%": isFinite,
|
|
2496
|
+
"%isNaN%": isNaN,
|
|
2497
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
2498
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
2499
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
2500
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2501
|
+
"%Math%": Math,
|
|
2502
|
+
"%Number%": Number,
|
|
2503
|
+
"%Object%": Object,
|
|
2504
|
+
"%parseFloat%": parseFloat,
|
|
2505
|
+
"%parseInt%": parseInt,
|
|
2506
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
2507
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
2508
|
+
"%RangeError%": RangeError,
|
|
2509
|
+
"%ReferenceError%": ReferenceError,
|
|
2510
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
2511
|
+
"%RegExp%": RegExp,
|
|
2512
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
2513
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2514
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
2515
|
+
"%String%": String,
|
|
2516
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
2517
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
2518
|
+
"%SyntaxError%": $SyntaxError,
|
|
2519
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
2520
|
+
"%TypedArray%": TypedArray,
|
|
2521
|
+
"%TypeError%": $TypeError,
|
|
2522
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
2523
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
2524
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
2525
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
2526
|
+
"%URIError%": URIError,
|
|
2527
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
2528
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
2529
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
2530
|
+
};
|
|
2531
|
+
if (getProto) {
|
|
2532
|
+
try {
|
|
2533
|
+
null.error;
|
|
2534
|
+
} catch (e) {
|
|
2535
|
+
errorProto = getProto(getProto(e));
|
|
2536
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
var errorProto;
|
|
2540
|
+
var doEval = function doEval2(name) {
|
|
2541
|
+
var value;
|
|
2542
|
+
if (name === "%AsyncFunction%") {
|
|
2543
|
+
value = getEvalledConstructor("async function () {}");
|
|
2544
|
+
} else if (name === "%GeneratorFunction%") {
|
|
2545
|
+
value = getEvalledConstructor("function* () {}");
|
|
2546
|
+
} else if (name === "%AsyncGeneratorFunction%") {
|
|
2547
|
+
value = getEvalledConstructor("async function* () {}");
|
|
2548
|
+
} else if (name === "%AsyncGenerator%") {
|
|
2549
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
2550
|
+
if (fn) {
|
|
2551
|
+
value = fn.prototype;
|
|
2552
|
+
}
|
|
2553
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
2554
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
2555
|
+
if (gen && getProto) {
|
|
2556
|
+
value = getProto(gen.prototype);
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
INTRINSICS[name] = value;
|
|
2560
|
+
return value;
|
|
2561
|
+
};
|
|
2562
|
+
var LEGACY_ALIASES = {
|
|
2563
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
2564
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
2565
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
2566
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
2567
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
2568
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
2569
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
2570
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
2571
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
2572
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
2573
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
2574
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
2575
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
2576
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
2577
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
2578
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
2579
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
2580
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
2581
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
2582
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
2583
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
2584
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
2585
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
2586
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
2587
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
2588
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
2589
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
2590
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
2591
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
2592
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
2593
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
2594
|
+
"%Promise_all%": ["Promise", "all"],
|
|
2595
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
2596
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
2597
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
2598
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
2599
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
2600
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
2601
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
2602
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
2603
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
2604
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
2605
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
2606
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
2607
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
2608
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
2609
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
2610
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
2611
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
2612
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2613
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2614
|
+
};
|
|
2615
|
+
var bind2 = require_function_bind();
|
|
2616
|
+
var hasOwn = require_src();
|
|
2617
|
+
var $concat = bind2.call(Function.call, Array.prototype.concat);
|
|
2618
|
+
var $spliceApply = bind2.call(Function.apply, Array.prototype.splice);
|
|
2619
|
+
var $replace = bind2.call(Function.call, String.prototype.replace);
|
|
2620
|
+
var $strSlice = bind2.call(Function.call, String.prototype.slice);
|
|
2621
|
+
var $exec = bind2.call(Function.call, RegExp.prototype.exec);
|
|
2622
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
2623
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
2624
|
+
var stringToPath = function stringToPath2(string) {
|
|
2625
|
+
var first = $strSlice(string, 0, 1);
|
|
2626
|
+
var last2 = $strSlice(string, -1);
|
|
2627
|
+
if (first === "%" && last2 !== "%") {
|
|
2628
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
2629
|
+
} else if (last2 === "%" && first !== "%") {
|
|
2630
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
2631
|
+
}
|
|
2632
|
+
var result = [];
|
|
2633
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
2634
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
2635
|
+
});
|
|
2636
|
+
return result;
|
|
2637
|
+
};
|
|
2638
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
2639
|
+
var intrinsicName = name;
|
|
2640
|
+
var alias;
|
|
2641
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
2642
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
2643
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
2644
|
+
}
|
|
2645
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
2646
|
+
var value = INTRINSICS[intrinsicName];
|
|
2647
|
+
if (value === needsEval) {
|
|
2648
|
+
value = doEval(intrinsicName);
|
|
2649
|
+
}
|
|
2650
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
2651
|
+
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
2652
|
+
}
|
|
2653
|
+
return {
|
|
2654
|
+
alias,
|
|
2655
|
+
name: intrinsicName,
|
|
2656
|
+
value
|
|
2657
|
+
};
|
|
2658
|
+
}
|
|
2659
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
2660
|
+
};
|
|
2661
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
2662
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
2663
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
2664
|
+
}
|
|
2665
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
2666
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
2667
|
+
}
|
|
2668
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
2669
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
2670
|
+
}
|
|
2671
|
+
var parts = stringToPath(name);
|
|
2672
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
2673
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
2674
|
+
var intrinsicRealName = intrinsic.name;
|
|
2675
|
+
var value = intrinsic.value;
|
|
2676
|
+
var skipFurtherCaching = false;
|
|
2677
|
+
var alias = intrinsic.alias;
|
|
2678
|
+
if (alias) {
|
|
2679
|
+
intrinsicBaseName = alias[0];
|
|
2680
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
2681
|
+
}
|
|
2682
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
2683
|
+
var part = parts[i];
|
|
2684
|
+
var first = $strSlice(part, 0, 1);
|
|
2685
|
+
var last2 = $strSlice(part, -1);
|
|
2686
|
+
if ((first === '"' || first === "'" || first === "`" || (last2 === '"' || last2 === "'" || last2 === "`")) && first !== last2) {
|
|
2687
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
2688
|
+
}
|
|
2689
|
+
if (part === "constructor" || !isOwn) {
|
|
2690
|
+
skipFurtherCaching = true;
|
|
2691
|
+
}
|
|
2692
|
+
intrinsicBaseName += "." + part;
|
|
2693
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
2694
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
2695
|
+
value = INTRINSICS[intrinsicRealName];
|
|
2696
|
+
} else if (value != null) {
|
|
2697
|
+
if (!(part in value)) {
|
|
2698
|
+
if (!allowMissing) {
|
|
2699
|
+
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
2700
|
+
}
|
|
2701
|
+
return void 0;
|
|
2702
|
+
}
|
|
2703
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
2704
|
+
var desc = $gOPD(value, part);
|
|
2705
|
+
isOwn = !!desc;
|
|
2706
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
2707
|
+
value = desc.get;
|
|
2708
|
+
} else {
|
|
2709
|
+
value = value[part];
|
|
2710
|
+
}
|
|
2711
|
+
} else {
|
|
2712
|
+
isOwn = hasOwn(value, part);
|
|
2713
|
+
value = value[part];
|
|
2714
|
+
}
|
|
2715
|
+
if (isOwn && !skipFurtherCaching) {
|
|
2716
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
return value;
|
|
2721
|
+
};
|
|
2722
|
+
}
|
|
2723
|
+
});
|
|
2724
|
+
|
|
2725
|
+
// node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/index.js
|
|
2726
|
+
var require_call_bind = __commonJS({
|
|
2727
|
+
"node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/index.js"(exports, module) {
|
|
2728
|
+
"use strict";
|
|
2729
|
+
var bind2 = require_function_bind();
|
|
2730
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
2731
|
+
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
2732
|
+
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
2733
|
+
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind2.call($call, $apply);
|
|
2734
|
+
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
2735
|
+
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
2736
|
+
var $max = GetIntrinsic("%Math.max%");
|
|
2737
|
+
if ($defineProperty) {
|
|
2738
|
+
try {
|
|
2739
|
+
$defineProperty({}, "a", { value: 1 });
|
|
2740
|
+
} catch (e) {
|
|
2741
|
+
$defineProperty = null;
|
|
2742
|
+
}
|
|
2743
|
+
}
|
|
2744
|
+
module.exports = function callBind(originalFunction) {
|
|
2745
|
+
var func = $reflectApply(bind2, $call, arguments);
|
|
2746
|
+
if ($gOPD && $defineProperty) {
|
|
2747
|
+
var desc = $gOPD(func, "length");
|
|
2748
|
+
if (desc.configurable) {
|
|
2749
|
+
$defineProperty(
|
|
2750
|
+
func,
|
|
2751
|
+
"length",
|
|
2752
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
2753
|
+
);
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
return func;
|
|
2757
|
+
};
|
|
2758
|
+
var applyBind = function applyBind2() {
|
|
2759
|
+
return $reflectApply(bind2, $apply, arguments);
|
|
2760
|
+
};
|
|
2761
|
+
if ($defineProperty) {
|
|
2762
|
+
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
2763
|
+
} else {
|
|
2764
|
+
module.exports.apply = applyBind;
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
});
|
|
2768
|
+
|
|
2769
|
+
// node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js
|
|
2770
|
+
var require_callBound = __commonJS({
|
|
2771
|
+
"node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js"(exports, module) {
|
|
2772
|
+
"use strict";
|
|
2773
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
2774
|
+
var callBind = require_call_bind();
|
|
2775
|
+
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
2776
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
2777
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
2778
|
+
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
2779
|
+
return callBind(intrinsic);
|
|
2780
|
+
}
|
|
2781
|
+
return intrinsic;
|
|
2782
|
+
};
|
|
2783
|
+
}
|
|
2784
|
+
});
|
|
2785
|
+
|
|
2786
|
+
// (disabled):node_modules/.pnpm/object-inspect@1.12.3/node_modules/object-inspect/util.inspect
|
|
2244
2787
|
var require_util = __commonJS({
|
|
2245
|
-
"node_modules/.pnpm/
|
|
2788
|
+
"(disabled):node_modules/.pnpm/object-inspect@1.12.3/node_modules/object-inspect/util.inspect"() {
|
|
2789
|
+
}
|
|
2790
|
+
});
|
|
2791
|
+
|
|
2792
|
+
// node_modules/.pnpm/object-inspect@1.12.3/node_modules/object-inspect/index.js
|
|
2793
|
+
var require_object_inspect = __commonJS({
|
|
2794
|
+
"node_modules/.pnpm/object-inspect@1.12.3/node_modules/object-inspect/index.js"(exports, module) {
|
|
2795
|
+
var hasMap = typeof Map === "function" && Map.prototype;
|
|
2796
|
+
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
2797
|
+
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
|
|
2798
|
+
var mapForEach = hasMap && Map.prototype.forEach;
|
|
2799
|
+
var hasSet = typeof Set === "function" && Set.prototype;
|
|
2800
|
+
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
|
|
2801
|
+
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
|
|
2802
|
+
var setForEach = hasSet && Set.prototype.forEach;
|
|
2803
|
+
var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
|
|
2804
|
+
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
2805
|
+
var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
|
|
2806
|
+
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
2807
|
+
var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
|
|
2808
|
+
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
2809
|
+
var booleanValueOf = Boolean.prototype.valueOf;
|
|
2810
|
+
var objectToString = Object.prototype.toString;
|
|
2811
|
+
var functionToString = Function.prototype.toString;
|
|
2812
|
+
var $match = String.prototype.match;
|
|
2813
|
+
var $slice = String.prototype.slice;
|
|
2814
|
+
var $replace = String.prototype.replace;
|
|
2815
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
2816
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
2817
|
+
var $test = RegExp.prototype.test;
|
|
2818
|
+
var $concat = Array.prototype.concat;
|
|
2819
|
+
var $join = Array.prototype.join;
|
|
2820
|
+
var $arrSlice = Array.prototype.slice;
|
|
2821
|
+
var $floor = Math.floor;
|
|
2822
|
+
var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
|
|
2823
|
+
var gOPS = Object.getOwnPropertySymbols;
|
|
2824
|
+
var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
|
|
2825
|
+
var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
|
|
2826
|
+
var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
|
|
2827
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
2828
|
+
var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
|
|
2829
|
+
return O.__proto__;
|
|
2830
|
+
} : null);
|
|
2831
|
+
function addNumericSeparator(num, str) {
|
|
2832
|
+
if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
|
|
2833
|
+
return str;
|
|
2834
|
+
}
|
|
2835
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
2836
|
+
if (typeof num === "number") {
|
|
2837
|
+
var int = num < 0 ? -$floor(-num) : $floor(num);
|
|
2838
|
+
if (int !== num) {
|
|
2839
|
+
var intStr = String(int);
|
|
2840
|
+
var dec = $slice.call(str, intStr.length + 1);
|
|
2841
|
+
return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2844
|
+
return $replace.call(str, sepRegex, "$&_");
|
|
2845
|
+
}
|
|
2846
|
+
var utilInspect = require_util();
|
|
2847
|
+
var inspectCustom = utilInspect.custom;
|
|
2848
|
+
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
2849
|
+
module.exports = function inspect_(obj, options, depth, seen) {
|
|
2850
|
+
var opts = options || {};
|
|
2851
|
+
if (has(opts, "quoteStyle") && (opts.quoteStyle !== "single" && opts.quoteStyle !== "double")) {
|
|
2852
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
2853
|
+
}
|
|
2854
|
+
if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
|
|
2855
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
2856
|
+
}
|
|
2857
|
+
var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
|
|
2858
|
+
if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
|
|
2859
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
2860
|
+
}
|
|
2861
|
+
if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
|
|
2862
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
2863
|
+
}
|
|
2864
|
+
if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
|
|
2865
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
2866
|
+
}
|
|
2867
|
+
var numericSeparator = opts.numericSeparator;
|
|
2868
|
+
if (typeof obj === "undefined") {
|
|
2869
|
+
return "undefined";
|
|
2870
|
+
}
|
|
2871
|
+
if (obj === null) {
|
|
2872
|
+
return "null";
|
|
2873
|
+
}
|
|
2874
|
+
if (typeof obj === "boolean") {
|
|
2875
|
+
return obj ? "true" : "false";
|
|
2876
|
+
}
|
|
2877
|
+
if (typeof obj === "string") {
|
|
2878
|
+
return inspectString(obj, opts);
|
|
2879
|
+
}
|
|
2880
|
+
if (typeof obj === "number") {
|
|
2881
|
+
if (obj === 0) {
|
|
2882
|
+
return Infinity / obj > 0 ? "0" : "-0";
|
|
2883
|
+
}
|
|
2884
|
+
var str = String(obj);
|
|
2885
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
2886
|
+
}
|
|
2887
|
+
if (typeof obj === "bigint") {
|
|
2888
|
+
var bigIntStr = String(obj) + "n";
|
|
2889
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
2890
|
+
}
|
|
2891
|
+
var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
|
|
2892
|
+
if (typeof depth === "undefined") {
|
|
2893
|
+
depth = 0;
|
|
2894
|
+
}
|
|
2895
|
+
if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
|
|
2896
|
+
return isArray2(obj) ? "[Array]" : "[Object]";
|
|
2897
|
+
}
|
|
2898
|
+
var indent2 = getIndent(opts, depth);
|
|
2899
|
+
if (typeof seen === "undefined") {
|
|
2900
|
+
seen = [];
|
|
2901
|
+
} else if (indexOf(seen, obj) >= 0) {
|
|
2902
|
+
return "[Circular]";
|
|
2903
|
+
}
|
|
2904
|
+
function inspect(value, from2, noIndent) {
|
|
2905
|
+
if (from2) {
|
|
2906
|
+
seen = $arrSlice.call(seen);
|
|
2907
|
+
seen.push(from2);
|
|
2908
|
+
}
|
|
2909
|
+
if (noIndent) {
|
|
2910
|
+
var newOpts = {
|
|
2911
|
+
depth: opts.depth
|
|
2912
|
+
};
|
|
2913
|
+
if (has(opts, "quoteStyle")) {
|
|
2914
|
+
newOpts.quoteStyle = opts.quoteStyle;
|
|
2915
|
+
}
|
|
2916
|
+
return inspect_(value, newOpts, depth + 1, seen);
|
|
2917
|
+
}
|
|
2918
|
+
return inspect_(value, opts, depth + 1, seen);
|
|
2919
|
+
}
|
|
2920
|
+
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
2921
|
+
var name = nameOf(obj);
|
|
2922
|
+
var keys = arrObjKeys(obj, inspect);
|
|
2923
|
+
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys.length > 0 ? " { " + $join.call(keys, ", ") + " }" : "");
|
|
2924
|
+
}
|
|
2925
|
+
if (isSymbol(obj)) {
|
|
2926
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
2927
|
+
return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
2928
|
+
}
|
|
2929
|
+
if (isElement(obj)) {
|
|
2930
|
+
var s = "<" + $toLowerCase.call(String(obj.nodeName));
|
|
2931
|
+
var attrs = obj.attributes || [];
|
|
2932
|
+
for (var i = 0; i < attrs.length; i++) {
|
|
2933
|
+
s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
|
|
2934
|
+
}
|
|
2935
|
+
s += ">";
|
|
2936
|
+
if (obj.childNodes && obj.childNodes.length) {
|
|
2937
|
+
s += "...";
|
|
2938
|
+
}
|
|
2939
|
+
s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
|
|
2940
|
+
return s;
|
|
2941
|
+
}
|
|
2942
|
+
if (isArray2(obj)) {
|
|
2943
|
+
if (obj.length === 0) {
|
|
2944
|
+
return "[]";
|
|
2945
|
+
}
|
|
2946
|
+
var xs = arrObjKeys(obj, inspect);
|
|
2947
|
+
if (indent2 && !singleLineValues(xs)) {
|
|
2948
|
+
return "[" + indentedJoin(xs, indent2) + "]";
|
|
2949
|
+
}
|
|
2950
|
+
return "[ " + $join.call(xs, ", ") + " ]";
|
|
2951
|
+
}
|
|
2952
|
+
if (isError(obj)) {
|
|
2953
|
+
var parts = arrObjKeys(obj, inspect);
|
|
2954
|
+
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
2955
|
+
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
2956
|
+
}
|
|
2957
|
+
if (parts.length === 0) {
|
|
2958
|
+
return "[" + String(obj) + "]";
|
|
2959
|
+
}
|
|
2960
|
+
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
2961
|
+
}
|
|
2962
|
+
if (typeof obj === "object" && customInspect) {
|
|
2963
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
|
|
2964
|
+
return utilInspect(obj, { depth: maxDepth - depth });
|
|
2965
|
+
} else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
|
|
2966
|
+
return obj.inspect();
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
if (isMap(obj)) {
|
|
2970
|
+
var mapParts = [];
|
|
2971
|
+
if (mapForEach) {
|
|
2972
|
+
mapForEach.call(obj, function(value, key) {
|
|
2973
|
+
mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
|
|
2974
|
+
});
|
|
2975
|
+
}
|
|
2976
|
+
return collectionOf("Map", mapSize.call(obj), mapParts, indent2);
|
|
2977
|
+
}
|
|
2978
|
+
if (isSet(obj)) {
|
|
2979
|
+
var setParts = [];
|
|
2980
|
+
if (setForEach) {
|
|
2981
|
+
setForEach.call(obj, function(value) {
|
|
2982
|
+
setParts.push(inspect(value, obj));
|
|
2983
|
+
});
|
|
2984
|
+
}
|
|
2985
|
+
return collectionOf("Set", setSize.call(obj), setParts, indent2);
|
|
2986
|
+
}
|
|
2987
|
+
if (isWeakMap(obj)) {
|
|
2988
|
+
return weakCollectionOf("WeakMap");
|
|
2989
|
+
}
|
|
2990
|
+
if (isWeakSet(obj)) {
|
|
2991
|
+
return weakCollectionOf("WeakSet");
|
|
2992
|
+
}
|
|
2993
|
+
if (isWeakRef(obj)) {
|
|
2994
|
+
return weakCollectionOf("WeakRef");
|
|
2995
|
+
}
|
|
2996
|
+
if (isNumber(obj)) {
|
|
2997
|
+
return markBoxed(inspect(Number(obj)));
|
|
2998
|
+
}
|
|
2999
|
+
if (isBigInt(obj)) {
|
|
3000
|
+
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
3001
|
+
}
|
|
3002
|
+
if (isBoolean(obj)) {
|
|
3003
|
+
return markBoxed(booleanValueOf.call(obj));
|
|
3004
|
+
}
|
|
3005
|
+
if (isString(obj)) {
|
|
3006
|
+
return markBoxed(inspect(String(obj)));
|
|
3007
|
+
}
|
|
3008
|
+
if (!isDate(obj) && !isRegExp(obj)) {
|
|
3009
|
+
var ys = arrObjKeys(obj, inspect);
|
|
3010
|
+
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
3011
|
+
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
3012
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
3013
|
+
var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
3014
|
+
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
3015
|
+
if (ys.length === 0) {
|
|
3016
|
+
return tag + "{}";
|
|
3017
|
+
}
|
|
3018
|
+
if (indent2) {
|
|
3019
|
+
return tag + "{" + indentedJoin(ys, indent2) + "}";
|
|
3020
|
+
}
|
|
3021
|
+
return tag + "{ " + $join.call(ys, ", ") + " }";
|
|
3022
|
+
}
|
|
3023
|
+
return String(obj);
|
|
3024
|
+
};
|
|
3025
|
+
function wrapQuotes(s, defaultStyle, opts) {
|
|
3026
|
+
var quoteChar = (opts.quoteStyle || defaultStyle) === "double" ? '"' : "'";
|
|
3027
|
+
return quoteChar + s + quoteChar;
|
|
3028
|
+
}
|
|
3029
|
+
function quote(s) {
|
|
3030
|
+
return $replace.call(String(s), /"/g, """);
|
|
3031
|
+
}
|
|
3032
|
+
function isArray2(obj) {
|
|
3033
|
+
return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3034
|
+
}
|
|
3035
|
+
function isDate(obj) {
|
|
3036
|
+
return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3037
|
+
}
|
|
3038
|
+
function isRegExp(obj) {
|
|
3039
|
+
return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3040
|
+
}
|
|
3041
|
+
function isError(obj) {
|
|
3042
|
+
return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3043
|
+
}
|
|
3044
|
+
function isString(obj) {
|
|
3045
|
+
return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3046
|
+
}
|
|
3047
|
+
function isNumber(obj) {
|
|
3048
|
+
return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3049
|
+
}
|
|
3050
|
+
function isBoolean(obj) {
|
|
3051
|
+
return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
3052
|
+
}
|
|
3053
|
+
function isSymbol(obj) {
|
|
3054
|
+
if (hasShammedSymbols) {
|
|
3055
|
+
return obj && typeof obj === "object" && obj instanceof Symbol;
|
|
3056
|
+
}
|
|
3057
|
+
if (typeof obj === "symbol") {
|
|
3058
|
+
return true;
|
|
3059
|
+
}
|
|
3060
|
+
if (!obj || typeof obj !== "object" || !symToString) {
|
|
3061
|
+
return false;
|
|
3062
|
+
}
|
|
3063
|
+
try {
|
|
3064
|
+
symToString.call(obj);
|
|
3065
|
+
return true;
|
|
3066
|
+
} catch (e) {
|
|
3067
|
+
}
|
|
3068
|
+
return false;
|
|
3069
|
+
}
|
|
3070
|
+
function isBigInt(obj) {
|
|
3071
|
+
if (!obj || typeof obj !== "object" || !bigIntValueOf) {
|
|
3072
|
+
return false;
|
|
3073
|
+
}
|
|
3074
|
+
try {
|
|
3075
|
+
bigIntValueOf.call(obj);
|
|
3076
|
+
return true;
|
|
3077
|
+
} catch (e) {
|
|
3078
|
+
}
|
|
3079
|
+
return false;
|
|
3080
|
+
}
|
|
3081
|
+
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
3082
|
+
return key in this;
|
|
3083
|
+
};
|
|
3084
|
+
function has(obj, key) {
|
|
3085
|
+
return hasOwn.call(obj, key);
|
|
3086
|
+
}
|
|
3087
|
+
function toStr(obj) {
|
|
3088
|
+
return objectToString.call(obj);
|
|
3089
|
+
}
|
|
3090
|
+
function nameOf(f) {
|
|
3091
|
+
if (f.name) {
|
|
3092
|
+
return f.name;
|
|
3093
|
+
}
|
|
3094
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
3095
|
+
if (m) {
|
|
3096
|
+
return m[1];
|
|
3097
|
+
}
|
|
3098
|
+
return null;
|
|
3099
|
+
}
|
|
3100
|
+
function indexOf(xs, x) {
|
|
3101
|
+
if (xs.indexOf) {
|
|
3102
|
+
return xs.indexOf(x);
|
|
3103
|
+
}
|
|
3104
|
+
for (var i = 0, l = xs.length; i < l; i++) {
|
|
3105
|
+
if (xs[i] === x) {
|
|
3106
|
+
return i;
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
return -1;
|
|
3110
|
+
}
|
|
3111
|
+
function isMap(x) {
|
|
3112
|
+
if (!mapSize || !x || typeof x !== "object") {
|
|
3113
|
+
return false;
|
|
3114
|
+
}
|
|
3115
|
+
try {
|
|
3116
|
+
mapSize.call(x);
|
|
3117
|
+
try {
|
|
3118
|
+
setSize.call(x);
|
|
3119
|
+
} catch (s) {
|
|
3120
|
+
return true;
|
|
3121
|
+
}
|
|
3122
|
+
return x instanceof Map;
|
|
3123
|
+
} catch (e) {
|
|
3124
|
+
}
|
|
3125
|
+
return false;
|
|
3126
|
+
}
|
|
3127
|
+
function isWeakMap(x) {
|
|
3128
|
+
if (!weakMapHas || !x || typeof x !== "object") {
|
|
3129
|
+
return false;
|
|
3130
|
+
}
|
|
3131
|
+
try {
|
|
3132
|
+
weakMapHas.call(x, weakMapHas);
|
|
3133
|
+
try {
|
|
3134
|
+
weakSetHas.call(x, weakSetHas);
|
|
3135
|
+
} catch (s) {
|
|
3136
|
+
return true;
|
|
3137
|
+
}
|
|
3138
|
+
return x instanceof WeakMap;
|
|
3139
|
+
} catch (e) {
|
|
3140
|
+
}
|
|
3141
|
+
return false;
|
|
3142
|
+
}
|
|
3143
|
+
function isWeakRef(x) {
|
|
3144
|
+
if (!weakRefDeref || !x || typeof x !== "object") {
|
|
3145
|
+
return false;
|
|
3146
|
+
}
|
|
3147
|
+
try {
|
|
3148
|
+
weakRefDeref.call(x);
|
|
3149
|
+
return true;
|
|
3150
|
+
} catch (e) {
|
|
3151
|
+
}
|
|
3152
|
+
return false;
|
|
3153
|
+
}
|
|
3154
|
+
function isSet(x) {
|
|
3155
|
+
if (!setSize || !x || typeof x !== "object") {
|
|
3156
|
+
return false;
|
|
3157
|
+
}
|
|
3158
|
+
try {
|
|
3159
|
+
setSize.call(x);
|
|
3160
|
+
try {
|
|
3161
|
+
mapSize.call(x);
|
|
3162
|
+
} catch (m) {
|
|
3163
|
+
return true;
|
|
3164
|
+
}
|
|
3165
|
+
return x instanceof Set;
|
|
3166
|
+
} catch (e) {
|
|
3167
|
+
}
|
|
3168
|
+
return false;
|
|
3169
|
+
}
|
|
3170
|
+
function isWeakSet(x) {
|
|
3171
|
+
if (!weakSetHas || !x || typeof x !== "object") {
|
|
3172
|
+
return false;
|
|
3173
|
+
}
|
|
3174
|
+
try {
|
|
3175
|
+
weakSetHas.call(x, weakSetHas);
|
|
3176
|
+
try {
|
|
3177
|
+
weakMapHas.call(x, weakMapHas);
|
|
3178
|
+
} catch (s) {
|
|
3179
|
+
return true;
|
|
3180
|
+
}
|
|
3181
|
+
return x instanceof WeakSet;
|
|
3182
|
+
} catch (e) {
|
|
3183
|
+
}
|
|
3184
|
+
return false;
|
|
3185
|
+
}
|
|
3186
|
+
function isElement(x) {
|
|
3187
|
+
if (!x || typeof x !== "object") {
|
|
3188
|
+
return false;
|
|
3189
|
+
}
|
|
3190
|
+
if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
|
|
3191
|
+
return true;
|
|
3192
|
+
}
|
|
3193
|
+
return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
|
|
3194
|
+
}
|
|
3195
|
+
function inspectString(str, opts) {
|
|
3196
|
+
if (str.length > opts.maxStringLength) {
|
|
3197
|
+
var remaining = str.length - opts.maxStringLength;
|
|
3198
|
+
var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
|
|
3199
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
3200
|
+
}
|
|
3201
|
+
var s = $replace.call($replace.call(str, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, lowbyte);
|
|
3202
|
+
return wrapQuotes(s, "single", opts);
|
|
3203
|
+
}
|
|
3204
|
+
function lowbyte(c) {
|
|
3205
|
+
var n = c.charCodeAt(0);
|
|
3206
|
+
var x = {
|
|
3207
|
+
8: "b",
|
|
3208
|
+
9: "t",
|
|
3209
|
+
10: "n",
|
|
3210
|
+
12: "f",
|
|
3211
|
+
13: "r"
|
|
3212
|
+
}[n];
|
|
3213
|
+
if (x) {
|
|
3214
|
+
return "\\" + x;
|
|
3215
|
+
}
|
|
3216
|
+
return "\\x" + (n < 16 ? "0" : "") + $toUpperCase.call(n.toString(16));
|
|
3217
|
+
}
|
|
3218
|
+
function markBoxed(str) {
|
|
3219
|
+
return "Object(" + str + ")";
|
|
3220
|
+
}
|
|
3221
|
+
function weakCollectionOf(type) {
|
|
3222
|
+
return type + " { ? }";
|
|
3223
|
+
}
|
|
3224
|
+
function collectionOf(type, size, entries, indent2) {
|
|
3225
|
+
var joinedEntries = indent2 ? indentedJoin(entries, indent2) : $join.call(entries, ", ");
|
|
3226
|
+
return type + " (" + size + ") {" + joinedEntries + "}";
|
|
3227
|
+
}
|
|
3228
|
+
function singleLineValues(xs) {
|
|
3229
|
+
for (var i = 0; i < xs.length; i++) {
|
|
3230
|
+
if (indexOf(xs[i], "\n") >= 0) {
|
|
3231
|
+
return false;
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
return true;
|
|
3235
|
+
}
|
|
3236
|
+
function getIndent(opts, depth) {
|
|
3237
|
+
var baseIndent;
|
|
3238
|
+
if (opts.indent === " ") {
|
|
3239
|
+
baseIndent = " ";
|
|
3240
|
+
} else if (typeof opts.indent === "number" && opts.indent > 0) {
|
|
3241
|
+
baseIndent = $join.call(Array(opts.indent + 1), " ");
|
|
3242
|
+
} else {
|
|
3243
|
+
return null;
|
|
3244
|
+
}
|
|
3245
|
+
return {
|
|
3246
|
+
base: baseIndent,
|
|
3247
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
3248
|
+
};
|
|
3249
|
+
}
|
|
3250
|
+
function indentedJoin(xs, indent2) {
|
|
3251
|
+
if (xs.length === 0) {
|
|
3252
|
+
return "";
|
|
3253
|
+
}
|
|
3254
|
+
var lineJoiner = "\n" + indent2.prev + indent2.base;
|
|
3255
|
+
return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent2.prev;
|
|
3256
|
+
}
|
|
3257
|
+
function arrObjKeys(obj, inspect) {
|
|
3258
|
+
var isArr = isArray2(obj);
|
|
3259
|
+
var xs = [];
|
|
3260
|
+
if (isArr) {
|
|
3261
|
+
xs.length = obj.length;
|
|
3262
|
+
for (var i = 0; i < obj.length; i++) {
|
|
3263
|
+
xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
var syms = typeof gOPS === "function" ? gOPS(obj) : [];
|
|
3267
|
+
var symMap;
|
|
3268
|
+
if (hasShammedSymbols) {
|
|
3269
|
+
symMap = {};
|
|
3270
|
+
for (var k = 0; k < syms.length; k++) {
|
|
3271
|
+
symMap["$" + syms[k]] = syms[k];
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3274
|
+
for (var key in obj) {
|
|
3275
|
+
if (!has(obj, key)) {
|
|
3276
|
+
continue;
|
|
3277
|
+
}
|
|
3278
|
+
if (isArr && String(Number(key)) === key && key < obj.length) {
|
|
3279
|
+
continue;
|
|
3280
|
+
}
|
|
3281
|
+
if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
|
|
3282
|
+
continue;
|
|
3283
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
|
3284
|
+
xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
|
|
3285
|
+
} else {
|
|
3286
|
+
xs.push(key + ": " + inspect(obj[key], obj));
|
|
3287
|
+
}
|
|
3288
|
+
}
|
|
3289
|
+
if (typeof gOPS === "function") {
|
|
3290
|
+
for (var j = 0; j < syms.length; j++) {
|
|
3291
|
+
if (isEnumerable.call(obj, syms[j])) {
|
|
3292
|
+
xs.push("[" + inspect(syms[j]) + "]: " + inspect(obj[syms[j]], obj));
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
return xs;
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
});
|
|
3300
|
+
|
|
3301
|
+
// node_modules/.pnpm/side-channel@1.0.4/node_modules/side-channel/index.js
|
|
3302
|
+
var require_side_channel = __commonJS({
|
|
3303
|
+
"node_modules/.pnpm/side-channel@1.0.4/node_modules/side-channel/index.js"(exports, module) {
|
|
3304
|
+
"use strict";
|
|
3305
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
3306
|
+
var callBound = require_callBound();
|
|
3307
|
+
var inspect = require_object_inspect();
|
|
3308
|
+
var $TypeError = GetIntrinsic("%TypeError%");
|
|
3309
|
+
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
3310
|
+
var $Map = GetIntrinsic("%Map%", true);
|
|
3311
|
+
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
3312
|
+
var $weakMapSet = callBound("WeakMap.prototype.set", true);
|
|
3313
|
+
var $weakMapHas = callBound("WeakMap.prototype.has", true);
|
|
3314
|
+
var $mapGet = callBound("Map.prototype.get", true);
|
|
3315
|
+
var $mapSet = callBound("Map.prototype.set", true);
|
|
3316
|
+
var $mapHas = callBound("Map.prototype.has", true);
|
|
3317
|
+
var listGetNode = function(list, key) {
|
|
3318
|
+
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
|
3319
|
+
if (curr.key === key) {
|
|
3320
|
+
prev.next = curr.next;
|
|
3321
|
+
curr.next = list.next;
|
|
3322
|
+
list.next = curr;
|
|
3323
|
+
return curr;
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
};
|
|
3327
|
+
var listGet = function(objects, key) {
|
|
3328
|
+
var node = listGetNode(objects, key);
|
|
3329
|
+
return node && node.value;
|
|
3330
|
+
};
|
|
3331
|
+
var listSet = function(objects, key, value) {
|
|
3332
|
+
var node = listGetNode(objects, key);
|
|
3333
|
+
if (node) {
|
|
3334
|
+
node.value = value;
|
|
3335
|
+
} else {
|
|
3336
|
+
objects.next = {
|
|
3337
|
+
// eslint-disable-line no-param-reassign
|
|
3338
|
+
key,
|
|
3339
|
+
next: objects.next,
|
|
3340
|
+
value
|
|
3341
|
+
};
|
|
3342
|
+
}
|
|
3343
|
+
};
|
|
3344
|
+
var listHas = function(objects, key) {
|
|
3345
|
+
return !!listGetNode(objects, key);
|
|
3346
|
+
};
|
|
3347
|
+
module.exports = function getSideChannel() {
|
|
3348
|
+
var $wm;
|
|
3349
|
+
var $m;
|
|
3350
|
+
var $o;
|
|
3351
|
+
var channel = {
|
|
3352
|
+
assert: function(key) {
|
|
3353
|
+
if (!channel.has(key)) {
|
|
3354
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
3355
|
+
}
|
|
3356
|
+
},
|
|
3357
|
+
get: function(key) {
|
|
3358
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
3359
|
+
if ($wm) {
|
|
3360
|
+
return $weakMapGet($wm, key);
|
|
3361
|
+
}
|
|
3362
|
+
} else if ($Map) {
|
|
3363
|
+
if ($m) {
|
|
3364
|
+
return $mapGet($m, key);
|
|
3365
|
+
}
|
|
3366
|
+
} else {
|
|
3367
|
+
if ($o) {
|
|
3368
|
+
return listGet($o, key);
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
has: function(key) {
|
|
3373
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
3374
|
+
if ($wm) {
|
|
3375
|
+
return $weakMapHas($wm, key);
|
|
3376
|
+
}
|
|
3377
|
+
} else if ($Map) {
|
|
3378
|
+
if ($m) {
|
|
3379
|
+
return $mapHas($m, key);
|
|
3380
|
+
}
|
|
3381
|
+
} else {
|
|
3382
|
+
if ($o) {
|
|
3383
|
+
return listHas($o, key);
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
return false;
|
|
3387
|
+
},
|
|
3388
|
+
set: function(key, value) {
|
|
3389
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
3390
|
+
if (!$wm) {
|
|
3391
|
+
$wm = new $WeakMap();
|
|
3392
|
+
}
|
|
3393
|
+
$weakMapSet($wm, key, value);
|
|
3394
|
+
} else if ($Map) {
|
|
3395
|
+
if (!$m) {
|
|
3396
|
+
$m = new $Map();
|
|
3397
|
+
}
|
|
3398
|
+
$mapSet($m, key, value);
|
|
3399
|
+
} else {
|
|
3400
|
+
if (!$o) {
|
|
3401
|
+
$o = { key: {}, next: null };
|
|
3402
|
+
}
|
|
3403
|
+
listSet($o, key, value);
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
};
|
|
3407
|
+
return channel;
|
|
3408
|
+
};
|
|
3409
|
+
}
|
|
3410
|
+
});
|
|
3411
|
+
|
|
3412
|
+
// node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/formats.js
|
|
3413
|
+
var require_formats = __commonJS({
|
|
3414
|
+
"node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/formats.js"(exports, module) {
|
|
2246
3415
|
"use strict";
|
|
3416
|
+
var replace = String.prototype.replace;
|
|
3417
|
+
var percentTwenties = /%20/g;
|
|
3418
|
+
var Format = {
|
|
3419
|
+
RFC1738: "RFC1738",
|
|
3420
|
+
RFC3986: "RFC3986"
|
|
3421
|
+
};
|
|
2247
3422
|
module.exports = {
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
3423
|
+
"default": Format.RFC3986,
|
|
3424
|
+
formatters: {
|
|
3425
|
+
RFC1738: function(value) {
|
|
3426
|
+
return replace.call(value, percentTwenties, "+");
|
|
3427
|
+
},
|
|
3428
|
+
RFC3986: function(value) {
|
|
3429
|
+
return String(value);
|
|
3430
|
+
}
|
|
2256
3431
|
},
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
}
|
|
3432
|
+
RFC1738: Format.RFC1738,
|
|
3433
|
+
RFC3986: Format.RFC3986
|
|
2260
3434
|
};
|
|
2261
3435
|
}
|
|
2262
3436
|
});
|
|
2263
3437
|
|
|
2264
|
-
// node_modules/.pnpm/
|
|
2265
|
-
var
|
|
2266
|
-
"node_modules/.pnpm/
|
|
3438
|
+
// node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/utils.js
|
|
3439
|
+
var require_utils = __commonJS({
|
|
3440
|
+
"node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/utils.js"(exports, module) {
|
|
2267
3441
|
"use strict";
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
3442
|
+
var formats = require_formats();
|
|
3443
|
+
var has = Object.prototype.hasOwnProperty;
|
|
3444
|
+
var isArray2 = Array.isArray;
|
|
3445
|
+
var hexTable = function() {
|
|
3446
|
+
var array = [];
|
|
3447
|
+
for (var i = 0; i < 256; ++i) {
|
|
3448
|
+
array.push("%" + ((i < 16 ? "0" : "") + i.toString(16)).toUpperCase());
|
|
3449
|
+
}
|
|
3450
|
+
return array;
|
|
3451
|
+
}();
|
|
3452
|
+
var compactQueue = function compactQueue2(queue) {
|
|
3453
|
+
while (queue.length > 1) {
|
|
3454
|
+
var item = queue.pop();
|
|
3455
|
+
var obj = item.obj[item.prop];
|
|
3456
|
+
if (isArray2(obj)) {
|
|
3457
|
+
var compacted = [];
|
|
3458
|
+
for (var j = 0; j < obj.length; ++j) {
|
|
3459
|
+
if (typeof obj[j] !== "undefined") {
|
|
3460
|
+
compacted.push(obj[j]);
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
item.obj[item.prop] = compacted;
|
|
3464
|
+
}
|
|
2277
3465
|
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
var
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
3466
|
+
};
|
|
3467
|
+
var arrayToObject = function arrayToObject2(source, options) {
|
|
3468
|
+
var obj = options && options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
3469
|
+
for (var i = 0; i < source.length; ++i) {
|
|
3470
|
+
if (typeof source[i] !== "undefined") {
|
|
3471
|
+
obj[i] = source[i];
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3474
|
+
return obj;
|
|
3475
|
+
};
|
|
3476
|
+
var merge = function merge2(target, source, options) {
|
|
3477
|
+
if (!source) {
|
|
3478
|
+
return target;
|
|
3479
|
+
}
|
|
3480
|
+
if (typeof source !== "object") {
|
|
3481
|
+
if (isArray2(target)) {
|
|
3482
|
+
target.push(source);
|
|
3483
|
+
} else if (target && typeof target === "object") {
|
|
3484
|
+
if (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) {
|
|
3485
|
+
target[source] = true;
|
|
3486
|
+
}
|
|
2293
3487
|
} else {
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
3488
|
+
return [target, source];
|
|
3489
|
+
}
|
|
3490
|
+
return target;
|
|
3491
|
+
}
|
|
3492
|
+
if (!target || typeof target !== "object") {
|
|
3493
|
+
return [target].concat(source);
|
|
3494
|
+
}
|
|
3495
|
+
var mergeTarget = target;
|
|
3496
|
+
if (isArray2(target) && !isArray2(source)) {
|
|
3497
|
+
mergeTarget = arrayToObject(target, options);
|
|
3498
|
+
}
|
|
3499
|
+
if (isArray2(target) && isArray2(source)) {
|
|
3500
|
+
source.forEach(function(item, i) {
|
|
3501
|
+
if (has.call(target, i)) {
|
|
3502
|
+
var targetItem = target[i];
|
|
3503
|
+
if (targetItem && typeof targetItem === "object" && item && typeof item === "object") {
|
|
3504
|
+
target[i] = merge2(targetItem, item, options);
|
|
3505
|
+
} else {
|
|
3506
|
+
target.push(item);
|
|
3507
|
+
}
|
|
3508
|
+
} else {
|
|
3509
|
+
target[i] = item;
|
|
3510
|
+
}
|
|
3511
|
+
});
|
|
3512
|
+
return target;
|
|
3513
|
+
}
|
|
3514
|
+
return Object.keys(source).reduce(function(acc, key) {
|
|
3515
|
+
var value = source[key];
|
|
3516
|
+
if (has.call(acc, key)) {
|
|
3517
|
+
acc[key] = merge2(acc[key], value, options);
|
|
2303
3518
|
} else {
|
|
2304
|
-
|
|
3519
|
+
acc[key] = value;
|
|
2305
3520
|
}
|
|
3521
|
+
return acc;
|
|
3522
|
+
}, mergeTarget);
|
|
3523
|
+
};
|
|
3524
|
+
var assign = function assignSingleSource(target, source) {
|
|
3525
|
+
return Object.keys(source).reduce(function(acc, key) {
|
|
3526
|
+
acc[key] = source[key];
|
|
3527
|
+
return acc;
|
|
3528
|
+
}, target);
|
|
3529
|
+
};
|
|
3530
|
+
var decode2 = function(str, decoder, charset) {
|
|
3531
|
+
var strWithoutPlus = str.replace(/\+/g, " ");
|
|
3532
|
+
if (charset === "iso-8859-1") {
|
|
3533
|
+
return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
2306
3534
|
}
|
|
2307
|
-
|
|
3535
|
+
try {
|
|
3536
|
+
return decodeURIComponent(strWithoutPlus);
|
|
3537
|
+
} catch (e) {
|
|
3538
|
+
return strWithoutPlus;
|
|
3539
|
+
}
|
|
3540
|
+
};
|
|
3541
|
+
var encode2 = function encode3(str, defaultEncoder, charset, kind, format) {
|
|
3542
|
+
if (str.length === 0) {
|
|
3543
|
+
return str;
|
|
3544
|
+
}
|
|
3545
|
+
var string = str;
|
|
3546
|
+
if (typeof str === "symbol") {
|
|
3547
|
+
string = Symbol.prototype.toString.call(str);
|
|
3548
|
+
} else if (typeof str !== "string") {
|
|
3549
|
+
string = String(str);
|
|
3550
|
+
}
|
|
3551
|
+
if (charset === "iso-8859-1") {
|
|
3552
|
+
return escape(string).replace(/%u[0-9a-f]{4}/gi, function($0) {
|
|
3553
|
+
return "%26%23" + parseInt($0.slice(2), 16) + "%3B";
|
|
3554
|
+
});
|
|
3555
|
+
}
|
|
3556
|
+
var out = "";
|
|
3557
|
+
for (var i = 0; i < string.length; ++i) {
|
|
3558
|
+
var c = string.charCodeAt(i);
|
|
3559
|
+
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
|
|
3560
|
+
out += string.charAt(i);
|
|
3561
|
+
continue;
|
|
3562
|
+
}
|
|
3563
|
+
if (c < 128) {
|
|
3564
|
+
out = out + hexTable[c];
|
|
3565
|
+
continue;
|
|
3566
|
+
}
|
|
3567
|
+
if (c < 2048) {
|
|
3568
|
+
out = out + (hexTable[192 | c >> 6] + hexTable[128 | c & 63]);
|
|
3569
|
+
continue;
|
|
3570
|
+
}
|
|
3571
|
+
if (c < 55296 || c >= 57344) {
|
|
3572
|
+
out = out + (hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63]);
|
|
3573
|
+
continue;
|
|
3574
|
+
}
|
|
3575
|
+
i += 1;
|
|
3576
|
+
c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i) & 1023);
|
|
3577
|
+
out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
3578
|
+
}
|
|
3579
|
+
return out;
|
|
3580
|
+
};
|
|
3581
|
+
var compact = function compact2(value) {
|
|
3582
|
+
var queue = [{ obj: { o: value }, prop: "o" }];
|
|
3583
|
+
var refs = [];
|
|
3584
|
+
for (var i = 0; i < queue.length; ++i) {
|
|
3585
|
+
var item = queue[i];
|
|
3586
|
+
var obj = item.obj[item.prop];
|
|
3587
|
+
var keys = Object.keys(obj);
|
|
3588
|
+
for (var j = 0; j < keys.length; ++j) {
|
|
3589
|
+
var key = keys[j];
|
|
3590
|
+
var val = obj[key];
|
|
3591
|
+
if (typeof val === "object" && val !== null && refs.indexOf(val) === -1) {
|
|
3592
|
+
queue.push({ obj, prop: key });
|
|
3593
|
+
refs.push(val);
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
}
|
|
3597
|
+
compactQueue(queue);
|
|
3598
|
+
return value;
|
|
3599
|
+
};
|
|
3600
|
+
var isRegExp = function isRegExp2(obj) {
|
|
3601
|
+
return Object.prototype.toString.call(obj) === "[object RegExp]";
|
|
3602
|
+
};
|
|
3603
|
+
var isBuffer = function isBuffer2(obj) {
|
|
3604
|
+
if (!obj || typeof obj !== "object") {
|
|
3605
|
+
return false;
|
|
3606
|
+
}
|
|
3607
|
+
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
|
3608
|
+
};
|
|
3609
|
+
var combine = function combine2(a, b) {
|
|
3610
|
+
return [].concat(a, b);
|
|
3611
|
+
};
|
|
3612
|
+
var maybeMap = function maybeMap2(val, fn) {
|
|
3613
|
+
if (isArray2(val)) {
|
|
3614
|
+
var mapped = [];
|
|
3615
|
+
for (var i = 0; i < val.length; i += 1) {
|
|
3616
|
+
mapped.push(fn(val[i]));
|
|
3617
|
+
}
|
|
3618
|
+
return mapped;
|
|
3619
|
+
}
|
|
3620
|
+
return fn(val);
|
|
3621
|
+
};
|
|
3622
|
+
module.exports = {
|
|
3623
|
+
arrayToObject,
|
|
3624
|
+
assign,
|
|
3625
|
+
combine,
|
|
3626
|
+
compact,
|
|
3627
|
+
decode: decode2,
|
|
3628
|
+
encode: encode2,
|
|
3629
|
+
isBuffer,
|
|
3630
|
+
isRegExp,
|
|
3631
|
+
maybeMap,
|
|
3632
|
+
merge
|
|
2308
3633
|
};
|
|
2309
3634
|
}
|
|
2310
3635
|
});
|
|
2311
3636
|
|
|
2312
|
-
// node_modules/.pnpm/
|
|
2313
|
-
var
|
|
2314
|
-
"node_modules/.pnpm/
|
|
3637
|
+
// node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/stringify.js
|
|
3638
|
+
var require_stringify = __commonJS({
|
|
3639
|
+
"node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/stringify.js"(exports, module) {
|
|
2315
3640
|
"use strict";
|
|
2316
|
-
var
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
3641
|
+
var getSideChannel = require_side_channel();
|
|
3642
|
+
var utils = require_utils();
|
|
3643
|
+
var formats = require_formats();
|
|
3644
|
+
var has = Object.prototype.hasOwnProperty;
|
|
3645
|
+
var arrayPrefixGenerators = {
|
|
3646
|
+
brackets: function brackets(prefix) {
|
|
3647
|
+
return prefix + "[]";
|
|
3648
|
+
},
|
|
3649
|
+
comma: "comma",
|
|
3650
|
+
indices: function indices(prefix, key) {
|
|
3651
|
+
return prefix + "[" + key + "]";
|
|
3652
|
+
},
|
|
3653
|
+
repeat: function repeat(prefix) {
|
|
3654
|
+
return prefix;
|
|
2326
3655
|
}
|
|
2327
3656
|
};
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
3657
|
+
var isArray2 = Array.isArray;
|
|
3658
|
+
var push = Array.prototype.push;
|
|
3659
|
+
var pushToArray = function(arr, valueOrArray) {
|
|
3660
|
+
push.apply(arr, isArray2(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
3661
|
+
};
|
|
3662
|
+
var toISO = Date.prototype.toISOString;
|
|
3663
|
+
var defaultFormat = formats["default"];
|
|
3664
|
+
var defaults = {
|
|
3665
|
+
addQueryPrefix: false,
|
|
3666
|
+
allowDots: false,
|
|
3667
|
+
charset: "utf-8",
|
|
3668
|
+
charsetSentinel: false,
|
|
3669
|
+
delimiter: "&",
|
|
3670
|
+
encode: true,
|
|
3671
|
+
encoder: utils.encode,
|
|
3672
|
+
encodeValuesOnly: false,
|
|
3673
|
+
format: defaultFormat,
|
|
3674
|
+
formatter: formats.formatters[defaultFormat],
|
|
3675
|
+
// deprecated
|
|
3676
|
+
indices: false,
|
|
3677
|
+
serializeDate: function serializeDate(date) {
|
|
3678
|
+
return toISO.call(date);
|
|
3679
|
+
},
|
|
3680
|
+
skipNulls: false,
|
|
3681
|
+
strictNullHandling: false
|
|
3682
|
+
};
|
|
3683
|
+
var isNonNullishPrimitive = function isNonNullishPrimitive2(v) {
|
|
3684
|
+
return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
|
|
3685
|
+
};
|
|
3686
|
+
var sentinel = {};
|
|
3687
|
+
var stringify2 = function stringify3(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter2, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
3688
|
+
var obj = object;
|
|
3689
|
+
var tmpSc = sideChannel;
|
|
3690
|
+
var step = 0;
|
|
3691
|
+
var findFlag = false;
|
|
3692
|
+
while ((tmpSc = tmpSc.get(sentinel)) !== void 0 && !findFlag) {
|
|
3693
|
+
var pos = tmpSc.get(object);
|
|
3694
|
+
step += 1;
|
|
3695
|
+
if (typeof pos !== "undefined") {
|
|
3696
|
+
if (pos === step) {
|
|
3697
|
+
throw new RangeError("Cyclic object value");
|
|
2341
3698
|
} else {
|
|
2342
|
-
|
|
3699
|
+
findFlag = true;
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
if (typeof tmpSc.get(sentinel) === "undefined") {
|
|
3703
|
+
step = 0;
|
|
3704
|
+
}
|
|
3705
|
+
}
|
|
3706
|
+
if (typeof filter2 === "function") {
|
|
3707
|
+
obj = filter2(prefix, obj);
|
|
3708
|
+
} else if (obj instanceof Date) {
|
|
3709
|
+
obj = serializeDate(obj);
|
|
3710
|
+
} else if (generateArrayPrefix === "comma" && isArray2(obj)) {
|
|
3711
|
+
obj = utils.maybeMap(obj, function(value2) {
|
|
3712
|
+
if (value2 instanceof Date) {
|
|
3713
|
+
return serializeDate(value2);
|
|
2343
3714
|
}
|
|
2344
|
-
|
|
3715
|
+
return value2;
|
|
3716
|
+
});
|
|
3717
|
+
}
|
|
3718
|
+
if (obj === null) {
|
|
3719
|
+
if (strictNullHandling) {
|
|
3720
|
+
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, "key", format) : prefix;
|
|
3721
|
+
}
|
|
3722
|
+
obj = "";
|
|
3723
|
+
}
|
|
3724
|
+
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
3725
|
+
if (encoder) {
|
|
3726
|
+
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, "key", format);
|
|
3727
|
+
return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults.encoder, charset, "value", format))];
|
|
3728
|
+
}
|
|
3729
|
+
return [formatter(prefix) + "=" + formatter(String(obj))];
|
|
3730
|
+
}
|
|
3731
|
+
var values = [];
|
|
3732
|
+
if (typeof obj === "undefined") {
|
|
3733
|
+
return values;
|
|
3734
|
+
}
|
|
3735
|
+
var objKeys;
|
|
3736
|
+
if (generateArrayPrefix === "comma" && isArray2(obj)) {
|
|
3737
|
+
if (encodeValuesOnly && encoder) {
|
|
3738
|
+
obj = utils.maybeMap(obj, encoder);
|
|
3739
|
+
}
|
|
3740
|
+
objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
|
|
3741
|
+
} else if (isArray2(filter2)) {
|
|
3742
|
+
objKeys = filter2;
|
|
3743
|
+
} else {
|
|
3744
|
+
var keys = Object.keys(obj);
|
|
3745
|
+
objKeys = sort ? keys.sort(sort) : keys;
|
|
3746
|
+
}
|
|
3747
|
+
var adjustedPrefix = commaRoundTrip && isArray2(obj) && obj.length === 1 ? prefix + "[]" : prefix;
|
|
3748
|
+
for (var j = 0; j < objKeys.length; ++j) {
|
|
3749
|
+
var key = objKeys[j];
|
|
3750
|
+
var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
|
|
3751
|
+
if (skipNulls && value === null) {
|
|
3752
|
+
continue;
|
|
3753
|
+
}
|
|
3754
|
+
var keyPrefix = isArray2(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + key : "[" + key + "]");
|
|
3755
|
+
sideChannel.set(object, step);
|
|
3756
|
+
var valueSideChannel = getSideChannel();
|
|
3757
|
+
valueSideChannel.set(sentinel, sideChannel);
|
|
3758
|
+
pushToArray(values, stringify3(
|
|
3759
|
+
value,
|
|
3760
|
+
keyPrefix,
|
|
3761
|
+
generateArrayPrefix,
|
|
3762
|
+
commaRoundTrip,
|
|
3763
|
+
strictNullHandling,
|
|
3764
|
+
skipNulls,
|
|
3765
|
+
generateArrayPrefix === "comma" && encodeValuesOnly && isArray2(obj) ? null : encoder,
|
|
3766
|
+
filter2,
|
|
3767
|
+
sort,
|
|
3768
|
+
allowDots,
|
|
3769
|
+
serializeDate,
|
|
3770
|
+
format,
|
|
3771
|
+
formatter,
|
|
3772
|
+
encodeValuesOnly,
|
|
3773
|
+
charset,
|
|
3774
|
+
valueSideChannel
|
|
3775
|
+
));
|
|
3776
|
+
}
|
|
3777
|
+
return values;
|
|
3778
|
+
};
|
|
3779
|
+
var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
|
|
3780
|
+
if (!opts) {
|
|
3781
|
+
return defaults;
|
|
3782
|
+
}
|
|
3783
|
+
if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
|
|
3784
|
+
throw new TypeError("Encoder has to be a function.");
|
|
3785
|
+
}
|
|
3786
|
+
var charset = opts.charset || defaults.charset;
|
|
3787
|
+
if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
|
|
3788
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
2345
3789
|
}
|
|
2346
|
-
|
|
3790
|
+
var format = formats["default"];
|
|
3791
|
+
if (typeof opts.format !== "undefined") {
|
|
3792
|
+
if (!has.call(formats.formatters, opts.format)) {
|
|
3793
|
+
throw new TypeError("Unknown format option provided.");
|
|
3794
|
+
}
|
|
3795
|
+
format = opts.format;
|
|
3796
|
+
}
|
|
3797
|
+
var formatter = formats.formatters[format];
|
|
3798
|
+
var filter2 = defaults.filter;
|
|
3799
|
+
if (typeof opts.filter === "function" || isArray2(opts.filter)) {
|
|
3800
|
+
filter2 = opts.filter;
|
|
3801
|
+
}
|
|
3802
|
+
return {
|
|
3803
|
+
addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
|
3804
|
+
allowDots: typeof opts.allowDots === "undefined" ? defaults.allowDots : !!opts.allowDots,
|
|
3805
|
+
charset,
|
|
3806
|
+
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
3807
|
+
delimiter: typeof opts.delimiter === "undefined" ? defaults.delimiter : opts.delimiter,
|
|
3808
|
+
encode: typeof opts.encode === "boolean" ? opts.encode : defaults.encode,
|
|
3809
|
+
encoder: typeof opts.encoder === "function" ? opts.encoder : defaults.encoder,
|
|
3810
|
+
encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
3811
|
+
filter: filter2,
|
|
3812
|
+
format,
|
|
3813
|
+
formatter,
|
|
3814
|
+
serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults.serializeDate,
|
|
3815
|
+
skipNulls: typeof opts.skipNulls === "boolean" ? opts.skipNulls : defaults.skipNulls,
|
|
3816
|
+
sort: typeof opts.sort === "function" ? opts.sort : null,
|
|
3817
|
+
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
|
|
3818
|
+
};
|
|
3819
|
+
};
|
|
3820
|
+
module.exports = function(object, opts) {
|
|
3821
|
+
var obj = object;
|
|
3822
|
+
var options = normalizeStringifyOptions(opts);
|
|
3823
|
+
var objKeys;
|
|
3824
|
+
var filter2;
|
|
3825
|
+
if (typeof options.filter === "function") {
|
|
3826
|
+
filter2 = options.filter;
|
|
3827
|
+
obj = filter2("", obj);
|
|
3828
|
+
} else if (isArray2(options.filter)) {
|
|
3829
|
+
filter2 = options.filter;
|
|
3830
|
+
objKeys = filter2;
|
|
3831
|
+
}
|
|
3832
|
+
var keys = [];
|
|
3833
|
+
if (typeof obj !== "object" || obj === null) {
|
|
2347
3834
|
return "";
|
|
2348
|
-
|
|
3835
|
+
}
|
|
3836
|
+
var arrayFormat;
|
|
3837
|
+
if (opts && opts.arrayFormat in arrayPrefixGenerators) {
|
|
3838
|
+
arrayFormat = opts.arrayFormat;
|
|
3839
|
+
} else if (opts && "indices" in opts) {
|
|
3840
|
+
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
3841
|
+
} else {
|
|
3842
|
+
arrayFormat = "indices";
|
|
3843
|
+
}
|
|
3844
|
+
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
|
3845
|
+
if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
3846
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
3847
|
+
}
|
|
3848
|
+
var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
|
|
3849
|
+
if (!objKeys) {
|
|
3850
|
+
objKeys = Object.keys(obj);
|
|
3851
|
+
}
|
|
3852
|
+
if (options.sort) {
|
|
3853
|
+
objKeys.sort(options.sort);
|
|
3854
|
+
}
|
|
3855
|
+
var sideChannel = getSideChannel();
|
|
3856
|
+
for (var i = 0; i < objKeys.length; ++i) {
|
|
3857
|
+
var key = objKeys[i];
|
|
3858
|
+
if (options.skipNulls && obj[key] === null) {
|
|
3859
|
+
continue;
|
|
3860
|
+
}
|
|
3861
|
+
pushToArray(keys, stringify2(
|
|
3862
|
+
obj[key],
|
|
3863
|
+
key,
|
|
3864
|
+
generateArrayPrefix,
|
|
3865
|
+
commaRoundTrip,
|
|
3866
|
+
options.strictNullHandling,
|
|
3867
|
+
options.skipNulls,
|
|
3868
|
+
options.encode ? options.encoder : null,
|
|
3869
|
+
options.filter,
|
|
3870
|
+
options.sort,
|
|
3871
|
+
options.allowDots,
|
|
3872
|
+
options.serializeDate,
|
|
3873
|
+
options.format,
|
|
3874
|
+
options.formatter,
|
|
3875
|
+
options.encodeValuesOnly,
|
|
3876
|
+
options.charset,
|
|
3877
|
+
sideChannel
|
|
3878
|
+
));
|
|
3879
|
+
}
|
|
3880
|
+
var joined = keys.join(options.delimiter);
|
|
3881
|
+
var prefix = options.addQueryPrefix === true ? "?" : "";
|
|
3882
|
+
if (options.charsetSentinel) {
|
|
3883
|
+
if (options.charset === "iso-8859-1") {
|
|
3884
|
+
prefix += "utf8=%26%2310003%3B&";
|
|
3885
|
+
} else {
|
|
3886
|
+
prefix += "utf8=%E2%9C%93&";
|
|
3887
|
+
}
|
|
3888
|
+
}
|
|
3889
|
+
return joined.length > 0 ? prefix + joined : "";
|
|
3890
|
+
};
|
|
3891
|
+
}
|
|
3892
|
+
});
|
|
3893
|
+
|
|
3894
|
+
// node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/parse.js
|
|
3895
|
+
var require_parse = __commonJS({
|
|
3896
|
+
"node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/parse.js"(exports, module) {
|
|
3897
|
+
"use strict";
|
|
3898
|
+
var utils = require_utils();
|
|
3899
|
+
var has = Object.prototype.hasOwnProperty;
|
|
3900
|
+
var isArray2 = Array.isArray;
|
|
3901
|
+
var defaults = {
|
|
3902
|
+
allowDots: false,
|
|
3903
|
+
allowPrototypes: false,
|
|
3904
|
+
allowSparse: false,
|
|
3905
|
+
arrayLimit: 20,
|
|
3906
|
+
charset: "utf-8",
|
|
3907
|
+
charsetSentinel: false,
|
|
3908
|
+
comma: false,
|
|
3909
|
+
decoder: utils.decode,
|
|
3910
|
+
delimiter: "&",
|
|
3911
|
+
depth: 5,
|
|
3912
|
+
ignoreQueryPrefix: false,
|
|
3913
|
+
interpretNumericEntities: false,
|
|
3914
|
+
parameterLimit: 1e3,
|
|
3915
|
+
parseArrays: true,
|
|
3916
|
+
plainObjects: false,
|
|
3917
|
+
strictNullHandling: false
|
|
3918
|
+
};
|
|
3919
|
+
var interpretNumericEntities = function(str) {
|
|
3920
|
+
return str.replace(/&#(\d+);/g, function($0, numberStr) {
|
|
3921
|
+
return String.fromCharCode(parseInt(numberStr, 10));
|
|
3922
|
+
});
|
|
3923
|
+
};
|
|
3924
|
+
var parseArrayValue = function(val, options) {
|
|
3925
|
+
if (val && typeof val === "string" && options.comma && val.indexOf(",") > -1) {
|
|
3926
|
+
return val.split(",");
|
|
3927
|
+
}
|
|
3928
|
+
return val;
|
|
3929
|
+
};
|
|
3930
|
+
var isoSentinel = "utf8=%26%2310003%3B";
|
|
3931
|
+
var charsetSentinel = "utf8=%E2%9C%93";
|
|
3932
|
+
var parseValues = function parseQueryStringValues(str, options) {
|
|
3933
|
+
var obj = { __proto__: null };
|
|
3934
|
+
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
|
|
3935
|
+
var limit = options.parameterLimit === Infinity ? void 0 : options.parameterLimit;
|
|
3936
|
+
var parts = cleanStr.split(options.delimiter, limit);
|
|
3937
|
+
var skipIndex = -1;
|
|
3938
|
+
var i;
|
|
3939
|
+
var charset = options.charset;
|
|
3940
|
+
if (options.charsetSentinel) {
|
|
3941
|
+
for (i = 0; i < parts.length; ++i) {
|
|
3942
|
+
if (parts[i].indexOf("utf8=") === 0) {
|
|
3943
|
+
if (parts[i] === charsetSentinel) {
|
|
3944
|
+
charset = "utf-8";
|
|
3945
|
+
} else if (parts[i] === isoSentinel) {
|
|
3946
|
+
charset = "iso-8859-1";
|
|
3947
|
+
}
|
|
3948
|
+
skipIndex = i;
|
|
3949
|
+
i = parts.length;
|
|
3950
|
+
}
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
for (i = 0; i < parts.length; ++i) {
|
|
3954
|
+
if (i === skipIndex) {
|
|
3955
|
+
continue;
|
|
3956
|
+
}
|
|
3957
|
+
var part = parts[i];
|
|
3958
|
+
var bracketEqualsPos = part.indexOf("]=");
|
|
3959
|
+
var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
|
|
3960
|
+
var key, val;
|
|
3961
|
+
if (pos === -1) {
|
|
3962
|
+
key = options.decoder(part, defaults.decoder, charset, "key");
|
|
3963
|
+
val = options.strictNullHandling ? null : "";
|
|
3964
|
+
} else {
|
|
3965
|
+
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, "key");
|
|
3966
|
+
val = utils.maybeMap(
|
|
3967
|
+
parseArrayValue(part.slice(pos + 1), options),
|
|
3968
|
+
function(encodedVal) {
|
|
3969
|
+
return options.decoder(encodedVal, defaults.decoder, charset, "value");
|
|
3970
|
+
}
|
|
3971
|
+
);
|
|
3972
|
+
}
|
|
3973
|
+
if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
|
|
3974
|
+
val = interpretNumericEntities(val);
|
|
3975
|
+
}
|
|
3976
|
+
if (part.indexOf("[]=") > -1) {
|
|
3977
|
+
val = isArray2(val) ? [val] : val;
|
|
3978
|
+
}
|
|
3979
|
+
if (has.call(obj, key)) {
|
|
3980
|
+
obj[key] = utils.combine(obj[key], val);
|
|
3981
|
+
} else {
|
|
3982
|
+
obj[key] = val;
|
|
3983
|
+
}
|
|
3984
|
+
}
|
|
3985
|
+
return obj;
|
|
3986
|
+
};
|
|
3987
|
+
var parseObject = function(chain, val, options, valuesParsed) {
|
|
3988
|
+
var leaf = valuesParsed ? val : parseArrayValue(val, options);
|
|
3989
|
+
for (var i = chain.length - 1; i >= 0; --i) {
|
|
3990
|
+
var obj;
|
|
3991
|
+
var root = chain[i];
|
|
3992
|
+
if (root === "[]" && options.parseArrays) {
|
|
3993
|
+
obj = [].concat(leaf);
|
|
3994
|
+
} else {
|
|
3995
|
+
obj = options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
3996
|
+
var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
|
|
3997
|
+
var index = parseInt(cleanRoot, 10);
|
|
3998
|
+
if (!options.parseArrays && cleanRoot === "") {
|
|
3999
|
+
obj = { 0: leaf };
|
|
4000
|
+
} else if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && (options.parseArrays && index <= options.arrayLimit)) {
|
|
4001
|
+
obj = [];
|
|
4002
|
+
obj[index] = leaf;
|
|
4003
|
+
} else if (cleanRoot !== "__proto__") {
|
|
4004
|
+
obj[cleanRoot] = leaf;
|
|
4005
|
+
}
|
|
4006
|
+
}
|
|
4007
|
+
leaf = obj;
|
|
4008
|
+
}
|
|
4009
|
+
return leaf;
|
|
4010
|
+
};
|
|
4011
|
+
var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
|
|
4012
|
+
if (!givenKey) {
|
|
4013
|
+
return;
|
|
4014
|
+
}
|
|
4015
|
+
var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, "[$1]") : givenKey;
|
|
4016
|
+
var brackets = /(\[[^[\]]*])/;
|
|
4017
|
+
var child = /(\[[^[\]]*])/g;
|
|
4018
|
+
var segment = options.depth > 0 && brackets.exec(key);
|
|
4019
|
+
var parent = segment ? key.slice(0, segment.index) : key;
|
|
4020
|
+
var keys = [];
|
|
4021
|
+
if (parent) {
|
|
4022
|
+
if (!options.plainObjects && has.call(Object.prototype, parent)) {
|
|
4023
|
+
if (!options.allowPrototypes) {
|
|
4024
|
+
return;
|
|
4025
|
+
}
|
|
4026
|
+
}
|
|
4027
|
+
keys.push(parent);
|
|
4028
|
+
}
|
|
4029
|
+
var i = 0;
|
|
4030
|
+
while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
|
|
4031
|
+
i += 1;
|
|
4032
|
+
if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
|
|
4033
|
+
if (!options.allowPrototypes) {
|
|
4034
|
+
return;
|
|
4035
|
+
}
|
|
4036
|
+
}
|
|
4037
|
+
keys.push(segment[1]);
|
|
4038
|
+
}
|
|
4039
|
+
if (segment) {
|
|
4040
|
+
keys.push("[" + key.slice(segment.index) + "]");
|
|
4041
|
+
}
|
|
4042
|
+
return parseObject(keys, val, options, valuesParsed);
|
|
4043
|
+
};
|
|
4044
|
+
var normalizeParseOptions = function normalizeParseOptions2(opts) {
|
|
4045
|
+
if (!opts) {
|
|
4046
|
+
return defaults;
|
|
4047
|
+
}
|
|
4048
|
+
if (opts.decoder !== null && opts.decoder !== void 0 && typeof opts.decoder !== "function") {
|
|
4049
|
+
throw new TypeError("Decoder has to be a function.");
|
|
4050
|
+
}
|
|
4051
|
+
if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
|
|
4052
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
4053
|
+
}
|
|
4054
|
+
var charset = typeof opts.charset === "undefined" ? defaults.charset : opts.charset;
|
|
4055
|
+
return {
|
|
4056
|
+
allowDots: typeof opts.allowDots === "undefined" ? defaults.allowDots : !!opts.allowDots,
|
|
4057
|
+
allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
4058
|
+
allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults.allowSparse,
|
|
4059
|
+
arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults.arrayLimit,
|
|
4060
|
+
charset,
|
|
4061
|
+
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
4062
|
+
comma: typeof opts.comma === "boolean" ? opts.comma : defaults.comma,
|
|
4063
|
+
decoder: typeof opts.decoder === "function" ? opts.decoder : defaults.decoder,
|
|
4064
|
+
delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
|
4065
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
4066
|
+
depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults.depth,
|
|
4067
|
+
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
|
4068
|
+
interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
|
4069
|
+
parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults.parameterLimit,
|
|
4070
|
+
parseArrays: opts.parseArrays !== false,
|
|
4071
|
+
plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults.plainObjects,
|
|
4072
|
+
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
|
|
4073
|
+
};
|
|
4074
|
+
};
|
|
4075
|
+
module.exports = function(str, opts) {
|
|
4076
|
+
var options = normalizeParseOptions(opts);
|
|
4077
|
+
if (str === "" || str === null || typeof str === "undefined") {
|
|
4078
|
+
return options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
4079
|
+
}
|
|
4080
|
+
var tempObj = typeof str === "string" ? parseValues(str, options) : str;
|
|
4081
|
+
var obj = options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
4082
|
+
var keys = Object.keys(tempObj);
|
|
4083
|
+
for (var i = 0; i < keys.length; ++i) {
|
|
4084
|
+
var key = keys[i];
|
|
4085
|
+
var newObj = parseKeys(key, tempObj[key], options, typeof str === "string");
|
|
4086
|
+
obj = utils.merge(obj, newObj, options);
|
|
4087
|
+
}
|
|
4088
|
+
if (options.allowSparse === true) {
|
|
4089
|
+
return obj;
|
|
4090
|
+
}
|
|
4091
|
+
return utils.compact(obj);
|
|
2349
4092
|
};
|
|
2350
4093
|
}
|
|
2351
4094
|
});
|
|
2352
4095
|
|
|
2353
|
-
// node_modules/.pnpm/
|
|
2354
|
-
var
|
|
2355
|
-
"node_modules/.pnpm/
|
|
4096
|
+
// node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/index.js
|
|
4097
|
+
var require_lib = __commonJS({
|
|
4098
|
+
"node_modules/.pnpm/qs@6.11.2/node_modules/qs/lib/index.js"(exports, module) {
|
|
2356
4099
|
"use strict";
|
|
2357
|
-
|
|
2358
|
-
|
|
4100
|
+
var stringify2 = require_stringify();
|
|
4101
|
+
var parse2 = require_parse();
|
|
4102
|
+
var formats = require_formats();
|
|
4103
|
+
module.exports = {
|
|
4104
|
+
formats,
|
|
4105
|
+
parse: parse2,
|
|
4106
|
+
stringify: stringify2
|
|
4107
|
+
};
|
|
2359
4108
|
}
|
|
2360
4109
|
});
|
|
2361
4110
|
|
|
2362
|
-
// node_modules/.pnpm/url@0.11.
|
|
4111
|
+
// node_modules/.pnpm/url@0.11.2/node_modules/url/url.js
|
|
2363
4112
|
var require_url = __commonJS({
|
|
2364
|
-
"node_modules/.pnpm/url@0.11.
|
|
4113
|
+
"node_modules/.pnpm/url@0.11.2/node_modules/url/url.js"(exports) {
|
|
2365
4114
|
"use strict";
|
|
2366
4115
|
var punycode = require_punycode();
|
|
2367
|
-
var util = require_util();
|
|
2368
|
-
exports.parse = urlParse;
|
|
2369
|
-
exports.resolve = urlResolve;
|
|
2370
|
-
exports.resolveObject = urlResolveObject;
|
|
2371
|
-
exports.format = urlFormat;
|
|
2372
|
-
exports.Url = Url;
|
|
2373
4116
|
function Url() {
|
|
2374
4117
|
this.protocol = null;
|
|
2375
4118
|
this.slashes = null;
|
|
@@ -2386,45 +4129,72 @@ var require_url = __commonJS({
|
|
|
2386
4129
|
}
|
|
2387
4130
|
var protocolPattern = /^([a-z0-9.+-]+:)/i;
|
|
2388
4131
|
var portPattern = /:[0-9]*$/;
|
|
2389
|
-
var simplePathPattern = /^(\/\/?(?!\/)[
|
|
2390
|
-
var delims = [
|
|
2391
|
-
|
|
4132
|
+
var simplePathPattern = /^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/;
|
|
4133
|
+
var delims = [
|
|
4134
|
+
"<",
|
|
4135
|
+
">",
|
|
4136
|
+
'"',
|
|
4137
|
+
"`",
|
|
4138
|
+
" ",
|
|
4139
|
+
"\r",
|
|
4140
|
+
"\n",
|
|
4141
|
+
" "
|
|
4142
|
+
];
|
|
4143
|
+
var unwise = [
|
|
4144
|
+
"{",
|
|
4145
|
+
"}",
|
|
4146
|
+
"|",
|
|
4147
|
+
"\\",
|
|
4148
|
+
"^",
|
|
4149
|
+
"`"
|
|
4150
|
+
].concat(delims);
|
|
2392
4151
|
var autoEscape = ["'"].concat(unwise);
|
|
2393
|
-
var nonHostChars = [
|
|
2394
|
-
|
|
4152
|
+
var nonHostChars = [
|
|
4153
|
+
"%",
|
|
4154
|
+
"/",
|
|
4155
|
+
"?",
|
|
4156
|
+
";",
|
|
4157
|
+
"#"
|
|
4158
|
+
].concat(autoEscape);
|
|
4159
|
+
var hostEndingChars = [
|
|
4160
|
+
"/",
|
|
4161
|
+
"?",
|
|
4162
|
+
"#"
|
|
4163
|
+
];
|
|
2395
4164
|
var hostnameMaxLen = 255;
|
|
2396
4165
|
var hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/;
|
|
2397
4166
|
var hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/;
|
|
2398
4167
|
var unsafeProtocol = {
|
|
2399
|
-
|
|
4168
|
+
javascript: true,
|
|
2400
4169
|
"javascript:": true
|
|
2401
4170
|
};
|
|
2402
4171
|
var hostlessProtocol = {
|
|
2403
|
-
|
|
4172
|
+
javascript: true,
|
|
2404
4173
|
"javascript:": true
|
|
2405
4174
|
};
|
|
2406
4175
|
var slashedProtocol = {
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
4176
|
+
http: true,
|
|
4177
|
+
https: true,
|
|
4178
|
+
ftp: true,
|
|
4179
|
+
gopher: true,
|
|
4180
|
+
file: true,
|
|
2412
4181
|
"http:": true,
|
|
2413
4182
|
"https:": true,
|
|
2414
4183
|
"ftp:": true,
|
|
2415
4184
|
"gopher:": true,
|
|
2416
4185
|
"file:": true
|
|
2417
4186
|
};
|
|
2418
|
-
var querystring =
|
|
4187
|
+
var querystring = require_lib();
|
|
2419
4188
|
function urlParse(url2, parseQueryString, slashesDenoteHost) {
|
|
2420
|
-
if (url2 &&
|
|
4189
|
+
if (url2 && typeof url2 === "object" && url2 instanceof Url) {
|
|
2421
4190
|
return url2;
|
|
4191
|
+
}
|
|
2422
4192
|
var u = new Url();
|
|
2423
4193
|
u.parse(url2, parseQueryString, slashesDenoteHost);
|
|
2424
4194
|
return u;
|
|
2425
4195
|
}
|
|
2426
4196
|
Url.prototype.parse = function(url2, parseQueryString, slashesDenoteHost) {
|
|
2427
|
-
if (
|
|
4197
|
+
if (typeof url2 !== "string") {
|
|
2428
4198
|
throw new TypeError("Parameter 'url' must be a string, not " + typeof url2);
|
|
2429
4199
|
}
|
|
2430
4200
|
var queryIndex = url2.indexOf("?"), splitter = queryIndex !== -1 && queryIndex < url2.indexOf("#") ? "?" : "#", uSplit = url2.split(splitter), slashRegex = /\\/g;
|
|
@@ -2459,7 +4229,7 @@ var require_url = __commonJS({
|
|
|
2459
4229
|
this.protocol = lowerProto;
|
|
2460
4230
|
rest = rest.substr(proto.length);
|
|
2461
4231
|
}
|
|
2462
|
-
if (slashesDenoteHost || proto || rest.match(/^\/\/[
|
|
4232
|
+
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@/]+@[^@/]+/)) {
|
|
2463
4233
|
var slashes = rest.substr(0, 2) === "//";
|
|
2464
4234
|
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
2465
4235
|
rest = rest.substr(2);
|
|
@@ -2470,8 +4240,9 @@ var require_url = __commonJS({
|
|
|
2470
4240
|
var hostEnd = -1;
|
|
2471
4241
|
for (var i = 0; i < hostEndingChars.length; i++) {
|
|
2472
4242
|
var hec = rest.indexOf(hostEndingChars[i]);
|
|
2473
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
|
4243
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {
|
|
2474
4244
|
hostEnd = hec;
|
|
4245
|
+
}
|
|
2475
4246
|
}
|
|
2476
4247
|
var auth, atSign;
|
|
2477
4248
|
if (hostEnd === -1) {
|
|
@@ -2487,11 +4258,13 @@ var require_url = __commonJS({
|
|
|
2487
4258
|
hostEnd = -1;
|
|
2488
4259
|
for (var i = 0; i < nonHostChars.length; i++) {
|
|
2489
4260
|
var hec = rest.indexOf(nonHostChars[i]);
|
|
2490
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
|
4261
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {
|
|
2491
4262
|
hostEnd = hec;
|
|
4263
|
+
}
|
|
2492
4264
|
}
|
|
2493
|
-
if (hostEnd === -1)
|
|
4265
|
+
if (hostEnd === -1) {
|
|
2494
4266
|
hostEnd = rest.length;
|
|
4267
|
+
}
|
|
2495
4268
|
this.host = rest.slice(0, hostEnd);
|
|
2496
4269
|
rest = rest.slice(hostEnd);
|
|
2497
4270
|
this.parseHost();
|
|
@@ -2501,8 +4274,9 @@ var require_url = __commonJS({
|
|
|
2501
4274
|
var hostparts = this.hostname.split(/\./);
|
|
2502
4275
|
for (var i = 0, l = hostparts.length; i < l; i++) {
|
|
2503
4276
|
var part = hostparts[i];
|
|
2504
|
-
if (!part)
|
|
4277
|
+
if (!part) {
|
|
2505
4278
|
continue;
|
|
4279
|
+
}
|
|
2506
4280
|
if (!part.match(hostnamePartPattern)) {
|
|
2507
4281
|
var newpart = "";
|
|
2508
4282
|
for (var j = 0, k = part.length; j < k; j++) {
|
|
@@ -2551,8 +4325,9 @@ var require_url = __commonJS({
|
|
|
2551
4325
|
if (!unsafeProtocol[lowerProto]) {
|
|
2552
4326
|
for (var i = 0, l = autoEscape.length; i < l; i++) {
|
|
2553
4327
|
var ae = autoEscape[i];
|
|
2554
|
-
if (rest.indexOf(ae) === -1)
|
|
4328
|
+
if (rest.indexOf(ae) === -1) {
|
|
2555
4329
|
continue;
|
|
4330
|
+
}
|
|
2556
4331
|
var esc = encodeURIComponent(ae);
|
|
2557
4332
|
if (esc === ae) {
|
|
2558
4333
|
esc = escape(ae);
|
|
@@ -2577,8 +4352,9 @@ var require_url = __commonJS({
|
|
|
2577
4352
|
this.search = "";
|
|
2578
4353
|
this.query = {};
|
|
2579
4354
|
}
|
|
2580
|
-
if (rest)
|
|
4355
|
+
if (rest) {
|
|
2581
4356
|
this.pathname = rest;
|
|
4357
|
+
}
|
|
2582
4358
|
if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {
|
|
2583
4359
|
this.pathname = "/";
|
|
2584
4360
|
}
|
|
@@ -2591,10 +4367,12 @@ var require_url = __commonJS({
|
|
|
2591
4367
|
return this;
|
|
2592
4368
|
};
|
|
2593
4369
|
function urlFormat(obj) {
|
|
2594
|
-
if (
|
|
4370
|
+
if (typeof obj === "string") {
|
|
2595
4371
|
obj = urlParse(obj);
|
|
2596
|
-
|
|
4372
|
+
}
|
|
4373
|
+
if (!(obj instanceof Url)) {
|
|
2597
4374
|
return Url.prototype.format.call(obj);
|
|
4375
|
+
}
|
|
2598
4376
|
return obj.format();
|
|
2599
4377
|
}
|
|
2600
4378
|
Url.prototype.format = function() {
|
|
@@ -2613,23 +4391,31 @@ var require_url = __commonJS({
|
|
|
2613
4391
|
host += ":" + this.port;
|
|
2614
4392
|
}
|
|
2615
4393
|
}
|
|
2616
|
-
if (this.query &&
|
|
2617
|
-
query = querystring.stringify(this.query
|
|
4394
|
+
if (this.query && typeof this.query === "object" && Object.keys(this.query).length) {
|
|
4395
|
+
query = querystring.stringify(this.query, {
|
|
4396
|
+
arrayFormat: "repeat",
|
|
4397
|
+
encodeValuesOnly: true,
|
|
4398
|
+
addQueryPrefix: false
|
|
4399
|
+
});
|
|
2618
4400
|
}
|
|
2619
4401
|
var search = this.search || query && "?" + query || "";
|
|
2620
|
-
if (protocol && protocol.substr(-1) !== ":")
|
|
4402
|
+
if (protocol && protocol.substr(-1) !== ":") {
|
|
2621
4403
|
protocol += ":";
|
|
4404
|
+
}
|
|
2622
4405
|
if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) {
|
|
2623
4406
|
host = "//" + (host || "");
|
|
2624
|
-
if (pathname && pathname.charAt(0) !== "/")
|
|
4407
|
+
if (pathname && pathname.charAt(0) !== "/") {
|
|
2625
4408
|
pathname = "/" + pathname;
|
|
4409
|
+
}
|
|
2626
4410
|
} else if (!host) {
|
|
2627
4411
|
host = "";
|
|
2628
4412
|
}
|
|
2629
|
-
if (hash && hash.charAt(0) !== "#")
|
|
4413
|
+
if (hash && hash.charAt(0) !== "#") {
|
|
2630
4414
|
hash = "#" + hash;
|
|
2631
|
-
|
|
4415
|
+
}
|
|
4416
|
+
if (search && search.charAt(0) !== "?") {
|
|
2632
4417
|
search = "?" + search;
|
|
4418
|
+
}
|
|
2633
4419
|
pathname = pathname.replace(/[?#]/g, function(match) {
|
|
2634
4420
|
return encodeURIComponent(match);
|
|
2635
4421
|
});
|
|
@@ -2643,12 +4429,13 @@ var require_url = __commonJS({
|
|
|
2643
4429
|
return this.resolveObject(urlParse(relative, false, true)).format();
|
|
2644
4430
|
};
|
|
2645
4431
|
function urlResolveObject(source, relative) {
|
|
2646
|
-
if (!source)
|
|
4432
|
+
if (!source) {
|
|
2647
4433
|
return relative;
|
|
4434
|
+
}
|
|
2648
4435
|
return urlParse(source, false, true).resolveObject(relative);
|
|
2649
4436
|
}
|
|
2650
4437
|
Url.prototype.resolveObject = function(relative) {
|
|
2651
|
-
if (
|
|
4438
|
+
if (typeof relative === "string") {
|
|
2652
4439
|
var rel = new Url();
|
|
2653
4440
|
rel.parse(relative, false, true);
|
|
2654
4441
|
relative = rel;
|
|
@@ -2668,11 +4455,13 @@ var require_url = __commonJS({
|
|
|
2668
4455
|
var rkeys = Object.keys(relative);
|
|
2669
4456
|
for (var rk = 0; rk < rkeys.length; rk++) {
|
|
2670
4457
|
var rkey = rkeys[rk];
|
|
2671
|
-
if (rkey !== "protocol")
|
|
4458
|
+
if (rkey !== "protocol") {
|
|
2672
4459
|
result[rkey] = relative[rkey];
|
|
4460
|
+
}
|
|
2673
4461
|
}
|
|
2674
4462
|
if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {
|
|
2675
|
-
result.
|
|
4463
|
+
result.pathname = "/";
|
|
4464
|
+
result.path = result.pathname;
|
|
2676
4465
|
}
|
|
2677
4466
|
result.href = result.format();
|
|
2678
4467
|
return result;
|
|
@@ -2690,16 +4479,20 @@ var require_url = __commonJS({
|
|
|
2690
4479
|
result.protocol = relative.protocol;
|
|
2691
4480
|
if (!relative.host && !hostlessProtocol[relative.protocol]) {
|
|
2692
4481
|
var relPath = (relative.pathname || "").split("/");
|
|
2693
|
-
while (relPath.length && !(relative.host = relPath.shift()))
|
|
2694
|
-
|
|
2695
|
-
if (!relative.host)
|
|
4482
|
+
while (relPath.length && !(relative.host = relPath.shift())) {
|
|
4483
|
+
}
|
|
4484
|
+
if (!relative.host) {
|
|
2696
4485
|
relative.host = "";
|
|
2697
|
-
|
|
4486
|
+
}
|
|
4487
|
+
if (!relative.hostname) {
|
|
2698
4488
|
relative.hostname = "";
|
|
2699
|
-
|
|
4489
|
+
}
|
|
4490
|
+
if (relPath[0] !== "") {
|
|
2700
4491
|
relPath.unshift("");
|
|
2701
|
-
|
|
4492
|
+
}
|
|
4493
|
+
if (relPath.length < 2) {
|
|
2702
4494
|
relPath.unshift("");
|
|
4495
|
+
}
|
|
2703
4496
|
result.pathname = relPath.join("/");
|
|
2704
4497
|
} else {
|
|
2705
4498
|
result.pathname = relative.pathname;
|
|
@@ -2724,20 +4517,22 @@ var require_url = __commonJS({
|
|
|
2724
4517
|
result.hostname = "";
|
|
2725
4518
|
result.port = null;
|
|
2726
4519
|
if (result.host) {
|
|
2727
|
-
if (srcPath[0] === "")
|
|
4520
|
+
if (srcPath[0] === "") {
|
|
2728
4521
|
srcPath[0] = result.host;
|
|
2729
|
-
else
|
|
4522
|
+
} else {
|
|
2730
4523
|
srcPath.unshift(result.host);
|
|
4524
|
+
}
|
|
2731
4525
|
}
|
|
2732
4526
|
result.host = "";
|
|
2733
4527
|
if (relative.protocol) {
|
|
2734
4528
|
relative.hostname = null;
|
|
2735
4529
|
relative.port = null;
|
|
2736
4530
|
if (relative.host) {
|
|
2737
|
-
if (relPath[0] === "")
|
|
4531
|
+
if (relPath[0] === "") {
|
|
2738
4532
|
relPath[0] = relative.host;
|
|
2739
|
-
else
|
|
4533
|
+
} else {
|
|
2740
4534
|
relPath.unshift(relative.host);
|
|
4535
|
+
}
|
|
2741
4536
|
}
|
|
2742
4537
|
relative.host = null;
|
|
2743
4538
|
}
|
|
@@ -2750,24 +4545,27 @@ var require_url = __commonJS({
|
|
|
2750
4545
|
result.query = relative.query;
|
|
2751
4546
|
srcPath = relPath;
|
|
2752
4547
|
} else if (relPath.length) {
|
|
2753
|
-
if (!srcPath)
|
|
4548
|
+
if (!srcPath) {
|
|
2754
4549
|
srcPath = [];
|
|
4550
|
+
}
|
|
2755
4551
|
srcPath.pop();
|
|
2756
4552
|
srcPath = srcPath.concat(relPath);
|
|
2757
4553
|
result.search = relative.search;
|
|
2758
4554
|
result.query = relative.query;
|
|
2759
|
-
} else if (
|
|
4555
|
+
} else if (relative.search != null) {
|
|
2760
4556
|
if (psychotic) {
|
|
2761
|
-
result.
|
|
4557
|
+
result.host = srcPath.shift();
|
|
4558
|
+
result.hostname = result.host;
|
|
2762
4559
|
var authInHost = result.host && result.host.indexOf("@") > 0 ? result.host.split("@") : false;
|
|
2763
4560
|
if (authInHost) {
|
|
2764
4561
|
result.auth = authInHost.shift();
|
|
2765
|
-
result.
|
|
4562
|
+
result.hostname = authInHost.shift();
|
|
4563
|
+
result.host = result.hostname;
|
|
2766
4564
|
}
|
|
2767
4565
|
}
|
|
2768
4566
|
result.search = relative.search;
|
|
2769
4567
|
result.query = relative.query;
|
|
2770
|
-
if (
|
|
4568
|
+
if (result.pathname !== null || result.search !== null) {
|
|
2771
4569
|
result.path = (result.pathname ? result.pathname : "") + (result.search ? result.search : "");
|
|
2772
4570
|
}
|
|
2773
4571
|
result.href = result.format();
|
|
@@ -2811,24 +4609,26 @@ var require_url = __commonJS({
|
|
|
2811
4609
|
}
|
|
2812
4610
|
var isAbsolute = srcPath[0] === "" || srcPath[0] && srcPath[0].charAt(0) === "/";
|
|
2813
4611
|
if (psychotic) {
|
|
2814
|
-
result.hostname =
|
|
4612
|
+
result.hostname = isAbsolute ? "" : srcPath.length ? srcPath.shift() : "";
|
|
4613
|
+
result.host = result.hostname;
|
|
2815
4614
|
var authInHost = result.host && result.host.indexOf("@") > 0 ? result.host.split("@") : false;
|
|
2816
4615
|
if (authInHost) {
|
|
2817
4616
|
result.auth = authInHost.shift();
|
|
2818
|
-
result.
|
|
4617
|
+
result.hostname = authInHost.shift();
|
|
4618
|
+
result.host = result.hostname;
|
|
2819
4619
|
}
|
|
2820
4620
|
}
|
|
2821
4621
|
mustEndAbs = mustEndAbs || result.host && srcPath.length;
|
|
2822
4622
|
if (mustEndAbs && !isAbsolute) {
|
|
2823
4623
|
srcPath.unshift("");
|
|
2824
4624
|
}
|
|
2825
|
-
if (
|
|
4625
|
+
if (srcPath.length > 0) {
|
|
4626
|
+
result.pathname = srcPath.join("/");
|
|
4627
|
+
} else {
|
|
2826
4628
|
result.pathname = null;
|
|
2827
4629
|
result.path = null;
|
|
2828
|
-
} else {
|
|
2829
|
-
result.pathname = srcPath.join("/");
|
|
2830
4630
|
}
|
|
2831
|
-
if (
|
|
4631
|
+
if (result.pathname !== null || result.search !== null) {
|
|
2832
4632
|
result.path = (result.pathname ? result.pathname : "") + (result.search ? result.search : "");
|
|
2833
4633
|
}
|
|
2834
4634
|
result.auth = relative.auth || result.auth;
|
|
@@ -2846,9 +4646,15 @@ var require_url = __commonJS({
|
|
|
2846
4646
|
}
|
|
2847
4647
|
host = host.substr(0, host.length - port.length);
|
|
2848
4648
|
}
|
|
2849
|
-
if (host)
|
|
4649
|
+
if (host) {
|
|
2850
4650
|
this.hostname = host;
|
|
4651
|
+
}
|
|
2851
4652
|
};
|
|
4653
|
+
exports.parse = urlParse;
|
|
4654
|
+
exports.resolve = urlResolve;
|
|
4655
|
+
exports.resolveObject = urlResolveObject;
|
|
4656
|
+
exports.format = urlFormat;
|
|
4657
|
+
exports.Url = Url;
|
|
2852
4658
|
}
|
|
2853
4659
|
});
|
|
2854
4660
|
|
|
@@ -3280,16 +5086,16 @@ var require_lodash = __commonJS({
|
|
|
3280
5086
|
var nativeIsBuffer = Buffer3 ? Buffer3.isBuffer : void 0;
|
|
3281
5087
|
var nativeKeys = overArg(Object.keys, Object);
|
|
3282
5088
|
var DataView2 = getNative(root, "DataView");
|
|
3283
|
-
var
|
|
5089
|
+
var Map2 = getNative(root, "Map");
|
|
3284
5090
|
var Promise2 = getNative(root, "Promise");
|
|
3285
|
-
var
|
|
3286
|
-
var
|
|
5091
|
+
var Set2 = getNative(root, "Set");
|
|
5092
|
+
var WeakMap2 = getNative(root, "WeakMap");
|
|
3287
5093
|
var nativeCreate = getNative(Object, "create");
|
|
3288
5094
|
var dataViewCtorString = toSource(DataView2);
|
|
3289
|
-
var mapCtorString = toSource(
|
|
5095
|
+
var mapCtorString = toSource(Map2);
|
|
3290
5096
|
var promiseCtorString = toSource(Promise2);
|
|
3291
|
-
var setCtorString = toSource(
|
|
3292
|
-
var weakMapCtorString = toSource(
|
|
5097
|
+
var setCtorString = toSource(Set2);
|
|
5098
|
+
var weakMapCtorString = toSource(WeakMap2);
|
|
3293
5099
|
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
|
3294
5100
|
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
3295
5101
|
function Hash(entries) {
|
|
@@ -3384,7 +5190,7 @@ var require_lodash = __commonJS({
|
|
|
3384
5190
|
function mapCacheClear() {
|
|
3385
5191
|
this.__data__ = {
|
|
3386
5192
|
"hash": new Hash(),
|
|
3387
|
-
"map": new (
|
|
5193
|
+
"map": new (Map2 || ListCache)(),
|
|
3388
5194
|
"string": new Hash()
|
|
3389
5195
|
};
|
|
3390
5196
|
}
|
|
@@ -3425,7 +5231,7 @@ var require_lodash = __commonJS({
|
|
|
3425
5231
|
var cache = this.__data__;
|
|
3426
5232
|
if (cache instanceof ListCache) {
|
|
3427
5233
|
var pairs = cache.__data__;
|
|
3428
|
-
if (!
|
|
5234
|
+
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
3429
5235
|
pairs.push([key, value]);
|
|
3430
5236
|
return this;
|
|
3431
5237
|
}
|
|
@@ -3622,7 +5428,7 @@ var require_lodash = __commonJS({
|
|
|
3622
5428
|
}
|
|
3623
5429
|
var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
|
|
3624
5430
|
var getTag = baseGetTag;
|
|
3625
|
-
if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag ||
|
|
5431
|
+
if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
|
|
3626
5432
|
getTag = function(value) {
|
|
3627
5433
|
var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
|
|
3628
5434
|
if (ctorString) {
|
|
@@ -3879,530 +5685,207 @@ var require_buffer_json = __commonJS({
|
|
|
3879
5685
|
}
|
|
3880
5686
|
});
|
|
3881
5687
|
|
|
3882
|
-
// node_modules/.pnpm
|
|
3883
|
-
var
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
(
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
5688
|
+
// node_modules/.pnpm/@push.rocks+isohash@2.0.1/node_modules/@push.rocks/isohash/dist_ts/index.js
|
|
5689
|
+
var dist_ts_exports2 = {};
|
|
5690
|
+
__export(dist_ts_exports2, {
|
|
5691
|
+
sha256FromString: () => sha256FromString
|
|
5692
|
+
});
|
|
5693
|
+
|
|
5694
|
+
// node_modules/.pnpm/@pushrocks+smartenv@5.0.5/node_modules/@pushrocks/smartenv/dist_ts/index.js
|
|
5695
|
+
var dist_ts_exports = {};
|
|
5696
|
+
__export(dist_ts_exports, {
|
|
5697
|
+
Smartenv: () => Smartenv
|
|
5698
|
+
});
|
|
5699
|
+
|
|
5700
|
+
// node_modules/.pnpm/@pushrocks+smartenv@5.0.5/node_modules/@pushrocks/smartenv/dist_ts/smartenv.plugins.js
|
|
5701
|
+
var smartpromise = __toESM(require_dist_ts(), 1);
|
|
5702
|
+
|
|
5703
|
+
// node_modules/.pnpm/@pushrocks+smartenv@5.0.5/node_modules/@pushrocks/smartenv/dist_ts/smartenv.classes.smartenv.js
|
|
5704
|
+
var Smartenv = class {
|
|
5705
|
+
constructor() {
|
|
5706
|
+
this.loadedScripts = [];
|
|
5707
|
+
}
|
|
5708
|
+
async getEnvAwareModule(optionsArg) {
|
|
5709
|
+
if (this.isNode) {
|
|
5710
|
+
const moduleResult = await this.getSafeNodeModule(optionsArg.nodeModuleName);
|
|
5711
|
+
return moduleResult;
|
|
5712
|
+
} else if (this.isBrowser) {
|
|
5713
|
+
const moduleResult = await this.getSafeWebModule(optionsArg.webUrlArg, optionsArg.getFunction);
|
|
5714
|
+
return moduleResult;
|
|
5715
|
+
} else {
|
|
5716
|
+
console.error("platform for loading not supported by smartenv");
|
|
5717
|
+
}
|
|
5718
|
+
}
|
|
5719
|
+
async getSafeNodeModule(moduleNameArg) {
|
|
5720
|
+
if (!this.isNode) {
|
|
5721
|
+
console.error(`You tried to load a node module in a wrong context: ${moduleNameArg}`);
|
|
5722
|
+
return;
|
|
5723
|
+
}
|
|
5724
|
+
return new Function(`return import('${moduleNameArg}')`)();
|
|
5725
|
+
}
|
|
5726
|
+
async getSafeWebModule(urlArg, getFunctionArg) {
|
|
5727
|
+
if (!this.isBrowser) {
|
|
5728
|
+
console.error("You tried to load a web module in a wrong context");
|
|
5729
|
+
return;
|
|
5730
|
+
}
|
|
5731
|
+
if (this.loadedScripts.includes(urlArg)) {
|
|
5732
|
+
return getFunctionArg();
|
|
5733
|
+
} else {
|
|
5734
|
+
this.loadedScripts.push(urlArg);
|
|
5735
|
+
}
|
|
5736
|
+
const done = smartpromise.defer();
|
|
5737
|
+
if (globalThis.importScripts) {
|
|
5738
|
+
globalThis.importScripts(urlArg);
|
|
5739
|
+
done.resolve();
|
|
5740
|
+
} else {
|
|
5741
|
+
const script = document.createElement("script");
|
|
5742
|
+
script.onload = () => {
|
|
5743
|
+
done.resolve();
|
|
5744
|
+
};
|
|
5745
|
+
script.src = urlArg;
|
|
5746
|
+
document.head.appendChild(script);
|
|
5747
|
+
}
|
|
5748
|
+
await done.promise;
|
|
5749
|
+
return getFunctionArg();
|
|
5750
|
+
}
|
|
5751
|
+
get runtimeEnv() {
|
|
5752
|
+
if (typeof process !== "undefined") {
|
|
5753
|
+
return "node";
|
|
5754
|
+
} else {
|
|
5755
|
+
return "browser";
|
|
5756
|
+
}
|
|
5757
|
+
}
|
|
5758
|
+
get isBrowser() {
|
|
5759
|
+
return !this.isNode;
|
|
5760
|
+
}
|
|
5761
|
+
get userAgent() {
|
|
5762
|
+
if (this.isBrowser) {
|
|
5763
|
+
return navigator.userAgent;
|
|
5764
|
+
} else {
|
|
5765
|
+
return "undefined";
|
|
5766
|
+
}
|
|
5767
|
+
}
|
|
5768
|
+
get isNode() {
|
|
5769
|
+
return this.runtimeEnv === "node";
|
|
5770
|
+
}
|
|
5771
|
+
get nodeVersion() {
|
|
5772
|
+
return process.version;
|
|
5773
|
+
}
|
|
5774
|
+
get isCI() {
|
|
5775
|
+
if (this.isNode) {
|
|
5776
|
+
if (process.env.CI) {
|
|
5777
|
+
return true;
|
|
3922
5778
|
} else {
|
|
3923
|
-
|
|
3924
|
-
}
|
|
3925
|
-
function createExporter(exports2, previous) {
|
|
3926
|
-
if (exports2 !== root) {
|
|
3927
|
-
if (typeof Object.create === "function") {
|
|
3928
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3929
|
-
} else {
|
|
3930
|
-
exports2.__esModule = true;
|
|
3931
|
-
}
|
|
3932
|
-
}
|
|
3933
|
-
return function(id, v) {
|
|
3934
|
-
return exports2[id] = previous ? previous(id, v) : v;
|
|
3935
|
-
};
|
|
5779
|
+
return false;
|
|
3936
5780
|
}
|
|
3937
|
-
}
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
context2[p] = p === "access" ? {} : contextIn[p];
|
|
4004
|
-
for (var p in contextIn.access)
|
|
4005
|
-
context2.access[p] = contextIn.access[p];
|
|
4006
|
-
context2.addInitializer = function(f) {
|
|
4007
|
-
if (done)
|
|
4008
|
-
throw new TypeError("Cannot add initializers after decoration has completed");
|
|
4009
|
-
extraInitializers.push(accept(f || null));
|
|
4010
|
-
};
|
|
4011
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context2);
|
|
4012
|
-
if (kind === "accessor") {
|
|
4013
|
-
if (result === void 0)
|
|
4014
|
-
continue;
|
|
4015
|
-
if (result === null || typeof result !== "object")
|
|
4016
|
-
throw new TypeError("Object expected");
|
|
4017
|
-
if (_ = accept(result.get))
|
|
4018
|
-
descriptor.get = _;
|
|
4019
|
-
if (_ = accept(result.set))
|
|
4020
|
-
descriptor.set = _;
|
|
4021
|
-
if (_ = accept(result.init))
|
|
4022
|
-
initializers.push(_);
|
|
4023
|
-
} else if (_ = accept(result)) {
|
|
4024
|
-
if (kind === "field")
|
|
4025
|
-
initializers.push(_);
|
|
4026
|
-
else
|
|
4027
|
-
descriptor[key] = _;
|
|
4028
|
-
}
|
|
4029
|
-
}
|
|
4030
|
-
if (target)
|
|
4031
|
-
Object.defineProperty(target, contextIn.name, descriptor);
|
|
4032
|
-
done = true;
|
|
4033
|
-
};
|
|
4034
|
-
__runInitializers2 = function(thisArg, initializers, value) {
|
|
4035
|
-
var useValue = arguments.length > 2;
|
|
4036
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
4037
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
4038
|
-
}
|
|
4039
|
-
return useValue ? value : void 0;
|
|
4040
|
-
};
|
|
4041
|
-
__propKey2 = function(x) {
|
|
4042
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
4043
|
-
};
|
|
4044
|
-
__setFunctionName2 = function(f, name, prefix) {
|
|
4045
|
-
if (typeof name === "symbol")
|
|
4046
|
-
name = name.description ? "[".concat(name.description, "]") : "";
|
|
4047
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
4048
|
-
};
|
|
4049
|
-
__metadata2 = function(metadataKey, metadataValue) {
|
|
4050
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
4051
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
4052
|
-
};
|
|
4053
|
-
__awaiter2 = function(thisArg, _arguments, P, generator) {
|
|
4054
|
-
function adopt(value) {
|
|
4055
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
4056
|
-
resolve(value);
|
|
4057
|
-
});
|
|
4058
|
-
}
|
|
4059
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
4060
|
-
function fulfilled(value) {
|
|
4061
|
-
try {
|
|
4062
|
-
step(generator.next(value));
|
|
4063
|
-
} catch (e) {
|
|
4064
|
-
reject(e);
|
|
4065
|
-
}
|
|
4066
|
-
}
|
|
4067
|
-
function rejected(value) {
|
|
4068
|
-
try {
|
|
4069
|
-
step(generator["throw"](value));
|
|
4070
|
-
} catch (e) {
|
|
4071
|
-
reject(e);
|
|
4072
|
-
}
|
|
4073
|
-
}
|
|
4074
|
-
function step(result) {
|
|
4075
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
4076
|
-
}
|
|
4077
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
4078
|
-
});
|
|
4079
|
-
};
|
|
4080
|
-
__generator2 = function(thisArg, body) {
|
|
4081
|
-
var _ = { label: 0, sent: function() {
|
|
4082
|
-
if (t[0] & 1)
|
|
4083
|
-
throw t[1];
|
|
4084
|
-
return t[1];
|
|
4085
|
-
}, trys: [], ops: [] }, f, y, t, g;
|
|
4086
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
4087
|
-
return this;
|
|
4088
|
-
}), g;
|
|
4089
|
-
function verb(n) {
|
|
4090
|
-
return function(v) {
|
|
4091
|
-
return step([n, v]);
|
|
4092
|
-
};
|
|
4093
|
-
}
|
|
4094
|
-
function step(op) {
|
|
4095
|
-
if (f)
|
|
4096
|
-
throw new TypeError("Generator is already executing.");
|
|
4097
|
-
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
4098
|
-
try {
|
|
4099
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
4100
|
-
return t;
|
|
4101
|
-
if (y = 0, t)
|
|
4102
|
-
op = [op[0] & 2, t.value];
|
|
4103
|
-
switch (op[0]) {
|
|
4104
|
-
case 0:
|
|
4105
|
-
case 1:
|
|
4106
|
-
t = op;
|
|
4107
|
-
break;
|
|
4108
|
-
case 4:
|
|
4109
|
-
_.label++;
|
|
4110
|
-
return { value: op[1], done: false };
|
|
4111
|
-
case 5:
|
|
4112
|
-
_.label++;
|
|
4113
|
-
y = op[1];
|
|
4114
|
-
op = [0];
|
|
4115
|
-
continue;
|
|
4116
|
-
case 7:
|
|
4117
|
-
op = _.ops.pop();
|
|
4118
|
-
_.trys.pop();
|
|
4119
|
-
continue;
|
|
4120
|
-
default:
|
|
4121
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
4122
|
-
_ = 0;
|
|
4123
|
-
continue;
|
|
4124
|
-
}
|
|
4125
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
4126
|
-
_.label = op[1];
|
|
4127
|
-
break;
|
|
4128
|
-
}
|
|
4129
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
4130
|
-
_.label = t[1];
|
|
4131
|
-
t = op;
|
|
4132
|
-
break;
|
|
4133
|
-
}
|
|
4134
|
-
if (t && _.label < t[2]) {
|
|
4135
|
-
_.label = t[2];
|
|
4136
|
-
_.ops.push(op);
|
|
4137
|
-
break;
|
|
4138
|
-
}
|
|
4139
|
-
if (t[2])
|
|
4140
|
-
_.ops.pop();
|
|
4141
|
-
_.trys.pop();
|
|
4142
|
-
continue;
|
|
4143
|
-
}
|
|
4144
|
-
op = body.call(thisArg, _);
|
|
4145
|
-
} catch (e) {
|
|
4146
|
-
op = [6, e];
|
|
4147
|
-
y = 0;
|
|
4148
|
-
} finally {
|
|
4149
|
-
f = t = 0;
|
|
4150
|
-
}
|
|
4151
|
-
if (op[0] & 5)
|
|
4152
|
-
throw op[1];
|
|
4153
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
4154
|
-
}
|
|
4155
|
-
};
|
|
4156
|
-
__exportStar2 = function(m, o) {
|
|
4157
|
-
for (var p in m)
|
|
4158
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
4159
|
-
__createBinding2(o, m, p);
|
|
4160
|
-
};
|
|
4161
|
-
__createBinding2 = Object.create ? function(o, m, k, k2) {
|
|
4162
|
-
if (k2 === void 0)
|
|
4163
|
-
k2 = k;
|
|
4164
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4165
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4166
|
-
desc = { enumerable: true, get: function() {
|
|
4167
|
-
return m[k];
|
|
4168
|
-
} };
|
|
4169
|
-
}
|
|
4170
|
-
Object.defineProperty(o, k2, desc);
|
|
4171
|
-
} : function(o, m, k, k2) {
|
|
4172
|
-
if (k2 === void 0)
|
|
4173
|
-
k2 = k;
|
|
4174
|
-
o[k2] = m[k];
|
|
4175
|
-
};
|
|
4176
|
-
__values2 = function(o) {
|
|
4177
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
4178
|
-
if (m)
|
|
4179
|
-
return m.call(o);
|
|
4180
|
-
if (o && typeof o.length === "number")
|
|
4181
|
-
return {
|
|
4182
|
-
next: function() {
|
|
4183
|
-
if (o && i >= o.length)
|
|
4184
|
-
o = void 0;
|
|
4185
|
-
return { value: o && o[i++], done: !o };
|
|
4186
|
-
}
|
|
4187
|
-
};
|
|
4188
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4189
|
-
};
|
|
4190
|
-
__read2 = function(o, n) {
|
|
4191
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4192
|
-
if (!m)
|
|
4193
|
-
return o;
|
|
4194
|
-
var i = m.call(o), r, ar = [], e;
|
|
4195
|
-
try {
|
|
4196
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
4197
|
-
ar.push(r.value);
|
|
4198
|
-
} catch (error) {
|
|
4199
|
-
e = { error };
|
|
4200
|
-
} finally {
|
|
4201
|
-
try {
|
|
4202
|
-
if (r && !r.done && (m = i["return"]))
|
|
4203
|
-
m.call(i);
|
|
4204
|
-
} finally {
|
|
4205
|
-
if (e)
|
|
4206
|
-
throw e.error;
|
|
4207
|
-
}
|
|
4208
|
-
}
|
|
4209
|
-
return ar;
|
|
4210
|
-
};
|
|
4211
|
-
__spread2 = function() {
|
|
4212
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
4213
|
-
ar = ar.concat(__read2(arguments[i]));
|
|
4214
|
-
return ar;
|
|
4215
|
-
};
|
|
4216
|
-
__spreadArrays2 = function() {
|
|
4217
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
4218
|
-
s += arguments[i].length;
|
|
4219
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
4220
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
4221
|
-
r[k] = a[j];
|
|
4222
|
-
return r;
|
|
4223
|
-
};
|
|
4224
|
-
__spreadArray2 = function(to, from2, pack) {
|
|
4225
|
-
if (pack || arguments.length === 2)
|
|
4226
|
-
for (var i = 0, l = from2.length, ar; i < l; i++) {
|
|
4227
|
-
if (ar || !(i in from2)) {
|
|
4228
|
-
if (!ar)
|
|
4229
|
-
ar = Array.prototype.slice.call(from2, 0, i);
|
|
4230
|
-
ar[i] = from2[i];
|
|
4231
|
-
}
|
|
4232
|
-
}
|
|
4233
|
-
return to.concat(ar || Array.prototype.slice.call(from2));
|
|
4234
|
-
};
|
|
4235
|
-
__await2 = function(v) {
|
|
4236
|
-
return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
|
|
4237
|
-
};
|
|
4238
|
-
__asyncGenerator2 = function(thisArg, _arguments, generator) {
|
|
4239
|
-
if (!Symbol.asyncIterator)
|
|
4240
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
4241
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
4242
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
4243
|
-
return this;
|
|
4244
|
-
}, i;
|
|
4245
|
-
function verb(n) {
|
|
4246
|
-
if (g[n])
|
|
4247
|
-
i[n] = function(v) {
|
|
4248
|
-
return new Promise(function(a, b) {
|
|
4249
|
-
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
4250
|
-
});
|
|
4251
|
-
};
|
|
4252
|
-
}
|
|
4253
|
-
function resume(n, v) {
|
|
4254
|
-
try {
|
|
4255
|
-
step(g[n](v));
|
|
4256
|
-
} catch (e) {
|
|
4257
|
-
settle(q[0][3], e);
|
|
4258
|
-
}
|
|
4259
|
-
}
|
|
4260
|
-
function step(r) {
|
|
4261
|
-
r.value instanceof __await2 ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
4262
|
-
}
|
|
4263
|
-
function fulfill(value) {
|
|
4264
|
-
resume("next", value);
|
|
4265
|
-
}
|
|
4266
|
-
function reject(value) {
|
|
4267
|
-
resume("throw", value);
|
|
4268
|
-
}
|
|
4269
|
-
function settle(f, v) {
|
|
4270
|
-
if (f(v), q.shift(), q.length)
|
|
4271
|
-
resume(q[0][0], q[0][1]);
|
|
4272
|
-
}
|
|
4273
|
-
};
|
|
4274
|
-
__asyncDelegator2 = function(o) {
|
|
4275
|
-
var i, p;
|
|
4276
|
-
return i = {}, verb("next"), verb("throw", function(e) {
|
|
4277
|
-
throw e;
|
|
4278
|
-
}), verb("return"), i[Symbol.iterator] = function() {
|
|
4279
|
-
return this;
|
|
4280
|
-
}, i;
|
|
4281
|
-
function verb(n, f) {
|
|
4282
|
-
i[n] = o[n] ? function(v) {
|
|
4283
|
-
return (p = !p) ? { value: __await2(o[n](v)), done: false } : f ? f(v) : v;
|
|
4284
|
-
} : f;
|
|
4285
|
-
}
|
|
4286
|
-
};
|
|
4287
|
-
__asyncValues2 = function(o) {
|
|
4288
|
-
if (!Symbol.asyncIterator)
|
|
4289
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
4290
|
-
var m = o[Symbol.asyncIterator], i;
|
|
4291
|
-
return m ? m.call(o) : (o = typeof __values2 === "function" ? __values2(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
4292
|
-
return this;
|
|
4293
|
-
}, i);
|
|
4294
|
-
function verb(n) {
|
|
4295
|
-
i[n] = o[n] && function(v) {
|
|
4296
|
-
return new Promise(function(resolve, reject) {
|
|
4297
|
-
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
4298
|
-
});
|
|
4299
|
-
};
|
|
4300
|
-
}
|
|
4301
|
-
function settle(resolve, reject, d, v) {
|
|
4302
|
-
Promise.resolve(v).then(function(v2) {
|
|
4303
|
-
resolve({ value: v2, done: d });
|
|
4304
|
-
}, reject);
|
|
4305
|
-
}
|
|
4306
|
-
};
|
|
4307
|
-
__makeTemplateObject2 = function(cooked, raw) {
|
|
4308
|
-
if (Object.defineProperty) {
|
|
4309
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
4310
|
-
} else {
|
|
4311
|
-
cooked.raw = raw;
|
|
4312
|
-
}
|
|
4313
|
-
return cooked;
|
|
4314
|
-
};
|
|
4315
|
-
var __setModuleDefault = Object.create ? function(o, v) {
|
|
4316
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4317
|
-
} : function(o, v) {
|
|
4318
|
-
o["default"] = v;
|
|
4319
|
-
};
|
|
4320
|
-
__importStar2 = function(mod) {
|
|
4321
|
-
if (mod && mod.__esModule)
|
|
4322
|
-
return mod;
|
|
4323
|
-
var result = {};
|
|
4324
|
-
if (mod != null) {
|
|
4325
|
-
for (var k in mod)
|
|
4326
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
4327
|
-
__createBinding2(result, mod, k);
|
|
4328
|
-
}
|
|
4329
|
-
__setModuleDefault(result, mod);
|
|
4330
|
-
return result;
|
|
4331
|
-
};
|
|
4332
|
-
__importDefault2 = function(mod) {
|
|
4333
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
4334
|
-
};
|
|
4335
|
-
__classPrivateFieldGet2 = function(receiver, state, kind, f) {
|
|
4336
|
-
if (kind === "a" && !f)
|
|
4337
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
4338
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
4339
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4340
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
4341
|
-
};
|
|
4342
|
-
__classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
|
|
4343
|
-
if (kind === "m")
|
|
4344
|
-
throw new TypeError("Private method is not writable");
|
|
4345
|
-
if (kind === "a" && !f)
|
|
4346
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
4347
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
4348
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
4349
|
-
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
4350
|
-
};
|
|
4351
|
-
__classPrivateFieldIn2 = function(state, receiver) {
|
|
4352
|
-
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
|
|
4353
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
4354
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
4355
|
-
};
|
|
4356
|
-
exporter("__extends", __extends2);
|
|
4357
|
-
exporter("__assign", __assign2);
|
|
4358
|
-
exporter("__rest", __rest2);
|
|
4359
|
-
exporter("__decorate", __decorate2);
|
|
4360
|
-
exporter("__param", __param2);
|
|
4361
|
-
exporter("__esDecorate", __esDecorate2);
|
|
4362
|
-
exporter("__runInitializers", __runInitializers2);
|
|
4363
|
-
exporter("__propKey", __propKey2);
|
|
4364
|
-
exporter("__setFunctionName", __setFunctionName2);
|
|
4365
|
-
exporter("__metadata", __metadata2);
|
|
4366
|
-
exporter("__awaiter", __awaiter2);
|
|
4367
|
-
exporter("__generator", __generator2);
|
|
4368
|
-
exporter("__exportStar", __exportStar2);
|
|
4369
|
-
exporter("__createBinding", __createBinding2);
|
|
4370
|
-
exporter("__values", __values2);
|
|
4371
|
-
exporter("__read", __read2);
|
|
4372
|
-
exporter("__spread", __spread2);
|
|
4373
|
-
exporter("__spreadArrays", __spreadArrays2);
|
|
4374
|
-
exporter("__spreadArray", __spreadArray2);
|
|
4375
|
-
exporter("__await", __await2);
|
|
4376
|
-
exporter("__asyncGenerator", __asyncGenerator2);
|
|
4377
|
-
exporter("__asyncDelegator", __asyncDelegator2);
|
|
4378
|
-
exporter("__asyncValues", __asyncValues2);
|
|
4379
|
-
exporter("__makeTemplateObject", __makeTemplateObject2);
|
|
4380
|
-
exporter("__importStar", __importStar2);
|
|
4381
|
-
exporter("__importDefault", __importDefault2);
|
|
4382
|
-
exporter("__classPrivateFieldGet", __classPrivateFieldGet2);
|
|
4383
|
-
exporter("__classPrivateFieldSet", __classPrivateFieldSet2);
|
|
4384
|
-
exporter("__classPrivateFieldIn", __classPrivateFieldIn2);
|
|
4385
|
-
});
|
|
5781
|
+
} else {
|
|
5782
|
+
return false;
|
|
5783
|
+
}
|
|
5784
|
+
}
|
|
5785
|
+
async isMacAsync() {
|
|
5786
|
+
if (this.isNode) {
|
|
5787
|
+
const os = await this.getSafeNodeModule("os");
|
|
5788
|
+
return os.platform() === "darwin";
|
|
5789
|
+
} else {
|
|
5790
|
+
return false;
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5793
|
+
async isWindowsAsync() {
|
|
5794
|
+
if (this.isNode) {
|
|
5795
|
+
const os = await this.getSafeNodeModule("os");
|
|
5796
|
+
return os.platform() === "win32";
|
|
5797
|
+
} else {
|
|
5798
|
+
return false;
|
|
5799
|
+
}
|
|
5800
|
+
}
|
|
5801
|
+
async isLinuxAsync() {
|
|
5802
|
+
if (this.isNode) {
|
|
5803
|
+
const os = await this.getSafeNodeModule("os");
|
|
5804
|
+
return os.platform() === "linux";
|
|
5805
|
+
} else {
|
|
5806
|
+
return false;
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
/**
|
|
5810
|
+
* prints the environment to console
|
|
5811
|
+
*/
|
|
5812
|
+
async printEnv() {
|
|
5813
|
+
if (this.isNode) {
|
|
5814
|
+
console.log("running on NODE");
|
|
5815
|
+
console.log("node version is " + this.nodeVersion);
|
|
5816
|
+
} else {
|
|
5817
|
+
console.log("running on BROWSER");
|
|
5818
|
+
console.log("browser is " + this.userAgent);
|
|
5819
|
+
}
|
|
5820
|
+
}
|
|
5821
|
+
};
|
|
5822
|
+
|
|
5823
|
+
// node_modules/.pnpm/@push.rocks+isohash@2.0.1/node_modules/@push.rocks/isohash/dist_ts/index.js
|
|
5824
|
+
var hex = (buffer) => {
|
|
5825
|
+
const hexCodes = [];
|
|
5826
|
+
const view = new DataView(buffer);
|
|
5827
|
+
for (let i = 0; i < view.byteLength; i += 4) {
|
|
5828
|
+
const value = view.getUint32(i);
|
|
5829
|
+
const stringValue = value.toString(16);
|
|
5830
|
+
const padding = "00000000";
|
|
5831
|
+
const paddedValue = (padding + stringValue).slice(-padding.length);
|
|
5832
|
+
hexCodes.push(paddedValue);
|
|
5833
|
+
}
|
|
5834
|
+
return hexCodes.join("");
|
|
5835
|
+
};
|
|
5836
|
+
var sha256FromString = async (stringArg) => {
|
|
5837
|
+
const smartenv = new dist_ts_exports.Smartenv();
|
|
5838
|
+
if (smartenv.isBrowser) {
|
|
5839
|
+
const buffer = new TextEncoder().encode(stringArg);
|
|
5840
|
+
const hash = await crypto.subtle.digest("SHA-256", buffer);
|
|
5841
|
+
const result = hex(hash);
|
|
5842
|
+
return result;
|
|
5843
|
+
} else if (smartenv.isNode) {
|
|
5844
|
+
const smarthashModule = await smartenv.getSafeNodeModule("@pushrocks/smarthash");
|
|
5845
|
+
const result = await smarthashModule.sha256FromString(stringArg);
|
|
5846
|
+
return result;
|
|
4386
5847
|
}
|
|
5848
|
+
};
|
|
5849
|
+
|
|
5850
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.10/node_modules/@push.rocks/smartjson/dist_ts/index.js
|
|
5851
|
+
var dist_ts_exports5 = {};
|
|
5852
|
+
__export(dist_ts_exports5, {
|
|
5853
|
+
Smartjson: () => Smartjson,
|
|
5854
|
+
deepEqualObjects: () => deepEqualObjects,
|
|
5855
|
+
foldDec: () => foldDec,
|
|
5856
|
+
parse: () => parse,
|
|
5857
|
+
parseBase64: () => parseBase64,
|
|
5858
|
+
stringify: () => stringify,
|
|
5859
|
+
stringifyBase64: () => stringifyBase64,
|
|
5860
|
+
stringifyPretty: () => stringifyPretty
|
|
4387
5861
|
});
|
|
4388
5862
|
|
|
4389
|
-
// node_modules/.pnpm/@
|
|
4390
|
-
var
|
|
4391
|
-
__export(
|
|
4392
|
-
|
|
5863
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/index.js
|
|
5864
|
+
var dist_ts_exports4 = {};
|
|
5865
|
+
__export(dist_ts_exports4, {
|
|
5866
|
+
Base64: () => Base64,
|
|
5867
|
+
Domain: () => Domain,
|
|
5868
|
+
GitRepo: () => GitRepo,
|
|
5869
|
+
base64: () => base64,
|
|
5870
|
+
create: () => smartstring_create_exports,
|
|
5871
|
+
docker: () => smartstring_docker_exports,
|
|
5872
|
+
indent: () => smartstring_indent_exports,
|
|
5873
|
+
normalize: () => smartstring_normalize_exports,
|
|
5874
|
+
type: () => smartstring_type_exports
|
|
4393
5875
|
});
|
|
4394
5876
|
|
|
4395
|
-
// node_modules/.pnpm/@
|
|
4396
|
-
var
|
|
4397
|
-
__export(
|
|
4398
|
-
|
|
5877
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
|
|
5878
|
+
var smartstring_create_exports = {};
|
|
5879
|
+
__export(smartstring_create_exports, {
|
|
5880
|
+
createCryptoRandomString: () => createCryptoRandomString,
|
|
5881
|
+
createRandomString: () => createRandomString
|
|
4399
5882
|
});
|
|
4400
5883
|
|
|
4401
|
-
// node_modules/.pnpm/@
|
|
4402
|
-
var
|
|
5884
|
+
// node_modules/.pnpm/@push.rocks+smartenv@5.0.5/node_modules/@push.rocks/smartenv/dist_ts/smartenv.plugins.js
|
|
5885
|
+
var smartpromise2 = __toESM(require_dist_ts(), 1);
|
|
4403
5886
|
|
|
4404
|
-
// node_modules/.pnpm/@
|
|
4405
|
-
var
|
|
5887
|
+
// node_modules/.pnpm/@push.rocks+smartenv@5.0.5/node_modules/@push.rocks/smartenv/dist_ts/smartenv.classes.smartenv.js
|
|
5888
|
+
var Smartenv2 = class {
|
|
4406
5889
|
constructor() {
|
|
4407
5890
|
this.loadedScripts = [];
|
|
4408
5891
|
}
|
|
@@ -4434,7 +5917,7 @@ var Smartenv = class {
|
|
|
4434
5917
|
} else {
|
|
4435
5918
|
this.loadedScripts.push(urlArg);
|
|
4436
5919
|
}
|
|
4437
|
-
const done =
|
|
5920
|
+
const done = smartpromise2.defer();
|
|
4438
5921
|
if (globalThis.importScripts) {
|
|
4439
5922
|
globalThis.importScripts(urlArg);
|
|
4440
5923
|
done.resolve();
|
|
@@ -4507,6 +5990,9 @@ var Smartenv = class {
|
|
|
4507
5990
|
return false;
|
|
4508
5991
|
}
|
|
4509
5992
|
}
|
|
5993
|
+
/**
|
|
5994
|
+
* prints the environment to console
|
|
5995
|
+
*/
|
|
4510
5996
|
async printEnv() {
|
|
4511
5997
|
if (this.isNode) {
|
|
4512
5998
|
console.log("running on NODE");
|
|
@@ -4518,67 +6004,7 @@ var Smartenv = class {
|
|
|
4518
6004
|
}
|
|
4519
6005
|
};
|
|
4520
6006
|
|
|
4521
|
-
// node_modules/.pnpm/@
|
|
4522
|
-
var hex = (buffer) => {
|
|
4523
|
-
const hexCodes = [];
|
|
4524
|
-
const view = new DataView(buffer);
|
|
4525
|
-
for (let i = 0; i < view.byteLength; i += 4) {
|
|
4526
|
-
const value = view.getUint32(i);
|
|
4527
|
-
const stringValue = value.toString(16);
|
|
4528
|
-
const padding = "00000000";
|
|
4529
|
-
const paddedValue = (padding + stringValue).slice(-padding.length);
|
|
4530
|
-
hexCodes.push(paddedValue);
|
|
4531
|
-
}
|
|
4532
|
-
return hexCodes.join("");
|
|
4533
|
-
};
|
|
4534
|
-
var sha256FromString = async (stringArg) => {
|
|
4535
|
-
const smartenv = new dist_ts_exports.Smartenv();
|
|
4536
|
-
if (smartenv.isBrowser) {
|
|
4537
|
-
const buffer = new TextEncoder().encode(stringArg);
|
|
4538
|
-
const hash = await crypto.subtle.digest("SHA-256", buffer);
|
|
4539
|
-
const result = hex(hash);
|
|
4540
|
-
return result;
|
|
4541
|
-
} else if (smartenv.isNode) {
|
|
4542
|
-
const smarthashModule = await smartenv.getSafeNodeModule("@pushrocks/smarthash");
|
|
4543
|
-
const result = await smarthashModule.sha256FromString(stringArg);
|
|
4544
|
-
return result;
|
|
4545
|
-
}
|
|
4546
|
-
};
|
|
4547
|
-
|
|
4548
|
-
// node_modules/.pnpm/@pushrocks+smartjson@5.0.5/node_modules/@pushrocks/smartjson/dist_ts/index.js
|
|
4549
|
-
var dist_ts_exports4 = {};
|
|
4550
|
-
__export(dist_ts_exports4, {
|
|
4551
|
-
Smartjson: () => Smartjson,
|
|
4552
|
-
deepEqualObjects: () => deepEqualObjects,
|
|
4553
|
-
foldDec: () => foldDec,
|
|
4554
|
-
parse: () => parse,
|
|
4555
|
-
parseBase64: () => parseBase64,
|
|
4556
|
-
stringify: () => stringify,
|
|
4557
|
-
stringifyBase64: () => stringifyBase64
|
|
4558
|
-
});
|
|
4559
|
-
|
|
4560
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.5/node_modules/@pushrocks/smartstring/dist_ts/index.js
|
|
4561
|
-
var dist_ts_exports3 = {};
|
|
4562
|
-
__export(dist_ts_exports3, {
|
|
4563
|
-
Base64: () => Base64,
|
|
4564
|
-
Domain: () => Domain,
|
|
4565
|
-
GitRepo: () => GitRepo,
|
|
4566
|
-
base64: () => base64,
|
|
4567
|
-
create: () => smartstring_create_exports,
|
|
4568
|
-
docker: () => smartstring_docker_exports,
|
|
4569
|
-
indent: () => smartstring_indent_exports,
|
|
4570
|
-
normalize: () => smartstring_normalize_exports,
|
|
4571
|
-
type: () => smartstring_type_exports
|
|
4572
|
-
});
|
|
4573
|
-
|
|
4574
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.5/node_modules/@pushrocks/smartstring/dist_ts/smartstring.create.js
|
|
4575
|
-
var smartstring_create_exports = {};
|
|
4576
|
-
__export(smartstring_create_exports, {
|
|
4577
|
-
createCryptoRandomString: () => createCryptoRandomString,
|
|
4578
|
-
createRandomString: () => createRandomString
|
|
4579
|
-
});
|
|
4580
|
-
|
|
4581
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.5/node_modules/@pushrocks/smartstring/dist_ts/smartstring.plugins.js
|
|
6007
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.plugins.js
|
|
4582
6008
|
var isounique = __toESM(require_dist_ts2(), 1);
|
|
4583
6009
|
var import_buffer = __toESM(require_buffer(), 1);
|
|
4584
6010
|
var url = __toESM(require_url(), 1);
|
|
@@ -4637,7 +6063,7 @@ var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
|
|
|
4637
6063
|
var utob = (u) => u.replace(re_utob, cb_utob);
|
|
4638
6064
|
var _encode = _hasBuffer ? (s) => Buffer.from(s, "utf8").toString("base64") : _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
|
|
4639
6065
|
var encode = (src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode(src)) : _encode(src);
|
|
4640
|
-
var
|
|
6066
|
+
var encodeURI2 = (src) => encode(src, true);
|
|
4641
6067
|
var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
|
|
4642
6068
|
var cb_btou = (cccc) => {
|
|
4643
6069
|
switch (cccc.length) {
|
|
@@ -4727,8 +6153,8 @@ var gBase64 = {
|
|
|
4727
6153
|
fromBase64: decode,
|
|
4728
6154
|
toBase64: encode,
|
|
4729
6155
|
encode,
|
|
4730
|
-
encodeURI,
|
|
4731
|
-
encodeURL:
|
|
6156
|
+
encodeURI: encodeURI2,
|
|
6157
|
+
encodeURL: encodeURI2,
|
|
4732
6158
|
utob,
|
|
4733
6159
|
btou,
|
|
4734
6160
|
decode,
|
|
@@ -4761,14 +6187,14 @@ function normalizeNewline(input) {
|
|
|
4761
6187
|
return Buffer.isBuffer(input) ? (0, import_replace_buffer.default)(input, CRLF, "\n") : input.replace(new RegExp(CRLF, "g"), "\n");
|
|
4762
6188
|
}
|
|
4763
6189
|
|
|
4764
|
-
// node_modules/.pnpm/@
|
|
6190
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.plugins.js
|
|
4765
6191
|
var import_randomatic = __toESM(require_randomatic(), 1);
|
|
4766
|
-
var smartenvInstance = new
|
|
6192
|
+
var smartenvInstance = new Smartenv2();
|
|
4767
6193
|
if (smartenvInstance.isBrowser) {
|
|
4768
6194
|
globalThis.Buffer = import_buffer.Buffer;
|
|
4769
6195
|
}
|
|
4770
6196
|
|
|
4771
|
-
// node_modules/.pnpm/@
|
|
6197
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.create.js
|
|
4772
6198
|
var createRandomString = (patternArg, lengthArg, optionsArg) => {
|
|
4773
6199
|
return import_randomatic.default(patternArg, lengthArg, optionsArg);
|
|
4774
6200
|
};
|
|
@@ -4776,7 +6202,7 @@ var createCryptoRandomString = () => {
|
|
|
4776
6202
|
return isounique.uni();
|
|
4777
6203
|
};
|
|
4778
6204
|
|
|
4779
|
-
// node_modules/.pnpm/@
|
|
6205
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.docker.js
|
|
4780
6206
|
var smartstring_docker_exports = {};
|
|
4781
6207
|
__export(smartstring_docker_exports, {
|
|
4782
6208
|
makeEnvObject: () => makeEnvObject
|
|
@@ -4793,7 +6219,7 @@ var makeEnvObject = function(envArrayArg) {
|
|
|
4793
6219
|
return returnObject;
|
|
4794
6220
|
};
|
|
4795
6221
|
|
|
4796
|
-
// node_modules/.pnpm/@
|
|
6222
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.indent.js
|
|
4797
6223
|
var smartstring_indent_exports = {};
|
|
4798
6224
|
__export(smartstring_indent_exports, {
|
|
4799
6225
|
indent: () => indent,
|
|
@@ -4859,7 +6285,7 @@ var normalize = (stringArg) => {
|
|
|
4859
6285
|
return resultString;
|
|
4860
6286
|
};
|
|
4861
6287
|
|
|
4862
|
-
// node_modules/.pnpm/@
|
|
6288
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.normalize.js
|
|
4863
6289
|
var smartstring_normalize_exports = {};
|
|
4864
6290
|
__export(smartstring_normalize_exports, {
|
|
4865
6291
|
replaceAll: () => replaceAll,
|
|
@@ -4868,21 +6294,34 @@ __export(smartstring_normalize_exports, {
|
|
|
4868
6294
|
var replaceAll = (stringArg, searchPattern, replacementString) => {
|
|
4869
6295
|
return stringArg.replace(new RegExp(searchPattern, "g"), replacementString);
|
|
4870
6296
|
};
|
|
4871
|
-
var standard = (stringArg) => {
|
|
4872
|
-
let
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
6297
|
+
var standard = (stringArg, options) => {
|
|
6298
|
+
let result = stringArg;
|
|
6299
|
+
if (!options || options.stripIndent) {
|
|
6300
|
+
result = stripIndent(result);
|
|
6301
|
+
}
|
|
6302
|
+
if (!options || options.normalizeNewline) {
|
|
6303
|
+
result = normalizeNewline(result);
|
|
6304
|
+
}
|
|
6305
|
+
if (!options || options.replaceTabs) {
|
|
6306
|
+
result = replaceAll(result, " /", " ");
|
|
6307
|
+
}
|
|
6308
|
+
if (!options || options.stripLeadingTrailingEmptyLines) {
|
|
6309
|
+
result = result.replace(/^\s*[\r\n]/gm, "").replace(/\s*[\r\n]$/gm, "");
|
|
6310
|
+
}
|
|
6311
|
+
if (!options || options.stripAllEmptyLines) {
|
|
6312
|
+
result = result.replace(/^\s*[\r\n]/gm, "");
|
|
6313
|
+
}
|
|
6314
|
+
return result;
|
|
4876
6315
|
};
|
|
4877
6316
|
|
|
4878
|
-
// node_modules/.pnpm/@
|
|
6317
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
|
|
4879
6318
|
var smartstring_type_exports = {};
|
|
4880
6319
|
__export(smartstring_type_exports, {
|
|
4881
6320
|
isBase64: () => isBase64,
|
|
4882
6321
|
isUtf8: () => isUtf8
|
|
4883
6322
|
});
|
|
4884
6323
|
|
|
4885
|
-
// node_modules/.pnpm/@
|
|
6324
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.base64.js
|
|
4886
6325
|
var Base64 = class {
|
|
4887
6326
|
constructor(inputStringArg, typeArg) {
|
|
4888
6327
|
switch (typeArg) {
|
|
@@ -4896,50 +6335,89 @@ var Base64 = class {
|
|
|
4896
6335
|
this.refString = base64.decode(inputStringArg);
|
|
4897
6336
|
}
|
|
4898
6337
|
}
|
|
6338
|
+
/**
|
|
6339
|
+
* the simple string (unencoded)
|
|
6340
|
+
*/
|
|
4899
6341
|
get simpleString() {
|
|
4900
6342
|
return this.refString;
|
|
4901
6343
|
}
|
|
6344
|
+
/**
|
|
6345
|
+
* the base64 encoded version of the original string
|
|
6346
|
+
*/
|
|
4902
6347
|
get base64String() {
|
|
4903
6348
|
return base64.encode(this.refString);
|
|
4904
6349
|
}
|
|
6350
|
+
/**
|
|
6351
|
+
* the base64uri encoded version of the original string
|
|
6352
|
+
*/
|
|
4905
6353
|
get base64UriString() {
|
|
4906
6354
|
return base64.encodeUri(this.refString);
|
|
4907
6355
|
}
|
|
4908
6356
|
};
|
|
4909
6357
|
var base64 = {
|
|
6358
|
+
/**
|
|
6359
|
+
* encodes the string
|
|
6360
|
+
*/
|
|
4910
6361
|
encode: (stringArg) => {
|
|
4911
6362
|
return gBase64.encode(stringArg);
|
|
4912
6363
|
},
|
|
6364
|
+
/**
|
|
6365
|
+
* encodes a stringArg to base64 uri style
|
|
6366
|
+
*/
|
|
4913
6367
|
encodeUri: (stringArg) => {
|
|
4914
6368
|
return gBase64.encodeURI(stringArg);
|
|
4915
6369
|
},
|
|
6370
|
+
/**
|
|
6371
|
+
* decodes a base64 encoded string
|
|
6372
|
+
*/
|
|
4916
6373
|
decode: (stringArg) => {
|
|
4917
6374
|
return gBase64.decode(stringArg);
|
|
4918
6375
|
},
|
|
6376
|
+
/**
|
|
6377
|
+
*
|
|
6378
|
+
* @param stringArg
|
|
6379
|
+
* checks wether the string is base64 encoded
|
|
6380
|
+
*/
|
|
4919
6381
|
isBase64: (stringArg) => {
|
|
4920
6382
|
const regex = /^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$/;
|
|
4921
6383
|
return regex.test(stringArg);
|
|
4922
6384
|
}
|
|
4923
6385
|
};
|
|
4924
6386
|
|
|
4925
|
-
// node_modules/.pnpm/@
|
|
6387
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.type.js
|
|
4926
6388
|
var isUtf8 = (stringArg) => {
|
|
4927
6389
|
const bytes = Buffer.from(stringArg);
|
|
4928
6390
|
let i = 0;
|
|
4929
6391
|
while (i < bytes.length) {
|
|
4930
|
-
if (
|
|
6392
|
+
if (
|
|
6393
|
+
// ASCII
|
|
6394
|
+
bytes[i] === 9 || bytes[i] === 10 || bytes[i] === 13 || 32 <= bytes[i] && bytes[i] <= 126
|
|
6395
|
+
) {
|
|
4931
6396
|
i += 1;
|
|
4932
6397
|
continue;
|
|
4933
6398
|
}
|
|
4934
|
-
if (
|
|
6399
|
+
if (
|
|
6400
|
+
// non-overlong 2-byte
|
|
6401
|
+
194 <= bytes[i] && bytes[i] <= 223 && 128 <= bytes[i + 1] && bytes[i + 1] <= 191
|
|
6402
|
+
) {
|
|
4935
6403
|
i += 2;
|
|
4936
6404
|
continue;
|
|
4937
6405
|
}
|
|
4938
|
-
if (
|
|
6406
|
+
if (
|
|
6407
|
+
// excluding overlongs
|
|
6408
|
+
bytes[i] === 224 && 160 <= bytes[i + 1] && bytes[i + 1] <= 191 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191 || // straight 3-byte
|
|
6409
|
+
(225 <= bytes[i] && bytes[i] <= 236 || bytes[i] === 238 || bytes[i] === 239) && 128 <= bytes[i + 1] && bytes[i + 1] <= 191 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191 || // excluding surrogates
|
|
6410
|
+
bytes[i] === 237 && 128 <= bytes[i + 1] && bytes[i + 1] <= 159 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191
|
|
6411
|
+
) {
|
|
4939
6412
|
i += 3;
|
|
4940
6413
|
continue;
|
|
4941
6414
|
}
|
|
4942
|
-
if (
|
|
6415
|
+
if (
|
|
6416
|
+
// planes 1-3
|
|
6417
|
+
bytes[i] === 240 && 144 <= bytes[i + 1] && bytes[i + 1] <= 191 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191 && 128 <= bytes[i + 3] && bytes[i + 3] <= 191 || // planes 4-15
|
|
6418
|
+
241 <= bytes[i] && bytes[i] <= 243 && 128 <= bytes[i + 1] && bytes[i + 1] <= 191 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191 && 128 <= bytes[i + 3] && bytes[i + 3] <= 191 || // plane 16
|
|
6419
|
+
bytes[i] === 244 && 128 <= bytes[i + 1] && bytes[i + 1] <= 143 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191 && 128 <= bytes[i + 3] && bytes[i + 3] <= 191
|
|
6420
|
+
) {
|
|
4943
6421
|
i += 4;
|
|
4944
6422
|
continue;
|
|
4945
6423
|
}
|
|
@@ -4957,7 +6435,7 @@ var isBase64 = (stringArg) => {
|
|
|
4957
6435
|
return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && stringArg[len - 1] === "=";
|
|
4958
6436
|
};
|
|
4959
6437
|
|
|
4960
|
-
// node_modules/.pnpm/@
|
|
6438
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.domain.js
|
|
4961
6439
|
var Domain = class {
|
|
4962
6440
|
constructor(domainStringArg) {
|
|
4963
6441
|
this.protocol = this._protocolRegex(domainStringArg);
|
|
@@ -4986,6 +6464,8 @@ var Domain = class {
|
|
|
4986
6464
|
this.domainName = this.level2;
|
|
4987
6465
|
this.subDomain = this.level3;
|
|
4988
6466
|
}
|
|
6467
|
+
// helper functions
|
|
6468
|
+
/** */
|
|
4989
6469
|
_domainRegex(stringArg) {
|
|
4990
6470
|
const regexString = /([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}$/;
|
|
4991
6471
|
const regexMatches = regexString.exec(stringArg);
|
|
@@ -5016,7 +6496,7 @@ var Domain = class {
|
|
|
5016
6496
|
}
|
|
5017
6497
|
};
|
|
5018
6498
|
|
|
5019
|
-
// node_modules/.pnpm/@
|
|
6499
|
+
// node_modules/.pnpm/@push.rocks+smartstring@4.0.9/node_modules/@push.rocks/smartstring/dist_ts/smartstring.git.js
|
|
5020
6500
|
var GitRepo = class {
|
|
5021
6501
|
constructor(stringArg, tokenArg) {
|
|
5022
6502
|
let regexMatches = gitRegex(stringArg);
|
|
@@ -5029,7 +6509,7 @@ var GitRepo = class {
|
|
|
5029
6509
|
}
|
|
5030
6510
|
};
|
|
5031
6511
|
var gitRegex = function(stringArg) {
|
|
5032
|
-
const regexString = /([a-zA-Z0-9
|
|
6512
|
+
const regexString = /([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/;
|
|
5033
6513
|
let regexMatches = regexString.exec(stringArg);
|
|
5034
6514
|
return regexMatches;
|
|
5035
6515
|
};
|
|
@@ -5052,13 +6532,13 @@ var gitLink = function(hostArg, userArg, repoArg, tokenArg = "", linkTypeArg) {
|
|
|
5052
6532
|
return returnString;
|
|
5053
6533
|
};
|
|
5054
6534
|
|
|
5055
|
-
// node_modules/.pnpm/@
|
|
6535
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.10/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
|
|
5056
6536
|
var import_lodash = __toESM(require_lodash(), 1);
|
|
5057
6537
|
var import_fast_json_stable_stringify = __toESM(require_fast_json_stable_stringify(), 1);
|
|
5058
6538
|
var import_buffer_json = __toESM(require_buffer_json(), 1);
|
|
5059
6539
|
var stableJson = import_fast_json_stable_stringify.default;
|
|
5060
6540
|
|
|
5061
|
-
// node_modules/.pnpm/@
|
|
6541
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.10/node_modules/@push.rocks/smartjson/dist_ts/index.js
|
|
5062
6542
|
var parse = import_buffer_json.default.parse;
|
|
5063
6543
|
var stringify = (objArg, simpleOrderArray, optionsArg = {}) => {
|
|
5064
6544
|
const bufferedJson = import_buffer_json.default.stringify(objArg);
|
|
@@ -5066,15 +6546,23 @@ var stringify = (objArg, simpleOrderArray, optionsArg = {}) => {
|
|
|
5066
6546
|
let returnJson = stableJson(objArg, optionsArg);
|
|
5067
6547
|
return returnJson;
|
|
5068
6548
|
};
|
|
6549
|
+
var stringifyPretty = (objectArg) => {
|
|
6550
|
+
const stringified = stringify(objectArg);
|
|
6551
|
+
const object = JSON.parse(stringified);
|
|
6552
|
+
return JSON.stringify(object, null, 2);
|
|
6553
|
+
};
|
|
5069
6554
|
var stringifyBase64 = (...args) => {
|
|
5070
6555
|
const stringifiedResult = stringify(...args);
|
|
5071
|
-
return
|
|
6556
|
+
return dist_ts_exports4.base64.encodeUri(stringifiedResult);
|
|
5072
6557
|
};
|
|
5073
6558
|
var parseBase64 = (base64JsonStringArg) => {
|
|
5074
|
-
const simpleStringified =
|
|
6559
|
+
const simpleStringified = dist_ts_exports4.base64.decode(base64JsonStringArg);
|
|
5075
6560
|
return parse(simpleStringified);
|
|
5076
6561
|
};
|
|
5077
|
-
var Smartjson = class {
|
|
6562
|
+
var Smartjson = class _Smartjson {
|
|
6563
|
+
/**
|
|
6564
|
+
* enfolds data from an object
|
|
6565
|
+
*/
|
|
5078
6566
|
static enfoldFromObject(objectArg) {
|
|
5079
6567
|
const newInstance = new this();
|
|
5080
6568
|
for (const keyName in objectArg) {
|
|
@@ -5084,16 +6572,22 @@ var Smartjson = class {
|
|
|
5084
6572
|
}
|
|
5085
6573
|
return newInstance;
|
|
5086
6574
|
}
|
|
6575
|
+
/**
|
|
6576
|
+
* enfold from json
|
|
6577
|
+
*/
|
|
5087
6578
|
static enfoldFromJson(jsonArg) {
|
|
5088
6579
|
const objectFromJson = parse(jsonArg);
|
|
5089
6580
|
return this.enfoldFromObject(objectFromJson);
|
|
5090
6581
|
}
|
|
6582
|
+
/**
|
|
6583
|
+
* folds a class into an object
|
|
6584
|
+
*/
|
|
5091
6585
|
foldToObject() {
|
|
5092
6586
|
const newFoldedObject = {};
|
|
5093
6587
|
const trackMap = [];
|
|
5094
6588
|
for (const keyName of this.saveableProperties) {
|
|
5095
6589
|
let value = this[keyName];
|
|
5096
|
-
if (value instanceof
|
|
6590
|
+
if (value instanceof _Smartjson) {
|
|
5097
6591
|
if (trackMap.includes(value)) {
|
|
5098
6592
|
throw new Error("cycle detected");
|
|
5099
6593
|
}
|
|
@@ -5104,6 +6598,9 @@ var Smartjson = class {
|
|
|
5104
6598
|
}
|
|
5105
6599
|
return newFoldedObject;
|
|
5106
6600
|
}
|
|
6601
|
+
/**
|
|
6602
|
+
* folds a class into an object
|
|
6603
|
+
*/
|
|
5107
6604
|
foldToJson() {
|
|
5108
6605
|
const foldedObject = this.foldToObject();
|
|
5109
6606
|
return stringify(foldedObject);
|
|
@@ -5123,9 +6620,9 @@ var deepEqualObjects = (object1, object2) => {
|
|
|
5123
6620
|
return object1String === object2String;
|
|
5124
6621
|
};
|
|
5125
6622
|
|
|
5126
|
-
// node_modules/.pnpm/@
|
|
5127
|
-
var
|
|
5128
|
-
__export(
|
|
6623
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
|
|
6624
|
+
var dist_ts_exports6 = {};
|
|
6625
|
+
__export(dist_ts_exports6, {
|
|
5129
6626
|
CumulativeDeferred: () => CumulativeDeferred,
|
|
5130
6627
|
Deferred: () => Deferred,
|
|
5131
6628
|
cumulativeDefer: () => cumulativeDefer,
|
|
@@ -5138,8 +6635,14 @@ __export(dist_ts_exports5, {
|
|
|
5138
6635
|
timeoutWrap: () => timeoutWrap
|
|
5139
6636
|
});
|
|
5140
6637
|
|
|
5141
|
-
// node_modules/.pnpm/@
|
|
6638
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
|
|
5142
6639
|
var Deferred = class {
|
|
6640
|
+
claim() {
|
|
6641
|
+
if (this.claimed) {
|
|
6642
|
+
throw new Error("Deferred already claimed");
|
|
6643
|
+
}
|
|
6644
|
+
this.claimed = true;
|
|
6645
|
+
}
|
|
5143
6646
|
get duration() {
|
|
5144
6647
|
if (this.stoppedAt) {
|
|
5145
6648
|
return this.stoppedAt - this.startedAt;
|
|
@@ -5148,6 +6651,7 @@ var Deferred = class {
|
|
|
5148
6651
|
}
|
|
5149
6652
|
}
|
|
5150
6653
|
constructor() {
|
|
6654
|
+
this.claimed = false;
|
|
5151
6655
|
this.promise = new Promise((resolve, reject) => {
|
|
5152
6656
|
this.resolve = (valueArg) => {
|
|
5153
6657
|
this.status = "fulfilled";
|
|
@@ -5168,7 +6672,7 @@ var defer = () => {
|
|
|
5168
6672
|
return new Deferred();
|
|
5169
6673
|
};
|
|
5170
6674
|
|
|
5171
|
-
// node_modules/.pnpm/@
|
|
6675
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
|
|
5172
6676
|
var CumulativeDeferred = class {
|
|
5173
6677
|
constructor() {
|
|
5174
6678
|
this.accumulatedPromises = [];
|
|
@@ -5190,7 +6694,7 @@ var cumulativeDefer = () => {
|
|
|
5190
6694
|
return new CumulativeDeferred();
|
|
5191
6695
|
};
|
|
5192
6696
|
|
|
5193
|
-
// node_modules/.pnpm/@
|
|
6697
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
|
|
5194
6698
|
var resolvedPromise = (value) => {
|
|
5195
6699
|
return Promise.resolve(value);
|
|
5196
6700
|
};
|
|
@@ -5240,68 +6744,261 @@ var getFirstTrueOrFalse = async (promisesArg) => {
|
|
|
5240
6744
|
return done.promise;
|
|
5241
6745
|
};
|
|
5242
6746
|
|
|
5243
|
-
// node_modules/.pnpm/@
|
|
5244
|
-
var
|
|
5245
|
-
__export(
|
|
6747
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/index.js
|
|
6748
|
+
var dist_ts_exports7 = {};
|
|
6749
|
+
__export(dist_ts_exports7, {
|
|
5246
6750
|
ObservableIntake: () => ObservableIntake,
|
|
5247
6751
|
Observablemap: () => Observablemap,
|
|
5248
6752
|
rxjs: () => smartrx_plugins_rxjs_exports
|
|
5249
6753
|
});
|
|
5250
6754
|
|
|
5251
|
-
// node_modules/.pnpm/@
|
|
5252
|
-
var smartpromise2 = __toESM(require_dist_ts(), 1);
|
|
5253
|
-
|
|
5254
|
-
// node_modules/.pnpm/@pushrocks+smartrx@3.0.0/node_modules/@pushrocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
6755
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
5255
6756
|
var smartrx_plugins_rxjs_exports = {};
|
|
5256
6757
|
__export(smartrx_plugins_rxjs_exports, {
|
|
5257
6758
|
Observable: () => Observable,
|
|
5258
6759
|
ReplaySubject: () => ReplaySubject,
|
|
5259
6760
|
Subject: () => Subject,
|
|
5260
6761
|
Subscription: () => Subscription,
|
|
6762
|
+
from: () => from,
|
|
5261
6763
|
fromEvent: () => fromEvent,
|
|
5262
6764
|
ops: () => ops
|
|
5263
6765
|
});
|
|
5264
6766
|
|
|
5265
|
-
// node_modules/.pnpm/tslib@2.
|
|
5266
|
-
var
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
}
|
|
5298
|
-
|
|
5299
|
-
|
|
6767
|
+
// node_modules/.pnpm/tslib@2.6.1/node_modules/tslib/tslib.es6.mjs
|
|
6768
|
+
var extendStatics = function(d, b) {
|
|
6769
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
6770
|
+
d2.__proto__ = b2;
|
|
6771
|
+
} || function(d2, b2) {
|
|
6772
|
+
for (var p in b2)
|
|
6773
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
6774
|
+
d2[p] = b2[p];
|
|
6775
|
+
};
|
|
6776
|
+
return extendStatics(d, b);
|
|
6777
|
+
};
|
|
6778
|
+
function __extends(d, b) {
|
|
6779
|
+
if (typeof b !== "function" && b !== null)
|
|
6780
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
6781
|
+
extendStatics(d, b);
|
|
6782
|
+
function __() {
|
|
6783
|
+
this.constructor = d;
|
|
6784
|
+
}
|
|
6785
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6786
|
+
}
|
|
6787
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
6788
|
+
function adopt(value) {
|
|
6789
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
6790
|
+
resolve(value);
|
|
6791
|
+
});
|
|
6792
|
+
}
|
|
6793
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
6794
|
+
function fulfilled(value) {
|
|
6795
|
+
try {
|
|
6796
|
+
step(generator.next(value));
|
|
6797
|
+
} catch (e) {
|
|
6798
|
+
reject(e);
|
|
6799
|
+
}
|
|
6800
|
+
}
|
|
6801
|
+
function rejected(value) {
|
|
6802
|
+
try {
|
|
6803
|
+
step(generator["throw"](value));
|
|
6804
|
+
} catch (e) {
|
|
6805
|
+
reject(e);
|
|
6806
|
+
}
|
|
6807
|
+
}
|
|
6808
|
+
function step(result) {
|
|
6809
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
6810
|
+
}
|
|
6811
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
6812
|
+
});
|
|
6813
|
+
}
|
|
6814
|
+
function __generator(thisArg, body) {
|
|
6815
|
+
var _ = { label: 0, sent: function() {
|
|
6816
|
+
if (t[0] & 1)
|
|
6817
|
+
throw t[1];
|
|
6818
|
+
return t[1];
|
|
6819
|
+
}, trys: [], ops: [] }, f, y, t, g;
|
|
6820
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
6821
|
+
return this;
|
|
6822
|
+
}), g;
|
|
6823
|
+
function verb(n) {
|
|
6824
|
+
return function(v) {
|
|
6825
|
+
return step([n, v]);
|
|
6826
|
+
};
|
|
6827
|
+
}
|
|
6828
|
+
function step(op) {
|
|
6829
|
+
if (f)
|
|
6830
|
+
throw new TypeError("Generator is already executing.");
|
|
6831
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
6832
|
+
try {
|
|
6833
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
6834
|
+
return t;
|
|
6835
|
+
if (y = 0, t)
|
|
6836
|
+
op = [op[0] & 2, t.value];
|
|
6837
|
+
switch (op[0]) {
|
|
6838
|
+
case 0:
|
|
6839
|
+
case 1:
|
|
6840
|
+
t = op;
|
|
6841
|
+
break;
|
|
6842
|
+
case 4:
|
|
6843
|
+
_.label++;
|
|
6844
|
+
return { value: op[1], done: false };
|
|
6845
|
+
case 5:
|
|
6846
|
+
_.label++;
|
|
6847
|
+
y = op[1];
|
|
6848
|
+
op = [0];
|
|
6849
|
+
continue;
|
|
6850
|
+
case 7:
|
|
6851
|
+
op = _.ops.pop();
|
|
6852
|
+
_.trys.pop();
|
|
6853
|
+
continue;
|
|
6854
|
+
default:
|
|
6855
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
6856
|
+
_ = 0;
|
|
6857
|
+
continue;
|
|
6858
|
+
}
|
|
6859
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
6860
|
+
_.label = op[1];
|
|
6861
|
+
break;
|
|
6862
|
+
}
|
|
6863
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
6864
|
+
_.label = t[1];
|
|
6865
|
+
t = op;
|
|
6866
|
+
break;
|
|
6867
|
+
}
|
|
6868
|
+
if (t && _.label < t[2]) {
|
|
6869
|
+
_.label = t[2];
|
|
6870
|
+
_.ops.push(op);
|
|
6871
|
+
break;
|
|
6872
|
+
}
|
|
6873
|
+
if (t[2])
|
|
6874
|
+
_.ops.pop();
|
|
6875
|
+
_.trys.pop();
|
|
6876
|
+
continue;
|
|
6877
|
+
}
|
|
6878
|
+
op = body.call(thisArg, _);
|
|
6879
|
+
} catch (e) {
|
|
6880
|
+
op = [6, e];
|
|
6881
|
+
y = 0;
|
|
6882
|
+
} finally {
|
|
6883
|
+
f = t = 0;
|
|
6884
|
+
}
|
|
6885
|
+
if (op[0] & 5)
|
|
6886
|
+
throw op[1];
|
|
6887
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
6888
|
+
}
|
|
6889
|
+
}
|
|
6890
|
+
function __values(o) {
|
|
6891
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
6892
|
+
if (m)
|
|
6893
|
+
return m.call(o);
|
|
6894
|
+
if (o && typeof o.length === "number")
|
|
6895
|
+
return {
|
|
6896
|
+
next: function() {
|
|
6897
|
+
if (o && i >= o.length)
|
|
6898
|
+
o = void 0;
|
|
6899
|
+
return { value: o && o[i++], done: !o };
|
|
6900
|
+
}
|
|
6901
|
+
};
|
|
6902
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
6903
|
+
}
|
|
6904
|
+
function __read(o, n) {
|
|
6905
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
6906
|
+
if (!m)
|
|
6907
|
+
return o;
|
|
6908
|
+
var i = m.call(o), r, ar = [], e;
|
|
6909
|
+
try {
|
|
6910
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
6911
|
+
ar.push(r.value);
|
|
6912
|
+
} catch (error) {
|
|
6913
|
+
e = { error };
|
|
6914
|
+
} finally {
|
|
6915
|
+
try {
|
|
6916
|
+
if (r && !r.done && (m = i["return"]))
|
|
6917
|
+
m.call(i);
|
|
6918
|
+
} finally {
|
|
6919
|
+
if (e)
|
|
6920
|
+
throw e.error;
|
|
6921
|
+
}
|
|
6922
|
+
}
|
|
6923
|
+
return ar;
|
|
6924
|
+
}
|
|
6925
|
+
function __spreadArray(to, from2, pack) {
|
|
6926
|
+
if (pack || arguments.length === 2)
|
|
6927
|
+
for (var i = 0, l = from2.length, ar; i < l; i++) {
|
|
6928
|
+
if (ar || !(i in from2)) {
|
|
6929
|
+
if (!ar)
|
|
6930
|
+
ar = Array.prototype.slice.call(from2, 0, i);
|
|
6931
|
+
ar[i] = from2[i];
|
|
6932
|
+
}
|
|
6933
|
+
}
|
|
6934
|
+
return to.concat(ar || Array.prototype.slice.call(from2));
|
|
6935
|
+
}
|
|
6936
|
+
function __await(v) {
|
|
6937
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
6938
|
+
}
|
|
6939
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
6940
|
+
if (!Symbol.asyncIterator)
|
|
6941
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
6942
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
6943
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
6944
|
+
return this;
|
|
6945
|
+
}, i;
|
|
6946
|
+
function verb(n) {
|
|
6947
|
+
if (g[n])
|
|
6948
|
+
i[n] = function(v) {
|
|
6949
|
+
return new Promise(function(a, b) {
|
|
6950
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
6951
|
+
});
|
|
6952
|
+
};
|
|
6953
|
+
}
|
|
6954
|
+
function resume(n, v) {
|
|
6955
|
+
try {
|
|
6956
|
+
step(g[n](v));
|
|
6957
|
+
} catch (e) {
|
|
6958
|
+
settle(q[0][3], e);
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6961
|
+
function step(r) {
|
|
6962
|
+
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
6963
|
+
}
|
|
6964
|
+
function fulfill(value) {
|
|
6965
|
+
resume("next", value);
|
|
6966
|
+
}
|
|
6967
|
+
function reject(value) {
|
|
6968
|
+
resume("throw", value);
|
|
6969
|
+
}
|
|
6970
|
+
function settle(f, v) {
|
|
6971
|
+
if (f(v), q.shift(), q.length)
|
|
6972
|
+
resume(q[0][0], q[0][1]);
|
|
6973
|
+
}
|
|
6974
|
+
}
|
|
6975
|
+
function __asyncValues(o) {
|
|
6976
|
+
if (!Symbol.asyncIterator)
|
|
6977
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
6978
|
+
var m = o[Symbol.asyncIterator], i;
|
|
6979
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
6980
|
+
return this;
|
|
6981
|
+
}, i);
|
|
6982
|
+
function verb(n) {
|
|
6983
|
+
i[n] = o[n] && function(v) {
|
|
6984
|
+
return new Promise(function(resolve, reject) {
|
|
6985
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
6986
|
+
});
|
|
6987
|
+
};
|
|
6988
|
+
}
|
|
6989
|
+
function settle(resolve, reject, d, v) {
|
|
6990
|
+
Promise.resolve(v).then(function(v2) {
|
|
6991
|
+
resolve({ value: v2, done: d });
|
|
6992
|
+
}, reject);
|
|
6993
|
+
}
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
|
|
5300
6997
|
function isFunction(value) {
|
|
5301
6998
|
return typeof value === "function";
|
|
5302
6999
|
}
|
|
5303
7000
|
|
|
5304
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7001
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
5305
7002
|
function createErrorClass(createImpl) {
|
|
5306
7003
|
var _super = function(instance) {
|
|
5307
7004
|
Error.call(instance);
|
|
@@ -5313,7 +7010,7 @@ function createErrorClass(createImpl) {
|
|
|
5313
7010
|
return ctorFunc;
|
|
5314
7011
|
}
|
|
5315
7012
|
|
|
5316
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7013
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
5317
7014
|
var UnsubscriptionError = createErrorClass(function(_super) {
|
|
5318
7015
|
return function UnsubscriptionErrorImpl(errors) {
|
|
5319
7016
|
_super(this);
|
|
@@ -5325,7 +7022,7 @@ var UnsubscriptionError = createErrorClass(function(_super) {
|
|
|
5325
7022
|
};
|
|
5326
7023
|
});
|
|
5327
7024
|
|
|
5328
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7025
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
5329
7026
|
function arrRemove(arr, item) {
|
|
5330
7027
|
if (arr) {
|
|
5331
7028
|
var index = arr.indexOf(item);
|
|
@@ -5333,7 +7030,7 @@ function arrRemove(arr, item) {
|
|
|
5333
7030
|
}
|
|
5334
7031
|
}
|
|
5335
7032
|
|
|
5336
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7033
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
5337
7034
|
var Subscription = function() {
|
|
5338
7035
|
function Subscription2(initialTeardown) {
|
|
5339
7036
|
this.initialTeardown = initialTeardown;
|
|
@@ -5470,7 +7167,7 @@ function execFinalizer(finalizer) {
|
|
|
5470
7167
|
}
|
|
5471
7168
|
}
|
|
5472
7169
|
|
|
5473
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7170
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/config.js
|
|
5474
7171
|
var config = {
|
|
5475
7172
|
onUnhandledError: null,
|
|
5476
7173
|
onStoppedNotification: null,
|
|
@@ -5479,7 +7176,7 @@ var config = {
|
|
|
5479
7176
|
useDeprecatedNextContext: false
|
|
5480
7177
|
};
|
|
5481
7178
|
|
|
5482
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7179
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
|
|
5483
7180
|
var timeoutProvider = {
|
|
5484
7181
|
setTimeout: function(handler, timeout) {
|
|
5485
7182
|
var args = [];
|
|
@@ -5499,7 +7196,7 @@ var timeoutProvider = {
|
|
|
5499
7196
|
delegate: void 0
|
|
5500
7197
|
};
|
|
5501
7198
|
|
|
5502
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7199
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
5503
7200
|
function reportUnhandledError(err) {
|
|
5504
7201
|
timeoutProvider.setTimeout(function() {
|
|
5505
7202
|
var onUnhandledError = config.onUnhandledError;
|
|
@@ -5511,11 +7208,11 @@ function reportUnhandledError(err) {
|
|
|
5511
7208
|
});
|
|
5512
7209
|
}
|
|
5513
7210
|
|
|
5514
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7211
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
5515
7212
|
function noop() {
|
|
5516
7213
|
}
|
|
5517
7214
|
|
|
5518
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7215
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
5519
7216
|
var COMPLETE_NOTIFICATION = function() {
|
|
5520
7217
|
return createNotification("C", void 0, void 0);
|
|
5521
7218
|
}();
|
|
@@ -5533,7 +7230,7 @@ function createNotification(kind, value, error) {
|
|
|
5533
7230
|
};
|
|
5534
7231
|
}
|
|
5535
7232
|
|
|
5536
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7233
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
|
|
5537
7234
|
var context = null;
|
|
5538
7235
|
function errorContext(cb) {
|
|
5539
7236
|
if (config.useDeprecatedSynchronousErrorHandling) {
|
|
@@ -5560,7 +7257,7 @@ function captureError(err) {
|
|
|
5560
7257
|
}
|
|
5561
7258
|
}
|
|
5562
7259
|
|
|
5563
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7260
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
5564
7261
|
var Subscriber = function(_super) {
|
|
5565
7262
|
__extends(Subscriber2, _super);
|
|
5566
7263
|
function Subscriber2(destination) {
|
|
@@ -5725,17 +7422,17 @@ var EMPTY_OBSERVER = {
|
|
|
5725
7422
|
complete: noop
|
|
5726
7423
|
};
|
|
5727
7424
|
|
|
5728
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7425
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
|
|
5729
7426
|
var observable = function() {
|
|
5730
7427
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
5731
7428
|
}();
|
|
5732
7429
|
|
|
5733
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7430
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
5734
7431
|
function identity(x) {
|
|
5735
7432
|
return x;
|
|
5736
7433
|
}
|
|
5737
7434
|
|
|
5738
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7435
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/pipe.js
|
|
5739
7436
|
function pipeFromArray(fns) {
|
|
5740
7437
|
if (fns.length === 0) {
|
|
5741
7438
|
return identity;
|
|
@@ -5750,7 +7447,7 @@ function pipeFromArray(fns) {
|
|
|
5750
7447
|
};
|
|
5751
7448
|
}
|
|
5752
7449
|
|
|
5753
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7450
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
5754
7451
|
var Observable = function() {
|
|
5755
7452
|
function Observable2(subscribe) {
|
|
5756
7453
|
if (subscribe) {
|
|
@@ -5842,7 +7539,7 @@ function isSubscriber(value) {
|
|
|
5842
7539
|
return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);
|
|
5843
7540
|
}
|
|
5844
7541
|
|
|
5845
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7542
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/lift.js
|
|
5846
7543
|
function hasLift(source) {
|
|
5847
7544
|
return isFunction(source === null || source === void 0 ? void 0 : source.lift);
|
|
5848
7545
|
}
|
|
@@ -5861,7 +7558,7 @@ function operate(init) {
|
|
|
5861
7558
|
};
|
|
5862
7559
|
}
|
|
5863
7560
|
|
|
5864
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7561
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
|
|
5865
7562
|
function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
|
|
5866
7563
|
return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
|
|
5867
7564
|
}
|
|
@@ -5909,7 +7606,7 @@ var OperatorSubscriber = function(_super) {
|
|
|
5909
7606
|
return OperatorSubscriber2;
|
|
5910
7607
|
}(Subscriber);
|
|
5911
7608
|
|
|
5912
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7609
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
5913
7610
|
var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
5914
7611
|
return function ObjectUnsubscribedErrorImpl() {
|
|
5915
7612
|
_super(this);
|
|
@@ -5918,7 +7615,7 @@ var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
|
5918
7615
|
};
|
|
5919
7616
|
});
|
|
5920
7617
|
|
|
5921
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7618
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subject.js
|
|
5922
7619
|
var Subject = function(_super) {
|
|
5923
7620
|
__extends(Subject2, _super);
|
|
5924
7621
|
function Subject2() {
|
|
@@ -6075,7 +7772,7 @@ var AnonymousSubject = function(_super) {
|
|
|
6075
7772
|
return AnonymousSubject2;
|
|
6076
7773
|
}(Subject);
|
|
6077
7774
|
|
|
6078
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7775
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
|
|
6079
7776
|
var dateTimestampProvider = {
|
|
6080
7777
|
now: function() {
|
|
6081
7778
|
return (dateTimestampProvider.delegate || Date).now();
|
|
@@ -6083,7 +7780,7 @@ var dateTimestampProvider = {
|
|
|
6083
7780
|
delegate: void 0
|
|
6084
7781
|
};
|
|
6085
7782
|
|
|
6086
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7783
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/ReplaySubject.js
|
|
6087
7784
|
var ReplaySubject = function(_super) {
|
|
6088
7785
|
__extends(ReplaySubject2, _super);
|
|
6089
7786
|
function ReplaySubject2(_bufferSize, _windowTime, _timestampProvider) {
|
|
@@ -6144,7 +7841,7 @@ var ReplaySubject = function(_super) {
|
|
|
6144
7841
|
return ReplaySubject2;
|
|
6145
7842
|
}(Subject);
|
|
6146
7843
|
|
|
6147
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7844
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
|
|
6148
7845
|
var Action = function(_super) {
|
|
6149
7846
|
__extends(Action2, _super);
|
|
6150
7847
|
function Action2(scheduler, work) {
|
|
@@ -6159,7 +7856,7 @@ var Action = function(_super) {
|
|
|
6159
7856
|
return Action2;
|
|
6160
7857
|
}(Subscription);
|
|
6161
7858
|
|
|
6162
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7859
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
|
|
6163
7860
|
var intervalProvider = {
|
|
6164
7861
|
setInterval: function(handler, timeout) {
|
|
6165
7862
|
var args = [];
|
|
@@ -6179,7 +7876,7 @@ var intervalProvider = {
|
|
|
6179
7876
|
delegate: void 0
|
|
6180
7877
|
};
|
|
6181
7878
|
|
|
6182
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7879
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
|
|
6183
7880
|
var AsyncAction = function(_super) {
|
|
6184
7881
|
__extends(AsyncAction2, _super);
|
|
6185
7882
|
function AsyncAction2(scheduler, work) {
|
|
@@ -6269,7 +7966,7 @@ var AsyncAction = function(_super) {
|
|
|
6269
7966
|
return AsyncAction2;
|
|
6270
7967
|
}(Action);
|
|
6271
7968
|
|
|
6272
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7969
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Scheduler.js
|
|
6273
7970
|
var Scheduler = function() {
|
|
6274
7971
|
function Scheduler2(schedulerActionCtor, now) {
|
|
6275
7972
|
if (now === void 0) {
|
|
@@ -6288,7 +7985,7 @@ var Scheduler = function() {
|
|
|
6288
7985
|
return Scheduler2;
|
|
6289
7986
|
}();
|
|
6290
7987
|
|
|
6291
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7988
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
|
|
6292
7989
|
var AsyncScheduler = function(_super) {
|
|
6293
7990
|
__extends(AsyncScheduler2, _super);
|
|
6294
7991
|
function AsyncScheduler2(SchedulerAction, now) {
|
|
@@ -6324,15 +8021,16 @@ var AsyncScheduler = function(_super) {
|
|
|
6324
8021
|
return AsyncScheduler2;
|
|
6325
8022
|
}(Scheduler);
|
|
6326
8023
|
|
|
6327
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8024
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
|
|
6328
8025
|
var asyncScheduler = new AsyncScheduler(AsyncAction);
|
|
8026
|
+
var async = asyncScheduler;
|
|
6329
8027
|
|
|
6330
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8028
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
|
|
6331
8029
|
function isScheduler(value) {
|
|
6332
8030
|
return value && isFunction(value.schedule);
|
|
6333
8031
|
}
|
|
6334
8032
|
|
|
6335
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8033
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/args.js
|
|
6336
8034
|
function last(arr) {
|
|
6337
8035
|
return arr[arr.length - 1];
|
|
6338
8036
|
}
|
|
@@ -6340,32 +8038,32 @@ function popScheduler(args) {
|
|
|
6340
8038
|
return isScheduler(last(args)) ? args.pop() : void 0;
|
|
6341
8039
|
}
|
|
6342
8040
|
|
|
6343
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8041
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
|
|
6344
8042
|
var isArrayLike = function(x) {
|
|
6345
8043
|
return x && typeof x.length === "number" && typeof x !== "function";
|
|
6346
8044
|
};
|
|
6347
8045
|
|
|
6348
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8046
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
|
|
6349
8047
|
function isPromise(value) {
|
|
6350
8048
|
return isFunction(value === null || value === void 0 ? void 0 : value.then);
|
|
6351
8049
|
}
|
|
6352
8050
|
|
|
6353
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8051
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
|
|
6354
8052
|
function isInteropObservable(input) {
|
|
6355
8053
|
return isFunction(input[observable]);
|
|
6356
8054
|
}
|
|
6357
8055
|
|
|
6358
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8056
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
|
|
6359
8057
|
function isAsyncIterable(obj) {
|
|
6360
8058
|
return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
|
|
6361
8059
|
}
|
|
6362
8060
|
|
|
6363
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8061
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
|
|
6364
8062
|
function createInvalidObservableTypeError(input) {
|
|
6365
8063
|
return new TypeError("You provided " + (input !== null && typeof input === "object" ? "an invalid object" : "'" + input + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
6366
8064
|
}
|
|
6367
8065
|
|
|
6368
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8066
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
|
|
6369
8067
|
function getSymbolIterator() {
|
|
6370
8068
|
if (typeof Symbol !== "function" || !Symbol.iterator) {
|
|
6371
8069
|
return "@@iterator";
|
|
@@ -6374,12 +8072,12 @@ function getSymbolIterator() {
|
|
|
6374
8072
|
}
|
|
6375
8073
|
var iterator = getSymbolIterator();
|
|
6376
8074
|
|
|
6377
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8075
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
|
|
6378
8076
|
function isIterable(input) {
|
|
6379
8077
|
return isFunction(input === null || input === void 0 ? void 0 : input[iterator]);
|
|
6380
8078
|
}
|
|
6381
8079
|
|
|
6382
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8080
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
|
|
6383
8081
|
function readableStreamLikeToAsyncGenerator(readableStream) {
|
|
6384
8082
|
return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
|
|
6385
8083
|
var reader, _a, value, done;
|
|
@@ -6424,7 +8122,7 @@ function isReadableStreamLike(obj) {
|
|
|
6424
8122
|
return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);
|
|
6425
8123
|
}
|
|
6426
8124
|
|
|
6427
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8125
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
|
|
6428
8126
|
function innerFrom(input) {
|
|
6429
8127
|
if (input instanceof Observable) {
|
|
6430
8128
|
return input;
|
|
@@ -6569,7 +8267,7 @@ function process2(asyncIterable, subscriber) {
|
|
|
6569
8267
|
});
|
|
6570
8268
|
}
|
|
6571
8269
|
|
|
6572
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8270
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
|
|
6573
8271
|
function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
|
|
6574
8272
|
if (delay === void 0) {
|
|
6575
8273
|
delay = 0;
|
|
@@ -6591,7 +8289,7 @@ function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
|
|
|
6591
8289
|
}
|
|
6592
8290
|
}
|
|
6593
8291
|
|
|
6594
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8292
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
|
|
6595
8293
|
function observeOn(scheduler, delay) {
|
|
6596
8294
|
if (delay === void 0) {
|
|
6597
8295
|
delay = 0;
|
|
@@ -6613,7 +8311,7 @@ function observeOn(scheduler, delay) {
|
|
|
6613
8311
|
});
|
|
6614
8312
|
}
|
|
6615
8313
|
|
|
6616
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8314
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
|
|
6617
8315
|
function subscribeOn(scheduler, delay) {
|
|
6618
8316
|
if (delay === void 0) {
|
|
6619
8317
|
delay = 0;
|
|
@@ -6625,17 +8323,17 @@ function subscribeOn(scheduler, delay) {
|
|
|
6625
8323
|
});
|
|
6626
8324
|
}
|
|
6627
8325
|
|
|
6628
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8326
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
|
|
6629
8327
|
function scheduleObservable(input, scheduler) {
|
|
6630
8328
|
return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
|
|
6631
8329
|
}
|
|
6632
8330
|
|
|
6633
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8331
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
|
|
6634
8332
|
function schedulePromise(input, scheduler) {
|
|
6635
8333
|
return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
|
|
6636
8334
|
}
|
|
6637
8335
|
|
|
6638
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8336
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
|
|
6639
8337
|
function scheduleArray(input, scheduler) {
|
|
6640
8338
|
return new Observable(function(subscriber) {
|
|
6641
8339
|
var i = 0;
|
|
@@ -6652,7 +8350,7 @@ function scheduleArray(input, scheduler) {
|
|
|
6652
8350
|
});
|
|
6653
8351
|
}
|
|
6654
8352
|
|
|
6655
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8353
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
|
|
6656
8354
|
function scheduleIterable(input, scheduler) {
|
|
6657
8355
|
return new Observable(function(subscriber) {
|
|
6658
8356
|
var iterator2;
|
|
@@ -6681,7 +8379,7 @@ function scheduleIterable(input, scheduler) {
|
|
|
6681
8379
|
});
|
|
6682
8380
|
}
|
|
6683
8381
|
|
|
6684
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8382
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
|
|
6685
8383
|
function scheduleAsyncIterable(input, scheduler) {
|
|
6686
8384
|
if (!input) {
|
|
6687
8385
|
throw new Error("Iterable cannot be null");
|
|
@@ -6702,12 +8400,12 @@ function scheduleAsyncIterable(input, scheduler) {
|
|
|
6702
8400
|
});
|
|
6703
8401
|
}
|
|
6704
8402
|
|
|
6705
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8403
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
|
|
6706
8404
|
function scheduleReadableStreamLike(input, scheduler) {
|
|
6707
8405
|
return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);
|
|
6708
8406
|
}
|
|
6709
8407
|
|
|
6710
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8408
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
|
|
6711
8409
|
function scheduled(input, scheduler) {
|
|
6712
8410
|
if (input != null) {
|
|
6713
8411
|
if (isInteropObservable(input)) {
|
|
@@ -6732,12 +8430,17 @@ function scheduled(input, scheduler) {
|
|
|
6732
8430
|
throw createInvalidObservableTypeError(input);
|
|
6733
8431
|
}
|
|
6734
8432
|
|
|
6735
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8433
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/from.js
|
|
6736
8434
|
function from(input, scheduler) {
|
|
6737
8435
|
return scheduler ? scheduled(input, scheduler) : innerFrom(input);
|
|
6738
8436
|
}
|
|
6739
8437
|
|
|
6740
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8438
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isDate.js
|
|
8439
|
+
function isValidDate(value) {
|
|
8440
|
+
return value instanceof Date && !isNaN(value);
|
|
8441
|
+
}
|
|
8442
|
+
|
|
8443
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/map.js
|
|
6741
8444
|
function map2(project, thisArg) {
|
|
6742
8445
|
return operate(function(source, subscriber) {
|
|
6743
8446
|
var index = 0;
|
|
@@ -6747,7 +8450,7 @@ function map2(project, thisArg) {
|
|
|
6747
8450
|
});
|
|
6748
8451
|
}
|
|
6749
8452
|
|
|
6750
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8453
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
|
|
6751
8454
|
var isArray = Array.isArray;
|
|
6752
8455
|
function callOrApply(fn, args) {
|
|
6753
8456
|
return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
|
|
@@ -6758,7 +8461,7 @@ function mapOneOrManyArgs(fn) {
|
|
|
6758
8461
|
});
|
|
6759
8462
|
}
|
|
6760
8463
|
|
|
6761
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8464
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
|
|
6762
8465
|
function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {
|
|
6763
8466
|
var buffer = [];
|
|
6764
8467
|
var active = 0;
|
|
@@ -6818,7 +8521,7 @@ function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, e
|
|
|
6818
8521
|
};
|
|
6819
8522
|
}
|
|
6820
8523
|
|
|
6821
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8524
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
|
|
6822
8525
|
function mergeMap(project, resultSelector, concurrent) {
|
|
6823
8526
|
if (concurrent === void 0) {
|
|
6824
8527
|
concurrent = Infinity;
|
|
@@ -6837,7 +8540,7 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
|
6837
8540
|
});
|
|
6838
8541
|
}
|
|
6839
8542
|
|
|
6840
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8543
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
|
|
6841
8544
|
function mergeAll(concurrent) {
|
|
6842
8545
|
if (concurrent === void 0) {
|
|
6843
8546
|
concurrent = Infinity;
|
|
@@ -6845,12 +8548,12 @@ function mergeAll(concurrent) {
|
|
|
6845
8548
|
return mergeMap(identity, concurrent);
|
|
6846
8549
|
}
|
|
6847
8550
|
|
|
6848
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8551
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/concatAll.js
|
|
6849
8552
|
function concatAll() {
|
|
6850
8553
|
return mergeAll(1);
|
|
6851
8554
|
}
|
|
6852
8555
|
|
|
6853
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8556
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/concat.js
|
|
6854
8557
|
function concat() {
|
|
6855
8558
|
var args = [];
|
|
6856
8559
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -6859,7 +8562,7 @@ function concat() {
|
|
|
6859
8562
|
return concatAll()(from(args, popScheduler(args)));
|
|
6860
8563
|
}
|
|
6861
8564
|
|
|
6862
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8565
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
|
|
6863
8566
|
var nodeEventEmitterMethods = ["addListener", "removeListener"];
|
|
6864
8567
|
var eventTargetMethods = ["addEventListener", "removeEventListener"];
|
|
6865
8568
|
var jqueryMethods = ["on", "off"];
|
|
@@ -6917,7 +8620,52 @@ function isEventTarget(target) {
|
|
|
6917
8620
|
return isFunction(target.addEventListener) && isFunction(target.removeEventListener);
|
|
6918
8621
|
}
|
|
6919
8622
|
|
|
6920
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8623
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/timer.js
|
|
8624
|
+
function timer(dueTime, intervalOrScheduler, scheduler) {
|
|
8625
|
+
if (dueTime === void 0) {
|
|
8626
|
+
dueTime = 0;
|
|
8627
|
+
}
|
|
8628
|
+
if (scheduler === void 0) {
|
|
8629
|
+
scheduler = async;
|
|
8630
|
+
}
|
|
8631
|
+
var intervalDuration = -1;
|
|
8632
|
+
if (intervalOrScheduler != null) {
|
|
8633
|
+
if (isScheduler(intervalOrScheduler)) {
|
|
8634
|
+
scheduler = intervalOrScheduler;
|
|
8635
|
+
} else {
|
|
8636
|
+
intervalDuration = intervalOrScheduler;
|
|
8637
|
+
}
|
|
8638
|
+
}
|
|
8639
|
+
return new Observable(function(subscriber) {
|
|
8640
|
+
var due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;
|
|
8641
|
+
if (due < 0) {
|
|
8642
|
+
due = 0;
|
|
8643
|
+
}
|
|
8644
|
+
var n = 0;
|
|
8645
|
+
return scheduler.schedule(function() {
|
|
8646
|
+
if (!subscriber.closed) {
|
|
8647
|
+
subscriber.next(n++);
|
|
8648
|
+
if (0 <= intervalDuration) {
|
|
8649
|
+
this.schedule(void 0, intervalDuration);
|
|
8650
|
+
} else {
|
|
8651
|
+
subscriber.complete();
|
|
8652
|
+
}
|
|
8653
|
+
}
|
|
8654
|
+
}, due);
|
|
8655
|
+
});
|
|
8656
|
+
}
|
|
8657
|
+
|
|
8658
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/filter.js
|
|
8659
|
+
function filter(predicate, thisArg) {
|
|
8660
|
+
return operate(function(source, subscriber) {
|
|
8661
|
+
var index = 0;
|
|
8662
|
+
source.subscribe(createOperatorSubscriber(subscriber, function(value) {
|
|
8663
|
+
return predicate.call(thisArg, value, index++) && subscriber.next(value);
|
|
8664
|
+
}));
|
|
8665
|
+
});
|
|
8666
|
+
}
|
|
8667
|
+
|
|
8668
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounce.js
|
|
6921
8669
|
function debounce(durationSelector) {
|
|
6922
8670
|
return operate(function(source, subscriber) {
|
|
6923
8671
|
var hasValue = false;
|
|
@@ -6948,7 +8696,7 @@ function debounce(durationSelector) {
|
|
|
6948
8696
|
});
|
|
6949
8697
|
}
|
|
6950
8698
|
|
|
6951
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8699
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js
|
|
6952
8700
|
function debounceTime(dueTime, scheduler) {
|
|
6953
8701
|
if (scheduler === void 0) {
|
|
6954
8702
|
scheduler = asyncScheduler;
|
|
@@ -6992,7 +8740,7 @@ function debounceTime(dueTime, scheduler) {
|
|
|
6992
8740
|
});
|
|
6993
8741
|
}
|
|
6994
8742
|
|
|
6995
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8743
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/startWith.js
|
|
6996
8744
|
function startWith() {
|
|
6997
8745
|
var values = [];
|
|
6998
8746
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -7004,7 +8752,7 @@ function startWith() {
|
|
|
7004
8752
|
});
|
|
7005
8753
|
}
|
|
7006
8754
|
|
|
7007
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8755
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js
|
|
7008
8756
|
function takeUntil(notifier) {
|
|
7009
8757
|
return operate(function(source, subscriber) {
|
|
7010
8758
|
innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, function() {
|
|
@@ -7014,21 +8762,81 @@ function takeUntil(notifier) {
|
|
|
7014
8762
|
});
|
|
7015
8763
|
}
|
|
7016
8764
|
|
|
7017
|
-
// node_modules/.pnpm
|
|
8765
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
|
|
8766
|
+
function throttle(durationSelector, config2) {
|
|
8767
|
+
return operate(function(source, subscriber) {
|
|
8768
|
+
var _a = config2 !== null && config2 !== void 0 ? config2 : {}, _b = _a.leading, leading = _b === void 0 ? true : _b, _c = _a.trailing, trailing = _c === void 0 ? false : _c;
|
|
8769
|
+
var hasValue = false;
|
|
8770
|
+
var sendValue = null;
|
|
8771
|
+
var throttled = null;
|
|
8772
|
+
var isComplete = false;
|
|
8773
|
+
var endThrottling = function() {
|
|
8774
|
+
throttled === null || throttled === void 0 ? void 0 : throttled.unsubscribe();
|
|
8775
|
+
throttled = null;
|
|
8776
|
+
if (trailing) {
|
|
8777
|
+
send();
|
|
8778
|
+
isComplete && subscriber.complete();
|
|
8779
|
+
}
|
|
8780
|
+
};
|
|
8781
|
+
var cleanupThrottling = function() {
|
|
8782
|
+
throttled = null;
|
|
8783
|
+
isComplete && subscriber.complete();
|
|
8784
|
+
};
|
|
8785
|
+
var startThrottle = function(value) {
|
|
8786
|
+
return throttled = innerFrom(durationSelector(value)).subscribe(createOperatorSubscriber(subscriber, endThrottling, cleanupThrottling));
|
|
8787
|
+
};
|
|
8788
|
+
var send = function() {
|
|
8789
|
+
if (hasValue) {
|
|
8790
|
+
hasValue = false;
|
|
8791
|
+
var value = sendValue;
|
|
8792
|
+
sendValue = null;
|
|
8793
|
+
subscriber.next(value);
|
|
8794
|
+
!isComplete && startThrottle(value);
|
|
8795
|
+
}
|
|
8796
|
+
};
|
|
8797
|
+
source.subscribe(createOperatorSubscriber(subscriber, function(value) {
|
|
8798
|
+
hasValue = true;
|
|
8799
|
+
sendValue = value;
|
|
8800
|
+
!(throttled && !throttled.closed) && (leading ? send() : startThrottle(value));
|
|
8801
|
+
}, function() {
|
|
8802
|
+
isComplete = true;
|
|
8803
|
+
!(trailing && hasValue && throttled && !throttled.closed) && subscriber.complete();
|
|
8804
|
+
}));
|
|
8805
|
+
});
|
|
8806
|
+
}
|
|
8807
|
+
|
|
8808
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js
|
|
8809
|
+
function throttleTime(duration, scheduler, config2) {
|
|
8810
|
+
if (scheduler === void 0) {
|
|
8811
|
+
scheduler = asyncScheduler;
|
|
8812
|
+
}
|
|
8813
|
+
var duration$ = timer(duration, scheduler);
|
|
8814
|
+
return throttle(function() {
|
|
8815
|
+
return duration$;
|
|
8816
|
+
}, config2);
|
|
8817
|
+
}
|
|
8818
|
+
|
|
8819
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
7018
8820
|
var ops = {
|
|
7019
8821
|
debounce,
|
|
7020
8822
|
debounceTime,
|
|
7021
8823
|
map: map2,
|
|
7022
8824
|
startWith,
|
|
7023
|
-
takeUntil
|
|
8825
|
+
takeUntil,
|
|
8826
|
+
throttleTime,
|
|
8827
|
+
filter
|
|
7024
8828
|
};
|
|
7025
8829
|
|
|
7026
|
-
// node_modules/.pnpm/@
|
|
8830
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observablemap.js
|
|
7027
8831
|
var Observablemap = class {
|
|
7028
8832
|
constructor() {
|
|
7029
8833
|
this.observableEventEmitterBundleArray = new Array();
|
|
7030
8834
|
this.observableEventTargetBundleArray = new Array();
|
|
7031
8835
|
}
|
|
8836
|
+
/**
|
|
8837
|
+
* creates a hot subject if not yet registered for the event.
|
|
8838
|
+
* In case event has been registered before the same observable is returned.
|
|
8839
|
+
*/
|
|
7032
8840
|
getSubjectForEmitterEvent(emitterArg, eventArg) {
|
|
7033
8841
|
const existingBundle = this.observableEventEmitterBundleArray.find((bundleArg) => {
|
|
7034
8842
|
return bundleArg.eventRef === emitterArg && bundleArg.event === eventArg;
|
|
@@ -7067,7 +8875,7 @@ var Observablemap = class {
|
|
|
7067
8875
|
}
|
|
7068
8876
|
};
|
|
7069
8877
|
|
|
7070
|
-
// node_modules/.pnpm/@
|
|
8878
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observableintake.js
|
|
7071
8879
|
var ObservableIntake = class {
|
|
7072
8880
|
constructor() {
|
|
7073
8881
|
this.observableFunctions = {
|
|
@@ -7088,7 +8896,7 @@ var ObservableIntake = class {
|
|
|
7088
8896
|
return observerArg.complete();
|
|
7089
8897
|
};
|
|
7090
8898
|
});
|
|
7091
|
-
this.completedDeffered =
|
|
8899
|
+
this.completedDeffered = dist_ts_exports6.defer();
|
|
7092
8900
|
this.completed = this.completedDeffered.promise;
|
|
7093
8901
|
}
|
|
7094
8902
|
setObservable(observableFunc) {
|
|
@@ -7101,11 +8909,19 @@ var ObservableIntake = class {
|
|
|
7101
8909
|
this.internalPush(payloadArg);
|
|
7102
8910
|
}
|
|
7103
8911
|
}
|
|
8912
|
+
/**
|
|
8913
|
+
* pushes many payloads as array
|
|
8914
|
+
* @param payloadArgArray
|
|
8915
|
+
*/
|
|
7104
8916
|
pushMany(payloadArgArray) {
|
|
7105
8917
|
for (const item of payloadArgArray) {
|
|
7106
8918
|
this.push(item);
|
|
7107
8919
|
}
|
|
7108
8920
|
}
|
|
8921
|
+
/**
|
|
8922
|
+
* sets a generator to query the next pushed value
|
|
8923
|
+
* @param generatorArg
|
|
8924
|
+
*/
|
|
7109
8925
|
setGenerator(generatorArg) {
|
|
7110
8926
|
this.generator = generatorArg;
|
|
7111
8927
|
}
|
|
@@ -7115,6 +8931,10 @@ var ObservableIntake = class {
|
|
|
7115
8931
|
subscribe(...args) {
|
|
7116
8932
|
return this.observable.subscribe(...args);
|
|
7117
8933
|
}
|
|
8934
|
+
/**
|
|
8935
|
+
* request the next values in the quantity specified
|
|
8936
|
+
* @param howManyArg if a generator is set, of a buffer exists, this allows retrieving values
|
|
8937
|
+
*/
|
|
7118
8938
|
request(howManyArg) {
|
|
7119
8939
|
if (howManyArg === 0) {
|
|
7120
8940
|
return;
|
|
@@ -7129,6 +8949,9 @@ var ObservableIntake = class {
|
|
|
7129
8949
|
}
|
|
7130
8950
|
}
|
|
7131
8951
|
}
|
|
8952
|
+
/**
|
|
8953
|
+
* signals the completion of this observable
|
|
8954
|
+
*/
|
|
7132
8955
|
signalComplete() {
|
|
7133
8956
|
this.observableFunctions.complete();
|
|
7134
8957
|
}
|
|
@@ -7151,20 +8974,30 @@ var StateAction = class {
|
|
|
7151
8974
|
// ts/smartstate.classes.statepart.ts
|
|
7152
8975
|
var StatePart2 = class {
|
|
7153
8976
|
constructor(nameArg) {
|
|
7154
|
-
this.state = new
|
|
7155
|
-
this.cumulativeDeferred =
|
|
8977
|
+
this.state = new dist_ts_exports7.rxjs.Subject();
|
|
8978
|
+
this.cumulativeDeferred = dist_ts_exports6.cumulativeDefer();
|
|
7156
8979
|
this.name = nameArg;
|
|
7157
8980
|
}
|
|
8981
|
+
/**
|
|
8982
|
+
* gets the state from the state store
|
|
8983
|
+
*/
|
|
7158
8984
|
getState() {
|
|
7159
8985
|
return this.stateStore;
|
|
7160
8986
|
}
|
|
8987
|
+
/**
|
|
8988
|
+
* sets the stateStore to the new state
|
|
8989
|
+
* @param newStateArg
|
|
8990
|
+
*/
|
|
7161
8991
|
setState(newStateArg) {
|
|
7162
8992
|
this.stateStore = newStateArg;
|
|
7163
8993
|
this.notifyChange();
|
|
7164
8994
|
}
|
|
8995
|
+
/**
|
|
8996
|
+
* notifies of a change on the state
|
|
8997
|
+
*/
|
|
7165
8998
|
notifyChange() {
|
|
7166
8999
|
const createStateHash = (stateArg) => {
|
|
7167
|
-
return dist_ts_exports2.sha256FromString(
|
|
9000
|
+
return dist_ts_exports2.sha256FromString(dist_ts_exports5.stringify(stateArg));
|
|
7168
9001
|
};
|
|
7169
9002
|
if (this.stateStore && this.lastStateNotificationPayloadHash && createStateHash(this.stateStore) === this.lastStateNotificationPayloadHash) {
|
|
7170
9003
|
return;
|
|
@@ -7173,16 +9006,22 @@ var StatePart2 = class {
|
|
|
7173
9006
|
}
|
|
7174
9007
|
this.state.next(this.stateStore);
|
|
7175
9008
|
}
|
|
9009
|
+
/**
|
|
9010
|
+
* creates a cumulative notification by adding a change notification at the end of the call stack;
|
|
9011
|
+
*/
|
|
7176
9012
|
notifyChangeCumulative() {
|
|
7177
9013
|
setTimeout(() => this.state.next(this.stateStore), 0);
|
|
7178
9014
|
}
|
|
9015
|
+
/**
|
|
9016
|
+
* selects a state or a substate
|
|
9017
|
+
*/
|
|
7179
9018
|
select(selectorFn) {
|
|
7180
9019
|
if (!selectorFn) {
|
|
7181
9020
|
selectorFn = (state) => state;
|
|
7182
9021
|
}
|
|
7183
9022
|
const mapped = this.state.pipe(
|
|
7184
|
-
|
|
7185
|
-
|
|
9023
|
+
dist_ts_exports7.rxjs.ops.startWith(this.getState()),
|
|
9024
|
+
dist_ts_exports7.rxjs.ops.map((stateArg) => {
|
|
7186
9025
|
try {
|
|
7187
9026
|
return selectorFn(stateArg);
|
|
7188
9027
|
} catch (e) {
|
|
@@ -7191,16 +9030,26 @@ var StatePart2 = class {
|
|
|
7191
9030
|
);
|
|
7192
9031
|
return mapped;
|
|
7193
9032
|
}
|
|
9033
|
+
/**
|
|
9034
|
+
* creates an action capable of modifying the state
|
|
9035
|
+
*/
|
|
7194
9036
|
createAction(actionDef) {
|
|
7195
9037
|
return new StateAction(this, actionDef);
|
|
7196
9038
|
}
|
|
9039
|
+
/**
|
|
9040
|
+
* dispatches an action on the statepart level
|
|
9041
|
+
*/
|
|
7197
9042
|
async dispatchAction(stateAction, actionPayload) {
|
|
7198
9043
|
await this.cumulativeDeferred.promise;
|
|
7199
9044
|
const newState = await stateAction.actionDef(this, actionPayload);
|
|
7200
9045
|
this.setState(newState);
|
|
7201
9046
|
}
|
|
9047
|
+
/**
|
|
9048
|
+
* waits until a certain part of the state becomes available
|
|
9049
|
+
* @param selectorFn
|
|
9050
|
+
*/
|
|
7202
9051
|
async waitUntilPresent(selectorFn) {
|
|
7203
|
-
const done =
|
|
9052
|
+
const done = dist_ts_exports6.defer();
|
|
7204
9053
|
const selectedObservable = this.select(selectorFn);
|
|
7205
9054
|
const subscription = selectedObservable.subscribe(async (value) => {
|
|
7206
9055
|
if (value) {
|
|
@@ -7211,6 +9060,9 @@ var StatePart2 = class {
|
|
|
7211
9060
|
subscription.unsubscribe();
|
|
7212
9061
|
return result;
|
|
7213
9062
|
}
|
|
9063
|
+
/**
|
|
9064
|
+
* is executed
|
|
9065
|
+
*/
|
|
7214
9066
|
async stateSetup(funcArg) {
|
|
7215
9067
|
const resultPromise = funcArg(this);
|
|
7216
9068
|
this.cumulativeDeferred.addPromise(resultPromise);
|
|
@@ -7223,6 +9075,15 @@ var Smartstate = class {
|
|
|
7223
9075
|
constructor() {
|
|
7224
9076
|
this.statePartMap = {};
|
|
7225
9077
|
}
|
|
9078
|
+
/**
|
|
9079
|
+
* Allows getting and initializing a new statepart
|
|
9080
|
+
* initMode === 'soft' it will allow existing stateparts
|
|
9081
|
+
* initMode === 'mandatory' will fail if there is an exiting statepart
|
|
9082
|
+
* initMode === 'force' will overwrite any existing statepart
|
|
9083
|
+
* @param statePartNameArg
|
|
9084
|
+
* @param initialArg
|
|
9085
|
+
* @param initMode
|
|
9086
|
+
*/
|
|
7226
9087
|
getStatePart(statePartNameArg, initialArg, initMode) {
|
|
7227
9088
|
if (this.statePartMap[statePartNameArg]) {
|
|
7228
9089
|
if (initialArg && (!initMode || initMode !== "soft")) {
|
|
@@ -7240,6 +9101,11 @@ var Smartstate = class {
|
|
|
7240
9101
|
return this.createStatePart(statePartNameArg, initialArg);
|
|
7241
9102
|
}
|
|
7242
9103
|
}
|
|
9104
|
+
/**
|
|
9105
|
+
* creates a statepart
|
|
9106
|
+
* @param statePartName
|
|
9107
|
+
* @param initialPayloadArg
|
|
9108
|
+
*/
|
|
7243
9109
|
createStatePart(statePartName, initialPayloadArg) {
|
|
7244
9110
|
const newState = new StatePart2(statePartName);
|
|
7245
9111
|
newState.setState(initialPayloadArg);
|
|
@@ -7252,24 +9118,36 @@ export {
|
|
|
7252
9118
|
StateAction,
|
|
7253
9119
|
StatePart2 as StatePart
|
|
7254
9120
|
};
|
|
7255
|
-
/*!
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
*
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
9121
|
+
/*! Bundled license information:
|
|
9122
|
+
|
|
9123
|
+
ieee754/index.js:
|
|
9124
|
+
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
9125
|
+
|
|
9126
|
+
buffer/index.js:
|
|
9127
|
+
(*!
|
|
9128
|
+
* The buffer module from node.js, for the browser.
|
|
9129
|
+
*
|
|
9130
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
9131
|
+
* @license MIT
|
|
9132
|
+
*)
|
|
9133
|
+
|
|
9134
|
+
punycode/punycode.js:
|
|
9135
|
+
(*! https://mths.be/punycode v1.4.1 by @mathias *)
|
|
9136
|
+
|
|
9137
|
+
is-number/index.js:
|
|
9138
|
+
(*!
|
|
9139
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
9140
|
+
*
|
|
9141
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
9142
|
+
* Released under the MIT License.
|
|
9143
|
+
*)
|
|
9144
|
+
|
|
9145
|
+
randomatic/index.js:
|
|
9146
|
+
(*!
|
|
9147
|
+
* randomatic <https://github.com/jonschlinkert/randomatic>
|
|
9148
|
+
*
|
|
9149
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
9150
|
+
* Released under the MIT License.
|
|
9151
|
+
*)
|
|
9152
|
+
*/
|
|
7275
9153
|
//# sourceMappingURL=bundle.js.map
|