@push.rocks/smartstate 2.0.6 → 2.0.8
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 +2558 -826
- 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
|
));
|
|
@@ -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.1/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.1/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,27 @@ var require_url = __commonJS({
|
|
|
2613
4391
|
host += ":" + this.port;
|
|
2614
4392
|
}
|
|
2615
4393
|
}
|
|
2616
|
-
if (this.query &&
|
|
4394
|
+
if (this.query && typeof this.query === "object" && Object.keys(this.query).length) {
|
|
2617
4395
|
query = querystring.stringify(this.query);
|
|
2618
4396
|
}
|
|
2619
4397
|
var search = this.search || query && "?" + query || "";
|
|
2620
|
-
if (protocol && protocol.substr(-1) !== ":")
|
|
4398
|
+
if (protocol && protocol.substr(-1) !== ":") {
|
|
2621
4399
|
protocol += ":";
|
|
4400
|
+
}
|
|
2622
4401
|
if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) {
|
|
2623
4402
|
host = "//" + (host || "");
|
|
2624
|
-
if (pathname && pathname.charAt(0) !== "/")
|
|
4403
|
+
if (pathname && pathname.charAt(0) !== "/") {
|
|
2625
4404
|
pathname = "/" + pathname;
|
|
4405
|
+
}
|
|
2626
4406
|
} else if (!host) {
|
|
2627
4407
|
host = "";
|
|
2628
4408
|
}
|
|
2629
|
-
if (hash && hash.charAt(0) !== "#")
|
|
4409
|
+
if (hash && hash.charAt(0) !== "#") {
|
|
2630
4410
|
hash = "#" + hash;
|
|
2631
|
-
|
|
4411
|
+
}
|
|
4412
|
+
if (search && search.charAt(0) !== "?") {
|
|
2632
4413
|
search = "?" + search;
|
|
4414
|
+
}
|
|
2633
4415
|
pathname = pathname.replace(/[?#]/g, function(match) {
|
|
2634
4416
|
return encodeURIComponent(match);
|
|
2635
4417
|
});
|
|
@@ -2643,12 +4425,13 @@ var require_url = __commonJS({
|
|
|
2643
4425
|
return this.resolveObject(urlParse(relative, false, true)).format();
|
|
2644
4426
|
};
|
|
2645
4427
|
function urlResolveObject(source, relative) {
|
|
2646
|
-
if (!source)
|
|
4428
|
+
if (!source) {
|
|
2647
4429
|
return relative;
|
|
4430
|
+
}
|
|
2648
4431
|
return urlParse(source, false, true).resolveObject(relative);
|
|
2649
4432
|
}
|
|
2650
4433
|
Url.prototype.resolveObject = function(relative) {
|
|
2651
|
-
if (
|
|
4434
|
+
if (typeof relative === "string") {
|
|
2652
4435
|
var rel = new Url();
|
|
2653
4436
|
rel.parse(relative, false, true);
|
|
2654
4437
|
relative = rel;
|
|
@@ -2668,11 +4451,13 @@ var require_url = __commonJS({
|
|
|
2668
4451
|
var rkeys = Object.keys(relative);
|
|
2669
4452
|
for (var rk = 0; rk < rkeys.length; rk++) {
|
|
2670
4453
|
var rkey = rkeys[rk];
|
|
2671
|
-
if (rkey !== "protocol")
|
|
4454
|
+
if (rkey !== "protocol") {
|
|
2672
4455
|
result[rkey] = relative[rkey];
|
|
4456
|
+
}
|
|
2673
4457
|
}
|
|
2674
4458
|
if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {
|
|
2675
|
-
result.
|
|
4459
|
+
result.pathname = "/";
|
|
4460
|
+
result.path = result.pathname;
|
|
2676
4461
|
}
|
|
2677
4462
|
result.href = result.format();
|
|
2678
4463
|
return result;
|
|
@@ -2690,16 +4475,20 @@ var require_url = __commonJS({
|
|
|
2690
4475
|
result.protocol = relative.protocol;
|
|
2691
4476
|
if (!relative.host && !hostlessProtocol[relative.protocol]) {
|
|
2692
4477
|
var relPath = (relative.pathname || "").split("/");
|
|
2693
|
-
while (relPath.length && !(relative.host = relPath.shift()))
|
|
2694
|
-
|
|
2695
|
-
if (!relative.host)
|
|
4478
|
+
while (relPath.length && !(relative.host = relPath.shift())) {
|
|
4479
|
+
}
|
|
4480
|
+
if (!relative.host) {
|
|
2696
4481
|
relative.host = "";
|
|
2697
|
-
|
|
4482
|
+
}
|
|
4483
|
+
if (!relative.hostname) {
|
|
2698
4484
|
relative.hostname = "";
|
|
2699
|
-
|
|
4485
|
+
}
|
|
4486
|
+
if (relPath[0] !== "") {
|
|
2700
4487
|
relPath.unshift("");
|
|
2701
|
-
|
|
4488
|
+
}
|
|
4489
|
+
if (relPath.length < 2) {
|
|
2702
4490
|
relPath.unshift("");
|
|
4491
|
+
}
|
|
2703
4492
|
result.pathname = relPath.join("/");
|
|
2704
4493
|
} else {
|
|
2705
4494
|
result.pathname = relative.pathname;
|
|
@@ -2724,20 +4513,22 @@ var require_url = __commonJS({
|
|
|
2724
4513
|
result.hostname = "";
|
|
2725
4514
|
result.port = null;
|
|
2726
4515
|
if (result.host) {
|
|
2727
|
-
if (srcPath[0] === "")
|
|
4516
|
+
if (srcPath[0] === "") {
|
|
2728
4517
|
srcPath[0] = result.host;
|
|
2729
|
-
else
|
|
4518
|
+
} else {
|
|
2730
4519
|
srcPath.unshift(result.host);
|
|
4520
|
+
}
|
|
2731
4521
|
}
|
|
2732
4522
|
result.host = "";
|
|
2733
4523
|
if (relative.protocol) {
|
|
2734
4524
|
relative.hostname = null;
|
|
2735
4525
|
relative.port = null;
|
|
2736
4526
|
if (relative.host) {
|
|
2737
|
-
if (relPath[0] === "")
|
|
4527
|
+
if (relPath[0] === "") {
|
|
2738
4528
|
relPath[0] = relative.host;
|
|
2739
|
-
else
|
|
4529
|
+
} else {
|
|
2740
4530
|
relPath.unshift(relative.host);
|
|
4531
|
+
}
|
|
2741
4532
|
}
|
|
2742
4533
|
relative.host = null;
|
|
2743
4534
|
}
|
|
@@ -2750,24 +4541,27 @@ var require_url = __commonJS({
|
|
|
2750
4541
|
result.query = relative.query;
|
|
2751
4542
|
srcPath = relPath;
|
|
2752
4543
|
} else if (relPath.length) {
|
|
2753
|
-
if (!srcPath)
|
|
4544
|
+
if (!srcPath) {
|
|
2754
4545
|
srcPath = [];
|
|
4546
|
+
}
|
|
2755
4547
|
srcPath.pop();
|
|
2756
4548
|
srcPath = srcPath.concat(relPath);
|
|
2757
4549
|
result.search = relative.search;
|
|
2758
4550
|
result.query = relative.query;
|
|
2759
|
-
} else if (
|
|
4551
|
+
} else if (relative.search != null) {
|
|
2760
4552
|
if (psychotic) {
|
|
2761
|
-
result.
|
|
4553
|
+
result.host = srcPath.shift();
|
|
4554
|
+
result.hostname = result.host;
|
|
2762
4555
|
var authInHost = result.host && result.host.indexOf("@") > 0 ? result.host.split("@") : false;
|
|
2763
4556
|
if (authInHost) {
|
|
2764
4557
|
result.auth = authInHost.shift();
|
|
2765
|
-
result.
|
|
4558
|
+
result.hostname = authInHost.shift();
|
|
4559
|
+
result.host = result.hostname;
|
|
2766
4560
|
}
|
|
2767
4561
|
}
|
|
2768
4562
|
result.search = relative.search;
|
|
2769
4563
|
result.query = relative.query;
|
|
2770
|
-
if (
|
|
4564
|
+
if (result.pathname !== null || result.search !== null) {
|
|
2771
4565
|
result.path = (result.pathname ? result.pathname : "") + (result.search ? result.search : "");
|
|
2772
4566
|
}
|
|
2773
4567
|
result.href = result.format();
|
|
@@ -2811,24 +4605,26 @@ var require_url = __commonJS({
|
|
|
2811
4605
|
}
|
|
2812
4606
|
var isAbsolute = srcPath[0] === "" || srcPath[0] && srcPath[0].charAt(0) === "/";
|
|
2813
4607
|
if (psychotic) {
|
|
2814
|
-
result.hostname =
|
|
4608
|
+
result.hostname = isAbsolute ? "" : srcPath.length ? srcPath.shift() : "";
|
|
4609
|
+
result.host = result.hostname;
|
|
2815
4610
|
var authInHost = result.host && result.host.indexOf("@") > 0 ? result.host.split("@") : false;
|
|
2816
4611
|
if (authInHost) {
|
|
2817
4612
|
result.auth = authInHost.shift();
|
|
2818
|
-
result.
|
|
4613
|
+
result.hostname = authInHost.shift();
|
|
4614
|
+
result.host = result.hostname;
|
|
2819
4615
|
}
|
|
2820
4616
|
}
|
|
2821
4617
|
mustEndAbs = mustEndAbs || result.host && srcPath.length;
|
|
2822
4618
|
if (mustEndAbs && !isAbsolute) {
|
|
2823
4619
|
srcPath.unshift("");
|
|
2824
4620
|
}
|
|
2825
|
-
if (
|
|
4621
|
+
if (srcPath.length > 0) {
|
|
4622
|
+
result.pathname = srcPath.join("/");
|
|
4623
|
+
} else {
|
|
2826
4624
|
result.pathname = null;
|
|
2827
4625
|
result.path = null;
|
|
2828
|
-
} else {
|
|
2829
|
-
result.pathname = srcPath.join("/");
|
|
2830
4626
|
}
|
|
2831
|
-
if (
|
|
4627
|
+
if (result.pathname !== null || result.search !== null) {
|
|
2832
4628
|
result.path = (result.pathname ? result.pathname : "") + (result.search ? result.search : "");
|
|
2833
4629
|
}
|
|
2834
4630
|
result.auth = relative.auth || result.auth;
|
|
@@ -2846,9 +4642,15 @@ var require_url = __commonJS({
|
|
|
2846
4642
|
}
|
|
2847
4643
|
host = host.substr(0, host.length - port.length);
|
|
2848
4644
|
}
|
|
2849
|
-
if (host)
|
|
4645
|
+
if (host) {
|
|
2850
4646
|
this.hostname = host;
|
|
4647
|
+
}
|
|
2851
4648
|
};
|
|
4649
|
+
exports.parse = urlParse;
|
|
4650
|
+
exports.resolve = urlResolve;
|
|
4651
|
+
exports.resolveObject = urlResolveObject;
|
|
4652
|
+
exports.format = urlFormat;
|
|
4653
|
+
exports.Url = Url;
|
|
2852
4654
|
}
|
|
2853
4655
|
});
|
|
2854
4656
|
|
|
@@ -3280,16 +5082,16 @@ var require_lodash = __commonJS({
|
|
|
3280
5082
|
var nativeIsBuffer = Buffer3 ? Buffer3.isBuffer : void 0;
|
|
3281
5083
|
var nativeKeys = overArg(Object.keys, Object);
|
|
3282
5084
|
var DataView2 = getNative(root, "DataView");
|
|
3283
|
-
var
|
|
5085
|
+
var Map2 = getNative(root, "Map");
|
|
3284
5086
|
var Promise2 = getNative(root, "Promise");
|
|
3285
|
-
var
|
|
3286
|
-
var
|
|
5087
|
+
var Set2 = getNative(root, "Set");
|
|
5088
|
+
var WeakMap2 = getNative(root, "WeakMap");
|
|
3287
5089
|
var nativeCreate = getNative(Object, "create");
|
|
3288
5090
|
var dataViewCtorString = toSource(DataView2);
|
|
3289
|
-
var mapCtorString = toSource(
|
|
5091
|
+
var mapCtorString = toSource(Map2);
|
|
3290
5092
|
var promiseCtorString = toSource(Promise2);
|
|
3291
|
-
var setCtorString = toSource(
|
|
3292
|
-
var weakMapCtorString = toSource(
|
|
5093
|
+
var setCtorString = toSource(Set2);
|
|
5094
|
+
var weakMapCtorString = toSource(WeakMap2);
|
|
3293
5095
|
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
|
3294
5096
|
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
3295
5097
|
function Hash(entries) {
|
|
@@ -3384,7 +5186,7 @@ var require_lodash = __commonJS({
|
|
|
3384
5186
|
function mapCacheClear() {
|
|
3385
5187
|
this.__data__ = {
|
|
3386
5188
|
"hash": new Hash(),
|
|
3387
|
-
"map": new (
|
|
5189
|
+
"map": new (Map2 || ListCache)(),
|
|
3388
5190
|
"string": new Hash()
|
|
3389
5191
|
};
|
|
3390
5192
|
}
|
|
@@ -3425,7 +5227,7 @@ var require_lodash = __commonJS({
|
|
|
3425
5227
|
var cache = this.__data__;
|
|
3426
5228
|
if (cache instanceof ListCache) {
|
|
3427
5229
|
var pairs = cache.__data__;
|
|
3428
|
-
if (!
|
|
5230
|
+
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
3429
5231
|
pairs.push([key, value]);
|
|
3430
5232
|
return this;
|
|
3431
5233
|
}
|
|
@@ -3622,7 +5424,7 @@ var require_lodash = __commonJS({
|
|
|
3622
5424
|
}
|
|
3623
5425
|
var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
|
|
3624
5426
|
var getTag = baseGetTag;
|
|
3625
|
-
if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag ||
|
|
5427
|
+
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
5428
|
getTag = function(value) {
|
|
3627
5429
|
var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
|
|
3628
5430
|
if (ctorString) {
|
|
@@ -3879,514 +5681,7 @@ var require_buffer_json = __commonJS({
|
|
|
3879
5681
|
}
|
|
3880
5682
|
});
|
|
3881
5683
|
|
|
3882
|
-
// node_modules/.pnpm
|
|
3883
|
-
var require_tslib = __commonJS({
|
|
3884
|
-
"node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
3885
|
-
var __extends2;
|
|
3886
|
-
var __assign2;
|
|
3887
|
-
var __rest2;
|
|
3888
|
-
var __decorate2;
|
|
3889
|
-
var __param2;
|
|
3890
|
-
var __esDecorate2;
|
|
3891
|
-
var __runInitializers2;
|
|
3892
|
-
var __propKey2;
|
|
3893
|
-
var __setFunctionName2;
|
|
3894
|
-
var __metadata2;
|
|
3895
|
-
var __awaiter2;
|
|
3896
|
-
var __generator2;
|
|
3897
|
-
var __exportStar2;
|
|
3898
|
-
var __values2;
|
|
3899
|
-
var __read2;
|
|
3900
|
-
var __spread2;
|
|
3901
|
-
var __spreadArrays2;
|
|
3902
|
-
var __spreadArray2;
|
|
3903
|
-
var __await2;
|
|
3904
|
-
var __asyncGenerator2;
|
|
3905
|
-
var __asyncDelegator2;
|
|
3906
|
-
var __asyncValues2;
|
|
3907
|
-
var __makeTemplateObject2;
|
|
3908
|
-
var __importStar2;
|
|
3909
|
-
var __importDefault2;
|
|
3910
|
-
var __classPrivateFieldGet2;
|
|
3911
|
-
var __classPrivateFieldSet2;
|
|
3912
|
-
var __classPrivateFieldIn2;
|
|
3913
|
-
var __createBinding2;
|
|
3914
|
-
(function(factory) {
|
|
3915
|
-
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
|
3916
|
-
if (typeof define === "function" && define.amd) {
|
|
3917
|
-
define("tslib", ["exports"], function(exports2) {
|
|
3918
|
-
factory(createExporter(root, createExporter(exports2)));
|
|
3919
|
-
});
|
|
3920
|
-
} else if (typeof module === "object" && typeof module.exports === "object") {
|
|
3921
|
-
factory(createExporter(root, createExporter(module.exports)));
|
|
3922
|
-
} else {
|
|
3923
|
-
factory(createExporter(root));
|
|
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
|
-
};
|
|
3936
|
-
}
|
|
3937
|
-
})(function(exporter) {
|
|
3938
|
-
var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
3939
|
-
d.__proto__ = b;
|
|
3940
|
-
} || function(d, b) {
|
|
3941
|
-
for (var p in b)
|
|
3942
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
3943
|
-
d[p] = b[p];
|
|
3944
|
-
};
|
|
3945
|
-
__extends2 = function(d, b) {
|
|
3946
|
-
if (typeof b !== "function" && b !== null)
|
|
3947
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
3948
|
-
extendStatics(d, b);
|
|
3949
|
-
function __() {
|
|
3950
|
-
this.constructor = d;
|
|
3951
|
-
}
|
|
3952
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3953
|
-
};
|
|
3954
|
-
__assign2 = Object.assign || function(t) {
|
|
3955
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
3956
|
-
s = arguments[i];
|
|
3957
|
-
for (var p in s)
|
|
3958
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
3959
|
-
t[p] = s[p];
|
|
3960
|
-
}
|
|
3961
|
-
return t;
|
|
3962
|
-
};
|
|
3963
|
-
__rest2 = function(s, e) {
|
|
3964
|
-
var t = {};
|
|
3965
|
-
for (var p in s)
|
|
3966
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
3967
|
-
t[p] = s[p];
|
|
3968
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
3969
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3970
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
3971
|
-
t[p[i]] = s[p[i]];
|
|
3972
|
-
}
|
|
3973
|
-
return t;
|
|
3974
|
-
};
|
|
3975
|
-
__decorate2 = function(decorators, target, key, desc) {
|
|
3976
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3977
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3978
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
3979
|
-
else
|
|
3980
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
3981
|
-
if (d = decorators[i])
|
|
3982
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3983
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3984
|
-
};
|
|
3985
|
-
__param2 = function(paramIndex, decorator) {
|
|
3986
|
-
return function(target, key) {
|
|
3987
|
-
decorator(target, key, paramIndex);
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
__esDecorate2 = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
3991
|
-
function accept(f) {
|
|
3992
|
-
if (f !== void 0 && typeof f !== "function")
|
|
3993
|
-
throw new TypeError("Function expected");
|
|
3994
|
-
return f;
|
|
3995
|
-
}
|
|
3996
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
3997
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
3998
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
3999
|
-
var _, done = false;
|
|
4000
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
4001
|
-
var context2 = {};
|
|
4002
|
-
for (var p in contextIn)
|
|
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
|
-
});
|
|
4386
|
-
}
|
|
4387
|
-
});
|
|
4388
|
-
|
|
4389
|
-
// node_modules/.pnpm/@pushrocks+isohash@2.0.0/node_modules/@pushrocks/isohash/dist_ts/index.js
|
|
5684
|
+
// node_modules/.pnpm/@push.rocks+isohash@2.0.1/node_modules/@push.rocks/isohash/dist_ts/index.js
|
|
4390
5685
|
var dist_ts_exports2 = {};
|
|
4391
5686
|
__export(dist_ts_exports2, {
|
|
4392
5687
|
sha256FromString: () => sha256FromString
|
|
@@ -4507,6 +5802,9 @@ var Smartenv = class {
|
|
|
4507
5802
|
return false;
|
|
4508
5803
|
}
|
|
4509
5804
|
}
|
|
5805
|
+
/**
|
|
5806
|
+
* prints the environment to console
|
|
5807
|
+
*/
|
|
4510
5808
|
async printEnv() {
|
|
4511
5809
|
if (this.isNode) {
|
|
4512
5810
|
console.log("running on NODE");
|
|
@@ -4518,7 +5816,7 @@ var Smartenv = class {
|
|
|
4518
5816
|
}
|
|
4519
5817
|
};
|
|
4520
5818
|
|
|
4521
|
-
// node_modules/.pnpm/@
|
|
5819
|
+
// node_modules/.pnpm/@push.rocks+isohash@2.0.1/node_modules/@push.rocks/isohash/dist_ts/index.js
|
|
4522
5820
|
var hex = (buffer) => {
|
|
4523
5821
|
const hexCodes = [];
|
|
4524
5822
|
const view = new DataView(buffer);
|
|
@@ -4545,7 +5843,7 @@ var sha256FromString = async (stringArg) => {
|
|
|
4545
5843
|
}
|
|
4546
5844
|
};
|
|
4547
5845
|
|
|
4548
|
-
// node_modules/.pnpm/@
|
|
5846
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.6/node_modules/@push.rocks/smartjson/dist_ts/index.js
|
|
4549
5847
|
var dist_ts_exports4 = {};
|
|
4550
5848
|
__export(dist_ts_exports4, {
|
|
4551
5849
|
Smartjson: () => Smartjson,
|
|
@@ -4557,7 +5855,7 @@ __export(dist_ts_exports4, {
|
|
|
4557
5855
|
stringifyBase64: () => stringifyBase64
|
|
4558
5856
|
});
|
|
4559
5857
|
|
|
4560
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
5858
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/index.js
|
|
4561
5859
|
var dist_ts_exports3 = {};
|
|
4562
5860
|
__export(dist_ts_exports3, {
|
|
4563
5861
|
Base64: () => Base64,
|
|
@@ -4571,14 +5869,14 @@ __export(dist_ts_exports3, {
|
|
|
4571
5869
|
type: () => smartstring_type_exports
|
|
4572
5870
|
});
|
|
4573
5871
|
|
|
4574
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
5872
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.create.js
|
|
4575
5873
|
var smartstring_create_exports = {};
|
|
4576
5874
|
__export(smartstring_create_exports, {
|
|
4577
5875
|
createCryptoRandomString: () => createCryptoRandomString,
|
|
4578
5876
|
createRandomString: () => createRandomString
|
|
4579
5877
|
});
|
|
4580
5878
|
|
|
4581
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
5879
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.plugins.js
|
|
4582
5880
|
var isounique = __toESM(require_dist_ts2(), 1);
|
|
4583
5881
|
var import_buffer = __toESM(require_buffer(), 1);
|
|
4584
5882
|
var url = __toESM(require_url(), 1);
|
|
@@ -4637,7 +5935,7 @@ var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
|
|
|
4637
5935
|
var utob = (u) => u.replace(re_utob, cb_utob);
|
|
4638
5936
|
var _encode = _hasBuffer ? (s) => Buffer.from(s, "utf8").toString("base64") : _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
|
|
4639
5937
|
var encode = (src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode(src)) : _encode(src);
|
|
4640
|
-
var
|
|
5938
|
+
var encodeURI2 = (src) => encode(src, true);
|
|
4641
5939
|
var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
|
|
4642
5940
|
var cb_btou = (cccc) => {
|
|
4643
5941
|
switch (cccc.length) {
|
|
@@ -4727,8 +6025,8 @@ var gBase64 = {
|
|
|
4727
6025
|
fromBase64: decode,
|
|
4728
6026
|
toBase64: encode,
|
|
4729
6027
|
encode,
|
|
4730
|
-
encodeURI,
|
|
4731
|
-
encodeURL:
|
|
6028
|
+
encodeURI: encodeURI2,
|
|
6029
|
+
encodeURL: encodeURI2,
|
|
4732
6030
|
utob,
|
|
4733
6031
|
btou,
|
|
4734
6032
|
decode,
|
|
@@ -4761,14 +6059,14 @@ function normalizeNewline(input) {
|
|
|
4761
6059
|
return Buffer.isBuffer(input) ? (0, import_replace_buffer.default)(input, CRLF, "\n") : input.replace(new RegExp(CRLF, "g"), "\n");
|
|
4762
6060
|
}
|
|
4763
6061
|
|
|
4764
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6062
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.plugins.js
|
|
4765
6063
|
var import_randomatic = __toESM(require_randomatic(), 1);
|
|
4766
6064
|
var smartenvInstance = new Smartenv();
|
|
4767
6065
|
if (smartenvInstance.isBrowser) {
|
|
4768
6066
|
globalThis.Buffer = import_buffer.Buffer;
|
|
4769
6067
|
}
|
|
4770
6068
|
|
|
4771
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6069
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.create.js
|
|
4772
6070
|
var createRandomString = (patternArg, lengthArg, optionsArg) => {
|
|
4773
6071
|
return import_randomatic.default(patternArg, lengthArg, optionsArg);
|
|
4774
6072
|
};
|
|
@@ -4776,7 +6074,7 @@ var createCryptoRandomString = () => {
|
|
|
4776
6074
|
return isounique.uni();
|
|
4777
6075
|
};
|
|
4778
6076
|
|
|
4779
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6077
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.docker.js
|
|
4780
6078
|
var smartstring_docker_exports = {};
|
|
4781
6079
|
__export(smartstring_docker_exports, {
|
|
4782
6080
|
makeEnvObject: () => makeEnvObject
|
|
@@ -4793,7 +6091,7 @@ var makeEnvObject = function(envArrayArg) {
|
|
|
4793
6091
|
return returnObject;
|
|
4794
6092
|
};
|
|
4795
6093
|
|
|
4796
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6094
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.indent.js
|
|
4797
6095
|
var smartstring_indent_exports = {};
|
|
4798
6096
|
__export(smartstring_indent_exports, {
|
|
4799
6097
|
indent: () => indent,
|
|
@@ -4859,7 +6157,7 @@ var normalize = (stringArg) => {
|
|
|
4859
6157
|
return resultString;
|
|
4860
6158
|
};
|
|
4861
6159
|
|
|
4862
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6160
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.normalize.js
|
|
4863
6161
|
var smartstring_normalize_exports = {};
|
|
4864
6162
|
__export(smartstring_normalize_exports, {
|
|
4865
6163
|
replaceAll: () => replaceAll,
|
|
@@ -4875,14 +6173,14 @@ var standard = (stringArg) => {
|
|
|
4875
6173
|
return fix3;
|
|
4876
6174
|
};
|
|
4877
6175
|
|
|
4878
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6176
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.type.js
|
|
4879
6177
|
var smartstring_type_exports = {};
|
|
4880
6178
|
__export(smartstring_type_exports, {
|
|
4881
6179
|
isBase64: () => isBase64,
|
|
4882
6180
|
isUtf8: () => isUtf8
|
|
4883
6181
|
});
|
|
4884
6182
|
|
|
4885
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6183
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.base64.js
|
|
4886
6184
|
var Base64 = class {
|
|
4887
6185
|
constructor(inputStringArg, typeArg) {
|
|
4888
6186
|
switch (typeArg) {
|
|
@@ -4896,50 +6194,89 @@ var Base64 = class {
|
|
|
4896
6194
|
this.refString = base64.decode(inputStringArg);
|
|
4897
6195
|
}
|
|
4898
6196
|
}
|
|
6197
|
+
/**
|
|
6198
|
+
* the simple string (unencoded)
|
|
6199
|
+
*/
|
|
4899
6200
|
get simpleString() {
|
|
4900
6201
|
return this.refString;
|
|
4901
6202
|
}
|
|
6203
|
+
/**
|
|
6204
|
+
* the base64 encoded version of the original string
|
|
6205
|
+
*/
|
|
4902
6206
|
get base64String() {
|
|
4903
6207
|
return base64.encode(this.refString);
|
|
4904
6208
|
}
|
|
6209
|
+
/**
|
|
6210
|
+
* the base64uri encoded version of the original string
|
|
6211
|
+
*/
|
|
4905
6212
|
get base64UriString() {
|
|
4906
6213
|
return base64.encodeUri(this.refString);
|
|
4907
6214
|
}
|
|
4908
6215
|
};
|
|
4909
6216
|
var base64 = {
|
|
6217
|
+
/**
|
|
6218
|
+
* encodes the string
|
|
6219
|
+
*/
|
|
4910
6220
|
encode: (stringArg) => {
|
|
4911
6221
|
return gBase64.encode(stringArg);
|
|
4912
6222
|
},
|
|
6223
|
+
/**
|
|
6224
|
+
* encodes a stringArg to base64 uri style
|
|
6225
|
+
*/
|
|
4913
6226
|
encodeUri: (stringArg) => {
|
|
4914
6227
|
return gBase64.encodeURI(stringArg);
|
|
4915
6228
|
},
|
|
6229
|
+
/**
|
|
6230
|
+
* decodes a base64 encoded string
|
|
6231
|
+
*/
|
|
4916
6232
|
decode: (stringArg) => {
|
|
4917
6233
|
return gBase64.decode(stringArg);
|
|
4918
6234
|
},
|
|
6235
|
+
/**
|
|
6236
|
+
*
|
|
6237
|
+
* @param stringArg
|
|
6238
|
+
* checks wether the string is base64 encoded
|
|
6239
|
+
*/
|
|
4919
6240
|
isBase64: (stringArg) => {
|
|
4920
6241
|
const regex = /^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$/;
|
|
4921
6242
|
return regex.test(stringArg);
|
|
4922
6243
|
}
|
|
4923
6244
|
};
|
|
4924
6245
|
|
|
4925
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6246
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.type.js
|
|
4926
6247
|
var isUtf8 = (stringArg) => {
|
|
4927
6248
|
const bytes = Buffer.from(stringArg);
|
|
4928
6249
|
let i = 0;
|
|
4929
6250
|
while (i < bytes.length) {
|
|
4930
|
-
if (
|
|
6251
|
+
if (
|
|
6252
|
+
// ASCII
|
|
6253
|
+
bytes[i] === 9 || bytes[i] === 10 || bytes[i] === 13 || 32 <= bytes[i] && bytes[i] <= 126
|
|
6254
|
+
) {
|
|
4931
6255
|
i += 1;
|
|
4932
6256
|
continue;
|
|
4933
6257
|
}
|
|
4934
|
-
if (
|
|
6258
|
+
if (
|
|
6259
|
+
// non-overlong 2-byte
|
|
6260
|
+
194 <= bytes[i] && bytes[i] <= 223 && 128 <= bytes[i + 1] && bytes[i + 1] <= 191
|
|
6261
|
+
) {
|
|
4935
6262
|
i += 2;
|
|
4936
6263
|
continue;
|
|
4937
6264
|
}
|
|
4938
|
-
if (
|
|
6265
|
+
if (
|
|
6266
|
+
// excluding overlongs
|
|
6267
|
+
bytes[i] === 224 && 160 <= bytes[i + 1] && bytes[i + 1] <= 191 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191 || // straight 3-byte
|
|
6268
|
+
(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
|
|
6269
|
+
bytes[i] === 237 && 128 <= bytes[i + 1] && bytes[i + 1] <= 159 && 128 <= bytes[i + 2] && bytes[i + 2] <= 191
|
|
6270
|
+
) {
|
|
4939
6271
|
i += 3;
|
|
4940
6272
|
continue;
|
|
4941
6273
|
}
|
|
4942
|
-
if (
|
|
6274
|
+
if (
|
|
6275
|
+
// planes 1-3
|
|
6276
|
+
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
|
|
6277
|
+
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
|
|
6278
|
+
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
|
|
6279
|
+
) {
|
|
4943
6280
|
i += 4;
|
|
4944
6281
|
continue;
|
|
4945
6282
|
}
|
|
@@ -4957,7 +6294,7 @@ var isBase64 = (stringArg) => {
|
|
|
4957
6294
|
return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && stringArg[len - 1] === "=";
|
|
4958
6295
|
};
|
|
4959
6296
|
|
|
4960
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6297
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.domain.js
|
|
4961
6298
|
var Domain = class {
|
|
4962
6299
|
constructor(domainStringArg) {
|
|
4963
6300
|
this.protocol = this._protocolRegex(domainStringArg);
|
|
@@ -4986,6 +6323,8 @@ var Domain = class {
|
|
|
4986
6323
|
this.domainName = this.level2;
|
|
4987
6324
|
this.subDomain = this.level3;
|
|
4988
6325
|
}
|
|
6326
|
+
// helper functions
|
|
6327
|
+
/** */
|
|
4989
6328
|
_domainRegex(stringArg) {
|
|
4990
6329
|
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
6330
|
const regexMatches = regexString.exec(stringArg);
|
|
@@ -5016,7 +6355,7 @@ var Domain = class {
|
|
|
5016
6355
|
}
|
|
5017
6356
|
};
|
|
5018
6357
|
|
|
5019
|
-
// node_modules/.pnpm/@pushrocks+smartstring@4.0.
|
|
6358
|
+
// node_modules/.pnpm/@pushrocks+smartstring@4.0.7/node_modules/@pushrocks/smartstring/dist_ts/smartstring.git.js
|
|
5020
6359
|
var GitRepo = class {
|
|
5021
6360
|
constructor(stringArg, tokenArg) {
|
|
5022
6361
|
let regexMatches = gitRegex(stringArg);
|
|
@@ -5029,7 +6368,7 @@ var GitRepo = class {
|
|
|
5029
6368
|
}
|
|
5030
6369
|
};
|
|
5031
6370
|
var gitRegex = function(stringArg) {
|
|
5032
|
-
const regexString = /([a-zA-Z0-9
|
|
6371
|
+
const regexString = /([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/;
|
|
5033
6372
|
let regexMatches = regexString.exec(stringArg);
|
|
5034
6373
|
return regexMatches;
|
|
5035
6374
|
};
|
|
@@ -5052,13 +6391,13 @@ var gitLink = function(hostArg, userArg, repoArg, tokenArg = "", linkTypeArg) {
|
|
|
5052
6391
|
return returnString;
|
|
5053
6392
|
};
|
|
5054
6393
|
|
|
5055
|
-
// node_modules/.pnpm/@
|
|
6394
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.6/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
|
|
5056
6395
|
var import_lodash = __toESM(require_lodash(), 1);
|
|
5057
6396
|
var import_fast_json_stable_stringify = __toESM(require_fast_json_stable_stringify(), 1);
|
|
5058
6397
|
var import_buffer_json = __toESM(require_buffer_json(), 1);
|
|
5059
6398
|
var stableJson = import_fast_json_stable_stringify.default;
|
|
5060
6399
|
|
|
5061
|
-
// node_modules/.pnpm/@
|
|
6400
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.6/node_modules/@push.rocks/smartjson/dist_ts/index.js
|
|
5062
6401
|
var parse = import_buffer_json.default.parse;
|
|
5063
6402
|
var stringify = (objArg, simpleOrderArray, optionsArg = {}) => {
|
|
5064
6403
|
const bufferedJson = import_buffer_json.default.stringify(objArg);
|
|
@@ -5075,6 +6414,9 @@ var parseBase64 = (base64JsonStringArg) => {
|
|
|
5075
6414
|
return parse(simpleStringified);
|
|
5076
6415
|
};
|
|
5077
6416
|
var Smartjson = class {
|
|
6417
|
+
/**
|
|
6418
|
+
* enfolds data from an object
|
|
6419
|
+
*/
|
|
5078
6420
|
static enfoldFromObject(objectArg) {
|
|
5079
6421
|
const newInstance = new this();
|
|
5080
6422
|
for (const keyName in objectArg) {
|
|
@@ -5084,10 +6426,16 @@ var Smartjson = class {
|
|
|
5084
6426
|
}
|
|
5085
6427
|
return newInstance;
|
|
5086
6428
|
}
|
|
6429
|
+
/**
|
|
6430
|
+
* enfold from json
|
|
6431
|
+
*/
|
|
5087
6432
|
static enfoldFromJson(jsonArg) {
|
|
5088
6433
|
const objectFromJson = parse(jsonArg);
|
|
5089
6434
|
return this.enfoldFromObject(objectFromJson);
|
|
5090
6435
|
}
|
|
6436
|
+
/**
|
|
6437
|
+
* folds a class into an object
|
|
6438
|
+
*/
|
|
5091
6439
|
foldToObject() {
|
|
5092
6440
|
const newFoldedObject = {};
|
|
5093
6441
|
const trackMap = [];
|
|
@@ -5104,6 +6452,9 @@ var Smartjson = class {
|
|
|
5104
6452
|
}
|
|
5105
6453
|
return newFoldedObject;
|
|
5106
6454
|
}
|
|
6455
|
+
/**
|
|
6456
|
+
* folds a class into an object
|
|
6457
|
+
*/
|
|
5107
6458
|
foldToJson() {
|
|
5108
6459
|
const foldedObject = this.foldToObject();
|
|
5109
6460
|
return stringify(foldedObject);
|
|
@@ -5123,7 +6474,7 @@ var deepEqualObjects = (object1, object2) => {
|
|
|
5123
6474
|
return object1String === object2String;
|
|
5124
6475
|
};
|
|
5125
6476
|
|
|
5126
|
-
// node_modules/.pnpm/@
|
|
6477
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
|
|
5127
6478
|
var dist_ts_exports5 = {};
|
|
5128
6479
|
__export(dist_ts_exports5, {
|
|
5129
6480
|
CumulativeDeferred: () => CumulativeDeferred,
|
|
@@ -5138,8 +6489,14 @@ __export(dist_ts_exports5, {
|
|
|
5138
6489
|
timeoutWrap: () => timeoutWrap
|
|
5139
6490
|
});
|
|
5140
6491
|
|
|
5141
|
-
// node_modules/.pnpm/@
|
|
6492
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
|
|
5142
6493
|
var Deferred = class {
|
|
6494
|
+
claim() {
|
|
6495
|
+
if (this.claimed) {
|
|
6496
|
+
throw new Error("Deferred already claimed");
|
|
6497
|
+
}
|
|
6498
|
+
this.claimed = true;
|
|
6499
|
+
}
|
|
5143
6500
|
get duration() {
|
|
5144
6501
|
if (this.stoppedAt) {
|
|
5145
6502
|
return this.stoppedAt - this.startedAt;
|
|
@@ -5148,6 +6505,7 @@ var Deferred = class {
|
|
|
5148
6505
|
}
|
|
5149
6506
|
}
|
|
5150
6507
|
constructor() {
|
|
6508
|
+
this.claimed = false;
|
|
5151
6509
|
this.promise = new Promise((resolve, reject) => {
|
|
5152
6510
|
this.resolve = (valueArg) => {
|
|
5153
6511
|
this.status = "fulfilled";
|
|
@@ -5168,7 +6526,7 @@ var defer = () => {
|
|
|
5168
6526
|
return new Deferred();
|
|
5169
6527
|
};
|
|
5170
6528
|
|
|
5171
|
-
// node_modules/.pnpm/@
|
|
6529
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
|
|
5172
6530
|
var CumulativeDeferred = class {
|
|
5173
6531
|
constructor() {
|
|
5174
6532
|
this.accumulatedPromises = [];
|
|
@@ -5190,7 +6548,7 @@ var cumulativeDefer = () => {
|
|
|
5190
6548
|
return new CumulativeDeferred();
|
|
5191
6549
|
};
|
|
5192
6550
|
|
|
5193
|
-
// node_modules/.pnpm/@
|
|
6551
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
|
|
5194
6552
|
var resolvedPromise = (value) => {
|
|
5195
6553
|
return Promise.resolve(value);
|
|
5196
6554
|
};
|
|
@@ -5240,7 +6598,7 @@ var getFirstTrueOrFalse = async (promisesArg) => {
|
|
|
5240
6598
|
return done.promise;
|
|
5241
6599
|
};
|
|
5242
6600
|
|
|
5243
|
-
// node_modules/.pnpm/@
|
|
6601
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/index.js
|
|
5244
6602
|
var dist_ts_exports6 = {};
|
|
5245
6603
|
__export(dist_ts_exports6, {
|
|
5246
6604
|
ObservableIntake: () => ObservableIntake,
|
|
@@ -5248,60 +6606,253 @@ __export(dist_ts_exports6, {
|
|
|
5248
6606
|
rxjs: () => smartrx_plugins_rxjs_exports
|
|
5249
6607
|
});
|
|
5250
6608
|
|
|
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
|
|
6609
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
5255
6610
|
var smartrx_plugins_rxjs_exports = {};
|
|
5256
6611
|
__export(smartrx_plugins_rxjs_exports, {
|
|
5257
6612
|
Observable: () => Observable,
|
|
5258
6613
|
ReplaySubject: () => ReplaySubject,
|
|
5259
6614
|
Subject: () => Subject,
|
|
5260
6615
|
Subscription: () => Subscription,
|
|
6616
|
+
from: () => from,
|
|
5261
6617
|
fromEvent: () => fromEvent,
|
|
5262
6618
|
ops: () => ops
|
|
5263
6619
|
});
|
|
5264
6620
|
|
|
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
|
-
|
|
6621
|
+
// node_modules/.pnpm/tslib@2.6.1/node_modules/tslib/tslib.es6.mjs
|
|
6622
|
+
var extendStatics = function(d, b) {
|
|
6623
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
6624
|
+
d2.__proto__ = b2;
|
|
6625
|
+
} || function(d2, b2) {
|
|
6626
|
+
for (var p in b2)
|
|
6627
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
6628
|
+
d2[p] = b2[p];
|
|
6629
|
+
};
|
|
6630
|
+
return extendStatics(d, b);
|
|
6631
|
+
};
|
|
6632
|
+
function __extends(d, b) {
|
|
6633
|
+
if (typeof b !== "function" && b !== null)
|
|
6634
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
6635
|
+
extendStatics(d, b);
|
|
6636
|
+
function __() {
|
|
6637
|
+
this.constructor = d;
|
|
6638
|
+
}
|
|
6639
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6640
|
+
}
|
|
6641
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
6642
|
+
function adopt(value) {
|
|
6643
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
6644
|
+
resolve(value);
|
|
6645
|
+
});
|
|
6646
|
+
}
|
|
6647
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
6648
|
+
function fulfilled(value) {
|
|
6649
|
+
try {
|
|
6650
|
+
step(generator.next(value));
|
|
6651
|
+
} catch (e) {
|
|
6652
|
+
reject(e);
|
|
6653
|
+
}
|
|
6654
|
+
}
|
|
6655
|
+
function rejected(value) {
|
|
6656
|
+
try {
|
|
6657
|
+
step(generator["throw"](value));
|
|
6658
|
+
} catch (e) {
|
|
6659
|
+
reject(e);
|
|
6660
|
+
}
|
|
6661
|
+
}
|
|
6662
|
+
function step(result) {
|
|
6663
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
6664
|
+
}
|
|
6665
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
6666
|
+
});
|
|
6667
|
+
}
|
|
6668
|
+
function __generator(thisArg, body) {
|
|
6669
|
+
var _ = { label: 0, sent: function() {
|
|
6670
|
+
if (t[0] & 1)
|
|
6671
|
+
throw t[1];
|
|
6672
|
+
return t[1];
|
|
6673
|
+
}, trys: [], ops: [] }, f, y, t, g;
|
|
6674
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
6675
|
+
return this;
|
|
6676
|
+
}), g;
|
|
6677
|
+
function verb(n) {
|
|
6678
|
+
return function(v) {
|
|
6679
|
+
return step([n, v]);
|
|
6680
|
+
};
|
|
6681
|
+
}
|
|
6682
|
+
function step(op) {
|
|
6683
|
+
if (f)
|
|
6684
|
+
throw new TypeError("Generator is already executing.");
|
|
6685
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
6686
|
+
try {
|
|
6687
|
+
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)
|
|
6688
|
+
return t;
|
|
6689
|
+
if (y = 0, t)
|
|
6690
|
+
op = [op[0] & 2, t.value];
|
|
6691
|
+
switch (op[0]) {
|
|
6692
|
+
case 0:
|
|
6693
|
+
case 1:
|
|
6694
|
+
t = op;
|
|
6695
|
+
break;
|
|
6696
|
+
case 4:
|
|
6697
|
+
_.label++;
|
|
6698
|
+
return { value: op[1], done: false };
|
|
6699
|
+
case 5:
|
|
6700
|
+
_.label++;
|
|
6701
|
+
y = op[1];
|
|
6702
|
+
op = [0];
|
|
6703
|
+
continue;
|
|
6704
|
+
case 7:
|
|
6705
|
+
op = _.ops.pop();
|
|
6706
|
+
_.trys.pop();
|
|
6707
|
+
continue;
|
|
6708
|
+
default:
|
|
6709
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
6710
|
+
_ = 0;
|
|
6711
|
+
continue;
|
|
6712
|
+
}
|
|
6713
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
6714
|
+
_.label = op[1];
|
|
6715
|
+
break;
|
|
6716
|
+
}
|
|
6717
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
6718
|
+
_.label = t[1];
|
|
6719
|
+
t = op;
|
|
6720
|
+
break;
|
|
6721
|
+
}
|
|
6722
|
+
if (t && _.label < t[2]) {
|
|
6723
|
+
_.label = t[2];
|
|
6724
|
+
_.ops.push(op);
|
|
6725
|
+
break;
|
|
6726
|
+
}
|
|
6727
|
+
if (t[2])
|
|
6728
|
+
_.ops.pop();
|
|
6729
|
+
_.trys.pop();
|
|
6730
|
+
continue;
|
|
6731
|
+
}
|
|
6732
|
+
op = body.call(thisArg, _);
|
|
6733
|
+
} catch (e) {
|
|
6734
|
+
op = [6, e];
|
|
6735
|
+
y = 0;
|
|
6736
|
+
} finally {
|
|
6737
|
+
f = t = 0;
|
|
6738
|
+
}
|
|
6739
|
+
if (op[0] & 5)
|
|
6740
|
+
throw op[1];
|
|
6741
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
6742
|
+
}
|
|
6743
|
+
}
|
|
6744
|
+
function __values(o) {
|
|
6745
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
6746
|
+
if (m)
|
|
6747
|
+
return m.call(o);
|
|
6748
|
+
if (o && typeof o.length === "number")
|
|
6749
|
+
return {
|
|
6750
|
+
next: function() {
|
|
6751
|
+
if (o && i >= o.length)
|
|
6752
|
+
o = void 0;
|
|
6753
|
+
return { value: o && o[i++], done: !o };
|
|
6754
|
+
}
|
|
6755
|
+
};
|
|
6756
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
6757
|
+
}
|
|
6758
|
+
function __read(o, n) {
|
|
6759
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
6760
|
+
if (!m)
|
|
6761
|
+
return o;
|
|
6762
|
+
var i = m.call(o), r, ar = [], e;
|
|
6763
|
+
try {
|
|
6764
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
6765
|
+
ar.push(r.value);
|
|
6766
|
+
} catch (error) {
|
|
6767
|
+
e = { error };
|
|
6768
|
+
} finally {
|
|
6769
|
+
try {
|
|
6770
|
+
if (r && !r.done && (m = i["return"]))
|
|
6771
|
+
m.call(i);
|
|
6772
|
+
} finally {
|
|
6773
|
+
if (e)
|
|
6774
|
+
throw e.error;
|
|
6775
|
+
}
|
|
6776
|
+
}
|
|
6777
|
+
return ar;
|
|
6778
|
+
}
|
|
6779
|
+
function __spreadArray(to, from2, pack) {
|
|
6780
|
+
if (pack || arguments.length === 2)
|
|
6781
|
+
for (var i = 0, l = from2.length, ar; i < l; i++) {
|
|
6782
|
+
if (ar || !(i in from2)) {
|
|
6783
|
+
if (!ar)
|
|
6784
|
+
ar = Array.prototype.slice.call(from2, 0, i);
|
|
6785
|
+
ar[i] = from2[i];
|
|
6786
|
+
}
|
|
6787
|
+
}
|
|
6788
|
+
return to.concat(ar || Array.prototype.slice.call(from2));
|
|
6789
|
+
}
|
|
6790
|
+
function __await(v) {
|
|
6791
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
6792
|
+
}
|
|
6793
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
6794
|
+
if (!Symbol.asyncIterator)
|
|
6795
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
6796
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
6797
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
6798
|
+
return this;
|
|
6799
|
+
}, i;
|
|
6800
|
+
function verb(n) {
|
|
6801
|
+
if (g[n])
|
|
6802
|
+
i[n] = function(v) {
|
|
6803
|
+
return new Promise(function(a, b) {
|
|
6804
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
6805
|
+
});
|
|
6806
|
+
};
|
|
6807
|
+
}
|
|
6808
|
+
function resume(n, v) {
|
|
6809
|
+
try {
|
|
6810
|
+
step(g[n](v));
|
|
6811
|
+
} catch (e) {
|
|
6812
|
+
settle(q[0][3], e);
|
|
6813
|
+
}
|
|
6814
|
+
}
|
|
6815
|
+
function step(r) {
|
|
6816
|
+
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
6817
|
+
}
|
|
6818
|
+
function fulfill(value) {
|
|
6819
|
+
resume("next", value);
|
|
6820
|
+
}
|
|
6821
|
+
function reject(value) {
|
|
6822
|
+
resume("throw", value);
|
|
6823
|
+
}
|
|
6824
|
+
function settle(f, v) {
|
|
6825
|
+
if (f(v), q.shift(), q.length)
|
|
6826
|
+
resume(q[0][0], q[0][1]);
|
|
6827
|
+
}
|
|
6828
|
+
}
|
|
6829
|
+
function __asyncValues(o) {
|
|
6830
|
+
if (!Symbol.asyncIterator)
|
|
6831
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
6832
|
+
var m = o[Symbol.asyncIterator], i;
|
|
6833
|
+
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() {
|
|
6834
|
+
return this;
|
|
6835
|
+
}, i);
|
|
6836
|
+
function verb(n) {
|
|
6837
|
+
i[n] = o[n] && function(v) {
|
|
6838
|
+
return new Promise(function(resolve, reject) {
|
|
6839
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
6840
|
+
});
|
|
6841
|
+
};
|
|
6842
|
+
}
|
|
6843
|
+
function settle(resolve, reject, d, v) {
|
|
6844
|
+
Promise.resolve(v).then(function(v2) {
|
|
6845
|
+
resolve({ value: v2, done: d });
|
|
6846
|
+
}, reject);
|
|
6847
|
+
}
|
|
6848
|
+
}
|
|
6849
|
+
|
|
6850
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
|
|
5300
6851
|
function isFunction(value) {
|
|
5301
6852
|
return typeof value === "function";
|
|
5302
6853
|
}
|
|
5303
6854
|
|
|
5304
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
6855
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
5305
6856
|
function createErrorClass(createImpl) {
|
|
5306
6857
|
var _super = function(instance) {
|
|
5307
6858
|
Error.call(instance);
|
|
@@ -5313,7 +6864,7 @@ function createErrorClass(createImpl) {
|
|
|
5313
6864
|
return ctorFunc;
|
|
5314
6865
|
}
|
|
5315
6866
|
|
|
5316
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
6867
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
5317
6868
|
var UnsubscriptionError = createErrorClass(function(_super) {
|
|
5318
6869
|
return function UnsubscriptionErrorImpl(errors) {
|
|
5319
6870
|
_super(this);
|
|
@@ -5325,7 +6876,7 @@ var UnsubscriptionError = createErrorClass(function(_super) {
|
|
|
5325
6876
|
};
|
|
5326
6877
|
});
|
|
5327
6878
|
|
|
5328
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
6879
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
5329
6880
|
function arrRemove(arr, item) {
|
|
5330
6881
|
if (arr) {
|
|
5331
6882
|
var index = arr.indexOf(item);
|
|
@@ -5333,7 +6884,7 @@ function arrRemove(arr, item) {
|
|
|
5333
6884
|
}
|
|
5334
6885
|
}
|
|
5335
6886
|
|
|
5336
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
6887
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
5337
6888
|
var Subscription = function() {
|
|
5338
6889
|
function Subscription2(initialTeardown) {
|
|
5339
6890
|
this.initialTeardown = initialTeardown;
|
|
@@ -5470,7 +7021,7 @@ function execFinalizer(finalizer) {
|
|
|
5470
7021
|
}
|
|
5471
7022
|
}
|
|
5472
7023
|
|
|
5473
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7024
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/config.js
|
|
5474
7025
|
var config = {
|
|
5475
7026
|
onUnhandledError: null,
|
|
5476
7027
|
onStoppedNotification: null,
|
|
@@ -5479,7 +7030,7 @@ var config = {
|
|
|
5479
7030
|
useDeprecatedNextContext: false
|
|
5480
7031
|
};
|
|
5481
7032
|
|
|
5482
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7033
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
|
|
5483
7034
|
var timeoutProvider = {
|
|
5484
7035
|
setTimeout: function(handler, timeout) {
|
|
5485
7036
|
var args = [];
|
|
@@ -5499,7 +7050,7 @@ var timeoutProvider = {
|
|
|
5499
7050
|
delegate: void 0
|
|
5500
7051
|
};
|
|
5501
7052
|
|
|
5502
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7053
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
5503
7054
|
function reportUnhandledError(err) {
|
|
5504
7055
|
timeoutProvider.setTimeout(function() {
|
|
5505
7056
|
var onUnhandledError = config.onUnhandledError;
|
|
@@ -5511,11 +7062,11 @@ function reportUnhandledError(err) {
|
|
|
5511
7062
|
});
|
|
5512
7063
|
}
|
|
5513
7064
|
|
|
5514
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7065
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
5515
7066
|
function noop() {
|
|
5516
7067
|
}
|
|
5517
7068
|
|
|
5518
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7069
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
5519
7070
|
var COMPLETE_NOTIFICATION = function() {
|
|
5520
7071
|
return createNotification("C", void 0, void 0);
|
|
5521
7072
|
}();
|
|
@@ -5533,7 +7084,7 @@ function createNotification(kind, value, error) {
|
|
|
5533
7084
|
};
|
|
5534
7085
|
}
|
|
5535
7086
|
|
|
5536
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7087
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
|
|
5537
7088
|
var context = null;
|
|
5538
7089
|
function errorContext(cb) {
|
|
5539
7090
|
if (config.useDeprecatedSynchronousErrorHandling) {
|
|
@@ -5560,7 +7111,7 @@ function captureError(err) {
|
|
|
5560
7111
|
}
|
|
5561
7112
|
}
|
|
5562
7113
|
|
|
5563
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7114
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
5564
7115
|
var Subscriber = function(_super) {
|
|
5565
7116
|
__extends(Subscriber2, _super);
|
|
5566
7117
|
function Subscriber2(destination) {
|
|
@@ -5725,17 +7276,17 @@ var EMPTY_OBSERVER = {
|
|
|
5725
7276
|
complete: noop
|
|
5726
7277
|
};
|
|
5727
7278
|
|
|
5728
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7279
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
|
|
5729
7280
|
var observable = function() {
|
|
5730
7281
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
5731
7282
|
}();
|
|
5732
7283
|
|
|
5733
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7284
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
5734
7285
|
function identity(x) {
|
|
5735
7286
|
return x;
|
|
5736
7287
|
}
|
|
5737
7288
|
|
|
5738
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7289
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/pipe.js
|
|
5739
7290
|
function pipeFromArray(fns) {
|
|
5740
7291
|
if (fns.length === 0) {
|
|
5741
7292
|
return identity;
|
|
@@ -5750,7 +7301,7 @@ function pipeFromArray(fns) {
|
|
|
5750
7301
|
};
|
|
5751
7302
|
}
|
|
5752
7303
|
|
|
5753
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7304
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
5754
7305
|
var Observable = function() {
|
|
5755
7306
|
function Observable2(subscribe) {
|
|
5756
7307
|
if (subscribe) {
|
|
@@ -5842,7 +7393,7 @@ function isSubscriber(value) {
|
|
|
5842
7393
|
return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);
|
|
5843
7394
|
}
|
|
5844
7395
|
|
|
5845
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7396
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/lift.js
|
|
5846
7397
|
function hasLift(source) {
|
|
5847
7398
|
return isFunction(source === null || source === void 0 ? void 0 : source.lift);
|
|
5848
7399
|
}
|
|
@@ -5861,7 +7412,7 @@ function operate(init) {
|
|
|
5861
7412
|
};
|
|
5862
7413
|
}
|
|
5863
7414
|
|
|
5864
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7415
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
|
|
5865
7416
|
function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
|
|
5866
7417
|
return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
|
|
5867
7418
|
}
|
|
@@ -5909,7 +7460,7 @@ var OperatorSubscriber = function(_super) {
|
|
|
5909
7460
|
return OperatorSubscriber2;
|
|
5910
7461
|
}(Subscriber);
|
|
5911
7462
|
|
|
5912
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7463
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
5913
7464
|
var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
5914
7465
|
return function ObjectUnsubscribedErrorImpl() {
|
|
5915
7466
|
_super(this);
|
|
@@ -5918,7 +7469,7 @@ var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
|
5918
7469
|
};
|
|
5919
7470
|
});
|
|
5920
7471
|
|
|
5921
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7472
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subject.js
|
|
5922
7473
|
var Subject = function(_super) {
|
|
5923
7474
|
__extends(Subject2, _super);
|
|
5924
7475
|
function Subject2() {
|
|
@@ -6075,7 +7626,7 @@ var AnonymousSubject = function(_super) {
|
|
|
6075
7626
|
return AnonymousSubject2;
|
|
6076
7627
|
}(Subject);
|
|
6077
7628
|
|
|
6078
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7629
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
|
|
6079
7630
|
var dateTimestampProvider = {
|
|
6080
7631
|
now: function() {
|
|
6081
7632
|
return (dateTimestampProvider.delegate || Date).now();
|
|
@@ -6083,7 +7634,7 @@ var dateTimestampProvider = {
|
|
|
6083
7634
|
delegate: void 0
|
|
6084
7635
|
};
|
|
6085
7636
|
|
|
6086
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7637
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/ReplaySubject.js
|
|
6087
7638
|
var ReplaySubject = function(_super) {
|
|
6088
7639
|
__extends(ReplaySubject2, _super);
|
|
6089
7640
|
function ReplaySubject2(_bufferSize, _windowTime, _timestampProvider) {
|
|
@@ -6144,7 +7695,7 @@ var ReplaySubject = function(_super) {
|
|
|
6144
7695
|
return ReplaySubject2;
|
|
6145
7696
|
}(Subject);
|
|
6146
7697
|
|
|
6147
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7698
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
|
|
6148
7699
|
var Action = function(_super) {
|
|
6149
7700
|
__extends(Action2, _super);
|
|
6150
7701
|
function Action2(scheduler, work) {
|
|
@@ -6159,7 +7710,7 @@ var Action = function(_super) {
|
|
|
6159
7710
|
return Action2;
|
|
6160
7711
|
}(Subscription);
|
|
6161
7712
|
|
|
6162
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7713
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
|
|
6163
7714
|
var intervalProvider = {
|
|
6164
7715
|
setInterval: function(handler, timeout) {
|
|
6165
7716
|
var args = [];
|
|
@@ -6179,7 +7730,7 @@ var intervalProvider = {
|
|
|
6179
7730
|
delegate: void 0
|
|
6180
7731
|
};
|
|
6181
7732
|
|
|
6182
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7733
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
|
|
6183
7734
|
var AsyncAction = function(_super) {
|
|
6184
7735
|
__extends(AsyncAction2, _super);
|
|
6185
7736
|
function AsyncAction2(scheduler, work) {
|
|
@@ -6269,7 +7820,7 @@ var AsyncAction = function(_super) {
|
|
|
6269
7820
|
return AsyncAction2;
|
|
6270
7821
|
}(Action);
|
|
6271
7822
|
|
|
6272
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7823
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Scheduler.js
|
|
6273
7824
|
var Scheduler = function() {
|
|
6274
7825
|
function Scheduler2(schedulerActionCtor, now) {
|
|
6275
7826
|
if (now === void 0) {
|
|
@@ -6288,7 +7839,7 @@ var Scheduler = function() {
|
|
|
6288
7839
|
return Scheduler2;
|
|
6289
7840
|
}();
|
|
6290
7841
|
|
|
6291
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7842
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
|
|
6292
7843
|
var AsyncScheduler = function(_super) {
|
|
6293
7844
|
__extends(AsyncScheduler2, _super);
|
|
6294
7845
|
function AsyncScheduler2(SchedulerAction, now) {
|
|
@@ -6324,15 +7875,16 @@ var AsyncScheduler = function(_super) {
|
|
|
6324
7875
|
return AsyncScheduler2;
|
|
6325
7876
|
}(Scheduler);
|
|
6326
7877
|
|
|
6327
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7878
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
|
|
6328
7879
|
var asyncScheduler = new AsyncScheduler(AsyncAction);
|
|
7880
|
+
var async = asyncScheduler;
|
|
6329
7881
|
|
|
6330
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7882
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
|
|
6331
7883
|
function isScheduler(value) {
|
|
6332
7884
|
return value && isFunction(value.schedule);
|
|
6333
7885
|
}
|
|
6334
7886
|
|
|
6335
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7887
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/args.js
|
|
6336
7888
|
function last(arr) {
|
|
6337
7889
|
return arr[arr.length - 1];
|
|
6338
7890
|
}
|
|
@@ -6340,32 +7892,32 @@ function popScheduler(args) {
|
|
|
6340
7892
|
return isScheduler(last(args)) ? args.pop() : void 0;
|
|
6341
7893
|
}
|
|
6342
7894
|
|
|
6343
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7895
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
|
|
6344
7896
|
var isArrayLike = function(x) {
|
|
6345
7897
|
return x && typeof x.length === "number" && typeof x !== "function";
|
|
6346
7898
|
};
|
|
6347
7899
|
|
|
6348
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7900
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
|
|
6349
7901
|
function isPromise(value) {
|
|
6350
7902
|
return isFunction(value === null || value === void 0 ? void 0 : value.then);
|
|
6351
7903
|
}
|
|
6352
7904
|
|
|
6353
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7905
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
|
|
6354
7906
|
function isInteropObservable(input) {
|
|
6355
7907
|
return isFunction(input[observable]);
|
|
6356
7908
|
}
|
|
6357
7909
|
|
|
6358
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7910
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
|
|
6359
7911
|
function isAsyncIterable(obj) {
|
|
6360
7912
|
return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
|
|
6361
7913
|
}
|
|
6362
7914
|
|
|
6363
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7915
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
|
|
6364
7916
|
function createInvalidObservableTypeError(input) {
|
|
6365
7917
|
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
7918
|
}
|
|
6367
7919
|
|
|
6368
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7920
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
|
|
6369
7921
|
function getSymbolIterator() {
|
|
6370
7922
|
if (typeof Symbol !== "function" || !Symbol.iterator) {
|
|
6371
7923
|
return "@@iterator";
|
|
@@ -6374,12 +7926,12 @@ function getSymbolIterator() {
|
|
|
6374
7926
|
}
|
|
6375
7927
|
var iterator = getSymbolIterator();
|
|
6376
7928
|
|
|
6377
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7929
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
|
|
6378
7930
|
function isIterable(input) {
|
|
6379
7931
|
return isFunction(input === null || input === void 0 ? void 0 : input[iterator]);
|
|
6380
7932
|
}
|
|
6381
7933
|
|
|
6382
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7934
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
|
|
6383
7935
|
function readableStreamLikeToAsyncGenerator(readableStream) {
|
|
6384
7936
|
return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
|
|
6385
7937
|
var reader, _a, value, done;
|
|
@@ -6424,7 +7976,7 @@ function isReadableStreamLike(obj) {
|
|
|
6424
7976
|
return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);
|
|
6425
7977
|
}
|
|
6426
7978
|
|
|
6427
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
7979
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
|
|
6428
7980
|
function innerFrom(input) {
|
|
6429
7981
|
if (input instanceof Observable) {
|
|
6430
7982
|
return input;
|
|
@@ -6569,7 +8121,7 @@ function process2(asyncIterable, subscriber) {
|
|
|
6569
8121
|
});
|
|
6570
8122
|
}
|
|
6571
8123
|
|
|
6572
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8124
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
|
|
6573
8125
|
function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
|
|
6574
8126
|
if (delay === void 0) {
|
|
6575
8127
|
delay = 0;
|
|
@@ -6591,7 +8143,7 @@ function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
|
|
|
6591
8143
|
}
|
|
6592
8144
|
}
|
|
6593
8145
|
|
|
6594
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8146
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
|
|
6595
8147
|
function observeOn(scheduler, delay) {
|
|
6596
8148
|
if (delay === void 0) {
|
|
6597
8149
|
delay = 0;
|
|
@@ -6613,7 +8165,7 @@ function observeOn(scheduler, delay) {
|
|
|
6613
8165
|
});
|
|
6614
8166
|
}
|
|
6615
8167
|
|
|
6616
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8168
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
|
|
6617
8169
|
function subscribeOn(scheduler, delay) {
|
|
6618
8170
|
if (delay === void 0) {
|
|
6619
8171
|
delay = 0;
|
|
@@ -6625,17 +8177,17 @@ function subscribeOn(scheduler, delay) {
|
|
|
6625
8177
|
});
|
|
6626
8178
|
}
|
|
6627
8179
|
|
|
6628
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8180
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
|
|
6629
8181
|
function scheduleObservable(input, scheduler) {
|
|
6630
8182
|
return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
|
|
6631
8183
|
}
|
|
6632
8184
|
|
|
6633
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8185
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
|
|
6634
8186
|
function schedulePromise(input, scheduler) {
|
|
6635
8187
|
return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
|
|
6636
8188
|
}
|
|
6637
8189
|
|
|
6638
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8190
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
|
|
6639
8191
|
function scheduleArray(input, scheduler) {
|
|
6640
8192
|
return new Observable(function(subscriber) {
|
|
6641
8193
|
var i = 0;
|
|
@@ -6652,7 +8204,7 @@ function scheduleArray(input, scheduler) {
|
|
|
6652
8204
|
});
|
|
6653
8205
|
}
|
|
6654
8206
|
|
|
6655
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8207
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
|
|
6656
8208
|
function scheduleIterable(input, scheduler) {
|
|
6657
8209
|
return new Observable(function(subscriber) {
|
|
6658
8210
|
var iterator2;
|
|
@@ -6681,7 +8233,7 @@ function scheduleIterable(input, scheduler) {
|
|
|
6681
8233
|
});
|
|
6682
8234
|
}
|
|
6683
8235
|
|
|
6684
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8236
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
|
|
6685
8237
|
function scheduleAsyncIterable(input, scheduler) {
|
|
6686
8238
|
if (!input) {
|
|
6687
8239
|
throw new Error("Iterable cannot be null");
|
|
@@ -6702,12 +8254,12 @@ function scheduleAsyncIterable(input, scheduler) {
|
|
|
6702
8254
|
});
|
|
6703
8255
|
}
|
|
6704
8256
|
|
|
6705
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8257
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
|
|
6706
8258
|
function scheduleReadableStreamLike(input, scheduler) {
|
|
6707
8259
|
return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);
|
|
6708
8260
|
}
|
|
6709
8261
|
|
|
6710
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8262
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
|
|
6711
8263
|
function scheduled(input, scheduler) {
|
|
6712
8264
|
if (input != null) {
|
|
6713
8265
|
if (isInteropObservable(input)) {
|
|
@@ -6732,12 +8284,17 @@ function scheduled(input, scheduler) {
|
|
|
6732
8284
|
throw createInvalidObservableTypeError(input);
|
|
6733
8285
|
}
|
|
6734
8286
|
|
|
6735
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8287
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/from.js
|
|
6736
8288
|
function from(input, scheduler) {
|
|
6737
8289
|
return scheduler ? scheduled(input, scheduler) : innerFrom(input);
|
|
6738
8290
|
}
|
|
6739
8291
|
|
|
6740
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8292
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isDate.js
|
|
8293
|
+
function isValidDate(value) {
|
|
8294
|
+
return value instanceof Date && !isNaN(value);
|
|
8295
|
+
}
|
|
8296
|
+
|
|
8297
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/map.js
|
|
6741
8298
|
function map2(project, thisArg) {
|
|
6742
8299
|
return operate(function(source, subscriber) {
|
|
6743
8300
|
var index = 0;
|
|
@@ -6747,7 +8304,7 @@ function map2(project, thisArg) {
|
|
|
6747
8304
|
});
|
|
6748
8305
|
}
|
|
6749
8306
|
|
|
6750
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8307
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
|
|
6751
8308
|
var isArray = Array.isArray;
|
|
6752
8309
|
function callOrApply(fn, args) {
|
|
6753
8310
|
return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
|
|
@@ -6758,7 +8315,7 @@ function mapOneOrManyArgs(fn) {
|
|
|
6758
8315
|
});
|
|
6759
8316
|
}
|
|
6760
8317
|
|
|
6761
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8318
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
|
|
6762
8319
|
function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {
|
|
6763
8320
|
var buffer = [];
|
|
6764
8321
|
var active = 0;
|
|
@@ -6818,7 +8375,7 @@ function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, e
|
|
|
6818
8375
|
};
|
|
6819
8376
|
}
|
|
6820
8377
|
|
|
6821
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8378
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
|
|
6822
8379
|
function mergeMap(project, resultSelector, concurrent) {
|
|
6823
8380
|
if (concurrent === void 0) {
|
|
6824
8381
|
concurrent = Infinity;
|
|
@@ -6837,7 +8394,7 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
|
6837
8394
|
});
|
|
6838
8395
|
}
|
|
6839
8396
|
|
|
6840
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8397
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
|
|
6841
8398
|
function mergeAll(concurrent) {
|
|
6842
8399
|
if (concurrent === void 0) {
|
|
6843
8400
|
concurrent = Infinity;
|
|
@@ -6845,12 +8402,12 @@ function mergeAll(concurrent) {
|
|
|
6845
8402
|
return mergeMap(identity, concurrent);
|
|
6846
8403
|
}
|
|
6847
8404
|
|
|
6848
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8405
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/concatAll.js
|
|
6849
8406
|
function concatAll() {
|
|
6850
8407
|
return mergeAll(1);
|
|
6851
8408
|
}
|
|
6852
8409
|
|
|
6853
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8410
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/concat.js
|
|
6854
8411
|
function concat() {
|
|
6855
8412
|
var args = [];
|
|
6856
8413
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -6859,7 +8416,7 @@ function concat() {
|
|
|
6859
8416
|
return concatAll()(from(args, popScheduler(args)));
|
|
6860
8417
|
}
|
|
6861
8418
|
|
|
6862
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8419
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
|
|
6863
8420
|
var nodeEventEmitterMethods = ["addListener", "removeListener"];
|
|
6864
8421
|
var eventTargetMethods = ["addEventListener", "removeEventListener"];
|
|
6865
8422
|
var jqueryMethods = ["on", "off"];
|
|
@@ -6917,7 +8474,52 @@ function isEventTarget(target) {
|
|
|
6917
8474
|
return isFunction(target.addEventListener) && isFunction(target.removeEventListener);
|
|
6918
8475
|
}
|
|
6919
8476
|
|
|
6920
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8477
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/timer.js
|
|
8478
|
+
function timer(dueTime, intervalOrScheduler, scheduler) {
|
|
8479
|
+
if (dueTime === void 0) {
|
|
8480
|
+
dueTime = 0;
|
|
8481
|
+
}
|
|
8482
|
+
if (scheduler === void 0) {
|
|
8483
|
+
scheduler = async;
|
|
8484
|
+
}
|
|
8485
|
+
var intervalDuration = -1;
|
|
8486
|
+
if (intervalOrScheduler != null) {
|
|
8487
|
+
if (isScheduler(intervalOrScheduler)) {
|
|
8488
|
+
scheduler = intervalOrScheduler;
|
|
8489
|
+
} else {
|
|
8490
|
+
intervalDuration = intervalOrScheduler;
|
|
8491
|
+
}
|
|
8492
|
+
}
|
|
8493
|
+
return new Observable(function(subscriber) {
|
|
8494
|
+
var due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;
|
|
8495
|
+
if (due < 0) {
|
|
8496
|
+
due = 0;
|
|
8497
|
+
}
|
|
8498
|
+
var n = 0;
|
|
8499
|
+
return scheduler.schedule(function() {
|
|
8500
|
+
if (!subscriber.closed) {
|
|
8501
|
+
subscriber.next(n++);
|
|
8502
|
+
if (0 <= intervalDuration) {
|
|
8503
|
+
this.schedule(void 0, intervalDuration);
|
|
8504
|
+
} else {
|
|
8505
|
+
subscriber.complete();
|
|
8506
|
+
}
|
|
8507
|
+
}
|
|
8508
|
+
}, due);
|
|
8509
|
+
});
|
|
8510
|
+
}
|
|
8511
|
+
|
|
8512
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/filter.js
|
|
8513
|
+
function filter(predicate, thisArg) {
|
|
8514
|
+
return operate(function(source, subscriber) {
|
|
8515
|
+
var index = 0;
|
|
8516
|
+
source.subscribe(createOperatorSubscriber(subscriber, function(value) {
|
|
8517
|
+
return predicate.call(thisArg, value, index++) && subscriber.next(value);
|
|
8518
|
+
}));
|
|
8519
|
+
});
|
|
8520
|
+
}
|
|
8521
|
+
|
|
8522
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounce.js
|
|
6921
8523
|
function debounce(durationSelector) {
|
|
6922
8524
|
return operate(function(source, subscriber) {
|
|
6923
8525
|
var hasValue = false;
|
|
@@ -6948,7 +8550,7 @@ function debounce(durationSelector) {
|
|
|
6948
8550
|
});
|
|
6949
8551
|
}
|
|
6950
8552
|
|
|
6951
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8553
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js
|
|
6952
8554
|
function debounceTime(dueTime, scheduler) {
|
|
6953
8555
|
if (scheduler === void 0) {
|
|
6954
8556
|
scheduler = asyncScheduler;
|
|
@@ -6992,7 +8594,7 @@ function debounceTime(dueTime, scheduler) {
|
|
|
6992
8594
|
});
|
|
6993
8595
|
}
|
|
6994
8596
|
|
|
6995
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8597
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/startWith.js
|
|
6996
8598
|
function startWith() {
|
|
6997
8599
|
var values = [];
|
|
6998
8600
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -7004,7 +8606,7 @@ function startWith() {
|
|
|
7004
8606
|
});
|
|
7005
8607
|
}
|
|
7006
8608
|
|
|
7007
|
-
// node_modules/.pnpm/rxjs@7.8.
|
|
8609
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js
|
|
7008
8610
|
function takeUntil(notifier) {
|
|
7009
8611
|
return operate(function(source, subscriber) {
|
|
7010
8612
|
innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, function() {
|
|
@@ -7014,21 +8616,81 @@ function takeUntil(notifier) {
|
|
|
7014
8616
|
});
|
|
7015
8617
|
}
|
|
7016
8618
|
|
|
7017
|
-
// node_modules/.pnpm
|
|
8619
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
|
|
8620
|
+
function throttle(durationSelector, config2) {
|
|
8621
|
+
return operate(function(source, subscriber) {
|
|
8622
|
+
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;
|
|
8623
|
+
var hasValue = false;
|
|
8624
|
+
var sendValue = null;
|
|
8625
|
+
var throttled = null;
|
|
8626
|
+
var isComplete = false;
|
|
8627
|
+
var endThrottling = function() {
|
|
8628
|
+
throttled === null || throttled === void 0 ? void 0 : throttled.unsubscribe();
|
|
8629
|
+
throttled = null;
|
|
8630
|
+
if (trailing) {
|
|
8631
|
+
send();
|
|
8632
|
+
isComplete && subscriber.complete();
|
|
8633
|
+
}
|
|
8634
|
+
};
|
|
8635
|
+
var cleanupThrottling = function() {
|
|
8636
|
+
throttled = null;
|
|
8637
|
+
isComplete && subscriber.complete();
|
|
8638
|
+
};
|
|
8639
|
+
var startThrottle = function(value) {
|
|
8640
|
+
return throttled = innerFrom(durationSelector(value)).subscribe(createOperatorSubscriber(subscriber, endThrottling, cleanupThrottling));
|
|
8641
|
+
};
|
|
8642
|
+
var send = function() {
|
|
8643
|
+
if (hasValue) {
|
|
8644
|
+
hasValue = false;
|
|
8645
|
+
var value = sendValue;
|
|
8646
|
+
sendValue = null;
|
|
8647
|
+
subscriber.next(value);
|
|
8648
|
+
!isComplete && startThrottle(value);
|
|
8649
|
+
}
|
|
8650
|
+
};
|
|
8651
|
+
source.subscribe(createOperatorSubscriber(subscriber, function(value) {
|
|
8652
|
+
hasValue = true;
|
|
8653
|
+
sendValue = value;
|
|
8654
|
+
!(throttled && !throttled.closed) && (leading ? send() : startThrottle(value));
|
|
8655
|
+
}, function() {
|
|
8656
|
+
isComplete = true;
|
|
8657
|
+
!(trailing && hasValue && throttled && !throttled.closed) && subscriber.complete();
|
|
8658
|
+
}));
|
|
8659
|
+
});
|
|
8660
|
+
}
|
|
8661
|
+
|
|
8662
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js
|
|
8663
|
+
function throttleTime(duration, scheduler, config2) {
|
|
8664
|
+
if (scheduler === void 0) {
|
|
8665
|
+
scheduler = asyncScheduler;
|
|
8666
|
+
}
|
|
8667
|
+
var duration$ = timer(duration, scheduler);
|
|
8668
|
+
return throttle(function() {
|
|
8669
|
+
return duration$;
|
|
8670
|
+
}, config2);
|
|
8671
|
+
}
|
|
8672
|
+
|
|
8673
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
7018
8674
|
var ops = {
|
|
7019
8675
|
debounce,
|
|
7020
8676
|
debounceTime,
|
|
7021
8677
|
map: map2,
|
|
7022
8678
|
startWith,
|
|
7023
|
-
takeUntil
|
|
8679
|
+
takeUntil,
|
|
8680
|
+
throttleTime,
|
|
8681
|
+
filter
|
|
7024
8682
|
};
|
|
7025
8683
|
|
|
7026
|
-
// node_modules/.pnpm/@
|
|
8684
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observablemap.js
|
|
7027
8685
|
var Observablemap = class {
|
|
7028
8686
|
constructor() {
|
|
7029
8687
|
this.observableEventEmitterBundleArray = new Array();
|
|
7030
8688
|
this.observableEventTargetBundleArray = new Array();
|
|
7031
8689
|
}
|
|
8690
|
+
/**
|
|
8691
|
+
* creates a hot subject if not yet registered for the event.
|
|
8692
|
+
* In case event has been registered before the same observable is returned.
|
|
8693
|
+
*/
|
|
7032
8694
|
getSubjectForEmitterEvent(emitterArg, eventArg) {
|
|
7033
8695
|
const existingBundle = this.observableEventEmitterBundleArray.find((bundleArg) => {
|
|
7034
8696
|
return bundleArg.eventRef === emitterArg && bundleArg.event === eventArg;
|
|
@@ -7067,7 +8729,7 @@ var Observablemap = class {
|
|
|
7067
8729
|
}
|
|
7068
8730
|
};
|
|
7069
8731
|
|
|
7070
|
-
// node_modules/.pnpm/@
|
|
8732
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observableintake.js
|
|
7071
8733
|
var ObservableIntake = class {
|
|
7072
8734
|
constructor() {
|
|
7073
8735
|
this.observableFunctions = {
|
|
@@ -7088,7 +8750,7 @@ var ObservableIntake = class {
|
|
|
7088
8750
|
return observerArg.complete();
|
|
7089
8751
|
};
|
|
7090
8752
|
});
|
|
7091
|
-
this.completedDeffered =
|
|
8753
|
+
this.completedDeffered = dist_ts_exports5.defer();
|
|
7092
8754
|
this.completed = this.completedDeffered.promise;
|
|
7093
8755
|
}
|
|
7094
8756
|
setObservable(observableFunc) {
|
|
@@ -7101,11 +8763,19 @@ var ObservableIntake = class {
|
|
|
7101
8763
|
this.internalPush(payloadArg);
|
|
7102
8764
|
}
|
|
7103
8765
|
}
|
|
8766
|
+
/**
|
|
8767
|
+
* pushes many payloads as array
|
|
8768
|
+
* @param payloadArgArray
|
|
8769
|
+
*/
|
|
7104
8770
|
pushMany(payloadArgArray) {
|
|
7105
8771
|
for (const item of payloadArgArray) {
|
|
7106
8772
|
this.push(item);
|
|
7107
8773
|
}
|
|
7108
8774
|
}
|
|
8775
|
+
/**
|
|
8776
|
+
* sets a generator to query the next pushed value
|
|
8777
|
+
* @param generatorArg
|
|
8778
|
+
*/
|
|
7109
8779
|
setGenerator(generatorArg) {
|
|
7110
8780
|
this.generator = generatorArg;
|
|
7111
8781
|
}
|
|
@@ -7115,6 +8785,10 @@ var ObservableIntake = class {
|
|
|
7115
8785
|
subscribe(...args) {
|
|
7116
8786
|
return this.observable.subscribe(...args);
|
|
7117
8787
|
}
|
|
8788
|
+
/**
|
|
8789
|
+
* request the next values in the quantity specified
|
|
8790
|
+
* @param howManyArg if a generator is set, of a buffer exists, this allows retrieving values
|
|
8791
|
+
*/
|
|
7118
8792
|
request(howManyArg) {
|
|
7119
8793
|
if (howManyArg === 0) {
|
|
7120
8794
|
return;
|
|
@@ -7129,6 +8803,9 @@ var ObservableIntake = class {
|
|
|
7129
8803
|
}
|
|
7130
8804
|
}
|
|
7131
8805
|
}
|
|
8806
|
+
/**
|
|
8807
|
+
* signals the completion of this observable
|
|
8808
|
+
*/
|
|
7132
8809
|
signalComplete() {
|
|
7133
8810
|
this.observableFunctions.complete();
|
|
7134
8811
|
}
|
|
@@ -7155,13 +8832,23 @@ var StatePart2 = class {
|
|
|
7155
8832
|
this.cumulativeDeferred = dist_ts_exports5.cumulativeDefer();
|
|
7156
8833
|
this.name = nameArg;
|
|
7157
8834
|
}
|
|
8835
|
+
/**
|
|
8836
|
+
* gets the state from the state store
|
|
8837
|
+
*/
|
|
7158
8838
|
getState() {
|
|
7159
8839
|
return this.stateStore;
|
|
7160
8840
|
}
|
|
8841
|
+
/**
|
|
8842
|
+
* sets the stateStore to the new state
|
|
8843
|
+
* @param newStateArg
|
|
8844
|
+
*/
|
|
7161
8845
|
setState(newStateArg) {
|
|
7162
8846
|
this.stateStore = newStateArg;
|
|
7163
8847
|
this.notifyChange();
|
|
7164
8848
|
}
|
|
8849
|
+
/**
|
|
8850
|
+
* notifies of a change on the state
|
|
8851
|
+
*/
|
|
7165
8852
|
notifyChange() {
|
|
7166
8853
|
const createStateHash = (stateArg) => {
|
|
7167
8854
|
return dist_ts_exports2.sha256FromString(dist_ts_exports4.stringify(stateArg));
|
|
@@ -7173,9 +8860,15 @@ var StatePart2 = class {
|
|
|
7173
8860
|
}
|
|
7174
8861
|
this.state.next(this.stateStore);
|
|
7175
8862
|
}
|
|
8863
|
+
/**
|
|
8864
|
+
* creates a cumulative notification by adding a change notification at the end of the call stack;
|
|
8865
|
+
*/
|
|
7176
8866
|
notifyChangeCumulative() {
|
|
7177
8867
|
setTimeout(() => this.state.next(this.stateStore), 0);
|
|
7178
8868
|
}
|
|
8869
|
+
/**
|
|
8870
|
+
* selects a state or a substate
|
|
8871
|
+
*/
|
|
7179
8872
|
select(selectorFn) {
|
|
7180
8873
|
if (!selectorFn) {
|
|
7181
8874
|
selectorFn = (state) => state;
|
|
@@ -7191,14 +8884,24 @@ var StatePart2 = class {
|
|
|
7191
8884
|
);
|
|
7192
8885
|
return mapped;
|
|
7193
8886
|
}
|
|
8887
|
+
/**
|
|
8888
|
+
* creates an action capable of modifying the state
|
|
8889
|
+
*/
|
|
7194
8890
|
createAction(actionDef) {
|
|
7195
8891
|
return new StateAction(this, actionDef);
|
|
7196
8892
|
}
|
|
8893
|
+
/**
|
|
8894
|
+
* dispatches an action on the statepart level
|
|
8895
|
+
*/
|
|
7197
8896
|
async dispatchAction(stateAction, actionPayload) {
|
|
7198
8897
|
await this.cumulativeDeferred.promise;
|
|
7199
8898
|
const newState = await stateAction.actionDef(this, actionPayload);
|
|
7200
8899
|
this.setState(newState);
|
|
7201
8900
|
}
|
|
8901
|
+
/**
|
|
8902
|
+
* waits until a certain part of the state becomes available
|
|
8903
|
+
* @param selectorFn
|
|
8904
|
+
*/
|
|
7202
8905
|
async waitUntilPresent(selectorFn) {
|
|
7203
8906
|
const done = dist_ts_exports5.defer();
|
|
7204
8907
|
const selectedObservable = this.select(selectorFn);
|
|
@@ -7211,6 +8914,9 @@ var StatePart2 = class {
|
|
|
7211
8914
|
subscription.unsubscribe();
|
|
7212
8915
|
return result;
|
|
7213
8916
|
}
|
|
8917
|
+
/**
|
|
8918
|
+
* is executed
|
|
8919
|
+
*/
|
|
7214
8920
|
async stateSetup(funcArg) {
|
|
7215
8921
|
const resultPromise = funcArg(this);
|
|
7216
8922
|
this.cumulativeDeferred.addPromise(resultPromise);
|
|
@@ -7223,6 +8929,15 @@ var Smartstate = class {
|
|
|
7223
8929
|
constructor() {
|
|
7224
8930
|
this.statePartMap = {};
|
|
7225
8931
|
}
|
|
8932
|
+
/**
|
|
8933
|
+
* Allows getting and initializing a new statepart
|
|
8934
|
+
* initMode === 'soft' it will allow existing stateparts
|
|
8935
|
+
* initMode === 'mandatory' will fail if there is an exiting statepart
|
|
8936
|
+
* initMode === 'force' will overwrite any existing statepart
|
|
8937
|
+
* @param statePartNameArg
|
|
8938
|
+
* @param initialArg
|
|
8939
|
+
* @param initMode
|
|
8940
|
+
*/
|
|
7226
8941
|
getStatePart(statePartNameArg, initialArg, initMode) {
|
|
7227
8942
|
if (this.statePartMap[statePartNameArg]) {
|
|
7228
8943
|
if (initialArg && (!initMode || initMode !== "soft")) {
|
|
@@ -7240,6 +8955,11 @@ var Smartstate = class {
|
|
|
7240
8955
|
return this.createStatePart(statePartNameArg, initialArg);
|
|
7241
8956
|
}
|
|
7242
8957
|
}
|
|
8958
|
+
/**
|
|
8959
|
+
* creates a statepart
|
|
8960
|
+
* @param statePartName
|
|
8961
|
+
* @param initialPayloadArg
|
|
8962
|
+
*/
|
|
7243
8963
|
createStatePart(statePartName, initialPayloadArg) {
|
|
7244
8964
|
const newState = new StatePart2(statePartName);
|
|
7245
8965
|
newState.setState(initialPayloadArg);
|
|
@@ -7252,24 +8972,36 @@ export {
|
|
|
7252
8972
|
StateAction,
|
|
7253
8973
|
StatePart2 as StatePart
|
|
7254
8974
|
};
|
|
7255
|
-
/*!
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
*
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
8975
|
+
/*! Bundled license information:
|
|
8976
|
+
|
|
8977
|
+
ieee754/index.js:
|
|
8978
|
+
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
8979
|
+
|
|
8980
|
+
buffer/index.js:
|
|
8981
|
+
(*!
|
|
8982
|
+
* The buffer module from node.js, for the browser.
|
|
8983
|
+
*
|
|
8984
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
8985
|
+
* @license MIT
|
|
8986
|
+
*)
|
|
8987
|
+
|
|
8988
|
+
punycode/punycode.js:
|
|
8989
|
+
(*! https://mths.be/punycode v1.4.1 by @mathias *)
|
|
8990
|
+
|
|
8991
|
+
is-number/index.js:
|
|
8992
|
+
(*!
|
|
8993
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
8994
|
+
*
|
|
8995
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
8996
|
+
* Released under the MIT License.
|
|
8997
|
+
*)
|
|
8998
|
+
|
|
8999
|
+
randomatic/index.js:
|
|
9000
|
+
(*!
|
|
9001
|
+
* randomatic <https://github.com/jonschlinkert/randomatic>
|
|
9002
|
+
*
|
|
9003
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
9004
|
+
* Released under the MIT License.
|
|
9005
|
+
*)
|
|
9006
|
+
*/
|
|
7275
9007
|
//# sourceMappingURL=bundle.js.map
|